2026-06-08 02:12:33,349 - INFO - Domain Default found not creating
2026-06-08 02:12:33,646 - INFO - Project ctest-TestPorts-48937636 not found, creating it
2026-06-08 02:12:34,130 - INFO - Created Project:ctest-TestPorts-48937636, ID : a3b31162-acc6-4268-a4b3-cdfbdb7f1f8e
2026-06-08 02:12:35,753 - INFO - ================================================================================
2026-06-08 02:12:35,753 - INFO - STARTING TEST : test_ports_bindings
2026-06-08 02:12:35,753 - 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-06-08 02:12:36,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-08 02:12:36,013 - INFO - Initial checks done. Running the testcase now
2026-06-08 02:12:36,013 - INFO -
2026-06-08 02:12:36,640 - DEBUG - Response for create_network : {'network': {'id': '20371b27-9fbe-4ad4-9f5a-7fd5c855a0ec', 'name': 'ctest-vn-52327388', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48937636', 'ctest-vn-52327388'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:12:36,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a9acb34-7573-4d71-8f92-74f702fa3ca4', 'name': '', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '20371b27-9fbe-4ad4-9f5a-7fd5c855a0ec', 'ip_version': 4, 'cidr': '111.185.170.192/26', 'allocation_pools': [{'start': '111.185.170.194', 'end': '111.185.170.254'}], 'gateway_ip': '111.185.170.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.185.170.194', 'tags': [], 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:36,868 - INFO - Created VN ctest-vn-52327388
2026-06-08 02:12:36,923 - DEBUG - VN ctest-vn-52327388 UUID is 20371b27-9fbe-4ad4-9f5a-7fd5c855a0ec
2026-06-08 02:12:37,040 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48937636', 'ctest-vmi-48024383']}
2026-06-08 02:12:37,297 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48024383', 'id': '340a9204-847b-4699-a06c-fc75a909347b', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '20371b27-9fbe-4ad4-9f5a-7fd5c855a0ec', 'mac_address': '02:34:0a:92:04:84', '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': '111.185.170.195', 'subnet_id': '0a9acb34-7573-4d71-8f92-74f702fa3ca4'}], 'security_groups': ['6660a125-39db-4f53-84fe-462a204cf45e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:37,297 - DEBUG - Created port 340a9204-847b-4699-a06c-fc75a909347b
2026-06-08 02:12:37,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/340a9204-847b-4699-a06c-fc75a909347b
2026-06-08 02:12:37,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/340a9204-847b-4699-a06c-fc75a909347b
2026-06-08 02:12:37,734 - INFO - VMI 340a9204-847b-4699-a06c-fc75a909347b verification in API Server passed
2026-06-08 02:12:37,825 - DEBUG - Response for delete_port : ()
2026-06-08 02:12:37,825 - INFO - Deleted port 340a9204-847b-4699-a06c-fc75a909347b
2026-06-08 02:12:37,825 - INFO - Deleting VN ctest-vn-52327388
2026-06-08 02:12:37,927 - DEBUG - Response for deleting network ()
2026-06-08 02:12:38,193 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 02:12:38,193 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-06-08 02:12:38,193 - INFO - --------------------------------------------------------------------------------
2026-06-08 02:12:38,196 - INFO - ================================================================================
2026-06-08 02:12:38,196 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-08 02:12:38,196 - 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-06-08 02:12:38,496 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-08 02:12:38,496 - INFO - Initial checks done. Running the testcase now
2026-06-08 02:12:38,496 - INFO -
2026-06-08 02:12:38,697 - DEBUG - Response for create_network : {'network': {'id': '7c909d50-5b3f-4e41-9355-d458fe0647b7', 'name': 'ctest-vn1-64011876', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48937636', 'ctest-vn1-64011876'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:12:38,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '053b1ec1-8d84-429d-b6d4-01f605853228', 'name': '', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '7c909d50-5b3f-4e41-9355-d458fe0647b7', 'ip_version': 4, 'cidr': '183.130.13.0/26', 'allocation_pools': [{'start': '183.130.13.2', 'end': '183.130.13.62'}], 'gateway_ip': '183.130.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.130.13.2', 'tags': [], 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:39,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '45661146-93dd-48d1-b786-6d2d4551ab0c', 'name': '', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '7c909d50-5b3f-4e41-9355-d458fe0647b7', 'ip_version': 4, 'cidr': '70.111.51.64/26', 'allocation_pools': [{'start': '70.111.51.66', 'end': '70.111.51.126'}], 'gateway_ip': '70.111.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.111.51.66', 'tags': [], 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:39,107 - INFO - Created VN ctest-vn1-64011876
2026-06-08 02:12:39,160 - DEBUG - VN ctest-vn1-64011876 UUID is 7c909d50-5b3f-4e41-9355-d458fe0647b7
2026-06-08 02:12:39,486 - DEBUG - Response for create_port : {'port': {'name': '542790a2-ba00-47aa-8eae-cf99fb60e6fd', 'id': '542790a2-ba00-47aa-8eae-cf99fb60e6fd', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '7c909d50-5b3f-4e41-9355-d458fe0647b7', 'mac_address': '02:54:27:90:a2:ba', '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.130.13.5', 'subnet_id': '053b1ec1-8d84-429d-b6d4-01f605853228'}], 'security_groups': ['6660a125-39db-4f53-84fe-462a204cf45e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:39,672 - DEBUG - Response for create_port : {'port': {'name': 'a397f822-ef18-4991-97ec-930e2622050d', 'id': 'a397f822-ef18-4991-97ec-930e2622050d', 'tenant_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e', 'network_id': '7c909d50-5b3f-4e41-9355-d458fe0647b7', 'mac_address': '02:a3:97:f8:22:ef', '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': '70.111.51.69', 'subnet_id': '45661146-93dd-48d1-b786-6d2d4551ab0c'}], 'security_groups': ['6660a125-39db-4f53-84fe-462a204cf45e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a3b31162acc64268a4b3cdfbdb7f1f8e'}}
2026-06-08 02:12:39,734 - DEBUG - Services list from nova: [, , ]
2026-06-08 02:12:40,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5898-1)
2026-06-08 02:12:40,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5898-1)
2026-06-08 02:12:40,642 - INFO - Waiting for VM ctest-vn1-vm1-53092835 to be up..
2026-06-08 02:12:40,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-08 02:12:45,781 - DEBUG - VM is in ACTIVE state now
2026-06-08 02:12:45,782 - INFO - VM name : ctest-vn1-vm1-53092835
2026-06-08 02:12:45,889 - DEBUG - VM ctest-vn1-vm1-53092835 ID is 05aa1cce-033e-4383-93e4-1010103cf394
2026-06-08 02:12:45,912 - DEBUG - VM ctest-vn1-vm1-53092835 launched on Node cn-jenkins-deploy-platform-ansible-os-5898-1
2026-06-08 02:12:45,993 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/05aa1cce-033e-4383-93e4-1010103cf394
2026-06-08 02:12:46,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/542790a2-ba00-47aa-8eae-cf99fb60e6fd
2026-06-08 02:12:49,250 - 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 1001ms')
2026-06-08 02:12:49,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53092835 failed!
2026-06-08 02:12:49,312 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48937636:ctest-vn1-64011876 is 183.130.13.1 and allocation pool is NOT set
2026-06-08 02:12:49,312 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48937636:ctest-vn1-64011876 is 70.111.51.65 and allocation pool is NOT set
2026-06-08 02:12:53,376 - 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=2 ttl=63 time=7.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 7.884/7.884/7.884/0.000 ms')
2026-06-08 02:12:53,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53092835 passed
2026-06-08 02:12:53,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:12:53,548 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53092835, IP 183.130.13.5, Port 22
2026-06-08 02:12:53,717 - DEBUG - VM ctest-vn1-vm1-53092835 is ready for SSH connections
2026-06-08 02:12:53,717 - INFO - Waiting for VM ctest-vn1-vm2-36337211 to be up..
2026-06-08 02:12:53,840 - DEBUG - VM is in ACTIVE state now
2026-06-08 02:12:53,841 - INFO - VM name : ctest-vn1-vm2-36337211
2026-06-08 02:12:53,969 - DEBUG - VM ctest-vn1-vm2-36337211 ID is f0bab69e-65a2-40b6-8ddb-b789eccd2f68
2026-06-08 02:12:53,969 - DEBUG - VM ctest-vn1-vm2-36337211 launched on Node cn-jenkins-deploy-platform-ansible-os-5898-1
2026-06-08 02:12:54,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0bab69e-65a2-40b6-8ddb-b789eccd2f68
2026-06-08 02:12:54,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a397f822-ef18-4991-97ec-930e2622050d
2026-06-08 02:12:55,377 - 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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.34 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 = 2.342/3.694/5.046/1.352 ms')
2026-06-08 02:12:55,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36337211 passed
2026-06-08 02:12:55,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:12:55,532 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36337211, IP 70.111.51.69, Port 22
2026-06-08 02:12:55,598 - 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-06-08 02:12:55,681 - DEBUG - VM ctest-vn1-vm2-36337211 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-08 02:13:00,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:13:00,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36337211, IP 70.111.51.69, Port 22
2026-06-08 02:13:00,850 - DEBUG - VM ctest-vn1-vm2-36337211 is ready for SSH connections
2026-06-08 02:13:00,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:13:00,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:13:00,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-08 02:13:00,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.130.13.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-06-08 02:13:00,851 - DEBUG - ping -s 56 -c 3 -W 1 183.130.13.5
2026-06-08 02:13:03,567 - DEBUG - PING 183.130.13.5 (183.130.13.5): 56 data bytes
64 bytes from 183.130.13.5: seq=0 ttl=63 time=7.363 ms
64 bytes from 183.130.13.5: seq=1 ttl=63 time=0.978 ms
64 bytes from 183.130.13.5: seq=2 ttl=63 time=0.947 ms
--- 183.130.13.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.947/3.096/7.363 ms
2026-06-08 02:13:03,567 - INFO - Ping to IP 183.130.13.5 from VM ctest-vn1-vm2-36337211 passed
2026-06-08 02:13:03,567 - INFO - Detaching port a397f822-ef18-4991-97ec-930e2622050d from VM ctest-vn1-vm2-36337211
2026-06-08 02:13:03,616 - INFO - Deleting VM ctest-vn1-vm2-36337211
2026-06-08 02:13:03,695 - INFO - Detaching port 542790a2-ba00-47aa-8eae-cf99fb60e6fd from VM ctest-vn1-vm1-53092835
2026-06-08 02:13:03,734 - INFO - Deleting VM ctest-vn1-vm1-53092835
2026-06-08 02:13:03,974 - DEBUG - Response for delete_port : ()
2026-06-08 02:13:04,134 - DEBUG - Response for delete_port : ()
2026-06-08 02:13:04,134 - INFO - Deleting VN ctest-vn1-64011876
2026-06-08 02:13:04,266 - DEBUG - Response for deleting network ()
2026-06-08 02:13:04,537 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 02:13:04,538 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-06-08 02:13:04,538 - INFO - --------------------------------------------------------------------------------
2026-06-08 02:13:05,234 - INFO - Deleted project: ctest-TestPorts-48937636, ID : a3b31162-acc6-4268-a4b3-cdfbdb7f1f8e