2026-07-29 14:59:41,407 - INFO - Domain Default found not creating
2026-07-29 14:59:41,581 - INFO - Project ctest-TestPorts-62272684 not found, creating it
2026-07-29 14:59:42,082 - INFO - Created Project:ctest-TestPorts-62272684, ID : 30f05629-1d63-4f34-b1e4-1e2aa62c5dde
2026-07-29 14:59:43,837 - INFO - ================================================================================
2026-07-29 14:59:43,837 - INFO - STARTING TEST : test_ports_bindings
2026-07-29 14:59:43,837 - 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-07-29 14:59:44,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2026-07-29 14:59:44,117 - INFO - Initial checks done. Running the testcase now
2026-07-29 14:59:44,117 - INFO -
2026-07-29 14:59:44,831 - DEBUG - Response for create_network : {'network': {'id': 'cdab1eef-9b35-455a-937e-6439f20bc53b', 'name': 'ctest-vn-18631374', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'project_id': '30f056291d634f34b1e41e2aa62c5dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62272684', 'ctest-vn-18631374'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 14:59:45,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b68e4496-a465-47f0-8ec2-ad1cfc7b4610', 'name': '', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdab1eef-9b35-455a-937e-6439f20bc53b', 'ip_version': 4, 'cidr': '5.39.178.0/26', 'allocation_pools': [{'start': '5.39.178.2', 'end': '5.39.178.62'}], 'gateway_ip': '5.39.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.39.178.2', 'tags': [], 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:45,082 - INFO - Created VN ctest-vn-18631374
2026-07-29 14:59:45,136 - DEBUG - VN ctest-vn-18631374 UUID is cdab1eef-9b35-455a-937e-6439f20bc53b
2026-07-29 14:59:45,248 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62272684', 'ctest-vmi-22798697']}
2026-07-29 14:59:45,525 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22798697', 'id': 'd2d45999-05cb-4844-9fa1-1fab93103060', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdab1eef-9b35-455a-937e-6439f20bc53b', 'mac_address': '02:d2:d4:59:99:05', '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': '5.39.178.3', 'subnet_id': 'b68e4496-a465-47f0-8ec2-ad1cfc7b4610'}], 'security_groups': ['0df17956-5a5d-4a29-b507-2e8d51708dc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:45,525 - DEBUG - Created port d2d45999-05cb-4844-9fa1-1fab93103060
2026-07-29 14:59:45,632 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d2d45999-05cb-4844-9fa1-1fab93103060
2026-07-29 14:59:46,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d2d45999-05cb-4844-9fa1-1fab93103060
2026-07-29 14:59:46,042 - INFO - VMI d2d45999-05cb-4844-9fa1-1fab93103060 verification in API Server passed
2026-07-29 14:59:46,147 - DEBUG - Response for delete_port : ()
2026-07-29 14:59:46,147 - INFO - Deleted port d2d45999-05cb-4844-9fa1-1fab93103060
2026-07-29 14:59:46,147 - INFO - Deleting VN ctest-vn-18631374
2026-07-29 14:59:46,272 - DEBUG - Response for deleting network ()
2026-07-29 14:59:46,540 - DEBUG - No XMPP flaps were noticed during the test
2026-07-29 14:59:46,541 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-07-29 14:59:46,541 - INFO - --------------------------------------------------------------------------------
2026-07-29 14:59:46,544 - INFO - ================================================================================
2026-07-29 14:59:46,544 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-07-29 14:59:46,544 - 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-07-29 14:59:46,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2026-07-29 14:59:46,841 - INFO - Initial checks done. Running the testcase now
2026-07-29 14:59:46,841 - INFO -
2026-07-29 14:59:47,045 - DEBUG - Response for create_network : {'network': {'id': 'cdf558ca-c4d2-4418-a556-5f87bb99ae7c', 'name': 'ctest-vn1-89714863', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'project_id': '30f056291d634f34b1e41e2aa62c5dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62272684', 'ctest-vn1-89714863'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 14:59:47,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f05c3b4b-cdb8-4e45-b2f4-0894d48556ae', 'name': '', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdf558ca-c4d2-4418-a556-5f87bb99ae7c', 'ip_version': 4, 'cidr': '122.117.68.64/26', 'allocation_pools': [{'start': '122.117.68.66', 'end': '122.117.68.126'}], 'gateway_ip': '122.117.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.117.68.66', 'tags': [], 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:47,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '481dfe1f-8fa4-4387-b201-1177c6d51ae2', 'name': '', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdf558ca-c4d2-4418-a556-5f87bb99ae7c', 'ip_version': 4, 'cidr': '141.191.224.192/26', 'allocation_pools': [{'start': '141.191.224.194', 'end': '141.191.224.254'}], 'gateway_ip': '141.191.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.191.224.194', 'tags': [], 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:47,446 - INFO - Created VN ctest-vn1-89714863
2026-07-29 14:59:47,500 - DEBUG - VN ctest-vn1-89714863 UUID is cdf558ca-c4d2-4418-a556-5f87bb99ae7c
2026-07-29 14:59:47,862 - DEBUG - Response for create_port : {'port': {'name': '27c54d5b-51a5-4bd8-a7e4-676b8c470204', 'id': '27c54d5b-51a5-4bd8-a7e4-676b8c470204', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdf558ca-c4d2-4418-a556-5f87bb99ae7c', 'mac_address': '02:27:c5:4d:5b:51', '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': '122.117.68.69', 'subnet_id': 'f05c3b4b-cdb8-4e45-b2f4-0894d48556ae'}], 'security_groups': ['0df17956-5a5d-4a29-b507-2e8d51708dc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:48,082 - DEBUG - Response for create_port : {'port': {'name': '31f4d3a5-ffdd-4405-b52f-3f425d949f25', 'id': '31f4d3a5-ffdd-4405-b52f-3f425d949f25', 'tenant_id': '30f056291d634f34b1e41e2aa62c5dde', 'network_id': 'cdf558ca-c4d2-4418-a556-5f87bb99ae7c', 'mac_address': '02:31:f4:d3:a5:ff', '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': '141.191.224.197', 'subnet_id': '481dfe1f-8fa4-4387-b201-1177c6d51ae2'}], 'security_groups': ['0df17956-5a5d-4a29-b507-2e8d51708dc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '30f056291d634f34b1e41e2aa62c5dde'}}
2026-07-29 14:59:48,142 - DEBUG - Services list from nova: [, , ]
2026-07-29 14:59:48,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1)
2026-07-29 14:59:48,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6119-1)
2026-07-29 14:59:48,947 - INFO - Waiting for VM ctest-vn1-vm1-30342377 to be up..
2026-07-29 14:59:48,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 14:59:54,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 14:59:59,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:04,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:09,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:14,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:19,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:24,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:29,737 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 15:00:34,843 - DEBUG - VM is in ACTIVE state now
2026-07-29 15:00:34,843 - INFO - VM name : ctest-vn1-vm1-30342377
2026-07-29 15:00:34,936 - DEBUG - VM ctest-vn1-vm1-30342377 ID is 731b0f30-3f64-4aaf-9df0-4f7f629c8e1d
2026-07-29 15:00:34,966 - DEBUG - VM ctest-vn1-vm1-30342377 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1
2026-07-29 15:00:35,063 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/731b0f30-3f64-4aaf-9df0-4f7f629c8e1d
2026-07-29 15:00:35,074 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/27c54d5b-51a5-4bd8-a7e4-676b8c470204
2026-07-29 15:00:38,339 - 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 1016ms')
2026-07-29 15:00:38,340 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-30342377 failed!
2026-07-29 15:00:38,396 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62272684:ctest-vn1-89714863 is 122.117.68.65 and allocation pool is NOT set
2026-07-29 15:00:38,396 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62272684:ctest-vn1-89714863 is 141.191.224.193 and allocation pool is NOT set
2026-07-29 15:00:42,470 - 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=12.7 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 12.715/12.715/12.715/0.000 ms')
2026-07-29 15:00:42,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-30342377 passed
2026-07-29 15:00:42,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:42,624 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30342377, IP 122.117.68.69, Port 22
2026-07-29 15:00:42,694 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-07-29 15:00:42,802 - DEBUG - VM ctest-vn1-vm1-30342377 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-29 15:00:47,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:47,803 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30342377, IP 122.117.68.69, Port 22
2026-07-29 15:00:47,978 - DEBUG - VM ctest-vn1-vm1-30342377 is ready for SSH connections
2026-07-29 15:00:47,978 - INFO - Waiting for VM ctest-vn1-vm2-51753712 to be up..
2026-07-29 15:00:48,080 - DEBUG - VM is in ACTIVE state now
2026-07-29 15:00:48,080 - INFO - VM name : ctest-vn1-vm2-51753712
2026-07-29 15:00:48,192 - DEBUG - VM ctest-vn1-vm2-51753712 ID is e8370f1b-0999-4bf4-9c97-06575d4522a3
2026-07-29 15:00:48,192 - DEBUG - VM ctest-vn1-vm2-51753712 launched on Node cn-jenkins-deploy-platform-ansible-os-6119-1
2026-07-29 15:00:48,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e8370f1b-0999-4bf4-9c97-06575d4522a3
2026-07-29 15:00:48,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/31f4d3a5-ffdd-4405-b52f-3f425d949f25
2026-07-29 15:00:49,559 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.598 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.598/2.673/4.749/2.075 ms')
2026-07-29 15:00:49,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-51753712 passed
2026-07-29 15:00:49,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:49,716 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51753712, IP 141.191.224.197, Port 22
2026-07-29 15:00:49,894 - DEBUG - VM ctest-vn1-vm2-51753712 is ready for SSH connections
2026-07-29 15:00:49,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:49,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:49,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 15:00:49,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.117.68.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-07-29 15:00:49,894 - DEBUG - ping -s 56 -c 3 -W 1 122.117.68.69
2026-07-29 15:00:54,079 - DEBUG - PING 122.117.68.69 (122.117.68.69): 56 data bytes
64 bytes from 122.117.68.69: seq=0 ttl=63 time=5.644 ms
64 bytes from 122.117.68.69: seq=1 ttl=63 time=1.502 ms
64 bytes from 122.117.68.69: seq=2 ttl=63 time=1.086 ms
--- 122.117.68.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.086/2.744/5.644 ms
2026-07-29 15:00:54,079 - INFO - Ping to IP 122.117.68.69 from VM ctest-vn1-vm2-51753712 passed
2026-07-29 15:00:54,079 - INFO - Detaching port 31f4d3a5-ffdd-4405-b52f-3f425d949f25 from VM ctest-vn1-vm2-51753712
2026-07-29 15:00:54,149 - INFO - Deleting VM ctest-vn1-vm2-51753712
2026-07-29 15:00:54,252 - INFO - Detaching port 27c54d5b-51a5-4bd8-a7e4-676b8c470204 from VM ctest-vn1-vm1-30342377
2026-07-29 15:00:54,304 - INFO - Deleting VM ctest-vn1-vm1-30342377
2026-07-29 15:00:54,617 - DEBUG - Response for delete_port : ()
2026-07-29 15:00:54,873 - DEBUG - Response for delete_port : ()
2026-07-29 15:00:54,873 - INFO - Deleting VN ctest-vn1-89714863
2026-07-29 15:00:55,073 - DEBUG - Response for deleting network ()
2026-07-29 15:00:55,351 - DEBUG - No XMPP flaps were noticed during the test
2026-07-29 15:00:55,351 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:09]
2026-07-29 15:00:55,351 - INFO - --------------------------------------------------------------------------------
2026-07-29 15:00:56,248 - INFO - Deleted project: ctest-TestPorts-62272684, ID : 30f05629-1d63-4f34-b1e4-1e2aa62c5dde