2025-10-28 08:53:14,774 - INFO - Reading existing Domain with UUID 3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:53:14,784 - INFO - Using existing domain ['admin_domain'](3e60116d-6a4a-4c62-bccd-443e6f5e662f) 2025-10-28 08:53:14,984 - INFO - Project ctest-TestPorts-33787998 not found, creating it 2025-10-28 08:53:15,499 - INFO - Created Project:ctest-TestPorts-33787998, ID : 7d66d4e7-06a8-45b8-8563-435051566fca 2025-10-28 08:53:17,264 - INFO - ================================================================================ 2025-10-28 08:53:17,264 - INFO - STARTING TEST : test_ports_bindings 2025-10-28 08:53:17,264 - 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-28 08:53:17,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-10-28 08:53:17,658 - INFO - Initial checks done. Running the testcase now 2025-10-28 08:53:17,658 - INFO - 2025-10-28 08:53:18,413 - DEBUG - Response for create_network : {'network': {'id': '94a48b9a-1934-4c48-aa61-e75d5c0932ef', 'name': 'ctest-vn-86586154', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'project_id': '7d66d4e706a845b88563435051566fca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-33787998', 'ctest-vn-86586154'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:53:18,614 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a599b4a9-ea2a-4f40-b64d-a33cfc59bedb', 'name': '', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '94a48b9a-1934-4c48-aa61-e75d5c0932ef', 'ip_version': 4, 'cidr': '119.15.148.192/26', 'allocation_pools': [{'start': '119.15.148.194', 'end': '119.15.148.254'}], 'gateway_ip': '119.15.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:53:18.514192', 'updated_at': '2025-10-28T08:53:18.514192', 'dns_server_address': '119.15.148.194', 'tags': [], 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:18,679 - INFO - Created VN ctest-vn-86586154 2025-10-28 08:53:18,732 - DEBUG - VN ctest-vn-86586154 UUID is 94a48b9a-1934-4c48-aa61-e75d5c0932ef 2025-10-28 08:53:18,935 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-33787998', 'ctest-vmi-17480302']} 2025-10-28 08:53:19,242 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17480302', 'id': 'afe51960-b8a7-454a-8702-d9e988e734d4', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '94a48b9a-1934-4c48-aa61-e75d5c0932ef', 'mac_address': '02:af:e5:19:60:b8', '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': '119.15.148.195', 'subnet_id': 'a599b4a9-ea2a-4f40-b64d-a33cfc59bedb'}], 'security_groups': ['b5d6f676-3dc1-4933-88fe-3e0ab33acb24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-28T08:53:19.047700', 'updated_at': '2025-10-28T08:53:19.114720', 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:19,242 - DEBUG - Created port afe51960-b8a7-454a-8702-d9e988e734d4 2025-10-28 08:53:19,352 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/afe51960-b8a7-454a-8702-d9e988e734d4 2025-10-28 08:53:19,692 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/afe51960-b8a7-454a-8702-d9e988e734d4 2025-10-28 08:53:19,774 - INFO - VMI afe51960-b8a7-454a-8702-d9e988e734d4 verification in API Server passed 2025-10-28 08:53:19,926 - DEBUG - Response for delete_port : () 2025-10-28 08:53:19,926 - INFO - Deleted port afe51960-b8a7-454a-8702-d9e988e734d4 2025-10-28 08:53:19,926 - INFO - Deleting VN ctest-vn-86586154 2025-10-28 08:53:20,100 - DEBUG - Response for deleting network () 2025-10-28 08:53:20,493 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 08:53:20,494 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-28 08:53:20,494 - INFO - -------------------------------------------------------------------------------- 2025-10-28 08:53:20,496 - INFO - ================================================================================ 2025-10-28 08:53:20,496 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-28 08:53:20,496 - 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-28 08:53:20,886 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-10-28 08:53:20,886 - INFO - Initial checks done. Running the testcase now 2025-10-28 08:53:20,886 - INFO - 2025-10-28 08:53:21,189 - DEBUG - Response for create_network : {'network': {'id': '0b50070e-f771-489e-aa9c-70ae84ca9048', 'name': 'ctest-vn1-96848344', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'project_id': '7d66d4e706a845b88563435051566fca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-33787998', 'ctest-vn1-96848344'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:53:21,417 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c42ae85c-a0c2-4b6a-9aa3-9224df733845', 'name': '', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '0b50070e-f771-489e-aa9c-70ae84ca9048', 'ip_version': 4, 'cidr': '83.248.225.0/26', 'allocation_pools': [{'start': '83.248.225.2', 'end': '83.248.225.62'}], 'gateway_ip': '83.248.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:53:21.314278', 'updated_at': '2025-10-28T08:53:21.314278', 'dns_server_address': '83.248.225.2', 'tags': [], 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:21,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a9d38a4-ab9e-43ea-a7e2-5319327be209', 'name': '', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '0b50070e-f771-489e-aa9c-70ae84ca9048', 'ip_version': 4, 'cidr': '38.5.159.192/26', 'allocation_pools': [{'start': '38.5.159.194', 'end': '38.5.159.254'}], 'gateway_ip': '38.5.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:53:21.516038', 'updated_at': '2025-10-28T08:53:21.516038', 'dns_server_address': '38.5.159.194', 'tags': [], 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:21,676 - INFO - Created VN ctest-vn1-96848344 2025-10-28 08:53:21,728 - DEBUG - VN ctest-vn1-96848344 UUID is 0b50070e-f771-489e-aa9c-70ae84ca9048 2025-10-28 08:53:22,245 - DEBUG - Response for create_port : {'port': {'name': '9ead5e7e-31b5-4bcb-80de-1de2c59d3b1f', 'id': '9ead5e7e-31b5-4bcb-80de-1de2c59d3b1f', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '0b50070e-f771-489e-aa9c-70ae84ca9048', 'mac_address': '02:9e:ad:5e:7e:31', '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': '83.248.225.5', 'subnet_id': 'c42ae85c-a0c2-4b6a-9aa3-9224df733845'}], 'security_groups': ['b5d6f676-3dc1-4933-88fe-3e0ab33acb24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-28T08:53:22.065641', 'updated_at': '2025-10-28T08:53:22.131933', 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:22,486 - DEBUG - Response for create_port : {'port': {'name': '9775495d-cf8c-4cb7-a873-a01903a96916', 'id': '9775495d-cf8c-4cb7-a873-a01903a96916', 'tenant_id': '7d66d4e706a845b88563435051566fca', 'network_id': '0b50070e-f771-489e-aa9c-70ae84ca9048', 'mac_address': '02:97:75:49:5d:cf', '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': '38.5.159.197', 'subnet_id': '2a9d38a4-ab9e-43ea-a7e2-5319327be209'}], 'security_groups': ['b5d6f676-3dc1-4933-88fe-3e0ab33acb24'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-28T08:53:22.306477', 'updated_at': '2025-10-28T08:53:22.370406', 'project_id': '7d66d4e706a845b88563435051566fca'}} 2025-10-28 08:53:22,601 - DEBUG - Services list from nova: [, , ] 2025-10-28 08:53:23,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:53:24,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:53:24,754 - INFO - Waiting for VM ctest-vn1-vm1-48534267 to be up.. 2025-10-28 08:53:24,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 08:53:29,996 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:53:29,996 - INFO - VM name : ctest-vn1-vm1-48534267 2025-10-28 08:53:30,125 - DEBUG - VM ctest-vn1-vm1-48534267 ID is 2f532170-a4e7-4824-9af4-1640434bbf49 2025-10-28 08:53:30,161 - DEBUG - VM ctest-vn1-vm1-48534267 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:53:30,298 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/2f532170-a4e7-4824-9af4-1640434bbf49 2025-10-28 08:53:30,357 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/9ead5e7e-31b5-4bcb-80de-1de2c59d3b1f 2025-10-28 08:53:33,823 - 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 1009ms') 2025-10-28 08:53:33,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48534267 failed! 2025-10-28 08:53:33,880 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-33787998:ctest-vn1-96848344 is 83.248.225.1 and allocation pool is NOT set 2025-10-28 08:53:33,880 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-33787998:ctest-vn1-96848344 is 38.5.159.193 and allocation pool is NOT set 2025-10-28 08:53:37,980 - 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=2 ttl=63 time=8.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 8.250/8.250/8.250/0.000 ms') 2025-10-28 08:53:37,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48534267 passed 2025-10-28 08:53:38,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:53:38,133 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48534267, IP 83.248.225.5, Port 22 2025-10-28 08:53:38,384 - DEBUG - VM ctest-vn1-vm1-48534267 is ready for SSH connections 2025-10-28 08:53:38,384 - INFO - Waiting for VM ctest-vn1-vm2-95208477 to be up.. 2025-10-28 08:53:38,534 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:53:38,534 - INFO - VM name : ctest-vn1-vm2-95208477 2025-10-28 08:53:38,676 - DEBUG - VM ctest-vn1-vm2-95208477 ID is f155f26a-ff46-4625-8342-fb010ca9e365 2025-10-28 08:53:38,676 - DEBUG - VM ctest-vn1-vm2-95208477 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:53:38,814 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/f155f26a-ff46-4625-8342-fb010ca9e365 2025-10-28 08:53:38,873 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/9775495d-cf8c-4cb7-a873-a01903a96916 2025-10-28 08:53:40,327 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.673/2.903/1.230 ms') 2025-10-28 08:53:40,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95208477 passed 2025-10-28 08:53:40,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:53:40,480 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95208477, IP 38.5.159.197, Port 22 2025-10-28 08:53:40,699 - DEBUG - VM ctest-vn1-vm2-95208477 is ready for SSH connections 2025-10-28 08:53:40,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:53:40,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:53:40,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:53:40,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.248.225.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:53:40,700 - DEBUG - ping -s 56 -c 3 -W 1 83.248.225.5 2025-10-28 08:53:43,362 - DEBUG - PING 83.248.225.5 (83.248.225.5): 56 data bytes 64 bytes from 83.248.225.5: seq=0 ttl=63 time=3.702 ms 64 bytes from 83.248.225.5: seq=1 ttl=63 time=0.849 ms 64 bytes from 83.248.225.5: seq=2 ttl=63 time=0.830 ms --- 83.248.225.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.793/3.702 ms 2025-10-28 08:53:43,362 - INFO - Ping to IP 83.248.225.5 from VM ctest-vn1-vm2-95208477 passed 2025-10-28 08:53:43,362 - INFO - Detaching port 9775495d-cf8c-4cb7-a873-a01903a96916 from VM ctest-vn1-vm2-95208477 2025-10-28 08:53:43,549 - INFO - Deleting VM ctest-vn1-vm2-95208477 2025-10-28 08:53:43,711 - INFO - Detaching port 9ead5e7e-31b5-4bcb-80de-1de2c59d3b1f from VM ctest-vn1-vm1-48534267 2025-10-28 08:53:43,884 - INFO - Deleting VM ctest-vn1-vm1-48534267 2025-10-28 08:53:44,343 - DEBUG - Response for delete_port : () 2025-10-28 08:53:44,708 - DEBUG - Response for delete_port : () 2025-10-28 08:53:44,708 - INFO - Deleting VN ctest-vn1-96848344 2025-10-28 08:53:44,942 - DEBUG - Response for deleting network () 2025-10-28 08:53:45,334 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 08:53:45,334 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-28 08:53:45,334 - INFO - -------------------------------------------------------------------------------- 2025-10-28 08:53:46,128 - INFO - Deleted project: ctest-TestPorts-33787998, ID : 7d66d4e7-06a8-45b8-8563-435051566fca