2026-08-17 15:40:18,988 - INFO - Domain Default found not creating
2026-08-17 15:40:19,168 - INFO - Project ctest-TestPorts-85890280 not found, creating it
2026-08-17 15:40:19,700 - INFO - Created Project:ctest-TestPorts-85890280, ID : e64656fb-8764-4b95-a4b6-dd34fc92d789
2026-08-17 15:40:21,475 - INFO - ================================================================================
2026-08-17 15:40:21,475 - INFO - STARTING TEST : test_ports_bindings
2026-08-17 15:40:21,475 - 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-08-17 15:40:21,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-08-17 15:40:21,748 - INFO - Initial checks done. Running the testcase now
2026-08-17 15:40:21,748 - INFO -
2026-08-17 15:40:22,442 - DEBUG - Response for create_network : {'network': {'id': 'c952dcea-9139-4d61-a0bf-cda88edabb45', 'name': 'ctest-vn-45486830', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'project_id': 'e64656fb87644b95a4b6dd34fc92d789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85890280', 'ctest-vn-45486830'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 15:40:22,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '43e2aec0-ad3c-41a5-8535-2fb4d29e2a92', 'name': '', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': 'c952dcea-9139-4d61-a0bf-cda88edabb45', 'ip_version': 4, 'cidr': '131.111.13.64/26', 'allocation_pools': [{'start': '131.111.13.66', 'end': '131.111.13.126'}], 'gateway_ip': '131.111.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.111.13.66', 'tags': [], 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:22,650 - INFO - Created VN ctest-vn-45486830
2026-08-17 15:40:22,702 - DEBUG - VN ctest-vn-45486830 UUID is c952dcea-9139-4d61-a0bf-cda88edabb45
2026-08-17 15:40:22,812 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85890280', 'ctest-vmi-04844084']}
2026-08-17 15:40:23,083 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04844084', 'id': '645785af-bfe7-4719-a909-8c5a75f6d184', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': 'c952dcea-9139-4d61-a0bf-cda88edabb45', 'mac_address': '02:64:57:85:af:bf', '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': '131.111.13.67', 'subnet_id': '43e2aec0-ad3c-41a5-8535-2fb4d29e2a92'}], 'security_groups': ['e4ac105b-5e3b-463c-b8d6-6646efb16fea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:23,083 - DEBUG - Created port 645785af-bfe7-4719-a909-8c5a75f6d184
2026-08-17 15:40:23,190 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/645785af-bfe7-4719-a909-8c5a75f6d184
2026-08-17 15:40:23,560 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/645785af-bfe7-4719-a909-8c5a75f6d184
2026-08-17 15:40:23,594 - INFO - VMI 645785af-bfe7-4719-a909-8c5a75f6d184 verification in API Server passed
2026-08-17 15:40:23,695 - DEBUG - Response for delete_port : ()
2026-08-17 15:40:23,695 - INFO - Deleted port 645785af-bfe7-4719-a909-8c5a75f6d184
2026-08-17 15:40:23,695 - INFO - Deleting VN ctest-vn-45486830
2026-08-17 15:40:23,824 - DEBUG - Response for deleting network ()
2026-08-17 15:40:24,084 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 15:40:24,084 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-08-17 15:40:24,084 - INFO - --------------------------------------------------------------------------------
2026-08-17 15:40:24,086 - INFO - ================================================================================
2026-08-17 15:40:24,087 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-17 15:40:24,087 - 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-08-17 15:40:24,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-08-17 15:40:24,377 - INFO - Initial checks done. Running the testcase now
2026-08-17 15:40:24,377 - INFO -
2026-08-17 15:40:24,579 - DEBUG - Response for create_network : {'network': {'id': '768ea62a-9142-484f-af95-924d78b5402f', 'name': 'ctest-vn1-60875462', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'project_id': 'e64656fb87644b95a4b6dd34fc92d789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85890280', 'ctest-vn1-60875462'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 15:40:24,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8531553-5fb4-4517-9bc8-85cd3c2d2a4b', 'name': '', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': '768ea62a-9142-484f-af95-924d78b5402f', 'ip_version': 4, 'cidr': '16.173.142.64/26', 'allocation_pools': [{'start': '16.173.142.66', 'end': '16.173.142.126'}], 'gateway_ip': '16.173.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.173.142.66', 'tags': [], 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:24,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e3185e9-50ae-4f10-ace7-801e0cb98dfa', 'name': '', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': '768ea62a-9142-484f-af95-924d78b5402f', 'ip_version': 4, 'cidr': '164.114.160.192/26', 'allocation_pools': [{'start': '164.114.160.194', 'end': '164.114.160.254'}], 'gateway_ip': '164.114.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.114.160.194', 'tags': [], 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:24,980 - INFO - Created VN ctest-vn1-60875462
2026-08-17 15:40:25,034 - DEBUG - VN ctest-vn1-60875462 UUID is 768ea62a-9142-484f-af95-924d78b5402f
2026-08-17 15:40:25,521 - DEBUG - Response for create_port : {'port': {'name': '4ec3c10f-a083-44fb-962d-126ef880dd73', 'id': '4ec3c10f-a083-44fb-962d-126ef880dd73', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': '768ea62a-9142-484f-af95-924d78b5402f', 'mac_address': '02:4e:c3:c1:0f:a0', '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': '16.173.142.69', 'subnet_id': 'b8531553-5fb4-4517-9bc8-85cd3c2d2a4b'}], 'security_groups': ['e4ac105b-5e3b-463c-b8d6-6646efb16fea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:25,939 - DEBUG - Response for create_port : {'port': {'name': '4c85b06f-484e-4b18-91c1-33ef5c315f0b', 'id': '4c85b06f-484e-4b18-91c1-33ef5c315f0b', 'tenant_id': 'e64656fb87644b95a4b6dd34fc92d789', 'network_id': '768ea62a-9142-484f-af95-924d78b5402f', 'mac_address': '02:4c:85:b0:6f:48', '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': '164.114.160.197', 'subnet_id': '2e3185e9-50ae-4f10-ace7-801e0cb98dfa'}], 'security_groups': ['e4ac105b-5e3b-463c-b8d6-6646efb16fea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e64656fb87644b95a4b6dd34fc92d789'}}
2026-08-17 15:40:26,010 - DEBUG - Services list from nova: [, , ]
2026-08-17 15:40:26,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1)
2026-08-17 15:40:26,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1)
2026-08-17 15:40:26,739 - INFO - Waiting for VM ctest-vn1-vm1-41786708 to be up..
2026-08-17 15:40:26,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:31,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:36,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:41,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:47,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:52,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:40:57,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:41:02,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 15:41:07,404 - DEBUG - VM is in ACTIVE state now
2026-08-17 15:41:07,405 - INFO - VM name : ctest-vn1-vm1-41786708
2026-08-17 15:41:07,490 - DEBUG - VM ctest-vn1-vm1-41786708 ID is 59192167-bd70-41d8-bc2e-9f2122b7194f
2026-08-17 15:41:07,510 - DEBUG - VM ctest-vn1-vm1-41786708 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1
2026-08-17 15:41:07,583 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/59192167-bd70-41d8-bc2e-9f2122b7194f
2026-08-17 15:41:07,592 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/4ec3c10f-a083-44fb-962d-126ef880dd73
2026-08-17 15:41:10,852 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2026-08-17 15:41:10,852 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-41786708 failed!
2026-08-17 15:41:10,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85890280:ctest-vn1-60875462 is 16.173.142.65 and allocation pool is NOT set
2026-08-17 15:41:10,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85890280:ctest-vn1-60875462 is 164.114.160.193 and allocation pool is NOT set
2026-08-17 15:41:14,988 - 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=2 ttl=63 time=10.1 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 10.141/10.141/10.141/0.000 ms')
2026-08-17 15:41:14,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-41786708 passed
2026-08-17 15:41:15,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 15:41:15,143 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41786708, IP 16.173.142.69, Port 22
2026-08-17 15:41:15,308 - DEBUG - VM ctest-vn1-vm1-41786708 is ready for SSH connections
2026-08-17 15:41:15,308 - INFO - Waiting for VM ctest-vn1-vm2-35876786 to be up..
2026-08-17 15:41:15,396 - DEBUG - VM is in ACTIVE state now
2026-08-17 15:41:15,396 - INFO - VM name : ctest-vn1-vm2-35876786
2026-08-17 15:41:15,482 - DEBUG - VM ctest-vn1-vm2-35876786 ID is 322e9cf6-7d9b-4abb-baf0-badb5f094e0f
2026-08-17 15:41:15,483 - DEBUG - VM ctest-vn1-vm2-35876786 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1
2026-08-17 15:41:15,556 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/322e9cf6-7d9b-4abb-baf0-badb5f094e0f
2026-08-17 15:41:15,565 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/4c85b06f-484e-4b18-91c1-33ef5c315f0b
2026-08-17 15:41:16,813 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.585 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 = 0.585/2.243/3.901/1.658 ms')
2026-08-17 15:41:16,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35876786 passed
2026-08-17 15:41:16,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 15:41:16,966 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35876786, IP 164.114.160.197, Port 22
2026-08-17 15:41:17,140 - DEBUG - VM ctest-vn1-vm2-35876786 is ready for SSH connections
2026-08-17 15:41:17,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 15:41:17,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 15:41:17,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 15:41:17,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.173.142.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123
2026-08-17 15:41:17,141 - DEBUG - ping -s 56 -c 3 -W 1 16.173.142.69
2026-08-17 15:41:21,180 - DEBUG - PING 16.173.142.69 (16.173.142.69): 56 data bytes
64 bytes from 16.173.142.69: seq=0 ttl=63 time=4.630 ms
64 bytes from 16.173.142.69: seq=1 ttl=63 time=1.294 ms
64 bytes from 16.173.142.69: seq=2 ttl=63 time=1.512 ms
--- 16.173.142.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.294/2.478/4.630 ms
2026-08-17 15:41:21,180 - INFO - Ping to IP 16.173.142.69 from VM ctest-vn1-vm2-35876786 passed
2026-08-17 15:41:21,181 - INFO - Detaching port 4c85b06f-484e-4b18-91c1-33ef5c315f0b from VM ctest-vn1-vm2-35876786
2026-08-17 15:41:21,235 - INFO - Deleting VM ctest-vn1-vm2-35876786
2026-08-17 15:41:21,303 - INFO - Detaching port 4ec3c10f-a083-44fb-962d-126ef880dd73 from VM ctest-vn1-vm1-41786708
2026-08-17 15:41:21,339 - INFO - Deleting VM ctest-vn1-vm1-41786708
2026-08-17 15:41:21,582 - DEBUG - Response for delete_port : ()
2026-08-17 15:41:21,757 - DEBUG - Response for delete_port : ()
2026-08-17 15:41:21,758 - INFO - Deleting VN ctest-vn1-60875462
2026-08-17 15:41:21,897 - DEBUG - Response for deleting network ()
2026-08-17 15:41:22,157 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 15:41:22,157 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:58]
2026-08-17 15:41:22,157 - INFO - --------------------------------------------------------------------------------
2026-08-17 15:41:22,901 - INFO - Deleted project: ctest-TestPorts-85890280, ID : e64656fb-8764-4b95-a4b6-dd34fc92d789