2025-11-03 02:25:50,464 - INFO - Domain Default found not creating 2025-11-03 02:25:50,606 - INFO - Project ctest-TestPorts-71105161 not found, creating it 2025-11-03 02:25:51,069 - INFO - Created Project:ctest-TestPorts-71105161, ID : 3bdd6398-1f70-4268-9c07-cbf47d1b21e1 2025-11-03 02:25:52,504 - INFO - ================================================================================ 2025-11-03 02:25:52,504 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 02:25:52,504 - 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-11-03 02:25:52,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-03 02:25:52,761 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:25:52,761 - INFO - 2025-11-03 02:25:53,314 - DEBUG - Response for create_network : {'network': {'id': 'a481cdd0-c854-44f7-8b49-092f01225017', 'name': 'ctest-vn-27537828', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'project_id': '3bdd63981f7042689c07cbf47d1b21e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71105161', 'ctest-vn-27537828'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:25:53,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8bf5661-b883-422d-bdbd-4f142ee479a6', 'name': '', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'a481cdd0-c854-44f7-8b49-092f01225017', 'ip_version': 4, 'cidr': '169.174.111.0/26', 'allocation_pools': [{'start': '169.174.111.2', 'end': '169.174.111.62'}], 'gateway_ip': '169.174.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.174.111.2', 'tags': [], 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:53,497 - INFO - Created VN ctest-vn-27537828 2025-11-03 02:25:53,551 - DEBUG - VN ctest-vn-27537828 UUID is a481cdd0-c854-44f7-8b49-092f01225017 2025-11-03 02:25:53,656 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71105161', 'ctest-vmi-01528226']} 2025-11-03 02:25:53,951 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01528226', 'id': '72483af1-e9f2-47e1-b6c5-5b1228177c1f', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'a481cdd0-c854-44f7-8b49-092f01225017', 'mac_address': '02:72:48:3a:f1:e9', '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': '169.174.111.3', 'subnet_id': 'c8bf5661-b883-422d-bdbd-4f142ee479a6'}], 'security_groups': ['577b6d2e-f106-4bc0-93ac-1dd4ba32201b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:53,951 - DEBUG - Created port 72483af1-e9f2-47e1-b6c5-5b1228177c1f 2025-11-03 02:25:54,055 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/72483af1-e9f2-47e1-b6c5-5b1228177c1f 2025-11-03 02:25:54,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/72483af1-e9f2-47e1-b6c5-5b1228177c1f 2025-11-03 02:25:54,397 - INFO - VMI 72483af1-e9f2-47e1-b6c5-5b1228177c1f verification in API Server passed 2025-11-03 02:25:54,495 - DEBUG - Response for delete_port : () 2025-11-03 02:25:54,495 - INFO - Deleted port 72483af1-e9f2-47e1-b6c5-5b1228177c1f 2025-11-03 02:25:54,496 - INFO - Deleting VN ctest-vn-27537828 2025-11-03 02:25:54,608 - DEBUG - Response for deleting network () 2025-11-03 02:25:54,864 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:25:54,864 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 02:25:54,864 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:25:54,867 - INFO - ================================================================================ 2025-11-03 02:25:54,867 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 02:25:54,868 - 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-11-03 02:25:55,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-03 02:25:55,154 - INFO - Initial checks done. Running the testcase now 2025-11-03 02:25:55,154 - INFO - 2025-11-03 02:25:55,333 - DEBUG - Response for create_network : {'network': {'id': 'f28be088-9549-474f-b1d8-c366ed74ab3a', 'name': 'ctest-vn1-41333713', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'project_id': '3bdd63981f7042689c07cbf47d1b21e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71105161', 'ctest-vn1-41333713'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 02:25:55,577 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec76f6e-e519-4dd8-807d-1dfb90a6a747', 'name': '', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'f28be088-9549-474f-b1d8-c366ed74ab3a', 'ip_version': 4, 'cidr': '29.17.225.128/26', 'allocation_pools': [{'start': '29.17.225.130', 'end': '29.17.225.190'}], 'gateway_ip': '29.17.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.17.225.130', 'tags': [], 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:55,777 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc3ecb20-a008-48a9-b4e6-46b89963666f', 'name': '', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'f28be088-9549-474f-b1d8-c366ed74ab3a', 'ip_version': 4, 'cidr': '113.20.215.192/26', 'allocation_pools': [{'start': '113.20.215.194', 'end': '113.20.215.254'}], 'gateway_ip': '113.20.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.20.215.194', 'tags': [], 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:55,798 - INFO - Created VN ctest-vn1-41333713 2025-11-03 02:25:55,855 - DEBUG - VN ctest-vn1-41333713 UUID is f28be088-9549-474f-b1d8-c366ed74ab3a 2025-11-03 02:25:56,141 - DEBUG - Response for create_port : {'port': {'name': '965c4652-fb04-4382-8776-8d6e564727d3', 'id': '965c4652-fb04-4382-8776-8d6e564727d3', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'f28be088-9549-474f-b1d8-c366ed74ab3a', 'mac_address': '02:96:5c:46:52:fb', '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': '29.17.225.133', 'subnet_id': 'dec76f6e-e519-4dd8-807d-1dfb90a6a747'}], 'security_groups': ['577b6d2e-f106-4bc0-93ac-1dd4ba32201b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:56,312 - DEBUG - Response for create_port : {'port': {'name': 'd1cb7759-655e-458c-92dc-ce4c7b382caa', 'id': 'd1cb7759-655e-458c-92dc-ce4c7b382caa', 'tenant_id': '3bdd63981f7042689c07cbf47d1b21e1', 'network_id': 'f28be088-9549-474f-b1d8-c366ed74ab3a', 'mac_address': '02:d1:cb:77:59:65', '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': '113.20.215.197', 'subnet_id': 'bc3ecb20-a008-48a9-b4e6-46b89963666f'}], 'security_groups': ['577b6d2e-f106-4bc0-93ac-1dd4ba32201b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3bdd63981f7042689c07cbf47d1b21e1'}} 2025-11-03 02:25:56,371 - DEBUG - Services list from nova: [, , ] 2025-11-03 02:25:56,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:25:57,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4598-1) 2025-11-03 02:25:57,060 - INFO - Waiting for VM ctest-vn1-vm1-47265357 to be up.. 2025-11-03 02:25:57,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:02,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:07,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:12,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 02:26:17,397 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:26:17,397 - INFO - VM name : ctest-vn1-vm1-47265357 2025-11-03 02:26:17,462 - DEBUG - VM ctest-vn1-vm1-47265357 ID is 4ba02c41-ff78-48f1-864e-1ceda6462396 2025-11-03 02:26:17,482 - DEBUG - VM ctest-vn1-vm1-47265357 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:26:17,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ba02c41-ff78-48f1-864e-1ceda6462396 2025-11-03 02:26:17,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/965c4652-fb04-4382-8776-8d6e564727d3 2025-11-03 02:26:20,821 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-11-03 02:26:20,821 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-47265357 failed! 2025-11-03 02:26:20,875 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71105161:ctest-vn1-41333713 is 29.17.225.129 and allocation pool is NOT set 2025-11-03 02:26:20,875 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71105161:ctest-vn1-41333713 is 113.20.215.193 and allocation pool is NOT set 2025-11-03 02:26:24,942 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-11-03 02:26:24,942 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-47265357 failed! 2025-11-03 02:26:24,995 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71105161:ctest-vn1-41333713 is 29.17.225.129 and allocation pool is NOT set 2025-11-03 02:26:24,995 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71105161:ctest-vn1-41333713 is 113.20.215.193 and allocation pool is NOT set 2025-11-03 02:26:27,059 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/2.445/4.503/2.057 ms') 2025-11-03 02:26:27,059 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-47265357 passed 2025-11-03 02:26:27,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:26:27,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47265357, IP 29.17.225.133, Port 22 2025-11-03 02:26:27,385 - DEBUG - VM ctest-vn1-vm1-47265357 is ready for SSH connections 2025-11-03 02:26:27,385 - INFO - Waiting for VM ctest-vn1-vm2-50340584 to be up.. 2025-11-03 02:26:27,474 - DEBUG - VM is in ACTIVE state now 2025-11-03 02:26:27,474 - INFO - VM name : ctest-vn1-vm2-50340584 2025-11-03 02:26:27,551 - DEBUG - VM ctest-vn1-vm2-50340584 ID is c375760c-eaf7-49dd-8c92-5f55fd3e4d0e 2025-11-03 02:26:27,551 - DEBUG - VM ctest-vn1-vm2-50340584 launched on Node cn-jenkins-deploy-platform-ansible-os-4598-1 2025-11-03 02:26:27,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c375760c-eaf7-49dd-8c92-5f55fd3e4d0e 2025-11-03 02:26:27,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d1cb7759-655e-458c-92dc-ce4c7b382caa 2025-11-03 02:26:28,883 - 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=5.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.142/3.349/5.557/2.207 ms') 2025-11-03 02:26:28,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-50340584 passed 2025-11-03 02:26:29,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:26:29,031 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50340584, IP 113.20.215.197, Port 22 2025-11-03 02:26:29,187 - DEBUG - VM ctest-vn1-vm2-50340584 is ready for SSH connections 2025-11-03 02:26:29,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:26:29,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:26:29,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 02:26:29,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.17.225.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-03 02:26:29,188 - DEBUG - ping -s 56 -c 3 -W 1 29.17.225.133 2025-11-03 02:26:32,900 - DEBUG - PING 29.17.225.133 (29.17.225.133): 56 data bytes 64 bytes from 29.17.225.133: seq=0 ttl=63 time=3.318 ms 64 bytes from 29.17.225.133: seq=1 ttl=63 time=0.930 ms 64 bytes from 29.17.225.133: seq=2 ttl=63 time=1.278 ms --- 29.17.225.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.842/3.318 ms 2025-11-03 02:26:32,900 - INFO - Ping to IP 29.17.225.133 from VM ctest-vn1-vm2-50340584 passed 2025-11-03 02:26:32,900 - INFO - Detaching port d1cb7759-655e-458c-92dc-ce4c7b382caa from VM ctest-vn1-vm2-50340584 2025-11-03 02:26:32,954 - INFO - Deleting VM ctest-vn1-vm2-50340584 2025-11-03 02:26:33,029 - INFO - Detaching port 965c4652-fb04-4382-8776-8d6e564727d3 from VM ctest-vn1-vm1-47265357 2025-11-03 02:26:33,083 - INFO - Deleting VM ctest-vn1-vm1-47265357 2025-11-03 02:26:33,327 - DEBUG - Response for delete_port : () 2025-11-03 02:26:33,484 - DEBUG - Response for delete_port : () 2025-11-03 02:26:33,484 - INFO - Deleting VN ctest-vn1-41333713 2025-11-03 02:26:33,606 - DEBUG - Response for deleting network () 2025-11-03 02:26:33,860 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 02:26:33,860 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:39]
2025-11-03 02:26:33,861 - INFO - -------------------------------------------------------------------------------- 2025-11-03 02:26:34,697 - INFO - Deleted project: ctest-TestPorts-71105161, ID : 3bdd6398-1f70-4268-9c07-cbf47d1b21e1