2026-05-28 22:56:58,311 - INFO - Domain Default found not creating
2026-05-28 22:56:58,460 - INFO - Project ctest-TestPorts-82062486 not found, creating it
2026-05-28 22:56:58,914 - INFO - Created Project:ctest-TestPorts-82062486, ID : f9d728ff-a92f-451a-843b-43c3a49cccf1
2026-05-28 22:57:00,378 - INFO - ================================================================================
2026-05-28 22:57:00,378 - INFO - STARTING TEST : test_ports_bindings
2026-05-28 22:57:00,378 - 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-28 22:57:00,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-05-28 22:57:00,636 - INFO - Initial checks done. Running the testcase now
2026-05-28 22:57:00,636 - INFO -
2026-05-28 22:57:01,194 - DEBUG - Response for create_network : {'network': {'id': '16cc2115-789e-4881-9206-91dd8c7d0a7d', 'name': 'ctest-vn-39744643', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82062486', 'ctest-vn-39744643'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 22:57:01,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '05186fab-38e8-4d84-a6b7-b505092e2bba', 'name': '', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '16cc2115-789e-4881-9206-91dd8c7d0a7d', 'ip_version': 4, 'cidr': '116.152.191.0/26', 'allocation_pools': [{'start': '116.152.191.2', 'end': '116.152.191.62'}], 'gateway_ip': '116.152.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.152.191.2', 'tags': [], 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:01,425 - INFO - Created VN ctest-vn-39744643
2026-05-28 22:57:01,478 - DEBUG - VN ctest-vn-39744643 UUID is 16cc2115-789e-4881-9206-91dd8c7d0a7d
2026-05-28 22:57:01,593 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82062486', 'ctest-vmi-45360286']}
2026-05-28 22:57:01,837 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45360286', 'id': 'c5619ec5-4797-42b9-9f46-608face0c2ad', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '16cc2115-789e-4881-9206-91dd8c7d0a7d', 'mac_address': '02:c5:61:9e:c5:47', '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': '116.152.191.3', 'subnet_id': '05186fab-38e8-4d84-a6b7-b505092e2bba'}], 'security_groups': ['ce5baff3-5e21-4d2e-a415-9a13da93680b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:01,837 - DEBUG - Created port c5619ec5-4797-42b9-9f46-608face0c2ad
2026-05-28 22:57:01,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5619ec5-4797-42b9-9f46-608face0c2ad
2026-05-28 22:57:02,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5619ec5-4797-42b9-9f46-608face0c2ad
2026-05-28 22:57:02,286 - INFO - VMI c5619ec5-4797-42b9-9f46-608face0c2ad verification in API Server passed
2026-05-28 22:57:02,371 - DEBUG - Response for delete_port : ()
2026-05-28 22:57:02,371 - INFO - Deleted port c5619ec5-4797-42b9-9f46-608face0c2ad
2026-05-28 22:57:02,371 - INFO - Deleting VN ctest-vn-39744643
2026-05-28 22:57:02,471 - DEBUG - Response for deleting network ()
2026-05-28 22:57:02,739 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 22:57:02,739 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-05-28 22:57:02,739 - INFO - --------------------------------------------------------------------------------
2026-05-28 22:57:02,741 - INFO - ================================================================================
2026-05-28 22:57:02,741 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-28 22:57:02,741 - 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-28 22:57:03,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-05-28 22:57:03,039 - INFO - Initial checks done. Running the testcase now
2026-05-28 22:57:03,039 - INFO -
2026-05-28 22:57:03,223 - DEBUG - Response for create_network : {'network': {'id': '9f9a61a1-7ee9-439a-97e2-05423a557fb0', 'name': 'ctest-vn1-09394688', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82062486', 'ctest-vn1-09394688'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 22:57:03,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '21172e9c-e90c-4776-901b-1802342d1c3f', 'name': '', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '9f9a61a1-7ee9-439a-97e2-05423a557fb0', 'ip_version': 4, 'cidr': '100.19.12.64/26', 'allocation_pools': [{'start': '100.19.12.66', 'end': '100.19.12.126'}], 'gateway_ip': '100.19.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.19.12.66', 'tags': [], 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:03,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab9ac950-8faf-4dc4-9947-79a6d7d5c7b2', 'name': '', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '9f9a61a1-7ee9-439a-97e2-05423a557fb0', 'ip_version': 4, 'cidr': '57.119.163.192/26', 'allocation_pools': [{'start': '57.119.163.194', 'end': '57.119.163.254'}], 'gateway_ip': '57.119.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.119.163.194', 'tags': [], 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:03,610 - INFO - Created VN ctest-vn1-09394688
2026-05-28 22:57:03,662 - DEBUG - VN ctest-vn1-09394688 UUID is 9f9a61a1-7ee9-439a-97e2-05423a557fb0
2026-05-28 22:57:03,949 - DEBUG - Response for create_port : {'port': {'name': '5fdd1e6b-1baa-4e76-9adc-e127a3ea40b4', 'id': '5fdd1e6b-1baa-4e76-9adc-e127a3ea40b4', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '9f9a61a1-7ee9-439a-97e2-05423a557fb0', 'mac_address': '02:5f:dd:1e:6b:1b', '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': '100.19.12.69', 'subnet_id': '21172e9c-e90c-4776-901b-1802342d1c3f'}], 'security_groups': ['ce5baff3-5e21-4d2e-a415-9a13da93680b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:04,120 - DEBUG - Response for create_port : {'port': {'name': '9db200b4-7e4c-4739-adb6-8dfb4fc6a1f6', 'id': '9db200b4-7e4c-4739-adb6-8dfb4fc6a1f6', 'tenant_id': 'f9d728ffa92f451a843b43c3a49cccf1', 'network_id': '9f9a61a1-7ee9-439a-97e2-05423a557fb0', 'mac_address': '02:9d:b2:00:b4:7e', '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': '57.119.163.197', 'subnet_id': 'ab9ac950-8faf-4dc4-9947-79a6d7d5c7b2'}], 'security_groups': ['ce5baff3-5e21-4d2e-a415-9a13da93680b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f9d728ffa92f451a843b43c3a49cccf1'}}
2026-05-28 22:57:04,173 - DEBUG - Services list from nova: [, , ]
2026-05-28 22:57:04,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1)
2026-05-28 22:57:04,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1)
2026-05-28 22:57:04,934 - INFO - Waiting for VM ctest-vn1-vm1-18282744 to be up..
2026-05-28 22:57:04,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-28 22:57:10,055 - DEBUG - VM is in ACTIVE state now
2026-05-28 22:57:10,055 - INFO - VM name : ctest-vn1-vm1-18282744
2026-05-28 22:57:10,132 - DEBUG - VM ctest-vn1-vm1-18282744 ID is bd170cfd-5964-487d-b18e-e351188a9387
2026-05-28 22:57:10,155 - DEBUG - VM ctest-vn1-vm1-18282744 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1
2026-05-28 22:57:10,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd170cfd-5964-487d-b18e-e351188a9387
2026-05-28 22:57:10,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fdd1e6b-1baa-4e76-9adc-e127a3ea40b4
2026-05-28 22:57:13,509 - 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 1031ms')
2026-05-28 22:57:13,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18282744 failed!
2026-05-28 22:57:13,566 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82062486:ctest-vn1-09394688 is 100.19.12.65 and allocation pool is NOT set
2026-05-28 22:57:13,566 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82062486:ctest-vn1-09394688 is 57.119.163.193 and allocation pool is NOT set
2026-05-28 22:57:15,626 - 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=13.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.742 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.742/7.045/13.349/6.303 ms')
2026-05-28 22:57:15,626 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18282744 passed
2026-05-28 22:57:15,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:15,778 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18282744, IP 100.19.12.69, Port 22
2026-05-28 22:57:15,843 - 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-28 22:57:16,062 - DEBUG - VM ctest-vn1-vm1-18282744 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-28 22:57:21,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:21,063 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18282744, IP 100.19.12.69, Port 22
2026-05-28 22:57:21,232 - DEBUG - VM ctest-vn1-vm1-18282744 is ready for SSH connections
2026-05-28 22:57:21,232 - INFO - Waiting for VM ctest-vn1-vm2-91839685 to be up..
2026-05-28 22:57:21,305 - DEBUG - VM is in ACTIVE state now
2026-05-28 22:57:21,305 - INFO - VM name : ctest-vn1-vm2-91839685
2026-05-28 22:57:21,374 - DEBUG - VM ctest-vn1-vm2-91839685 ID is 100030bd-c59b-4396-a59a-d80b6231ca4e
2026-05-28 22:57:21,374 - DEBUG - VM ctest-vn1-vm2-91839685 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1
2026-05-28 22:57:21,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/100030bd-c59b-4396-a59a-d80b6231ca4e
2026-05-28 22:57:21,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9db200b4-7e4c-4739-adb6-8dfb4fc6a1f6
2026-05-28 22:57:22,685 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.446/1.695/2.944/1.249 ms')
2026-05-28 22:57:22,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91839685 passed
2026-05-28 22:57:22,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:22,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91839685, IP 57.119.163.197, Port 22
2026-05-28 22:57:22,994 - DEBUG - VM ctest-vn1-vm2-91839685 is ready for SSH connections
2026-05-28 22:57:22,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:22,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:22,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-28 22:57:22,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.19.12.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-05-28 22:57:22,994 - DEBUG - ping -s 56 -c 3 -W 1 100.19.12.69
2026-05-28 22:57:25,676 - DEBUG - PING 100.19.12.69 (100.19.12.69): 56 data bytes
64 bytes from 100.19.12.69: seq=0 ttl=63 time=3.399 ms
64 bytes from 100.19.12.69: seq=1 ttl=63 time=1.174 ms
64 bytes from 100.19.12.69: seq=2 ttl=63 time=0.883 ms
--- 100.19.12.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.883/1.818/3.399 ms
2026-05-28 22:57:25,676 - INFO - Ping to IP 100.19.12.69 from VM ctest-vn1-vm2-91839685 passed
2026-05-28 22:57:25,676 - INFO - Detaching port 9db200b4-7e4c-4739-adb6-8dfb4fc6a1f6 from VM ctest-vn1-vm2-91839685
2026-05-28 22:57:25,727 - INFO - Deleting VM ctest-vn1-vm2-91839685
2026-05-28 22:57:25,798 - INFO - Detaching port 5fdd1e6b-1baa-4e76-9adc-e127a3ea40b4 from VM ctest-vn1-vm1-18282744
2026-05-28 22:57:25,839 - INFO - Deleting VM ctest-vn1-vm1-18282744
2026-05-28 22:57:26,091 - DEBUG - Response for delete_port : ()
2026-05-28 22:57:26,292 - DEBUG - Response for delete_port : ()
2026-05-28 22:57:26,292 - INFO - Deleting VN ctest-vn1-09394688
2026-05-28 22:57:26,454 - DEBUG - Response for deleting network ()
2026-05-28 22:57:26,712 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 22:57:26,712 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-05-28 22:57:26,712 - INFO - --------------------------------------------------------------------------------
2026-05-28 22:57:27,395 - INFO - Deleted project: ctest-TestPorts-82062486, ID : f9d728ff-a92f-451a-843b-43c3a49cccf1