2026-04-27 02:29:09,482 - INFO - Domain Default found not creating
2026-04-27 02:29:09,641 - INFO - Project ctest-TestPorts-87720603 not found, creating it
2026-04-27 02:29:10,186 - INFO - Created Project:ctest-TestPorts-87720603, ID : 1a8b412d-1151-46b0-8882-a6c12392a4ab
2026-04-27 02:29:11,653 - INFO - ================================================================================
2026-04-27 02:29:11,654 - INFO - STARTING TEST : test_ports_bindings
2026-04-27 02:29:11,654 - 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-04-27 02:29:11,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-04-27 02:29:11,907 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:29:11,907 - INFO -
2026-04-27 02:29:12,485 - DEBUG - Response for create_network : {'network': {'id': '56842bda-5c33-435b-8229-bbfb007975e6', 'name': 'ctest-vn-17652069', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'project_id': '1a8b412d115146b08882a6c12392a4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87720603', 'ctest-vn-17652069'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:29:12,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a14cadfa-a0c8-48d1-88b3-ac01e8c3373c', 'name': '', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '56842bda-5c33-435b-8229-bbfb007975e6', 'ip_version': 4, 'cidr': '182.11.15.128/26', 'allocation_pools': [{'start': '182.11.15.130', 'end': '182.11.15.190'}], 'gateway_ip': '182.11.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.11.15.130', 'tags': [], 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:12,670 - INFO - Created VN ctest-vn-17652069
2026-04-27 02:29:12,722 - DEBUG - VN ctest-vn-17652069 UUID is 56842bda-5c33-435b-8229-bbfb007975e6
2026-04-27 02:29:12,839 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87720603', 'ctest-vmi-28468286']}
2026-04-27 02:29:13,076 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28468286', 'id': 'b5bed21c-5bc6-4113-8d32-84a906b2865f', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '56842bda-5c33-435b-8229-bbfb007975e6', 'mac_address': '02:b5:be:d2:1c:5b', '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': '182.11.15.131', 'subnet_id': 'a14cadfa-a0c8-48d1-88b3-ac01e8c3373c'}], 'security_groups': ['eb851ccc-2ad2-48d8-96f3-8a32ae727d88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:13,076 - DEBUG - Created port b5bed21c-5bc6-4113-8d32-84a906b2865f
2026-04-27 02:29:13,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b5bed21c-5bc6-4113-8d32-84a906b2865f
2026-04-27 02:29:13,473 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b5bed21c-5bc6-4113-8d32-84a906b2865f
2026-04-27 02:29:13,509 - INFO - VMI b5bed21c-5bc6-4113-8d32-84a906b2865f verification in API Server passed
2026-04-27 02:29:13,603 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:13,603 - INFO - Deleted port b5bed21c-5bc6-4113-8d32-84a906b2865f
2026-04-27 02:29:13,603 - INFO - Deleting VN ctest-vn-17652069
2026-04-27 02:29:13,717 - DEBUG - Response for deleting network ()
2026-04-27 02:29:13,971 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:29:13,971 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-27 02:29:13,971 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:29:13,974 - INFO - ================================================================================
2026-04-27 02:29:13,974 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-27 02:29:13,974 - 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-04-27 02:29:14,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-04-27 02:29:14,264 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:29:14,264 - INFO -
2026-04-27 02:29:14,432 - DEBUG - Response for create_network : {'network': {'id': '2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef', 'name': 'ctest-vn1-41951811', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'project_id': '1a8b412d115146b08882a6c12392a4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87720603', 'ctest-vn1-41951811'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:29:14,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0219442-f798-4568-a7e7-eba1d32c8b4c', 'name': '', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef', 'ip_version': 4, 'cidr': '183.226.71.64/26', 'allocation_pools': [{'start': '183.226.71.66', 'end': '183.226.71.126'}], 'gateway_ip': '183.226.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.226.71.66', 'tags': [], 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:14,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '03a97e13-da3d-4ff1-b082-b58b58fc6e85', 'name': '', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef', 'ip_version': 4, 'cidr': '205.178.95.128/26', 'allocation_pools': [{'start': '205.178.95.130', 'end': '205.178.95.190'}], 'gateway_ip': '205.178.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.178.95.130', 'tags': [], 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:14,821 - INFO - Created VN ctest-vn1-41951811
2026-04-27 02:29:14,874 - DEBUG - VN ctest-vn1-41951811 UUID is 2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef
2026-04-27 02:29:15,169 - DEBUG - Response for create_port : {'port': {'name': '1dc0e680-2acf-4141-ae82-ad0cac6ae668', 'id': '1dc0e680-2acf-4141-ae82-ad0cac6ae668', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef', 'mac_address': '02:1d:c0:e6:80:2a', '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': '183.226.71.69', 'subnet_id': 'a0219442-f798-4568-a7e7-eba1d32c8b4c'}], 'security_groups': ['eb851ccc-2ad2-48d8-96f3-8a32ae727d88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:15,340 - DEBUG - Response for create_port : {'port': {'name': '6fede192-d819-4ae8-9739-6ecee219678e', 'id': '6fede192-d819-4ae8-9739-6ecee219678e', 'tenant_id': '1a8b412d115146b08882a6c12392a4ab', 'network_id': '2bd5d0e9-fe8e-4062-b2fd-0ec8eeadf1ef', 'mac_address': '02:6f:ed:e1:92:d8', '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': '205.178.95.133', 'subnet_id': '03a97e13-da3d-4ff1-b082-b58b58fc6e85'}], 'security_groups': ['eb851ccc-2ad2-48d8-96f3-8a32ae727d88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a8b412d115146b08882a6c12392a4ab'}}
2026-04-27 02:29:15,397 - DEBUG - Services list from nova: [, , ]
2026-04-27 02:29:15,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5689-1)
2026-04-27 02:29:16,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5689-1)
2026-04-27 02:29:16,142 - INFO - Waiting for VM ctest-vn1-vm1-82163090 to be up..
2026-04-27 02:29:16,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 02:29:21,259 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:29:21,259 - INFO - VM name : ctest-vn1-vm1-82163090
2026-04-27 02:29:21,348 - DEBUG - VM ctest-vn1-vm1-82163090 ID is 3e61e679-4b61-44b9-a636-25aa3d389b46
2026-04-27 02:29:21,369 - DEBUG - VM ctest-vn1-vm1-82163090 launched on Node cn-jenkins-deploy-platform-ansible-os-5689-1
2026-04-27 02:29:21,460 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3e61e679-4b61-44b9-a636-25aa3d389b46
2026-04-27 02:29:21,469 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1dc0e680-2acf-4141-ae82-ad0cac6ae668
2026-04-27 02:29:24,705 - 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 1002ms')
2026-04-27 02:29:24,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82163090 failed!
2026-04-27 02:29:24,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87720603:ctest-vn1-41951811 is 183.226.71.65 and allocation pool is NOT set
2026-04-27 02:29:24,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87720603:ctest-vn1-41951811 is 205.178.95.129 and allocation pool is NOT set
2026-04-27 02:29:26,826 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.636/3.488/4.341/0.852 ms')
2026-04-27 02:29:26,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82163090 passed
2026-04-27 02:29:26,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:26,974 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82163090, IP 183.226.71.69, Port 22
2026-04-27 02:29:27,034 - 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-04-27 02:29:27,114 - DEBUG - VM ctest-vn1-vm1-82163090 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 02:29:32,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:32,115 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82163090, IP 183.226.71.69, Port 22
2026-04-27 02:29:32,281 - DEBUG - VM ctest-vn1-vm1-82163090 is ready for SSH connections
2026-04-27 02:29:32,281 - INFO - Waiting for VM ctest-vn1-vm2-52663033 to be up..
2026-04-27 02:29:32,357 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:29:32,358 - INFO - VM name : ctest-vn1-vm2-52663033
2026-04-27 02:29:32,432 - DEBUG - VM ctest-vn1-vm2-52663033 ID is ff295fbb-658e-4eca-87d3-ac8d253dd270
2026-04-27 02:29:32,432 - DEBUG - VM ctest-vn1-vm2-52663033 launched on Node cn-jenkins-deploy-platform-ansible-os-5689-1
2026-04-27 02:29:32,502 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ff295fbb-658e-4eca-87d3-ac8d253dd270
2026-04-27 02:29:32,510 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6fede192-d819-4ae8-9739-6ecee219678e
2026-04-27 02:29:33,756 - 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=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.767/3.153/1.385 ms')
2026-04-27 02:29:33,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52663033 passed
2026-04-27 02:29:33,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:33,907 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52663033, IP 205.178.95.133, Port 22
2026-04-27 02:29:34,062 - DEBUG - VM ctest-vn1-vm2-52663033 is ready for SSH connections
2026-04-27 02:29:34,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:34,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:34,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:29:34,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.226.71.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-04-27 02:29:34,062 - DEBUG - ping -s 56 -c 3 -W 1 183.226.71.69
2026-04-27 02:29:36,697 - DEBUG - PING 183.226.71.69 (183.226.71.69): 56 data bytes
64 bytes from 183.226.71.69: seq=0 ttl=63 time=3.567 ms
64 bytes from 183.226.71.69: seq=1 ttl=63 time=0.861 ms
64 bytes from 183.226.71.69: seq=2 ttl=63 time=1.489 ms
--- 183.226.71.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.861/1.972/3.567 ms
2026-04-27 02:29:36,697 - INFO - Ping to IP 183.226.71.69 from VM ctest-vn1-vm2-52663033 passed
2026-04-27 02:29:36,697 - INFO - Detaching port 6fede192-d819-4ae8-9739-6ecee219678e from VM ctest-vn1-vm2-52663033
2026-04-27 02:29:36,751 - INFO - Deleting VM ctest-vn1-vm2-52663033
2026-04-27 02:29:36,830 - INFO - Detaching port 1dc0e680-2acf-4141-ae82-ad0cac6ae668 from VM ctest-vn1-vm1-82163090
2026-04-27 02:29:36,865 - INFO - Deleting VM ctest-vn1-vm1-82163090
2026-04-27 02:29:37,118 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:37,329 - DEBUG - Response for delete_port : ()
2026-04-27 02:29:37,329 - INFO - Deleting VN ctest-vn1-41951811
2026-04-27 02:29:37,503 - DEBUG - Response for deleting network ()
2026-04-27 02:29:37,761 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:29:37,762 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-27 02:29:37,762 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:29:38,491 - INFO - Deleted project: ctest-TestPorts-87720603, ID : 1a8b412d-1151-46b0-8882-a6c12392a4ab