2026-05-20 14:47:09,877 - INFO - Domain Default found not creating 2026-05-20 14:47:10,152 - INFO - Project ctest-TestPorts-38782216 not found, creating it 2026-05-20 14:47:10,798 - INFO - Created Project:ctest-TestPorts-38782216, ID : fb958e38-4698-47a5-bb4f-5b61363d4008 2026-05-20 14:47:12,896 - INFO - ================================================================================ 2026-05-20 14:47:12,897 - INFO - STARTING TEST : test_ports_bindings 2026-05-20 14:47:12,897 - 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 2026-05-20 14:47:14,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2026-05-20 14:47:14,236 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:47:14,236 - INFO - 2026-05-20 14:47:15,056 - DEBUG - Response for create_network : {'network': {'id': 'fca2ed96-8b48-4a34-8c66-79173f3f0ac2', 'name': 'ctest-vn-60656720', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'project_id': 'fb958e38469847a5bb4f5b61363d4008', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38782216', 'ctest-vn-60656720'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:47:15,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '56960811-7d93-41ae-aacb-f71ec3bf8df6', 'name': '', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': 'fca2ed96-8b48-4a34-8c66-79173f3f0ac2', 'ip_version': 4, 'cidr': '129.163.138.192/26', 'allocation_pools': [{'start': '129.163.138.194', 'end': '129.163.138.254'}], 'gateway_ip': '129.163.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.163.138.194', 'tags': [], 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:15,400 - INFO - Created VN ctest-vn-60656720 2026-05-20 14:47:15,412 - DEBUG - VN ctest-vn-60656720 UUID is fca2ed96-8b48-4a34-8c66-79173f3f0ac2 2026-05-20 14:47:15,510 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38782216', 'ctest-vmi-43175956']} 2026-05-20 14:47:15,933 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43175956', 'id': '6450a214-eb94-42ac-b488-663cae9b3fa0', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': 'fca2ed96-8b48-4a34-8c66-79173f3f0ac2', 'mac_address': '02:64:50:a2:14:eb', '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': '129.163.138.195', 'subnet_id': '56960811-7d93-41ae-aacb-f71ec3bf8df6'}], 'security_groups': ['4891370a-ca6b-4937-9c1f-ecd831b5a4fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:15,933 - DEBUG - Created port 6450a214-eb94-42ac-b488-663cae9b3fa0 2026-05-20 14:47:16,015 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6450a214-eb94-42ac-b488-663cae9b3fa0 2026-05-20 14:47:16,384 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6450a214-eb94-42ac-b488-663cae9b3fa0 2026-05-20 14:47:16,432 - INFO - VMI 6450a214-eb94-42ac-b488-663cae9b3fa0 verification in API Server passed 2026-05-20 14:47:16,585 - DEBUG - Response for delete_port : () 2026-05-20 14:47:16,585 - INFO - Deleted port 6450a214-eb94-42ac-b488-663cae9b3fa0 2026-05-20 14:47:16,586 - INFO - Deleting VN ctest-vn-60656720 2026-05-20 14:47:16,801 - DEBUG - Response for deleting network () 2026-05-20 14:47:18,117 - DEBUG - No XMPP flaps were noticed during the test
2026-05-20 14:47:18,117 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06]
2026-05-20 14:47:18,118 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:47:18,124 - INFO - ================================================================================ 2026-05-20 14:47:18,124 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-20 14:47:18,125 - 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 2026-05-20 14:47:19,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.25': '0', '10.20.0.14': '0'}} with 2026-05-20 14:47:19,447 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:47:19,448 - INFO - 2026-05-20 14:47:19,799 - DEBUG - Response for create_network : {'network': {'id': '82d7046b-8452-4082-a23d-304f91c2ca36', 'name': 'ctest-vn1-74169101', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'project_id': 'fb958e38469847a5bb4f5b61363d4008', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38782216', 'ctest-vn1-74169101'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:47:20,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c39c9fa8-20d0-4522-a36a-43b59ea2490f', 'name': '', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': '82d7046b-8452-4082-a23d-304f91c2ca36', 'ip_version': 4, 'cidr': '98.162.53.0/26', 'allocation_pools': [{'start': '98.162.53.2', 'end': '98.162.53.62'}], 'gateway_ip': '98.162.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.162.53.2', 'tags': [], 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:20,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '02bcfd4f-99f8-492e-bd9b-516fba54e4a8', 'name': '', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': '82d7046b-8452-4082-a23d-304f91c2ca36', 'ip_version': 4, 'cidr': '99.191.189.64/26', 'allocation_pools': [{'start': '99.191.189.66', 'end': '99.191.189.126'}], 'gateway_ip': '99.191.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.191.189.66', 'tags': [], 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:20,400 - INFO - Created VN ctest-vn1-74169101 2026-05-20 14:47:20,413 - DEBUG - VN ctest-vn1-74169101 UUID is 82d7046b-8452-4082-a23d-304f91c2ca36 2026-05-20 14:47:20,858 - DEBUG - Response for create_port : {'port': {'name': 'a7c30f34-f37d-4e84-8b8c-174ed6e6594f', 'id': 'a7c30f34-f37d-4e84-8b8c-174ed6e6594f', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': '82d7046b-8452-4082-a23d-304f91c2ca36', 'mac_address': '02:a7:c3:0f:34:f3', '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': '98.162.53.5', 'subnet_id': 'c39c9fa8-20d0-4522-a36a-43b59ea2490f'}], 'security_groups': ['4891370a-ca6b-4937-9c1f-ecd831b5a4fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:21,234 - DEBUG - Response for create_port : {'port': {'name': '47c724cc-9feb-48b1-9404-1bb9066bba32', 'id': '47c724cc-9feb-48b1-9404-1bb9066bba32', 'tenant_id': 'fb958e38469847a5bb4f5b61363d4008', 'network_id': '82d7046b-8452-4082-a23d-304f91c2ca36', 'mac_address': '02:47:c7:24:cc: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': '99.191.189.69', 'subnet_id': '02bcfd4f-99f8-492e-bd9b-516fba54e4a8'}], 'security_groups': ['4891370a-ca6b-4937-9c1f-ecd831b5a4fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fb958e38469847a5bb4f5b61363d4008'}} 2026-05-20 14:47:21,355 - DEBUG - Services list from nova: [, , , ] 2026-05-20 14:47:22,206 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5803-2) 2026-05-20 14:47:22,933 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5803-1) 2026-05-20 14:47:22,933 - INFO - Waiting for VM ctest-vn1-vm1-83241991 to be up.. 2026-05-20 14:47:23,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:47:28,149 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:47:28,149 - INFO - VM name : ctest-vn1-vm1-83241991 2026-05-20 14:47:28,281 - DEBUG - VM ctest-vn1-vm1-83241991 ID is aaeb16b1-04ba-4d57-827e-f914fef759ef 2026-05-20 14:47:28,323 - DEBUG - VM ctest-vn1-vm1-83241991 launched on Node an-jenkins-deploy-platform-ansible-os-5803-2 2026-05-20 14:47:28,448 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/aaeb16b1-04ba-4d57-827e-f914fef759ef 2026-05-20 14:47:28,833 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/aaeb16b1-04ba-4d57-827e-f914fef759ef 2026-05-20 14:47:28,891 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/a7c30f34-f37d-4e84-8b8c-174ed6e6594f 2026-05-20 14:47:32,087 - 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 1022ms') 2026-05-20 14:47:32,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83241991 failed! 2026-05-20 14:47:32,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38782216:ctest-vn1-74169101 is 98.162.53.1 and allocation pool is NOT set 2026-05-20 14:47:32,103 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38782216:ctest-vn1-74169101 is 99.191.189.65 and allocation pool is NOT set 2026-05-20 14:47:36,180 - 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=2 ttl=63 time=8.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 8.835/8.835/8.835/0.000 ms') 2026-05-20 14:47:36,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83241991 passed 2026-05-20 14:47:36,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:36,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83241991, IP 98.162.53.5, Port 22 2026-05-20 14:47:36,418 - DEBUG - VM ctest-vn1-vm1-83241991 is ready for SSH connections 2026-05-20 14:47:36,418 - INFO - Waiting for VM ctest-vn1-vm2-55341903 to be up.. 2026-05-20 14:47:36,547 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:47:36,547 - INFO - VM name : ctest-vn1-vm2-55341903 2026-05-20 14:47:36,674 - DEBUG - VM ctest-vn1-vm2-55341903 ID is 3f71a3af-60a0-4178-a961-7629f9016b9f 2026-05-20 14:47:36,674 - DEBUG - VM ctest-vn1-vm2-55341903 launched on Node an-jenkins-deploy-platform-ansible-os-5803-1 2026-05-20 14:47:36,788 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/3f71a3af-60a0-4178-a961-7629f9016b9f 2026-05-20 14:47:36,800 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/47c724cc-9feb-48b1-9404-1bb9066bba32 2026-05-20 14:47:37,995 - 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=4.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.833/4.269/4.705/0.436 ms') 2026-05-20 14:47:37,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-55341903 passed 2026-05-20 14:47:38,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:38,074 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55341903, IP 99.191.189.69, Port 22 2026-05-20 14:47:38,148 - 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': ''} 2026-05-20 14:47:38,267 - DEBUG - VM ctest-vn1-vm2-55341903 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-20 14:47:43,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:43,269 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55341903, IP 99.191.189.69, Port 22 2026-05-20 14:47:43,445 - DEBUG - VM ctest-vn1-vm2-55341903 is ready for SSH connections 2026-05-20 14:47:43,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:43,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:43,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:47:43,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.162.53.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-20 14:47:43,445 - DEBUG - ping -s 56 -c 3 -W 1 98.162.53.5 2026-05-20 14:47:46,600 - DEBUG - PING 98.162.53.5 (98.162.53.5): 56 data bytes 64 bytes from 98.162.53.5: seq=0 ttl=63 time=6.987 ms 64 bytes from 98.162.53.5: seq=1 ttl=63 time=1.619 ms 64 bytes from 98.162.53.5: seq=2 ttl=63 time=1.595 ms --- 98.162.53.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.595/3.400/6.987 ms 2026-05-20 14:47:46,600 - INFO - Ping to IP 98.162.53.5 from VM ctest-vn1-vm2-55341903 passed 2026-05-20 14:47:46,601 - INFO - Detaching port 47c724cc-9feb-48b1-9404-1bb9066bba32 from VM ctest-vn1-vm2-55341903 2026-05-20 14:47:46,672 - INFO - Deleting VM ctest-vn1-vm2-55341903 2026-05-20 14:47:46,788 - INFO - Detaching port a7c30f34-f37d-4e84-8b8c-174ed6e6594f from VM ctest-vn1-vm1-83241991 2026-05-20 14:47:46,833 - INFO - Deleting VM ctest-vn1-vm1-83241991 2026-05-20 14:47:47,240 - DEBUG - Response for delete_port : () 2026-05-20 14:47:47,544 - DEBUG - Response for delete_port : () 2026-05-20 14:47:47,544 - INFO - Deleting VN ctest-vn1-74169101 2026-05-20 14:47:47,748 - DEBUG - Response for deleting network () 2026-05-20 14:47:49,067 - DEBUG - No XMPP flaps were noticed during the test
2026-05-20 14:47:49,067 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:31]
2026-05-20 14:47:49,067 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:47:49,907 - INFO - Deleted project: ctest-TestPorts-38782216, ID : fb958e38-4698-47a5-bb4f-5b61363d4008