2025-08-18 19:41:33,423 - INFO - Domain Default found not creating 2025-08-18 19:41:33,560 - INFO - Project ctest-TestPorts-48480563 not found, creating it 2025-08-18 19:41:34,019 - INFO - Created Project:ctest-TestPorts-48480563, ID : 5c4e8451-496c-4031-9bed-24a2608e357c 2025-08-18 19:41:35,447 - INFO - ================================================================================ 2025-08-18 19:41:35,448 - INFO - STARTING TEST : test_ports_bindings 2025-08-18 19:41:35,448 - 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-18 19:41:35,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 19:41:35,705 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:41:35,705 - INFO - 2025-08-18 19:41:36,234 - DEBUG - Response for create_network : {'network': {'id': 'c46f45d2-a854-4fb0-b6f8-3e4eb5d9528a', 'name': 'ctest-vn-02095283', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'project_id': '5c4e8451496c40319bed24a2608e357c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48480563', 'ctest-vn-02095283'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:41:36,423 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edd2dd03-0cc9-4dff-99f1-dd332709d4b5', 'name': '', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': 'c46f45d2-a854-4fb0-b6f8-3e4eb5d9528a', 'ip_version': 4, 'cidr': '52.200.168.0/26', 'allocation_pools': [{'start': '52.200.168.2', 'end': '52.200.168.62'}], 'gateway_ip': '52.200.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.200.168.2', 'tags': [], 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:36,440 - INFO - Created VN ctest-vn-02095283 2025-08-18 19:41:36,490 - DEBUG - VN ctest-vn-02095283 UUID is c46f45d2-a854-4fb0-b6f8-3e4eb5d9528a 2025-08-18 19:41:36,588 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48480563', 'ctest-vmi-03115993']} 2025-08-18 19:41:36,875 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03115993', 'id': '3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': 'c46f45d2-a854-4fb0-b6f8-3e4eb5d9528a', 'mac_address': '02:37:72:b1:a4:dd', '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': '52.200.168.3', 'subnet_id': 'edd2dd03-0cc9-4dff-99f1-dd332709d4b5'}], 'security_groups': ['3260c17e-4c2b-4ecf-b589-2e361ce6d581'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:36,875 - DEBUG - Created port 3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5 2025-08-18 19:41:36,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5 2025-08-18 19:41:37,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5 2025-08-18 19:41:37,300 - INFO - VMI 3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5 verification in API Server passed 2025-08-18 19:41:37,385 - DEBUG - Response for delete_port : () 2025-08-18 19:41:37,385 - INFO - Deleted port 3772b1a4-dd70-4f2d-8288-7f8aebbdf3c5 2025-08-18 19:41:37,385 - INFO - Deleting VN ctest-vn-02095283 2025-08-18 19:41:37,499 - DEBUG - Response for deleting network () 2025-08-18 19:41:37,751 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 19:41:37,751 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-18 19:41:37,751 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:41:37,753 - INFO - ================================================================================ 2025-08-18 19:41:37,754 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-18 19:41:37,754 - 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-18 19:41:38,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 19:41:38,039 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:41:38,039 - INFO - 2025-08-18 19:41:38,195 - DEBUG - Response for create_network : {'network': {'id': '771896dc-6a7b-4511-b4b5-5717a6ebf150', 'name': 'ctest-vn1-33037794', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'project_id': '5c4e8451496c40319bed24a2608e357c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48480563', 'ctest-vn1-33037794'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:41:38,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '02188cdd-517f-42fd-ab0e-a3a8e523d268', 'name': '', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': '771896dc-6a7b-4511-b4b5-5717a6ebf150', 'ip_version': 4, 'cidr': '143.93.144.0/26', 'allocation_pools': [{'start': '143.93.144.2', 'end': '143.93.144.62'}], 'gateway_ip': '143.93.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.93.144.2', 'tags': [], 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:38,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c20eb1c8-19c1-461e-b573-75b9020c2656', 'name': '', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': '771896dc-6a7b-4511-b4b5-5717a6ebf150', 'ip_version': 4, 'cidr': '77.32.150.0/26', 'allocation_pools': [{'start': '77.32.150.2', 'end': '77.32.150.62'}], 'gateway_ip': '77.32.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.32.150.2', 'tags': [], 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:38,508 - INFO - Created VN ctest-vn1-33037794 2025-08-18 19:41:38,562 - DEBUG - VN ctest-vn1-33037794 UUID is 771896dc-6a7b-4511-b4b5-5717a6ebf150 2025-08-18 19:41:38,859 - DEBUG - Response for create_port : {'port': {'name': 'f4ed6b0a-1a37-441c-9c4b-87fee98a756f', 'id': 'f4ed6b0a-1a37-441c-9c4b-87fee98a756f', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': '771896dc-6a7b-4511-b4b5-5717a6ebf150', 'mac_address': '02:f4:ed:6b:0a:1a', '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': '143.93.144.5', 'subnet_id': '02188cdd-517f-42fd-ab0e-a3a8e523d268'}], 'security_groups': ['3260c17e-4c2b-4ecf-b589-2e361ce6d581'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:39,016 - DEBUG - Response for create_port : {'port': {'name': '3f972ce2-0d63-47b1-8458-ba88bad647aa', 'id': '3f972ce2-0d63-47b1-8458-ba88bad647aa', 'tenant_id': '5c4e8451496c40319bed24a2608e357c', 'network_id': '771896dc-6a7b-4511-b4b5-5717a6ebf150', 'mac_address': '02:3f:97:2c:e2:0d', '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': '77.32.150.5', 'subnet_id': 'c20eb1c8-19c1-461e-b573-75b9020c2656'}], 'security_groups': ['3260c17e-4c2b-4ecf-b589-2e361ce6d581'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c4e8451496c40319bed24a2608e357c'}} 2025-08-18 19:41:39,069 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:41:39,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:41:39,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:41:39,718 - INFO - Waiting for VM ctest-vn1-vm1-98759672 to be up.. 2025-08-18 19:41:39,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:41:44,840 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:41:44,840 - INFO - VM name : ctest-vn1-vm1-98759672 2025-08-18 19:41:44,937 - DEBUG - VM ctest-vn1-vm1-98759672 ID is 1eee785d-fcbd-4114-85a1-91a4e5f255f1 2025-08-18 19:41:44,963 - DEBUG - VM ctest-vn1-vm1-98759672 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:41:45,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1eee785d-fcbd-4114-85a1-91a4e5f255f1 2025-08-18 19:41:45,169 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f4ed6b0a-1a37-441c-9c4b-87fee98a756f 2025-08-18 19:41:48,445 - 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 1031ms') 2025-08-18 19:41:48,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98759672 failed! 2025-08-18 19:41:48,502 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48480563:ctest-vn1-33037794 is 143.93.144.1 and allocation pool is NOT set 2025-08-18 19:41:48,502 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48480563:ctest-vn1-33037794 is 77.32.150.1 and allocation pool is NOT set 2025-08-18 19:41:50,563 - 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=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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 = 0.420/1.986/3.553/1.566 ms') 2025-08-18 19:41:50,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98759672 passed 2025-08-18 19:41:50,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:41:50,718 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98759672, IP 143.93.144.5, Port 22 2025-08-18 19:41:50,870 - DEBUG - VM ctest-vn1-vm1-98759672 is ready for SSH connections 2025-08-18 19:41:50,870 - INFO - Waiting for VM ctest-vn1-vm2-86231758 to be up.. 2025-08-18 19:41:50,938 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:41:50,938 - INFO - VM name : ctest-vn1-vm2-86231758 2025-08-18 19:41:51,008 - DEBUG - VM ctest-vn1-vm2-86231758 ID is 185cf375-c654-4511-a828-5c303af0c317 2025-08-18 19:41:51,008 - DEBUG - VM ctest-vn1-vm2-86231758 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:41:51,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/185cf375-c654-4511-a828-5c303af0c317 2025-08-18 19:41:51,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3f972ce2-0d63-47b1-8458-ba88bad647aa 2025-08-18 19:41:52,308 - 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=3.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.750 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.750/2.173/3.596/1.423 ms') 2025-08-18 19:41:52,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86231758 passed 2025-08-18 19:41:52,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:41:52,458 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86231758, IP 77.32.150.5, Port 22 2025-08-18 19:41:52,610 - DEBUG - VM ctest-vn1-vm2-86231758 is ready for SSH connections 2025-08-18 19:41:52,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:41:52,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:41:52,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:41:52,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.93.144.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 19:41:52,610 - DEBUG - ping -s 56 -c 3 -W 1 143.93.144.5 2025-08-18 19:41:55,231 - DEBUG - PING 143.93.144.5 (143.93.144.5): 56 data bytes 64 bytes from 143.93.144.5: seq=0 ttl=63 time=3.628 ms 64 bytes from 143.93.144.5: seq=1 ttl=63 time=0.715 ms 64 bytes from 143.93.144.5: seq=2 ttl=63 time=0.748 ms --- 143.93.144.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.715/1.697/3.628 ms 2025-08-18 19:41:55,231 - INFO - Ping to IP 143.93.144.5 from VM ctest-vn1-vm2-86231758 passed 2025-08-18 19:41:55,231 - INFO - Detaching port 3f972ce2-0d63-47b1-8458-ba88bad647aa from VM ctest-vn1-vm2-86231758 2025-08-18 19:41:55,277 - INFO - Deleting VM ctest-vn1-vm2-86231758 2025-08-18 19:41:55,347 - INFO - Detaching port f4ed6b0a-1a37-441c-9c4b-87fee98a756f from VM ctest-vn1-vm1-98759672 2025-08-18 19:41:55,376 - INFO - Deleting VM ctest-vn1-vm1-98759672 2025-08-18 19:41:55,584 - DEBUG - Response for delete_port : () 2025-08-18 19:41:55,729 - DEBUG - Response for delete_port : () 2025-08-18 19:41:55,729 - INFO - Deleting VN ctest-vn1-33037794 2025-08-18 19:41:55,854 - DEBUG - Response for deleting network () 2025-08-18 19:41:56,111 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 19:41:56,111 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-18 19:41:56,111 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:41:56,770 - INFO - Deleted project: ctest-TestPorts-48480563, ID : 5c4e8451-496c-4031-9bed-24a2608e357c