2025-10-07 16:49:24,406 - INFO - Domain Default found not creating 2025-10-07 16:49:24,553 - INFO - Project ctest-TestPorts-09593897 not found, creating it 2025-10-07 16:49:25,002 - INFO - Created Project:ctest-TestPorts-09593897, ID : 52d6fe07-9747-4438-be72-46c75c219e6b 2025-10-07 16:49:26,427 - INFO - ================================================================================ 2025-10-07 16:49:26,427 - INFO - STARTING TEST : test_ports_bindings 2025-10-07 16:49:26,427 - 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-07 16:49:26,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 16:49:26,691 - INFO - Initial checks done. Running the testcase now 2025-10-07 16:49:26,691 - INFO - 2025-10-07 16:49:27,313 - DEBUG - Response for create_network : {'network': {'id': 'b8dd31f9-67c3-47ea-8db2-44131f5aea11', 'name': 'ctest-vn-29103530', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'project_id': '52d6fe0797474438be7246c75c219e6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09593897', 'ctest-vn-29103530'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:49:27,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '94f3b84d-d13e-44a8-bd45-78952194afc2', 'name': '', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': 'b8dd31f9-67c3-47ea-8db2-44131f5aea11', 'ip_version': 4, 'cidr': '8.157.203.0/26', 'allocation_pools': [{'start': '8.157.203.2', 'end': '8.157.203.62'}], 'gateway_ip': '8.157.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.157.203.2', 'tags': [], 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:27,664 - INFO - Created VN ctest-vn-29103530 2025-10-07 16:49:27,714 - DEBUG - VN ctest-vn-29103530 UUID is b8dd31f9-67c3-47ea-8db2-44131f5aea11 2025-10-07 16:49:27,827 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09593897', 'ctest-vmi-64610263']} 2025-10-07 16:49:28,065 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64610263', 'id': 'ab761c81-5ff6-4ec7-b805-33d13e11d46b', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': 'b8dd31f9-67c3-47ea-8db2-44131f5aea11', 'mac_address': '02:ab:76:1c:81:5f', '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': '8.157.203.3', 'subnet_id': '94f3b84d-d13e-44a8-bd45-78952194afc2'}], 'security_groups': ['c57d75d4-ed6b-4f6e-b068-80dad02418e5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:28,065 - DEBUG - Created port ab761c81-5ff6-4ec7-b805-33d13e11d46b 2025-10-07 16:49:28,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ab761c81-5ff6-4ec7-b805-33d13e11d46b 2025-10-07 16:49:28,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ab761c81-5ff6-4ec7-b805-33d13e11d46b 2025-10-07 16:49:28,498 - INFO - VMI ab761c81-5ff6-4ec7-b805-33d13e11d46b verification in API Server passed 2025-10-07 16:49:28,597 - DEBUG - Response for delete_port : () 2025-10-07 16:49:28,597 - INFO - Deleted port ab761c81-5ff6-4ec7-b805-33d13e11d46b 2025-10-07 16:49:28,597 - INFO - Deleting VN ctest-vn-29103530 2025-10-07 16:49:28,730 - DEBUG - Response for deleting network () 2025-10-07 16:49:28,987 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 16:49:28,987 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-07 16:49:28,987 - INFO - -------------------------------------------------------------------------------- 2025-10-07 16:49:28,990 - INFO - ================================================================================ 2025-10-07 16:49:28,990 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-07 16:49:28,990 - 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-07 16:49:29,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 16:49:29,280 - INFO - Initial checks done. Running the testcase now 2025-10-07 16:49:29,280 - INFO - 2025-10-07 16:49:29,504 - DEBUG - Response for create_network : {'network': {'id': '5b0a2c19-5df8-4bea-a88d-cbf72d9dc161', 'name': 'ctest-vn1-65295320', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'project_id': '52d6fe0797474438be7246c75c219e6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09593897', 'ctest-vn1-65295320'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:49:29,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '42d1a53f-a57b-43e4-a8fb-76299ec5a1c6', 'name': '', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': '5b0a2c19-5df8-4bea-a88d-cbf72d9dc161', 'ip_version': 4, 'cidr': '223.131.194.0/26', 'allocation_pools': [{'start': '223.131.194.2', 'end': '223.131.194.62'}], 'gateway_ip': '223.131.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.131.194.2', 'tags': [], 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:29,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e31dc573-105e-45fe-94cc-6cc6729b2652', 'name': '', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': '5b0a2c19-5df8-4bea-a88d-cbf72d9dc161', 'ip_version': 4, 'cidr': '179.142.76.192/26', 'allocation_pools': [{'start': '179.142.76.194', 'end': '179.142.76.254'}], 'gateway_ip': '179.142.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.142.76.194', 'tags': [], 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:29,913 - INFO - Created VN ctest-vn1-65295320 2025-10-07 16:49:29,962 - DEBUG - VN ctest-vn1-65295320 UUID is 5b0a2c19-5df8-4bea-a88d-cbf72d9dc161 2025-10-07 16:49:30,283 - DEBUG - Response for create_port : {'port': {'name': '76ca5e54-5e1b-484e-b5bd-f9cf06bfc8c1', 'id': '76ca5e54-5e1b-484e-b5bd-f9cf06bfc8c1', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': '5b0a2c19-5df8-4bea-a88d-cbf72d9dc161', 'mac_address': '02:76:ca:5e:54:5e', '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': '223.131.194.5', 'subnet_id': '42d1a53f-a57b-43e4-a8fb-76299ec5a1c6'}], 'security_groups': ['c57d75d4-ed6b-4f6e-b068-80dad02418e5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:30,457 - DEBUG - Response for create_port : {'port': {'name': '8f1e515f-1de0-427c-9623-b6e548a0c8ec', 'id': '8f1e515f-1de0-427c-9623-b6e548a0c8ec', 'tenant_id': '52d6fe0797474438be7246c75c219e6b', 'network_id': '5b0a2c19-5df8-4bea-a88d-cbf72d9dc161', 'mac_address': '02:8f:1e:51:5f:1d', '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': '179.142.76.197', 'subnet_id': 'e31dc573-105e-45fe-94cc-6cc6729b2652'}], 'security_groups': ['c57d75d4-ed6b-4f6e-b068-80dad02418e5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '52d6fe0797474438be7246c75c219e6b'}} 2025-10-07 16:49:30,518 - DEBUG - Services list from nova: [, , ] 2025-10-07 16:49:30,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:49:31,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:49:31,238 - INFO - Waiting for VM ctest-vn1-vm1-16376749 to be up.. 2025-10-07 16:49:31,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 16:49:36,365 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:49:36,365 - INFO - VM name : ctest-vn1-vm1-16376749 2025-10-07 16:49:36,438 - DEBUG - VM ctest-vn1-vm1-16376749 ID is 5493d90a-e161-4d32-8982-86cac9415d2b 2025-10-07 16:49:36,460 - DEBUG - VM ctest-vn1-vm1-16376749 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:49:36,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5493d90a-e161-4d32-8982-86cac9415d2b 2025-10-07 16:49:36,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/76ca5e54-5e1b-484e-b5bd-f9cf06bfc8c1 2025-10-07 16:49:39,806 - 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 1022ms') 2025-10-07 16:49:39,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16376749 failed! 2025-10-07 16:49:39,858 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09593897:ctest-vn1-65295320 is 223.131.194.1 and allocation pool is NOT set 2025-10-07 16:49:39,858 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09593897:ctest-vn1-65295320 is 179.142.76.193 and allocation pool is NOT set 2025-10-07 16:49:41,932 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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.765/8.119/13.474/5.354 ms') 2025-10-07 16:49:41,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16376749 passed 2025-10-07 16:49:42,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:49:42,082 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16376749, IP 223.131.194.5, Port 22 2025-10-07 16:49:42,249 - DEBUG - VM ctest-vn1-vm1-16376749 is ready for SSH connections 2025-10-07 16:49:42,249 - INFO - Waiting for VM ctest-vn1-vm2-91017803 to be up.. 2025-10-07 16:49:42,331 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:49:42,331 - INFO - VM name : ctest-vn1-vm2-91017803 2025-10-07 16:49:42,406 - DEBUG - VM ctest-vn1-vm2-91017803 ID is 0d8eb15e-aea2-4eca-b208-722de5ec43d9 2025-10-07 16:49:42,406 - DEBUG - VM ctest-vn1-vm2-91017803 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:49:42,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0d8eb15e-aea2-4eca-b208-722de5ec43d9 2025-10-07 16:49:42,495 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8f1e515f-1de0-427c-9623-b6e548a0c8ec 2025-10-07 16:49:43,738 - 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=4.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.744 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.744/2.401/4.058/1.657 ms') 2025-10-07 16:49:43,738 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91017803 passed 2025-10-07 16:49:43,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:49:43,886 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91017803, IP 179.142.76.197, Port 22 2025-10-07 16:49:44,042 - DEBUG - VM ctest-vn1-vm2-91017803 is ready for SSH connections 2025-10-07 16:49:44,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:49:44,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:49:44,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:49:44,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.131.194.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:49:44,042 - DEBUG - ping -s 56 -c 3 -W 1 223.131.194.5 2025-10-07 16:49:46,691 - DEBUG - PING 223.131.194.5 (223.131.194.5): 56 data bytes 64 bytes from 223.131.194.5: seq=0 ttl=63 time=3.695 ms 64 bytes from 223.131.194.5: seq=1 ttl=63 time=0.890 ms 64 bytes from 223.131.194.5: seq=2 ttl=63 time=0.830 ms --- 223.131.194.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.805/3.695 ms 2025-10-07 16:49:46,691 - INFO - Ping to IP 223.131.194.5 from VM ctest-vn1-vm2-91017803 passed 2025-10-07 16:49:46,691 - INFO - Detaching port 8f1e515f-1de0-427c-9623-b6e548a0c8ec from VM ctest-vn1-vm2-91017803 2025-10-07 16:49:46,743 - INFO - Deleting VM ctest-vn1-vm2-91017803 2025-10-07 16:49:46,818 - INFO - Detaching port 76ca5e54-5e1b-484e-b5bd-f9cf06bfc8c1 from VM ctest-vn1-vm1-16376749 2025-10-07 16:49:46,850 - INFO - Deleting VM ctest-vn1-vm1-16376749 2025-10-07 16:49:47,074 - DEBUG - Response for delete_port : () 2025-10-07 16:49:47,230 - DEBUG - Response for delete_port : () 2025-10-07 16:49:47,230 - INFO - Deleting VN ctest-vn1-65295320 2025-10-07 16:49:47,361 - DEBUG - Response for deleting network () 2025-10-07 16:49:47,619 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 16:49:47,619 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-07 16:49:47,619 - INFO - -------------------------------------------------------------------------------- 2025-10-07 16:49:48,307 - INFO - Deleted project: ctest-TestPorts-09593897, ID : 52d6fe07-9747-4438-be72-46c75c219e6b