2026-04-02 02:26:01,559 - INFO - Domain Default found not creating 2026-04-02 02:26:01,710 - INFO - Project ctest-TestPorts-93483175 not found, creating it 2026-04-02 02:26:02,326 - INFO - Created Project:ctest-TestPorts-93483175, ID : e6f45deb-743b-4795-b122-6c860d7a14cf 2026-04-02 02:26:03,775 - INFO - ================================================================================ 2026-04-02 02:26:03,775 - INFO - STARTING TEST : test_ports_bindings 2026-04-02 02:26:03,775 - 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-04-02 02:26:05,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.249': '0'}, '10.0.0.128': {'10.20.0.249': '0', '10.20.0.254': '0'}} with 2026-04-02 02:26:05,047 - INFO - Initial checks done. Running the testcase now 2026-04-02 02:26:05,047 - INFO - 2026-04-02 02:26:05,768 - DEBUG - Response for create_network : {'network': {'id': '2edf8f03-3dfe-47f0-a499-532636949240', 'name': 'ctest-vn-12339818', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'project_id': 'e6f45deb743b4795b1226c860d7a14cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93483175', 'ctest-vn-12339818'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:26:06,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7b8f1f0-693c-46ce-b2b5-b2d2834ce660', 'name': '', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': '2edf8f03-3dfe-47f0-a499-532636949240', 'ip_version': 4, 'cidr': '140.0.145.192/26', 'allocation_pools': [{'start': '140.0.145.194', 'end': '140.0.145.254'}], 'gateway_ip': '140.0.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.0.145.194', 'tags': [], 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:06,103 - INFO - Created VN ctest-vn-12339818 2026-04-02 02:26:06,120 - DEBUG - VN ctest-vn-12339818 UUID is 2edf8f03-3dfe-47f0-a499-532636949240 2026-04-02 02:26:06,192 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93483175', 'ctest-vmi-56265570']} 2026-04-02 02:26:06,509 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56265570', 'id': 'b28da50e-0136-406b-a1c3-a00378d4f6cc', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': '2edf8f03-3dfe-47f0-a499-532636949240', 'mac_address': '02:b2:8d:a5:0e:01', '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': '140.0.145.195', 'subnet_id': 'd7b8f1f0-693c-46ce-b2b5-b2d2834ce660'}], 'security_groups': ['4f6ef46f-677f-40a9-ba28-5993d937b600'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:06,509 - DEBUG - Created port b28da50e-0136-406b-a1c3-a00378d4f6cc 2026-04-02 02:26:06,578 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b28da50e-0136-406b-a1c3-a00378d4f6cc 2026-04-02 02:26:06,878 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b28da50e-0136-406b-a1c3-a00378d4f6cc 2026-04-02 02:26:06,915 - INFO - VMI b28da50e-0136-406b-a1c3-a00378d4f6cc verification in API Server passed 2026-04-02 02:26:07,068 - DEBUG - Response for delete_port : () 2026-04-02 02:26:07,068 - INFO - Deleted port b28da50e-0136-406b-a1c3-a00378d4f6cc 2026-04-02 02:26:07,068 - INFO - Deleting VN ctest-vn-12339818 2026-04-02 02:26:07,234 - DEBUG - Response for deleting network () 2026-04-02 02:26:08,532 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 02:26:08,532 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-04-02 02:26:08,532 - INFO - -------------------------------------------------------------------------------- 2026-04-02 02:26:08,535 - INFO - ================================================================================ 2026-04-02 02:26:08,535 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-02 02:26:08,535 - 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-04-02 02:26:09,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.249': '0'}, '10.0.0.128': {'10.20.0.249': '0', '10.20.0.254': '0'}} with 2026-04-02 02:26:09,815 - INFO - Initial checks done. Running the testcase now 2026-04-02 02:26:09,815 - INFO - 2026-04-02 02:26:10,114 - DEBUG - Response for create_network : {'network': {'id': 'b792ac7b-1c18-4fcd-8b43-073f9e02dd27', 'name': 'ctest-vn1-86657075', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'project_id': 'e6f45deb743b4795b1226c860d7a14cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93483175', 'ctest-vn1-86657075'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:26:10,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '10b20306-3955-495a-ac86-9999462ec834', 'name': '', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': 'b792ac7b-1c18-4fcd-8b43-073f9e02dd27', 'ip_version': 4, 'cidr': '62.10.13.192/26', 'allocation_pools': [{'start': '62.10.13.194', 'end': '62.10.13.254'}], 'gateway_ip': '62.10.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.10.13.194', 'tags': [], 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:10,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '58f6db03-9616-4bdd-8340-52f919e53d83', 'name': '', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': 'b792ac7b-1c18-4fcd-8b43-073f9e02dd27', 'ip_version': 4, 'cidr': '59.152.163.0/26', 'allocation_pools': [{'start': '59.152.163.2', 'end': '59.152.163.62'}], 'gateway_ip': '59.152.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.152.163.2', 'tags': [], 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:10,593 - INFO - Created VN ctest-vn1-86657075 2026-04-02 02:26:10,604 - DEBUG - VN ctest-vn1-86657075 UUID is b792ac7b-1c18-4fcd-8b43-073f9e02dd27 2026-04-02 02:26:10,944 - DEBUG - Response for create_port : {'port': {'name': '8e22f3c2-e193-48b9-b38a-7aa173024057', 'id': '8e22f3c2-e193-48b9-b38a-7aa173024057', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': 'b792ac7b-1c18-4fcd-8b43-073f9e02dd27', 'mac_address': '02:8e:22:f3:c2:e1', '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': '62.10.13.197', 'subnet_id': '10b20306-3955-495a-ac86-9999462ec834'}], 'security_groups': ['4f6ef46f-677f-40a9-ba28-5993d937b600'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:11,212 - DEBUG - Response for create_port : {'port': {'name': '33a849a7-d233-4520-baf8-535f8697aeee', 'id': '33a849a7-d233-4520-baf8-535f8697aeee', 'tenant_id': 'e6f45deb743b4795b1226c860d7a14cf', 'network_id': 'b792ac7b-1c18-4fcd-8b43-073f9e02dd27', 'mac_address': '02:33:a8:49:a7:d2', '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': '59.152.163.5', 'subnet_id': '58f6db03-9616-4bdd-8340-52f919e53d83'}], 'security_groups': ['4f6ef46f-677f-40a9-ba28-5993d937b600'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e6f45deb743b4795b1226c860d7a14cf'}} 2026-04-02 02:26:11,268 - DEBUG - Services list from nova: [, , , ] 2026-04-02 02:26:11,750 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-2) 2026-04-02 02:26:12,271 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-1) 2026-04-02 02:26:12,271 - INFO - Waiting for VM ctest-vn1-vm1-17644746 to be up.. 2026-04-02 02:26:12,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 02:26:17,411 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:26:17,411 - INFO - VM name : ctest-vn1-vm1-17644746 2026-04-02 02:26:17,492 - DEBUG - VM ctest-vn1-vm1-17644746 ID is b2e57b7d-847a-4456-a309-d50e252c8af9 2026-04-02 02:26:17,514 - DEBUG - VM ctest-vn1-vm1-17644746 launched on Node an-jenkins-deploy-platform-ansible-os-5575-2 2026-04-02 02:26:17,591 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b2e57b7d-847a-4456-a309-d50e252c8af9 2026-04-02 02:26:17,882 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b2e57b7d-847a-4456-a309-d50e252c8af9 2026-04-02 02:26:17,916 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8e22f3c2-e193-48b9-b38a-7aa173024057 2026-04-02 02:26:21,101 - 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 1023ms') 2026-04-02 02:26:21,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17644746 failed! 2026-04-02 02:26:21,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93483175:ctest-vn1-86657075 is 62.10.13.193 and allocation pool is NOT set 2026-04-02 02:26:21,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93483175:ctest-vn1-86657075 is 59.152.163.1 and allocation pool is NOT set 2026-04-02 02:26:23,188 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.250/3.971/1.720 ms') 2026-04-02 02:26:23,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17644746 passed 2026-04-02 02:26:23,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:23,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17644746, IP 62.10.13.197, Port 22 2026-04-02 02:26:23,421 - DEBUG - VM ctest-vn1-vm1-17644746 is ready for SSH connections 2026-04-02 02:26:23,421 - INFO - Waiting for VM ctest-vn1-vm2-85105665 to be up.. 2026-04-02 02:26:23,506 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:26:23,506 - INFO - VM name : ctest-vn1-vm2-85105665 2026-04-02 02:26:23,602 - DEBUG - VM ctest-vn1-vm2-85105665 ID is 0cd8da28-f6b1-4534-a99a-d947f14fa378 2026-04-02 02:26:23,602 - DEBUG - VM ctest-vn1-vm2-85105665 launched on Node an-jenkins-deploy-platform-ansible-os-5575-1 2026-04-02 02:26:23,687 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0cd8da28-f6b1-4534-a99a-d947f14fa378 2026-04-02 02:26:23,696 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/33a849a7-d233-4520-baf8-535f8697aeee 2026-04-02 02:26:24,870 - 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=7.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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.761/5.131/7.501/2.370 ms') 2026-04-02 02:26:24,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-85105665 passed 2026-04-02 02:26:24,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:24,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85105665, IP 59.152.163.5, Port 22 2026-04-02 02:26:25,003 - 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-04-02 02:26:25,083 - DEBUG - VM ctest-vn1-vm2-85105665 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 02:26:30,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:30,084 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85105665, IP 59.152.163.5, Port 22 2026-04-02 02:26:30,241 - DEBUG - VM ctest-vn1-vm2-85105665 is ready for SSH connections 2026-04-02 02:26:30,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:30,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:30,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:26:30,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.10.13.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-02 02:26:30,242 - DEBUG - ping -s 56 -c 3 -W 1 62.10.13.197 2026-04-02 02:26:33,266 - DEBUG - PING 62.10.13.197 (62.10.13.197): 56 data bytes 64 bytes from 62.10.13.197: seq=0 ttl=63 time=6.509 ms 64 bytes from 62.10.13.197: seq=1 ttl=63 time=1.338 ms 64 bytes from 62.10.13.197: seq=2 ttl=63 time=1.305 ms --- 62.10.13.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.305/3.050/6.509 ms 2026-04-02 02:26:33,266 - INFO - Ping to IP 62.10.13.197 from VM ctest-vn1-vm2-85105665 passed 2026-04-02 02:26:33,266 - INFO - Detaching port 33a849a7-d233-4520-baf8-535f8697aeee from VM ctest-vn1-vm2-85105665 2026-04-02 02:26:33,316 - INFO - Deleting VM ctest-vn1-vm2-85105665 2026-04-02 02:26:33,383 - INFO - Detaching port 8e22f3c2-e193-48b9-b38a-7aa173024057 from VM ctest-vn1-vm1-17644746 2026-04-02 02:26:33,414 - INFO - Deleting VM ctest-vn1-vm1-17644746 2026-04-02 02:26:33,759 - DEBUG - Response for delete_port : () 2026-04-02 02:26:34,040 - DEBUG - Response for delete_port : () 2026-04-02 02:26:34,041 - INFO - Deleting VN ctest-vn1-86657075 2026-04-02 02:26:34,269 - DEBUG - Response for deleting network () 2026-04-02 02:26:35,586 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 02:26:35,586 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-04-02 02:26:35,586 - INFO - -------------------------------------------------------------------------------- 2026-04-02 02:26:36,292 - INFO - Deleted project: ctest-TestPorts-93483175, ID : e6f45deb-743b-4795-b122-6c860d7a14cf