2025-09-04 14:31:51,368 - INFO - Domain Default found not creating 2025-09-04 14:31:51,491 - INFO - Project ctest-TestPorts-92343516 not found, creating it 2025-09-04 14:31:51,901 - INFO - Created Project:ctest-TestPorts-92343516, ID : 6a56e277-05b1-40da-90ae-87392344c08d 2025-09-04 14:31:53,304 - INFO - ================================================================================ 2025-09-04 14:31:53,305 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 14:31:53,306 - 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 2025-09-04 14:31:53,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 14:31:53,561 - INFO - Initial checks done. Running the testcase now 2025-09-04 14:31:53,561 - INFO - 2025-09-04 14:31:54,063 - DEBUG - Response for create_network : {'network': {'id': '03f90ba6-13a9-45f0-82a9-573dc81161a4', 'name': 'ctest-vn-12946263', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'project_id': '6a56e27705b140da90ae87392344c08d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92343516', 'ctest-vn-12946263'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:31:54,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea7433b9-2eed-49ed-8bb5-df3c160bb318', 'name': '', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '03f90ba6-13a9-45f0-82a9-573dc81161a4', 'ip_version': 4, 'cidr': '165.38.203.0/26', 'allocation_pools': [{'start': '165.38.203.2', 'end': '165.38.203.62'}], 'gateway_ip': '165.38.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.38.203.2', 'tags': [], 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:54,250 - INFO - Created VN ctest-vn-12946263 2025-09-04 14:31:54,305 - DEBUG - VN ctest-vn-12946263 UUID is 03f90ba6-13a9-45f0-82a9-573dc81161a4 2025-09-04 14:31:54,403 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92343516', 'ctest-vmi-66335532']} 2025-09-04 14:31:54,664 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66335532', 'id': '293bb8d0-022f-47e2-8a41-3f7190ff59a9', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '03f90ba6-13a9-45f0-82a9-573dc81161a4', 'mac_address': '02:29:3b:b8:d0:02', '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': '165.38.203.3', 'subnet_id': 'ea7433b9-2eed-49ed-8bb5-df3c160bb318'}], 'security_groups': ['72c62031-8602-449b-b382-fd9bd7365813'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:54,664 - DEBUG - Created port 293bb8d0-022f-47e2-8a41-3f7190ff59a9 2025-09-04 14:31:54,765 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/293bb8d0-022f-47e2-8a41-3f7190ff59a9 2025-09-04 14:31:55,052 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/293bb8d0-022f-47e2-8a41-3f7190ff59a9 2025-09-04 14:31:55,081 - INFO - VMI 293bb8d0-022f-47e2-8a41-3f7190ff59a9 verification in API Server passed 2025-09-04 14:31:55,157 - DEBUG - Response for delete_port : () 2025-09-04 14:31:55,157 - INFO - Deleted port 293bb8d0-022f-47e2-8a41-3f7190ff59a9 2025-09-04 14:31:55,157 - INFO - Deleting VN ctest-vn-12946263 2025-09-04 14:31:55,242 - DEBUG - Response for deleting network () 2025-09-04 14:31:55,493 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 14:31:55,493 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-04 14:31:55,493 - INFO - -------------------------------------------------------------------------------- 2025-09-04 14:31:55,495 - INFO - ================================================================================ 2025-09-04 14:31:55,495 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 14:31:55,495 - 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 2025-09-04 14:31:55,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 14:31:55,786 - INFO - Initial checks done. Running the testcase now 2025-09-04 14:31:55,786 - INFO - 2025-09-04 14:31:55,954 - DEBUG - Response for create_network : {'network': {'id': '408af995-fbad-45ed-9246-f978aa9abe41', 'name': 'ctest-vn1-18882459', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'project_id': '6a56e27705b140da90ae87392344c08d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92343516', 'ctest-vn1-18882459'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:31:56,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '8976ab6e-09f8-4059-b6f0-54499f73e217', 'name': '', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '408af995-fbad-45ed-9246-f978aa9abe41', 'ip_version': 4, 'cidr': '117.154.243.128/26', 'allocation_pools': [{'start': '117.154.243.130', 'end': '117.154.243.190'}], 'gateway_ip': '117.154.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.154.243.130', 'tags': [], 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:56,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7d0eda8-17df-4318-a7be-8a215c6c3623', 'name': '', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '408af995-fbad-45ed-9246-f978aa9abe41', 'ip_version': 4, 'cidr': '125.132.239.128/26', 'allocation_pools': [{'start': '125.132.239.130', 'end': '125.132.239.190'}], 'gateway_ip': '125.132.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.132.239.130', 'tags': [], 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:56,298 - INFO - Created VN ctest-vn1-18882459 2025-09-04 14:31:56,349 - DEBUG - VN ctest-vn1-18882459 UUID is 408af995-fbad-45ed-9246-f978aa9abe41 2025-09-04 14:31:56,615 - DEBUG - Response for create_port : {'port': {'name': '702000c0-209e-46db-9225-76723509cf57', 'id': '702000c0-209e-46db-9225-76723509cf57', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '408af995-fbad-45ed-9246-f978aa9abe41', 'mac_address': '02:70:20:00:c0:20', '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': '117.154.243.133', 'subnet_id': '8976ab6e-09f8-4059-b6f0-54499f73e217'}], 'security_groups': ['72c62031-8602-449b-b382-fd9bd7365813'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:56,766 - DEBUG - Response for create_port : {'port': {'name': 'a946b4d2-9a8b-4f2b-be64-840f051d7ced', 'id': 'a946b4d2-9a8b-4f2b-be64-840f051d7ced', 'tenant_id': '6a56e27705b140da90ae87392344c08d', 'network_id': '408af995-fbad-45ed-9246-f978aa9abe41', 'mac_address': '02:a9:46:b4:d2:9a', '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': '125.132.239.133', 'subnet_id': 'c7d0eda8-17df-4318-a7be-8a215c6c3623'}], 'security_groups': ['72c62031-8602-449b-b382-fd9bd7365813'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a56e27705b140da90ae87392344c08d'}} 2025-09-04 14:31:56,813 - DEBUG - Services list from nova: [, , ] 2025-09-04 14:31:57,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:31:57,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:31:57,442 - INFO - Waiting for VM ctest-vn1-vm1-57428090 to be up.. 2025-09-04 14:31:57,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 14:32:02,658 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:32:02,658 - INFO - VM name : ctest-vn1-vm1-57428090 2025-09-04 14:32:02,721 - DEBUG - VM ctest-vn1-vm1-57428090 ID is 852c32dd-4629-423a-a7fc-aa62b700d69e 2025-09-04 14:32:02,739 - DEBUG - VM ctest-vn1-vm1-57428090 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:32:02,807 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/852c32dd-4629-423a-a7fc-aa62b700d69e 2025-09-04 14:32:02,814 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/702000c0-209e-46db-9225-76723509cf57 2025-09-04 14:32:06,061 - 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 1020ms') 2025-09-04 14:32:06,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57428090 failed! 2025-09-04 14:32:06,113 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92343516:ctest-vn1-18882459 is 117.154.243.129 and allocation pool is NOT set 2025-09-04 14:32:06,113 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92343516:ctest-vn1-18882459 is 125.132.239.129 and allocation pool is NOT set 2025-09-04 14:32:08,173 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 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.512/1.971/3.431/1.459 ms') 2025-09-04 14:32:08,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57428090 passed 2025-09-04 14:32:08,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:08,321 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57428090, IP 117.154.243.133, Port 22 2025-09-04 14:32:08,380 - 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': ''} 2025-09-04 14:32:08,446 - DEBUG - VM ctest-vn1-vm1-57428090 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 14:32:13,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:13,447 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57428090, IP 117.154.243.133, Port 22 2025-09-04 14:32:13,600 - DEBUG - VM ctest-vn1-vm1-57428090 is ready for SSH connections 2025-09-04 14:32:13,600 - INFO - Waiting for VM ctest-vn1-vm2-86280566 to be up.. 2025-09-04 14:32:13,668 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:32:13,668 - INFO - VM name : ctest-vn1-vm2-86280566 2025-09-04 14:32:13,730 - DEBUG - VM ctest-vn1-vm2-86280566 ID is 5d154b79-5c12-4ee0-bdcb-ec5574cc8505 2025-09-04 14:32:13,731 - DEBUG - VM ctest-vn1-vm2-86280566 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:32:13,794 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5d154b79-5c12-4ee0-bdcb-ec5574cc8505 2025-09-04 14:32:13,800 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a946b4d2-9a8b-4f2b-be64-840f051d7ced 2025-09-04 14:32:15,021 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.775/3.182/1.407 ms') 2025-09-04 14:32:15,021 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86280566 passed 2025-09-04 14:32:15,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:15,169 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86280566, IP 125.132.239.133, Port 22 2025-09-04 14:32:15,328 - DEBUG - VM ctest-vn1-vm2-86280566 is ready for SSH connections 2025-09-04 14:32:15,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:15,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:15,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:32:15,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.154.243.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:32:15,329 - DEBUG - ping -s 56 -c 3 -W 1 117.154.243.133 2025-09-04 14:32:18,261 - DEBUG - PING 117.154.243.133 (117.154.243.133): 56 data bytes 64 bytes from 117.154.243.133: seq=0 ttl=63 time=4.086 ms 64 bytes from 117.154.243.133: seq=1 ttl=63 time=0.864 ms 64 bytes from 117.154.243.133: seq=2 ttl=63 time=0.860 ms --- 117.154.243.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/1.936/4.086 ms 2025-09-04 14:32:18,261 - INFO - Ping to IP 117.154.243.133 from VM ctest-vn1-vm2-86280566 passed 2025-09-04 14:32:18,261 - INFO - Detaching port a946b4d2-9a8b-4f2b-be64-840f051d7ced from VM ctest-vn1-vm2-86280566 2025-09-04 14:32:18,306 - INFO - Deleting VM ctest-vn1-vm2-86280566 2025-09-04 14:32:18,363 - INFO - Detaching port 702000c0-209e-46db-9225-76723509cf57 from VM ctest-vn1-vm1-57428090 2025-09-04 14:32:18,396 - INFO - Deleting VM ctest-vn1-vm1-57428090 2025-09-04 14:32:18,578 - DEBUG - Response for delete_port : () 2025-09-04 14:32:18,711 - DEBUG - Response for delete_port : () 2025-09-04 14:32:18,711 - INFO - Deleting VN ctest-vn1-18882459 2025-09-04 14:32:18,843 - DEBUG - Response for deleting network () 2025-09-04 14:32:19,104 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 14:32:19,105 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-04 14:32:19,105 - INFO - -------------------------------------------------------------------------------- 2025-09-04 14:32:19,741 - INFO - Deleted project: ctest-TestPorts-92343516, ID : 6a56e277-05b1-40da-90ae-87392344c08d