2026-07-18 14:32:45,382 - INFO - Domain Default found not creating
2026-07-18 14:32:45,567 - INFO - Project ctest-TestPorts-20786481 not found, creating it
2026-07-18 14:32:46,070 - INFO - Created Project:ctest-TestPorts-20786481, ID : 25756442-c9a6-4810-989e-ba59681214c5
2026-07-18 14:32:47,797 - INFO - ================================================================================
2026-07-18 14:32:47,797 - INFO - STARTING TEST : test_ports_bindings
2026-07-18 14:32:47,797 - 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-18 14:32:48,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-07-18 14:32:48,073 - INFO - Initial checks done. Running the testcase now
2026-07-18 14:32:48,073 - INFO -
2026-07-18 14:32:48,751 - DEBUG - Response for create_network : {'network': {'id': 'ce283a6c-21bf-4ec5-a444-9d0634783c6e', 'name': 'ctest-vn-12305956', 'tenant_id': '25756442c9a64810989eba59681214c5', 'project_id': '25756442c9a64810989eba59681214c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20786481', 'ctest-vn-12305956'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 14:32:48,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '589a27e9-0124-4541-b885-22a7649c02b4', 'name': '', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ce283a6c-21bf-4ec5-a444-9d0634783c6e', 'ip_version': 4, 'cidr': '177.191.210.128/26', 'allocation_pools': [{'start': '177.191.210.130', 'end': '177.191.210.190'}], 'gateway_ip': '177.191.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.191.210.130', 'tags': [], 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:48,967 - INFO - Created VN ctest-vn-12305956
2026-07-18 14:32:49,022 - DEBUG - VN ctest-vn-12305956 UUID is ce283a6c-21bf-4ec5-a444-9d0634783c6e
2026-07-18 14:32:49,140 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20786481', 'ctest-vmi-61132385']}
2026-07-18 14:32:49,418 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61132385', 'id': '5fa0f347-5bea-458b-ac63-86b44e3ec5a4', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ce283a6c-21bf-4ec5-a444-9d0634783c6e', 'mac_address': '02:5f:a0:f3:47: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': '177.191.210.131', 'subnet_id': '589a27e9-0124-4541-b885-22a7649c02b4'}], 'security_groups': ['2d307f87-15f2-4cc4-b43d-8009f909fe7e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:49,418 - DEBUG - Created port 5fa0f347-5bea-458b-ac63-86b44e3ec5a4
2026-07-18 14:32:49,530 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5fa0f347-5bea-458b-ac63-86b44e3ec5a4
2026-07-18 14:32:49,901 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5fa0f347-5bea-458b-ac63-86b44e3ec5a4
2026-07-18 14:32:49,934 - INFO - VMI 5fa0f347-5bea-458b-ac63-86b44e3ec5a4 verification in API Server passed
2026-07-18 14:32:50,046 - DEBUG - Response for delete_port : ()
2026-07-18 14:32:50,046 - INFO - Deleted port 5fa0f347-5bea-458b-ac63-86b44e3ec5a4
2026-07-18 14:32:50,047 - INFO - Deleting VN ctest-vn-12305956
2026-07-18 14:32:50,176 - DEBUG - Response for deleting network ()
2026-07-18 14:32:50,448 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 14:32:50,448 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-07-18 14:32:50,448 - INFO - --------------------------------------------------------------------------------
2026-07-18 14:32:50,451 - INFO - ================================================================================
2026-07-18 14:32:50,451 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-07-18 14:32:50,451 - 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-18 14:32:50,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-07-18 14:32:50,747 - INFO - Initial checks done. Running the testcase now
2026-07-18 14:32:50,747 - INFO -
2026-07-18 14:32:50,947 - DEBUG - Response for create_network : {'network': {'id': 'ea2a7418-d79c-4819-a593-f8a40519dbe2', 'name': 'ctest-vn1-46179511', 'tenant_id': '25756442c9a64810989eba59681214c5', 'project_id': '25756442c9a64810989eba59681214c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20786481', 'ctest-vn1-46179511'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 14:32:51,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '0574130f-1d4a-404e-9a5a-0623826558fc', 'name': '', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ea2a7418-d79c-4819-a593-f8a40519dbe2', 'ip_version': 4, 'cidr': '52.66.152.0/26', 'allocation_pools': [{'start': '52.66.152.2', 'end': '52.66.152.62'}], 'gateway_ip': '52.66.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.66.152.2', 'tags': [], 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:51,317 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecd9e63b-5174-46de-87c1-9f25a41fb3b0', 'name': '', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ea2a7418-d79c-4819-a593-f8a40519dbe2', 'ip_version': 4, 'cidr': '16.88.161.0/26', 'allocation_pools': [{'start': '16.88.161.2', 'end': '16.88.161.62'}], 'gateway_ip': '16.88.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.88.161.2', 'tags': [], 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:51,337 - INFO - Created VN ctest-vn1-46179511
2026-07-18 14:32:51,390 - DEBUG - VN ctest-vn1-46179511 UUID is ea2a7418-d79c-4819-a593-f8a40519dbe2
2026-07-18 14:32:51,735 - DEBUG - Response for create_port : {'port': {'name': 'e0474c66-b07c-41cb-9ef4-03c989125e27', 'id': 'e0474c66-b07c-41cb-9ef4-03c989125e27', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ea2a7418-d79c-4819-a593-f8a40519dbe2', 'mac_address': '02:e0:47:4c:66:b0', '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': '52.66.152.5', 'subnet_id': '0574130f-1d4a-404e-9a5a-0623826558fc'}], 'security_groups': ['2d307f87-15f2-4cc4-b43d-8009f909fe7e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:51,944 - DEBUG - Response for create_port : {'port': {'name': '6fea414c-7342-45a2-b9b1-78ec323d520e', 'id': '6fea414c-7342-45a2-b9b1-78ec323d520e', 'tenant_id': '25756442c9a64810989eba59681214c5', 'network_id': 'ea2a7418-d79c-4819-a593-f8a40519dbe2', 'mac_address': '02:6f:ea:41:4c:73', '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.88.161.5', 'subnet_id': 'ecd9e63b-5174-46de-87c1-9f25a41fb3b0'}], 'security_groups': ['2d307f87-15f2-4cc4-b43d-8009f909fe7e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25756442c9a64810989eba59681214c5'}}
2026-07-18 14:32:52,008 - DEBUG - Services list from nova: [, , ]
2026-07-18 14:32:52,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1)
2026-07-18 14:32:52,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1)
2026-07-18 14:32:52,808 - INFO - Waiting for VM ctest-vn1-vm1-73576493 to be up..
2026-07-18 14:32:52,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:32:57,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:02,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:08,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:13,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:18,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:23,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:28,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:33,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-18 14:33:38,637 - DEBUG - VM is in ACTIVE state now
2026-07-18 14:33:38,637 - INFO - VM name : ctest-vn1-vm1-73576493
2026-07-18 14:33:38,725 - DEBUG - VM ctest-vn1-vm1-73576493 ID is c740081d-04db-424d-a1fb-8eca4c674b7a
2026-07-18 14:33:38,749 - DEBUG - VM ctest-vn1-vm1-73576493 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1
2026-07-18 14:33:38,831 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c740081d-04db-424d-a1fb-8eca4c674b7a
2026-07-18 14:33:38,840 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e0474c66-b07c-41cb-9ef4-03c989125e27
2026-07-18 14:33:42,103 - 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-18 14:33:42,103 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-73576493 failed!
2026-07-18 14:33:42,158 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20786481:ctest-vn1-46179511 is 52.66.152.1 and allocation pool is NOT set
2026-07-18 14:33:42,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20786481:ctest-vn1-46179511 is 16.88.161.1 and allocation pool is NOT set
2026-07-18 14:33:46,232 - 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 1013ms')
2026-07-18 14:33:46,232 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-73576493 failed!
2026-07-18 14:33:46,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20786481:ctest-vn1-46179511 is 52.66.152.1 and allocation pool is NOT set
2026-07-18 14:33:46,290 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20786481:ctest-vn1-46179511 is 16.88.161.1 and allocation pool is NOT set
2026-07-18 14:33:48,355 - 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=13.8 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.701 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.701/7.229/13.758/6.528 ms')
2026-07-18 14:33:48,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-73576493 passed
2026-07-18 14:33:48,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:48,522 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73576493, IP 52.66.152.5, Port 22
2026-07-18 14:33:48,588 - 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-18 14:33:48,688 - DEBUG - VM ctest-vn1-vm1-73576493 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-18 14:33:53,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:53,689 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73576493, IP 52.66.152.5, Port 22
2026-07-18 14:33:53,865 - DEBUG - VM ctest-vn1-vm1-73576493 is ready for SSH connections
2026-07-18 14:33:53,865 - INFO - Waiting for VM ctest-vn1-vm2-82412937 to be up..
2026-07-18 14:33:53,954 - DEBUG - VM is in ACTIVE state now
2026-07-18 14:33:53,954 - INFO - VM name : ctest-vn1-vm2-82412937
2026-07-18 14:33:54,036 - DEBUG - VM ctest-vn1-vm2-82412937 ID is 10f9550f-e807-45c5-8530-01ee037e1686
2026-07-18 14:33:54,036 - DEBUG - VM ctest-vn1-vm2-82412937 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1
2026-07-18 14:33:54,119 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/10f9550f-e807-45c5-8530-01ee037e1686
2026-07-18 14:33:54,137 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6fea414c-7342-45a2-b9b1-78ec323d520e
2026-07-18 14:33:55,389 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.863 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.863/2.246/3.630/1.383 ms')
2026-07-18 14:33:55,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-82412937 passed
2026-07-18 14:33:55,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:55,566 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82412937, IP 16.88.161.5, Port 22
2026-07-18 14:33:55,726 - DEBUG - VM ctest-vn1-vm2-82412937 is ready for SSH connections
2026-07-18 14:33:55,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:55,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:55,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-18 14:33:55,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.66.152.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-07-18 14:33:55,727 - DEBUG - ping -s 56 -c 3 -W 1 52.66.152.5
2026-07-18 14:33:59,825 - DEBUG - PING 52.66.152.5 (52.66.152.5): 56 data bytes
64 bytes from 52.66.152.5: seq=0 ttl=63 time=4.452 ms
64 bytes from 52.66.152.5: seq=1 ttl=63 time=1.041 ms
64 bytes from 52.66.152.5: seq=2 ttl=63 time=1.148 ms
--- 52.66.152.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.041/2.213/4.452 ms
2026-07-18 14:33:59,825 - INFO - Ping to IP 52.66.152.5 from VM ctest-vn1-vm2-82412937 passed
2026-07-18 14:33:59,826 - INFO - Detaching port 6fea414c-7342-45a2-b9b1-78ec323d520e from VM ctest-vn1-vm2-82412937
2026-07-18 14:33:59,887 - INFO - Deleting VM ctest-vn1-vm2-82412937
2026-07-18 14:33:59,961 - INFO - Detaching port e0474c66-b07c-41cb-9ef4-03c989125e27 from VM ctest-vn1-vm1-73576493
2026-07-18 14:34:00,002 - INFO - Deleting VM ctest-vn1-vm1-73576493
2026-07-18 14:34:00,293 - DEBUG - Response for delete_port : ()
2026-07-18 14:34:00,496 - DEBUG - Response for delete_port : ()
2026-07-18 14:34:00,496 - INFO - Deleting VN ctest-vn1-46179511
2026-07-18 14:34:00,676 - DEBUG - Response for deleting network ()
2026-07-18 14:34:00,951 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 14:34:00,951 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:10]
2026-07-18 14:34:00,951 - INFO - --------------------------------------------------------------------------------
2026-07-18 14:34:01,762 - INFO - Deleted project: ctest-TestPorts-20786481, ID : 25756442-c9a6-4810-989e-ba59681214c5