2026-03-06 05:22:39,527 - INFO - Domain Default found not creating
2026-03-06 05:22:39,687 - INFO - Project ctest-TestPorts-36175018 not found, creating it
2026-03-06 05:22:40,147 - INFO - Created Project:ctest-TestPorts-36175018, ID : b20be9c3-71bf-4723-8322-16a32f8b4487
2026-03-06 05:22:41,624 - INFO - ================================================================================
2026-03-06 05:22:41,624 - INFO - STARTING TEST : test_ports_bindings
2026-03-06 05:22:41,625 - 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-03-06 05:22:41,886 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-06 05:22:41,886 - INFO - Initial checks done. Running the testcase now
2026-03-06 05:22:41,886 - INFO -
2026-03-06 05:22:42,458 - DEBUG - Response for create_network : {'network': {'id': '545a9db9-4b04-42dd-8087-6fbe8939193d', 'name': 'ctest-vn-08993083', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'project_id': 'b20be9c371bf4723832216a32f8b4487', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36175018', 'ctest-vn-08993083'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:22:42,631 - DEBUG - Response for create_subnet : {'subnet': {'id': '59bc9d87-3bf2-4e43-a69f-d30a537e9f6c', 'name': '', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': '545a9db9-4b04-42dd-8087-6fbe8939193d', 'ip_version': 4, 'cidr': '114.239.36.0/26', 'allocation_pools': [{'start': '114.239.36.2', 'end': '114.239.36.62'}], 'gateway_ip': '114.239.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.239.36.2', 'tags': [], 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:42,648 - INFO - Created VN ctest-vn-08993083
2026-03-06 05:22:42,700 - DEBUG - VN ctest-vn-08993083 UUID is 545a9db9-4b04-42dd-8087-6fbe8939193d
2026-03-06 05:22:42,810 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36175018', 'ctest-vmi-43360787']}
2026-03-06 05:22:43,090 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43360787', 'id': '5c24d81a-84c7-4ae3-8af8-c8212b43b975', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': '545a9db9-4b04-42dd-8087-6fbe8939193d', 'mac_address': '02:5c:24:d8:1a: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': '114.239.36.3', 'subnet_id': '59bc9d87-3bf2-4e43-a69f-d30a537e9f6c'}], 'security_groups': ['8b9d3eb5-448a-49d7-84c7-bd55c453c4c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:43,090 - DEBUG - Created port 5c24d81a-84c7-4ae3-8af8-c8212b43b975
2026-03-06 05:22:43,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c24d81a-84c7-4ae3-8af8-c8212b43b975
2026-03-06 05:22:43,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5c24d81a-84c7-4ae3-8af8-c8212b43b975
2026-03-06 05:22:43,535 - INFO - VMI 5c24d81a-84c7-4ae3-8af8-c8212b43b975 verification in API Server passed
2026-03-06 05:22:43,622 - DEBUG - Response for delete_port : ()
2026-03-06 05:22:43,622 - INFO - Deleted port 5c24d81a-84c7-4ae3-8af8-c8212b43b975
2026-03-06 05:22:43,622 - INFO - Deleting VN ctest-vn-08993083
2026-03-06 05:22:43,716 - DEBUG - Response for deleting network ()
2026-03-06 05:22:43,969 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 05:22:43,969 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-06 05:22:43,969 - INFO - --------------------------------------------------------------------------------
2026-03-06 05:22:43,971 - INFO - ================================================================================
2026-03-06 05:22:43,971 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-06 05:22:43,971 - 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-03-06 05:22:44,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-06 05:22:44,258 - INFO - Initial checks done. Running the testcase now
2026-03-06 05:22:44,258 - INFO -
2026-03-06 05:22:44,444 - DEBUG - Response for create_network : {'network': {'id': 'ed732cc5-9cc5-418e-8d94-0245ea03de8f', 'name': 'ctest-vn1-26776127', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'project_id': 'b20be9c371bf4723832216a32f8b4487', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36175018', 'ctest-vn1-26776127'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:22:44,653 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b204ff32-89f5-4ae2-b8c8-f16e56ac41c8', 'name': '', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': 'ed732cc5-9cc5-418e-8d94-0245ea03de8f', 'ip_version': 4, 'cidr': '27.0.185.0/26', 'allocation_pools': [{'start': '27.0.185.2', 'end': '27.0.185.62'}], 'gateway_ip': '27.0.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.0.185.2', 'tags': [], 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:44,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ceb5a8f-d387-43f4-8af2-f9a3f69f9907', 'name': '', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': 'ed732cc5-9cc5-418e-8d94-0245ea03de8f', 'ip_version': 4, 'cidr': '154.243.113.64/26', 'allocation_pools': [{'start': '154.243.113.66', 'end': '154.243.113.126'}], 'gateway_ip': '154.243.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.243.113.66', 'tags': [], 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:44,851 - INFO - Created VN ctest-vn1-26776127
2026-03-06 05:22:44,904 - DEBUG - VN ctest-vn1-26776127 UUID is ed732cc5-9cc5-418e-8d94-0245ea03de8f
2026-03-06 05:22:45,199 - DEBUG - Response for create_port : {'port': {'name': '8da833be-649b-4e55-919d-728991028878', 'id': '8da833be-649b-4e55-919d-728991028878', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': 'ed732cc5-9cc5-418e-8d94-0245ea03de8f', 'mac_address': '02:8d:a8:33:be:64', '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': '27.0.185.5', 'subnet_id': 'b204ff32-89f5-4ae2-b8c8-f16e56ac41c8'}], 'security_groups': ['8b9d3eb5-448a-49d7-84c7-bd55c453c4c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:45,360 - DEBUG - Response for create_port : {'port': {'name': 'e7b57c37-ff41-41c5-9c8d-017357ae7438', 'id': 'e7b57c37-ff41-41c5-9c8d-017357ae7438', 'tenant_id': 'b20be9c371bf4723832216a32f8b4487', 'network_id': 'ed732cc5-9cc5-418e-8d94-0245ea03de8f', 'mac_address': '02:e7:b5:7c:37: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': '154.243.113.69', 'subnet_id': '5ceb5a8f-d387-43f4-8af2-f9a3f69f9907'}], 'security_groups': ['8b9d3eb5-448a-49d7-84c7-bd55c453c4c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b20be9c371bf4723832216a32f8b4487'}}
2026-03-06 05:22:45,416 - DEBUG - Services list from nova: [, , ]
2026-03-06 05:22:45,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1)
2026-03-06 05:22:46,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1)
2026-03-06 05:22:46,153 - INFO - Waiting for VM ctest-vn1-vm1-41082489 to be up..
2026-03-06 05:22:46,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-06 05:22:51,276 - DEBUG - VM is in ACTIVE state now
2026-03-06 05:22:51,276 - INFO - VM name : ctest-vn1-vm1-41082489
2026-03-06 05:22:51,350 - DEBUG - VM ctest-vn1-vm1-41082489 ID is 29833c2e-ac63-47cb-9c1e-6e68974ba4e9
2026-03-06 05:22:51,367 - DEBUG - VM ctest-vn1-vm1-41082489 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1
2026-03-06 05:22:51,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29833c2e-ac63-47cb-9c1e-6e68974ba4e9
2026-03-06 05:22:51,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8da833be-649b-4e55-919d-728991028878
2026-03-06 05:22:54,698 - 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 1008ms')
2026-03-06 05:22:54,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41082489 failed!
2026-03-06 05:22:54,756 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36175018:ctest-vn1-26776127 is 27.0.185.1 and allocation pool is NOT set
2026-03-06 05:22:54,756 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36175018:ctest-vn1-26776127 is 154.243.113.65 and allocation pool is NOT set
2026-03-06 05:22:56,814 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/2.351/4.329/1.977 ms')
2026-03-06 05:22:56,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41082489 passed
2026-03-06 05:22:56,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:22:56,965 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41082489, IP 27.0.185.5, Port 22
2026-03-06 05:22:57,030 - 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-03-06 05:22:57,125 - DEBUG - VM ctest-vn1-vm1-41082489 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-06 05:23:02,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:23:02,126 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41082489, IP 27.0.185.5, Port 22
2026-03-06 05:23:02,280 - DEBUG - VM ctest-vn1-vm1-41082489 is ready for SSH connections
2026-03-06 05:23:02,280 - INFO - Waiting for VM ctest-vn1-vm2-46291603 to be up..
2026-03-06 05:23:02,352 - DEBUG - VM is in ACTIVE state now
2026-03-06 05:23:02,352 - INFO - VM name : ctest-vn1-vm2-46291603
2026-03-06 05:23:02,421 - DEBUG - VM ctest-vn1-vm2-46291603 ID is ee6be56a-76b5-475c-96cd-8f09349031fe
2026-03-06 05:23:02,421 - DEBUG - VM ctest-vn1-vm2-46291603 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1
2026-03-06 05:23:02,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee6be56a-76b5-475c-96cd-8f09349031fe
2026-03-06 05:23:02,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e7b57c37-ff41-41c5-9c8d-017357ae7438
2026-03-06 05:23:03,730 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.758/3.083/1.324 ms')
2026-03-06 05:23:03,730 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46291603 passed
2026-03-06 05:23:03,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:23:03,877 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46291603, IP 154.243.113.69, Port 22
2026-03-06 05:23:04,032 - DEBUG - VM ctest-vn1-vm2-46291603 is ready for SSH connections
2026-03-06 05:23:04,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:23:04,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:23:04,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-06 05:23:04,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.0.185.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-06 05:23:04,033 - DEBUG - ping -s 56 -c 3 -W 1 27.0.185.5
2026-03-06 05:23:06,688 - DEBUG - PING 27.0.185.5 (27.0.185.5): 56 data bytes
64 bytes from 27.0.185.5: seq=0 ttl=63 time=3.727 ms
64 bytes from 27.0.185.5: seq=1 ttl=63 time=1.160 ms
64 bytes from 27.0.185.5: seq=2 ttl=63 time=0.928 ms
--- 27.0.185.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.928/1.938/3.727 ms
2026-03-06 05:23:06,688 - INFO - Ping to IP 27.0.185.5 from VM ctest-vn1-vm2-46291603 passed
2026-03-06 05:23:06,688 - INFO - Detaching port e7b57c37-ff41-41c5-9c8d-017357ae7438 from VM ctest-vn1-vm2-46291603
2026-03-06 05:23:06,742 - INFO - Deleting VM ctest-vn1-vm2-46291603
2026-03-06 05:23:06,813 - INFO - Detaching port 8da833be-649b-4e55-919d-728991028878 from VM ctest-vn1-vm1-41082489
2026-03-06 05:23:06,845 - INFO - Deleting VM ctest-vn1-vm1-41082489
2026-03-06 05:23:07,080 - DEBUG - Response for delete_port : ()
2026-03-06 05:23:07,245 - DEBUG - Response for delete_port : ()
2026-03-06 05:23:07,245 - INFO - Deleting VN ctest-vn1-26776127
2026-03-06 05:23:07,371 - DEBUG - Response for deleting network ()
2026-03-06 05:23:07,626 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 05:23:07,626 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-06 05:23:07,626 - INFO - --------------------------------------------------------------------------------
2026-03-06 05:23:08,301 - INFO - Deleted project: ctest-TestPorts-36175018, ID : b20be9c3-71bf-4723-8322-16a32f8b4487