2025-10-21 11:54:03,547 - INFO - Domain Default found not creating 2025-10-21 11:54:03,693 - INFO - Project ctest-TestPorts-36955346 not found, creating it 2025-10-21 11:54:04,392 - INFO - Created Project:ctest-TestPorts-36955346, ID : 58e7bbdd-7e42-454f-a11e-6094494ff42e 2025-10-21 11:54:05,921 - INFO - ================================================================================ 2025-10-21 11:54:05,921 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 11:54:05,921 - 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-10-21 11:54:06,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 11:54:06,175 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:54:06,175 - INFO - 2025-10-21 11:54:06,699 - DEBUG - Response for create_network : {'network': {'id': '3de6dfa4-6cc5-4401-ba61-ca5dc5bfa96c', 'name': 'ctest-vn-86302505', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'project_id': '58e7bbdd7e42454fa11e6094494ff42e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36955346', 'ctest-vn-86302505'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:54:06,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c04115cd-0ee3-4771-b960-463058ccd14d', 'name': '', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '3de6dfa4-6cc5-4401-ba61-ca5dc5bfa96c', 'ip_version': 4, 'cidr': '72.62.25.192/26', 'allocation_pools': [{'start': '72.62.25.194', 'end': '72.62.25.254'}], 'gateway_ip': '72.62.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.62.25.194', 'tags': [], 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:06,897 - INFO - Created VN ctest-vn-86302505 2025-10-21 11:54:06,946 - DEBUG - VN ctest-vn-86302505 UUID is 3de6dfa4-6cc5-4401-ba61-ca5dc5bfa96c 2025-10-21 11:54:07,050 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36955346', 'ctest-vmi-96448596']} 2025-10-21 11:54:07,344 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96448596', 'id': '2988f253-67b8-4179-b623-da9ebb9c1fd1', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '3de6dfa4-6cc5-4401-ba61-ca5dc5bfa96c', 'mac_address': '02:29:88:f2:53:67', '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': '72.62.25.195', 'subnet_id': 'c04115cd-0ee3-4771-b960-463058ccd14d'}], 'security_groups': ['9eb0c5eb-7b2c-4087-bf8f-389be7b57448'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:07,344 - DEBUG - Created port 2988f253-67b8-4179-b623-da9ebb9c1fd1 2025-10-21 11:54:07,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2988f253-67b8-4179-b623-da9ebb9c1fd1 2025-10-21 11:54:07,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2988f253-67b8-4179-b623-da9ebb9c1fd1 2025-10-21 11:54:07,776 - INFO - VMI 2988f253-67b8-4179-b623-da9ebb9c1fd1 verification in API Server passed 2025-10-21 11:54:07,883 - DEBUG - Response for delete_port : () 2025-10-21 11:54:07,883 - INFO - Deleted port 2988f253-67b8-4179-b623-da9ebb9c1fd1 2025-10-21 11:54:07,883 - INFO - Deleting VN ctest-vn-86302505 2025-10-21 11:54:07,995 - DEBUG - Response for deleting network () 2025-10-21 11:54:08,248 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 11:54:08,248 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-21 11:54:08,248 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:54:08,251 - INFO - ================================================================================ 2025-10-21 11:54:08,251 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 11:54:08,251 - 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-10-21 11:54:08,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 11:54:08,541 - INFO - Initial checks done. Running the testcase now 2025-10-21 11:54:08,541 - INFO - 2025-10-21 11:54:08,718 - DEBUG - Response for create_network : {'network': {'id': '4430ef80-952a-4ee2-b500-33d6176b5eee', 'name': 'ctest-vn1-63466276', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'project_id': '58e7bbdd7e42454fa11e6094494ff42e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36955346', 'ctest-vn1-63466276'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 11:54:08,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd25e1597-05ba-4d4b-9bd2-c8ba297943ca', 'name': '', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '4430ef80-952a-4ee2-b500-33d6176b5eee', 'ip_version': 4, 'cidr': '31.60.220.0/26', 'allocation_pools': [{'start': '31.60.220.2', 'end': '31.60.220.62'}], 'gateway_ip': '31.60.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.60.220.2', 'tags': [], 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:09,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbccdf7e-b271-4a2f-8331-937df960bb04', 'name': '', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '4430ef80-952a-4ee2-b500-33d6176b5eee', 'ip_version': 4, 'cidr': '114.163.32.192/26', 'allocation_pools': [{'start': '114.163.32.194', 'end': '114.163.32.254'}], 'gateway_ip': '114.163.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.163.32.194', 'tags': [], 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:09,085 - INFO - Created VN ctest-vn1-63466276 2025-10-21 11:54:09,138 - DEBUG - VN ctest-vn1-63466276 UUID is 4430ef80-952a-4ee2-b500-33d6176b5eee 2025-10-21 11:54:09,448 - DEBUG - Response for create_port : {'port': {'name': '4fff3c98-f800-4204-ba92-6d6cdbb35788', 'id': '4fff3c98-f800-4204-ba92-6d6cdbb35788', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '4430ef80-952a-4ee2-b500-33d6176b5eee', 'mac_address': '02:4f:ff:3c:98:f8', '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': '31.60.220.5', 'subnet_id': 'd25e1597-05ba-4d4b-9bd2-c8ba297943ca'}], 'security_groups': ['9eb0c5eb-7b2c-4087-bf8f-389be7b57448'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:09,662 - DEBUG - Response for create_port : {'port': {'name': '1556d0cd-b34e-4479-a0c2-bdb2e8a08741', 'id': '1556d0cd-b34e-4479-a0c2-bdb2e8a08741', 'tenant_id': '58e7bbdd7e42454fa11e6094494ff42e', 'network_id': '4430ef80-952a-4ee2-b500-33d6176b5eee', 'mac_address': '02:15:56:d0:cd:b3', '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.163.32.197', 'subnet_id': 'fbccdf7e-b271-4a2f-8331-937df960bb04'}], 'security_groups': ['9eb0c5eb-7b2c-4087-bf8f-389be7b57448'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58e7bbdd7e42454fa11e6094494ff42e'}} 2025-10-21 11:54:09,723 - DEBUG - Services list from nova: [, , ] 2025-10-21 11:54:10,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:54:10,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4392-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4392-1) 2025-10-21 11:54:10,506 - INFO - Waiting for VM ctest-vn1-vm1-92744189 to be up.. 2025-10-21 11:54:10,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 11:54:15,620 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:54:15,620 - INFO - VM name : ctest-vn1-vm1-92744189 2025-10-21 11:54:15,694 - DEBUG - VM ctest-vn1-vm1-92744189 ID is d6615bb9-4ec7-48c6-b12e-dff8ddaac5a3 2025-10-21 11:54:15,711 - DEBUG - VM ctest-vn1-vm1-92744189 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:54:15,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d6615bb9-4ec7-48c6-b12e-dff8ddaac5a3 2025-10-21 11:54:15,913 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4fff3c98-f800-4204-ba92-6d6cdbb35788 2025-10-21 11:54:19,146 - 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 1002ms') 2025-10-21 11:54:19,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92744189 failed! 2025-10-21 11:54:19,202 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36955346:ctest-vn1-63466276 is 31.60.220.1 and allocation pool is NOT set 2025-10-21 11:54:19,202 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36955346:ctest-vn1-63466276 is 114.163.32.193 and allocation pool is NOT set 2025-10-21 11:54:21,262 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.843/4.391/7.940/3.548 ms') 2025-10-21 11:54:21,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92744189 passed 2025-10-21 11:54:21,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:21,410 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92744189, IP 31.60.220.5, Port 22 2025-10-21 11:54:21,475 - 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-10-21 11:54:21,550 - DEBUG - VM ctest-vn1-vm1-92744189 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 11:54:26,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:26,551 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92744189, IP 31.60.220.5, Port 22 2025-10-21 11:54:26,709 - DEBUG - VM ctest-vn1-vm1-92744189 is ready for SSH connections 2025-10-21 11:54:26,709 - INFO - Waiting for VM ctest-vn1-vm2-26204490 to be up.. 2025-10-21 11:54:26,777 - DEBUG - VM is in ACTIVE state now 2025-10-21 11:54:26,777 - INFO - VM name : ctest-vn1-vm2-26204490 2025-10-21 11:54:26,847 - DEBUG - VM ctest-vn1-vm2-26204490 ID is 80777dc3-a65d-4acb-8a44-4b4dfcc0b07f 2025-10-21 11:54:26,847 - DEBUG - VM ctest-vn1-vm2-26204490 launched on Node cn-jenkins-deploy-platform-ansible-os-4392-1 2025-10-21 11:54:26,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/80777dc3-a65d-4acb-8a44-4b4dfcc0b07f 2025-10-21 11:54:26,927 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1556d0cd-b34e-4479-a0c2-bdb2e8a08741 2025-10-21 11:54:28,154 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.504/2.698/1.193 ms') 2025-10-21 11:54:28,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26204490 passed 2025-10-21 11:54:28,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:28,306 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26204490, IP 114.163.32.197, Port 22 2025-10-21 11:54:28,462 - DEBUG - VM ctest-vn1-vm2-26204490 is ready for SSH connections 2025-10-21 11:54:28,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:28,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:28,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 11:54:28,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.60.220.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 11:54:28,462 - DEBUG - ping -s 56 -c 3 -W 1 31.60.220.5 2025-10-21 11:54:31,450 - DEBUG - PING 31.60.220.5 (31.60.220.5): 56 data bytes 64 bytes from 31.60.220.5: seq=0 ttl=63 time=3.745 ms 64 bytes from 31.60.220.5: seq=1 ttl=63 time=0.880 ms 64 bytes from 31.60.220.5: seq=2 ttl=63 time=0.848 ms --- 31.60.220.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.824/3.745 ms 2025-10-21 11:54:31,450 - INFO - Ping to IP 31.60.220.5 from VM ctest-vn1-vm2-26204490 passed 2025-10-21 11:54:31,450 - INFO - Detaching port 1556d0cd-b34e-4479-a0c2-bdb2e8a08741 from VM ctest-vn1-vm2-26204490 2025-10-21 11:54:31,499 - INFO - Deleting VM ctest-vn1-vm2-26204490 2025-10-21 11:54:31,574 - INFO - Detaching port 4fff3c98-f800-4204-ba92-6d6cdbb35788 from VM ctest-vn1-vm1-92744189 2025-10-21 11:54:31,609 - INFO - Deleting VM ctest-vn1-vm1-92744189 2025-10-21 11:54:31,834 - DEBUG - Response for delete_port : () 2025-10-21 11:54:31,981 - DEBUG - Response for delete_port : () 2025-10-21 11:54:31,981 - INFO - Deleting VN ctest-vn1-63466276 2025-10-21 11:54:32,110 - DEBUG - Response for deleting network () 2025-10-21 11:54:32,362 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 11:54:32,363 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-21 11:54:32,363 - INFO - -------------------------------------------------------------------------------- 2025-10-21 11:54:33,003 - INFO - Deleted project: ctest-TestPorts-36955346, ID : 58e7bbdd-7e42-454f-a11e-6094494ff42e