2025-10-09 09:22:06,937 - INFO - Domain Default found not creating
2025-10-09 09:22:07,088 - INFO - Project ctest-TestPorts-66925261 not found, creating it
2025-10-09 09:22:07,528 - INFO - Created Project:ctest-TestPorts-66925261, ID : 7789d531-7f96-4ea8-83a5-9c602d4ae2b0
2025-10-09 09:22:09,467 - INFO - ================================================================================
2025-10-09 09:22:09,467 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 09:22:09,467 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2025-10-09 09:22:09,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-09 09:22:09,721 - INFO - Initial checks done. Running the testcase now
2025-10-09 09:22:09,721 - INFO -
2025-10-09 09:22:10,260 - DEBUG - Response for create_network : {'network': {'id': '2447d489-3161-4424-abe0-df297484f651', 'name': 'ctest-vn-95211770', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'project_id': '7789d5317f964ea883a59c602d4ae2b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66925261', 'ctest-vn-95211770'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 09:22:10,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b67c0d3-c6b9-4d73-a5ce-7aeb7e52db63', 'name': '', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': '2447d489-3161-4424-abe0-df297484f651', 'ip_version': 4, 'cidr': '140.85.207.0/26', 'allocation_pools': [{'start': '140.85.207.2', 'end': '140.85.207.62'}], 'gateway_ip': '140.85.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.85.207.2', 'tags': [], 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:10,443 - INFO - Created VN ctest-vn-95211770
2025-10-09 09:22:10,495 - DEBUG - VN ctest-vn-95211770 UUID is 2447d489-3161-4424-abe0-df297484f651
2025-10-09 09:22:10,597 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66925261', 'ctest-vmi-26051336']}
2025-10-09 09:22:10,868 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26051336', 'id': 'e0d6a482-d4c9-4658-a23f-715ff83d8cf9', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': '2447d489-3161-4424-abe0-df297484f651', 'mac_address': '02:e0:d6:a4:82:d4', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '140.85.207.3', 'subnet_id': '5b67c0d3-c6b9-4d73-a5ce-7aeb7e52db63'}], 'security_groups': ['7b87c120-dabd-413c-b6ea-2b9c1ca67f25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:10,868 - DEBUG - Created port e0d6a482-d4c9-4658-a23f-715ff83d8cf9
2025-10-09 09:22:10,971 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e0d6a482-d4c9-4658-a23f-715ff83d8cf9
2025-10-09 09:22:11,262 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e0d6a482-d4c9-4658-a23f-715ff83d8cf9
2025-10-09 09:22:11,294 - INFO - VMI e0d6a482-d4c9-4658-a23f-715ff83d8cf9 verification in API Server passed
2025-10-09 09:22:11,380 - DEBUG - Response for delete_port : ()
2025-10-09 09:22:11,380 - INFO - Deleted port e0d6a482-d4c9-4658-a23f-715ff83d8cf9
2025-10-09 09:22:11,380 - INFO - Deleting VN ctest-vn-95211770
2025-10-09 09:22:11,477 - DEBUG - Response for deleting network ()
2025-10-09 09:22:11,736 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 09:22:11,736 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-09 09:22:11,736 - INFO - --------------------------------------------------------------------------------
2025-10-09 09:22:11,738 - INFO - ================================================================================
2025-10-09 09:22:11,738 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 09:22:11,739 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2025-10-09 09:22:12,029 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-09 09:22:12,029 - INFO - Initial checks done. Running the testcase now
2025-10-09 09:22:12,029 - INFO -
2025-10-09 09:22:12,198 - DEBUG - Response for create_network : {'network': {'id': 'c81d4b97-f341-4487-9480-334a8437b1cc', 'name': 'ctest-vn1-27528758', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'project_id': '7789d5317f964ea883a59c602d4ae2b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66925261', 'ctest-vn1-27528758'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 09:22:12,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '020f125a-3c5c-4d54-998b-31b59a0240e8', 'name': '', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': 'c81d4b97-f341-4487-9480-334a8437b1cc', 'ip_version': 4, 'cidr': '193.226.135.0/26', 'allocation_pools': [{'start': '193.226.135.2', 'end': '193.226.135.62'}], 'gateway_ip': '193.226.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.226.135.2', 'tags': [], 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:12,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '837818cb-fb15-4869-8342-decce09e4b90', 'name': '', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': 'c81d4b97-f341-4487-9480-334a8437b1cc', 'ip_version': 4, 'cidr': '185.79.4.64/26', 'allocation_pools': [{'start': '185.79.4.66', 'end': '185.79.4.126'}], 'gateway_ip': '185.79.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.79.4.66', 'tags': [], 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:12,573 - INFO - Created VN ctest-vn1-27528758
2025-10-09 09:22:12,627 - DEBUG - VN ctest-vn1-27528758 UUID is c81d4b97-f341-4487-9480-334a8437b1cc
2025-10-09 09:22:12,958 - DEBUG - Response for create_port : {'port': {'name': 'f95c2caf-1d28-4f7f-9311-7059c11e8b2d', 'id': 'f95c2caf-1d28-4f7f-9311-7059c11e8b2d', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': 'c81d4b97-f341-4487-9480-334a8437b1cc', 'mac_address': '02:f9:5c:2c:af:1d', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '193.226.135.5', 'subnet_id': '020f125a-3c5c-4d54-998b-31b59a0240e8'}], 'security_groups': ['7b87c120-dabd-413c-b6ea-2b9c1ca67f25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:13,139 - DEBUG - Response for create_port : {'port': {'name': '19a9262f-9f9b-4452-be71-f7f58b743dc8', 'id': '19a9262f-9f9b-4452-be71-f7f58b743dc8', 'tenant_id': '7789d5317f964ea883a59c602d4ae2b0', 'network_id': 'c81d4b97-f341-4487-9480-334a8437b1cc', 'mac_address': '02:19:a9:26:2f:9f', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '185.79.4.69', 'subnet_id': '837818cb-fb15-4869-8342-decce09e4b90'}], 'security_groups': ['7b87c120-dabd-413c-b6ea-2b9c1ca67f25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7789d5317f964ea883a59c602d4ae2b0'}}
2025-10-09 09:22:13,196 - DEBUG - Services list from nova: [, , ]
2025-10-09 09:22:13,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1)
2025-10-09 09:22:13,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1)
2025-10-09 09:22:13,889 - INFO - Waiting for VM ctest-vn1-vm1-22462378 to be up..
2025-10-09 09:22:13,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 09:22:19,124 - DEBUG - VM is in ACTIVE state now
2025-10-09 09:22:19,124 - INFO - VM name : ctest-vn1-vm1-22462378
2025-10-09 09:22:19,200 - DEBUG - VM ctest-vn1-vm1-22462378 ID is f71339ed-565b-4bc7-9d06-ef2db06516a3
2025-10-09 09:22:19,220 - DEBUG - VM ctest-vn1-vm1-22462378 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1
2025-10-09 09:22:19,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f71339ed-565b-4bc7-9d06-ef2db06516a3
2025-10-09 09:22:19,293 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f95c2caf-1d28-4f7f-9311-7059c11e8b2d
2025-10-09 09:22:22,534 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2025-10-09 09:22:22,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22462378 failed!
2025-10-09 09:22:22,587 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66925261:ctest-vn1-27528758 is 193.226.135.1 and allocation pool is NOT set
2025-10-09 09:22:22,587 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66925261:ctest-vn1-27528758 is 185.79.4.65 and allocation pool is NOT set
2025-10-09 09:22:24,644 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.815 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.815/2.324/3.834/1.509 ms')
2025-10-09 09:22:24,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22462378 passed
2025-10-09 09:22:24,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:24,795 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22462378, IP 193.226.135.5, Port 22
2025-10-09 09:22:24,851 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-09 09:22:24,944 - DEBUG - VM ctest-vn1-vm1-22462378 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 09:22:29,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:29,945 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22462378, IP 193.226.135.5, Port 22
2025-10-09 09:22:30,098 - DEBUG - VM ctest-vn1-vm1-22462378 is ready for SSH connections
2025-10-09 09:22:30,098 - INFO - Waiting for VM ctest-vn1-vm2-30800311 to be up..
2025-10-09 09:22:30,164 - DEBUG - VM is in ACTIVE state now
2025-10-09 09:22:30,164 - INFO - VM name : ctest-vn1-vm2-30800311
2025-10-09 09:22:30,235 - DEBUG - VM ctest-vn1-vm2-30800311 ID is 45a1a085-f3fd-464f-b523-201557cc25a9
2025-10-09 09:22:30,235 - DEBUG - VM ctest-vn1-vm2-30800311 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1
2025-10-09 09:22:30,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/45a1a085-f3fd-464f-b523-201557cc25a9
2025-10-09 09:22:30,305 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/19a9262f-9f9b-4452-be71-f7f58b743dc8
2025-10-09 09:22:31,542 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.343/1.547/2.751/1.204 ms')
2025-10-09 09:22:31,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30800311 passed
2025-10-09 09:22:31,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:31,691 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30800311, IP 185.79.4.69, Port 22
2025-10-09 09:22:31,846 - DEBUG - VM ctest-vn1-vm2-30800311 is ready for SSH connections
2025-10-09 09:22:31,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:31,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:31,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 09:22:31,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.226.135.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-09 09:22:31,847 - DEBUG - ping -s 56 -c 3 -W 1 193.226.135.5
2025-10-09 09:22:34,486 - DEBUG - PING 193.226.135.5 (193.226.135.5): 56 data bytes
64 bytes from 193.226.135.5: seq=0 ttl=63 time=3.342 ms
64 bytes from 193.226.135.5: seq=1 ttl=63 time=0.914 ms
64 bytes from 193.226.135.5: seq=2 ttl=63 time=0.834 ms
--- 193.226.135.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.834/1.696/3.342 ms
2025-10-09 09:22:34,486 - INFO - Ping to IP 193.226.135.5 from VM ctest-vn1-vm2-30800311 passed
2025-10-09 09:22:34,486 - INFO - Detaching port 19a9262f-9f9b-4452-be71-f7f58b743dc8 from VM ctest-vn1-vm2-30800311
2025-10-09 09:22:34,530 - INFO - Deleting VM ctest-vn1-vm2-30800311
2025-10-09 09:22:34,597 - INFO - Detaching port f95c2caf-1d28-4f7f-9311-7059c11e8b2d from VM ctest-vn1-vm1-22462378
2025-10-09 09:22:34,626 - INFO - Deleting VM ctest-vn1-vm1-22462378
2025-10-09 09:22:34,839 - DEBUG - Response for delete_port : ()
2025-10-09 09:22:34,974 - DEBUG - Response for delete_port : ()
2025-10-09 09:22:34,975 - INFO - Deleting VN ctest-vn1-27528758
2025-10-09 09:22:35,088 - DEBUG - Response for deleting network ()
2025-10-09 09:22:35,344 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 09:22:35,345 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-09 09:22:35,345 - INFO - --------------------------------------------------------------------------------
2025-10-09 09:22:36,003 - INFO - Deleted project: ctest-TestPorts-66925261, ID : 7789d531-7f96-4ea8-83a5-9c602d4ae2b0