2026-02-04 06:29:07,421 - INFO - Domain Default found not creating
2026-02-04 06:29:07,593 - INFO - Project ctest-TestPorts-16126724 not found, creating it
2026-02-04 06:29:08,068 - INFO - Created Project:ctest-TestPorts-16126724, ID : 7de3e175-382c-4a74-9199-be0aeeeba509
2026-02-04 06:29:10,240 - INFO - ================================================================================
2026-02-04 06:29:10,240 - INFO - STARTING TEST : test_ports_bindings
2026-02-04 06:29:10,241 - 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-02-04 06:29:10,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-04 06:29:10,499 - INFO - Initial checks done. Running the testcase now
2026-02-04 06:29:10,500 - INFO -
2026-02-04 06:29:11,060 - DEBUG - Response for create_network : {'network': {'id': 'bbd92cce-e747-409b-ad62-45ecec314b06', 'name': 'ctest-vn-81671848', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'project_id': '7de3e175382c4a749199be0aeeeba509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16126724', 'ctest-vn-81671848'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:29:11,277 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e11f3630-aba0-432b-9a5b-13b0996250c0', 'name': '', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'bbd92cce-e747-409b-ad62-45ecec314b06', 'ip_version': 4, 'cidr': '220.145.56.0/26', 'allocation_pools': [{'start': '220.145.56.2', 'end': '220.145.56.62'}], 'gateway_ip': '220.145.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.145.56.2', 'tags': [], 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:11,300 - INFO - Created VN ctest-vn-81671848
2026-02-04 06:29:11,359 - DEBUG - VN ctest-vn-81671848 UUID is bbd92cce-e747-409b-ad62-45ecec314b06
2026-02-04 06:29:11,472 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16126724', 'ctest-vmi-69312868']}
2026-02-04 06:29:11,736 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69312868', 'id': 'f88604e8-6170-4e0d-8281-412bf4d76b69', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'bbd92cce-e747-409b-ad62-45ecec314b06', 'mac_address': '02:f8:86:04:e8:61', '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': '220.145.56.3', 'subnet_id': 'e11f3630-aba0-432b-9a5b-13b0996250c0'}], 'security_groups': ['75108b7c-e17e-4381-aae9-53f5fcf43c39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:11,736 - DEBUG - Created port f88604e8-6170-4e0d-8281-412bf4d76b69
2026-02-04 06:29:11,843 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f88604e8-6170-4e0d-8281-412bf4d76b69
2026-02-04 06:29:12,137 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f88604e8-6170-4e0d-8281-412bf4d76b69
2026-02-04 06:29:12,170 - INFO - VMI f88604e8-6170-4e0d-8281-412bf4d76b69 verification in API Server passed
2026-02-04 06:29:12,256 - DEBUG - Response for delete_port : ()
2026-02-04 06:29:12,256 - INFO - Deleted port f88604e8-6170-4e0d-8281-412bf4d76b69
2026-02-04 06:29:12,256 - INFO - Deleting VN ctest-vn-81671848
2026-02-04 06:29:12,360 - DEBUG - Response for deleting network ()
2026-02-04 06:29:12,627 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 06:29:12,627 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-04 06:29:12,627 - INFO - --------------------------------------------------------------------------------
2026-02-04 06:29:12,630 - INFO - ================================================================================
2026-02-04 06:29:12,630 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-04 06:29:12,630 - 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-02-04 06:29:12,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-04 06:29:12,907 - INFO - Initial checks done. Running the testcase now
2026-02-04 06:29:12,907 - INFO -
2026-02-04 06:29:13,091 - DEBUG - Response for create_network : {'network': {'id': 'de415bc1-364a-46d3-879d-6eac02efaf90', 'name': 'ctest-vn1-60905168', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'project_id': '7de3e175382c4a749199be0aeeeba509', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16126724', 'ctest-vn1-60905168'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:29:13,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '811addd1-2852-4c7c-bc06-e7b54199d9c6', 'name': '', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'de415bc1-364a-46d3-879d-6eac02efaf90', 'ip_version': 4, 'cidr': '66.138.177.128/26', 'allocation_pools': [{'start': '66.138.177.130', 'end': '66.138.177.190'}], 'gateway_ip': '66.138.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.138.177.130', 'tags': [], 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:13,443 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e11d39a-5e00-45f8-b9b7-11de2f14517d', 'name': '', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'de415bc1-364a-46d3-879d-6eac02efaf90', 'ip_version': 4, 'cidr': '124.32.243.128/26', 'allocation_pools': [{'start': '124.32.243.130', 'end': '124.32.243.190'}], 'gateway_ip': '124.32.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.32.243.130', 'tags': [], 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:13,463 - INFO - Created VN ctest-vn1-60905168
2026-02-04 06:29:13,515 - DEBUG - VN ctest-vn1-60905168 UUID is de415bc1-364a-46d3-879d-6eac02efaf90
2026-02-04 06:29:13,811 - DEBUG - Response for create_port : {'port': {'name': 'aaf853b4-d91b-40c0-984c-928c5afb4225', 'id': 'aaf853b4-d91b-40c0-984c-928c5afb4225', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'de415bc1-364a-46d3-879d-6eac02efaf90', 'mac_address': '02:aa:f8:53:b4:d9', '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': '66.138.177.133', 'subnet_id': '811addd1-2852-4c7c-bc06-e7b54199d9c6'}], 'security_groups': ['75108b7c-e17e-4381-aae9-53f5fcf43c39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:13,986 - DEBUG - Response for create_port : {'port': {'name': '382db2f7-a93a-47b4-ab46-76211ba9d03a', 'id': '382db2f7-a93a-47b4-ab46-76211ba9d03a', 'tenant_id': '7de3e175382c4a749199be0aeeeba509', 'network_id': 'de415bc1-364a-46d3-879d-6eac02efaf90', 'mac_address': '02:38:2d:b2:f7:a9', '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': '124.32.243.133', 'subnet_id': '9e11d39a-5e00-45f8-b9b7-11de2f14517d'}], 'security_groups': ['75108b7c-e17e-4381-aae9-53f5fcf43c39'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7de3e175382c4a749199be0aeeeba509'}}
2026-02-04 06:29:14,044 - DEBUG - Services list from nova: [, , ]
2026-02-04 06:29:14,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5199-1)
2026-02-04 06:29:14,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5199-1)
2026-02-04 06:29:14,812 - INFO - Waiting for VM ctest-vn1-vm1-45445604 to be up..
2026-02-04 06:29:14,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-04 06:29:19,939 - DEBUG - VM is in ACTIVE state now
2026-02-04 06:29:19,940 - INFO - VM name : ctest-vn1-vm1-45445604
2026-02-04 06:29:20,016 - DEBUG - VM ctest-vn1-vm1-45445604 ID is ef81ffa0-9ce2-4565-bab2-716cb6e23358
2026-02-04 06:29:20,041 - DEBUG - VM ctest-vn1-vm1-45445604 launched on Node cn-jenkins-deploy-platform-ansible-os-5199-1
2026-02-04 06:29:20,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef81ffa0-9ce2-4565-bab2-716cb6e23358
2026-02-04 06:29:20,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aaf853b4-d91b-40c0-984c-928c5afb4225
2026-02-04 06:29:23,384 - 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 1015ms')
2026-02-04 06:29:23,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45445604 failed!
2026-02-04 06:29:23,439 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16126724:ctest-vn1-60905168 is 66.138.177.129 and allocation pool is NOT set
2026-02-04 06:29:23,439 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16126724:ctest-vn1-60905168 is 124.32.243.129 and allocation pool is NOT set
2026-02-04 06:29:25,499 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.325/6.899/11.474/4.574 ms')
2026-02-04 06:29:25,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45445604 passed
2026-02-04 06:29:25,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:25,655 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45445604, IP 66.138.177.133, Port 22
2026-02-04 06:29:25,825 - DEBUG - VM ctest-vn1-vm1-45445604 is ready for SSH connections
2026-02-04 06:29:25,825 - INFO - Waiting for VM ctest-vn1-vm2-09156126 to be up..
2026-02-04 06:29:25,906 - DEBUG - VM is in ACTIVE state now
2026-02-04 06:29:25,907 - INFO - VM name : ctest-vn1-vm2-09156126
2026-02-04 06:29:25,991 - DEBUG - VM ctest-vn1-vm2-09156126 ID is b18d175c-1cd1-4194-8e8f-ab98bdda48e4
2026-02-04 06:29:25,991 - DEBUG - VM ctest-vn1-vm2-09156126 launched on Node cn-jenkins-deploy-platform-ansible-os-5199-1
2026-02-04 06:29:26,097 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b18d175c-1cd1-4194-8e8f-ab98bdda48e4
2026-02-04 06:29:26,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/382db2f7-a93a-47b4-ab46-76211ba9d03a
2026-02-04 06:29:27,372 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.025/2.398/3.772/1.373 ms')
2026-02-04 06:29:27,372 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09156126 passed
2026-02-04 06:29:27,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:27,523 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09156126, IP 124.32.243.133, Port 22
2026-02-04 06:29:27,594 - 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-02-04 06:29:27,671 - DEBUG - VM ctest-vn1-vm2-09156126 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-04 06:29:32,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:32,672 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09156126, IP 124.32.243.133, Port 22
2026-02-04 06:29:32,826 - DEBUG - VM ctest-vn1-vm2-09156126 is ready for SSH connections
2026-02-04 06:29:32,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:32,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:32,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 06:29:32,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.138.177.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-04 06:29:32,826 - DEBUG - ping -s 56 -c 3 -W 1 66.138.177.133
2026-02-04 06:29:35,506 - DEBUG - PING 66.138.177.133 (66.138.177.133): 56 data bytes
64 bytes from 66.138.177.133: seq=0 ttl=63 time=3.787 ms
64 bytes from 66.138.177.133: seq=1 ttl=63 time=1.002 ms
64 bytes from 66.138.177.133: seq=2 ttl=63 time=1.136 ms
--- 66.138.177.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.002/1.975/3.787 ms
2026-02-04 06:29:35,507 - INFO - Ping to IP 66.138.177.133 from VM ctest-vn1-vm2-09156126 passed
2026-02-04 06:29:35,507 - INFO - Detaching port 382db2f7-a93a-47b4-ab46-76211ba9d03a from VM ctest-vn1-vm2-09156126
2026-02-04 06:29:35,560 - INFO - Deleting VM ctest-vn1-vm2-09156126
2026-02-04 06:29:35,642 - INFO - Detaching port aaf853b4-d91b-40c0-984c-928c5afb4225 from VM ctest-vn1-vm1-45445604
2026-02-04 06:29:35,677 - INFO - Deleting VM ctest-vn1-vm1-45445604
2026-02-04 06:29:35,938 - DEBUG - Response for delete_port : ()
2026-02-04 06:29:36,111 - DEBUG - Response for delete_port : ()
2026-02-04 06:29:36,111 - INFO - Deleting VN ctest-vn1-60905168
2026-02-04 06:29:36,224 - DEBUG - Response for deleting network ()
2026-02-04 06:29:36,477 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 06:29:36,477 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-04 06:29:36,477 - INFO - --------------------------------------------------------------------------------
2026-02-04 06:29:37,144 - INFO - Deleted project: ctest-TestPorts-16126724, ID : 7de3e175-382c-4a74-9199-be0aeeeba509