2025-08-11 15:49:32,287 - INFO - Domain Default found not creating 2025-08-11 15:49:32,589 - INFO - Project ctest-TestPorts-12022266 not found, creating it 2025-08-11 15:49:33,336 - INFO - Created Project:ctest-TestPorts-12022266, ID : 664a36eb-951e-4869-810f-320d0caaf636 2025-08-11 15:49:34,799 - INFO - ================================================================================ 2025-08-11 15:49:34,799 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 15:49:34,799 - 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-08-11 15:49:35,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-11 15:49:35,052 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:49:35,052 - INFO - 2025-08-11 15:49:35,650 - DEBUG - Response for create_network : {'network': {'id': '53621a27-8a0c-473b-86f9-9f42a2e534fd', 'name': 'ctest-vn-40250000', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'project_id': '664a36eb951e4869810f320d0caaf636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12022266', 'ctest-vn-40250000'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:35,870 - DEBUG - Response for create_subnet : {'subnet': {'id': '29218053-7160-452a-8d93-ba024eb74dcc', 'name': '', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': '53621a27-8a0c-473b-86f9-9f42a2e534fd', 'ip_version': 4, 'cidr': '147.204.170.64/26', 'allocation_pools': [{'start': '147.204.170.66', 'end': '147.204.170.126'}], 'gateway_ip': '147.204.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.204.170.66', 'tags': [], 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:35,894 - INFO - Created VN ctest-vn-40250000 2025-08-11 15:49:35,946 - DEBUG - VN ctest-vn-40250000 UUID is 53621a27-8a0c-473b-86f9-9f42a2e534fd 2025-08-11 15:49:36,051 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12022266', 'ctest-vmi-42671009']} 2025-08-11 15:49:36,356 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42671009', 'id': '354a5c19-2d81-4e77-bd2b-7a45c01e2c59', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': '53621a27-8a0c-473b-86f9-9f42a2e534fd', 'mac_address': '02:35:4a:5c:19:2d', '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': '147.204.170.67', 'subnet_id': '29218053-7160-452a-8d93-ba024eb74dcc'}], 'security_groups': ['ab05ca8d-b4d4-4374-8442-feed81df3efa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:36,356 - DEBUG - Created port 354a5c19-2d81-4e77-bd2b-7a45c01e2c59 2025-08-11 15:49:36,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/354a5c19-2d81-4e77-bd2b-7a45c01e2c59 2025-08-11 15:49:36,807 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/354a5c19-2d81-4e77-bd2b-7a45c01e2c59 2025-08-11 15:49:36,840 - INFO - VMI 354a5c19-2d81-4e77-bd2b-7a45c01e2c59 verification in API Server passed 2025-08-11 15:49:36,930 - DEBUG - Response for delete_port : () 2025-08-11 15:49:36,930 - INFO - Deleted port 354a5c19-2d81-4e77-bd2b-7a45c01e2c59 2025-08-11 15:49:36,930 - INFO - Deleting VN ctest-vn-40250000 2025-08-11 15:49:37,047 - DEBUG - Response for deleting network () 2025-08-11 15:49:37,303 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:49:37,304 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-11 15:49:37,304 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:49:37,306 - INFO - ================================================================================ 2025-08-11 15:49:37,307 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 15:49:37,307 - 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-08-11 15:49:37,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-11 15:49:37,596 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:49:37,596 - INFO - 2025-08-11 15:49:37,775 - DEBUG - Response for create_network : {'network': {'id': 'f0873f89-5755-463a-8b21-c0e78945da16', 'name': 'ctest-vn1-41313478', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'project_id': '664a36eb951e4869810f320d0caaf636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12022266', 'ctest-vn1-41313478'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:37,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fab0dd0d-5875-446b-ba1c-aa0ded3bc3f9', 'name': '', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': 'f0873f89-5755-463a-8b21-c0e78945da16', 'ip_version': 4, 'cidr': '115.216.29.192/26', 'allocation_pools': [{'start': '115.216.29.194', 'end': '115.216.29.254'}], 'gateway_ip': '115.216.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.216.29.194', 'tags': [], 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:38,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a0df4d0-ae20-473b-9350-6d493797d397', 'name': '', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': 'f0873f89-5755-463a-8b21-c0e78945da16', 'ip_version': 4, 'cidr': '104.196.46.192/26', 'allocation_pools': [{'start': '104.196.46.194', 'end': '104.196.46.254'}], 'gateway_ip': '104.196.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.196.46.194', 'tags': [], 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:38,131 - INFO - Created VN ctest-vn1-41313478 2025-08-11 15:49:38,182 - DEBUG - VN ctest-vn1-41313478 UUID is f0873f89-5755-463a-8b21-c0e78945da16 2025-08-11 15:49:38,471 - DEBUG - Response for create_port : {'port': {'name': '806b95fb-0cba-455a-b835-002d76677b83', 'id': '806b95fb-0cba-455a-b835-002d76677b83', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': 'f0873f89-5755-463a-8b21-c0e78945da16', 'mac_address': '02:80:6b:95:fb:0c', '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': '115.216.29.197', 'subnet_id': 'fab0dd0d-5875-446b-ba1c-aa0ded3bc3f9'}], 'security_groups': ['ab05ca8d-b4d4-4374-8442-feed81df3efa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:38,645 - DEBUG - Response for create_port : {'port': {'name': '2d3551fd-34b5-4b45-8237-37025defb36d', 'id': '2d3551fd-34b5-4b45-8237-37025defb36d', 'tenant_id': '664a36eb951e4869810f320d0caaf636', 'network_id': 'f0873f89-5755-463a-8b21-c0e78945da16', 'mac_address': '02:2d:35:51:fd:34', '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': '104.196.46.197', 'subnet_id': '1a0df4d0-ae20-473b-9350-6d493797d397'}], 'security_groups': ['ab05ca8d-b4d4-4374-8442-feed81df3efa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '664a36eb951e4869810f320d0caaf636'}} 2025-08-11 15:49:38,701 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:49:39,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1) 2025-08-11 15:49:39,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3812-1) 2025-08-11 15:49:39,486 - INFO - Waiting for VM ctest-vn1-vm1-70920873 to be up.. 2025-08-11 15:49:39,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:49:44,602 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:49:44,602 - INFO - VM name : ctest-vn1-vm1-70920873 2025-08-11 15:49:44,667 - DEBUG - VM ctest-vn1-vm1-70920873 ID is b9a30c9b-90ea-435e-aace-8ced308d4b91 2025-08-11 15:49:44,685 - DEBUG - VM ctest-vn1-vm1-70920873 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1 2025-08-11 15:49:44,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b9a30c9b-90ea-435e-aace-8ced308d4b91 2025-08-11 15:49:44,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/806b95fb-0cba-455a-b835-002d76677b83 2025-08-11 15:49:48,023 - 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') 2025-08-11 15:49:48,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70920873 failed! 2025-08-11 15:49:48,082 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12022266:ctest-vn1-41313478 is 115.216.29.193 and allocation pool is NOT set 2025-08-11 15:49:48,082 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12022266:ctest-vn1-41313478 is 104.196.46.193 and allocation pool is NOT set 2025-08-11 15:49:50,140 - 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=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.936 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.936/4.617/8.299/3.681 ms') 2025-08-11 15:49:50,140 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70920873 passed 2025-08-11 15:49:50,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:50,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70920873, IP 115.216.29.197, Port 22 2025-08-11 15:49:50,359 - 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-08-11 15:49:50,439 - DEBUG - VM ctest-vn1-vm1-70920873 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 15:49:55,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:55,440 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70920873, IP 115.216.29.197, Port 22 2025-08-11 15:49:55,615 - DEBUG - VM ctest-vn1-vm1-70920873 is ready for SSH connections 2025-08-11 15:49:55,615 - INFO - Waiting for VM ctest-vn1-vm2-49231838 to be up.. 2025-08-11 15:49:55,683 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:49:55,683 - INFO - VM name : ctest-vn1-vm2-49231838 2025-08-11 15:49:55,752 - DEBUG - VM ctest-vn1-vm2-49231838 ID is 06a1f0a8-0d8d-42a8-a0ae-113d526ea35e 2025-08-11 15:49:55,752 - DEBUG - VM ctest-vn1-vm2-49231838 launched on Node cn-jenkins-deploy-platform-ansible-os-3812-1 2025-08-11 15:49:55,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/06a1f0a8-0d8d-42a8-a0ae-113d526ea35e 2025-08-11 15:49:55,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2d3551fd-34b5-4b45-8237-37025defb36d 2025-08-11 15:49:57,050 - 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=2.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.309/1.573/2.837/1.264 ms') 2025-08-11 15:49:57,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49231838 passed 2025-08-11 15:49:57,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:57,198 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49231838, IP 104.196.46.197, Port 22 2025-08-11 15:49:57,357 - DEBUG - VM ctest-vn1-vm2-49231838 is ready for SSH connections 2025-08-11 15:49:57,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:57,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:57,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:57,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.216.29.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 15:49:57,358 - DEBUG - ping -s 56 -c 3 -W 1 115.216.29.197 2025-08-11 15:50:00,329 - DEBUG - PING 115.216.29.197 (115.216.29.197): 56 data bytes 64 bytes from 115.216.29.197: seq=0 ttl=63 time=3.543 ms 64 bytes from 115.216.29.197: seq=1 ttl=63 time=0.813 ms 64 bytes from 115.216.29.197: seq=2 ttl=63 time=0.849 ms --- 115.216.29.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.735/3.543 ms 2025-08-11 15:50:00,329 - INFO - Ping to IP 115.216.29.197 from VM ctest-vn1-vm2-49231838 passed 2025-08-11 15:50:00,329 - INFO - Detaching port 2d3551fd-34b5-4b45-8237-37025defb36d from VM ctest-vn1-vm2-49231838 2025-08-11 15:50:00,376 - INFO - Deleting VM ctest-vn1-vm2-49231838 2025-08-11 15:50:00,438 - INFO - Detaching port 806b95fb-0cba-455a-b835-002d76677b83 from VM ctest-vn1-vm1-70920873 2025-08-11 15:50:00,480 - INFO - Deleting VM ctest-vn1-vm1-70920873 2025-08-11 15:50:00,706 - DEBUG - Response for delete_port : () 2025-08-11 15:50:00,850 - DEBUG - Response for delete_port : () 2025-08-11 15:50:00,850 - INFO - Deleting VN ctest-vn1-41313478 2025-08-11 15:50:00,982 - DEBUG - Response for deleting network () 2025-08-11 15:50:01,240 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 15:50:01,240 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-11 15:50:01,240 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:50:01,953 - INFO - Deleted project: ctest-TestPorts-12022266, ID : 664a36eb-951e-4869-810f-320d0caaf636