2025-11-06 02:05:51,585 - INFO - Domain Default found not creating 2025-11-06 02:05:51,801 - INFO - Project ctest-TestPorts-98896788 not found, creating it 2025-11-06 02:05:52,324 - INFO - Created Project:ctest-TestPorts-98896788, ID : bc6a79c6-d00b-4fa1-9b87-430b49eeec94 2025-11-06 02:05:53,895 - INFO - ================================================================================ 2025-11-06 02:05:53,895 - INFO - STARTING TEST : test_ports_bindings 2025-11-06 02:05:53,896 - 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-06 02:05:54,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-11-06 02:05:54,157 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:05:54,157 - INFO - 2025-11-06 02:05:54,796 - DEBUG - Response for create_network : {'network': {'id': 'c06b1f98-7ffe-4929-87fe-39004bfc1fa7', 'name': 'ctest-vn-62813543', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98896788', 'ctest-vn-62813543'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:05:55,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8fe6a7c-a43c-4920-b727-f8583598b8cd', 'name': '', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': 'c06b1f98-7ffe-4929-87fe-39004bfc1fa7', 'ip_version': 4, 'cidr': '52.103.177.0/26', 'allocation_pools': [{'start': '52.103.177.2', 'end': '52.103.177.62'}], 'gateway_ip': '52.103.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.103.177.2', 'tags': [], 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:55,097 - INFO - Created VN ctest-vn-62813543 2025-11-06 02:05:55,150 - DEBUG - VN ctest-vn-62813543 UUID is c06b1f98-7ffe-4929-87fe-39004bfc1fa7 2025-11-06 02:05:55,278 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98896788', 'ctest-vmi-57729049']} 2025-11-06 02:05:55,521 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57729049', 'id': '522ccc56-bb5e-4daa-aa4f-a04bdf599889', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': 'c06b1f98-7ffe-4929-87fe-39004bfc1fa7', 'mac_address': '02:52:2c:cc:56:bb', '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.103.177.3', 'subnet_id': 'a8fe6a7c-a43c-4920-b727-f8583598b8cd'}], 'security_groups': ['daf34d48-7e22-450a-834e-6352152765f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:55,522 - DEBUG - Created port 522ccc56-bb5e-4daa-aa4f-a04bdf599889 2025-11-06 02:05:55,634 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/522ccc56-bb5e-4daa-aa4f-a04bdf599889 2025-11-06 02:05:55,927 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/522ccc56-bb5e-4daa-aa4f-a04bdf599889 2025-11-06 02:05:55,968 - INFO - VMI 522ccc56-bb5e-4daa-aa4f-a04bdf599889 verification in API Server passed 2025-11-06 02:05:56,055 - DEBUG - Response for delete_port : () 2025-11-06 02:05:56,055 - INFO - Deleted port 522ccc56-bb5e-4daa-aa4f-a04bdf599889 2025-11-06 02:05:56,056 - INFO - Deleting VN ctest-vn-62813543 2025-11-06 02:05:56,161 - DEBUG - Response for deleting network () 2025-11-06 02:05:56,420 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 02:05:56,420 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-06 02:05:56,420 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:05:56,423 - INFO - ================================================================================ 2025-11-06 02:05:56,423 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-06 02:05:56,423 - 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-06 02:05:56,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-11-06 02:05:56,725 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:05:56,725 - INFO - 2025-11-06 02:05:56,940 - DEBUG - Response for create_network : {'network': {'id': '20fe4847-3abf-4f83-8371-8eb4729c92de', 'name': 'ctest-vn1-96152155', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98896788', 'ctest-vn1-96152155'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:05:57,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf30bc50-6d63-4a62-b4e8-7de98be44967', 'name': '', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': '20fe4847-3abf-4f83-8371-8eb4729c92de', 'ip_version': 4, 'cidr': '35.194.39.128/26', 'allocation_pools': [{'start': '35.194.39.130', 'end': '35.194.39.190'}], 'gateway_ip': '35.194.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.194.39.130', 'tags': [], 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:57,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d8494f0-f8f3-4747-9668-e5771eeda199', 'name': '', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': '20fe4847-3abf-4f83-8371-8eb4729c92de', 'ip_version': 4, 'cidr': '59.254.112.192/26', 'allocation_pools': [{'start': '59.254.112.194', 'end': '59.254.112.254'}], 'gateway_ip': '59.254.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.254.112.194', 'tags': [], 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:57,350 - INFO - Created VN ctest-vn1-96152155 2025-11-06 02:05:57,402 - DEBUG - VN ctest-vn1-96152155 UUID is 20fe4847-3abf-4f83-8371-8eb4729c92de 2025-11-06 02:05:57,718 - DEBUG - Response for create_port : {'port': {'name': '4ea2db6e-68a2-43ee-84e3-487f5e8b92ef', 'id': '4ea2db6e-68a2-43ee-84e3-487f5e8b92ef', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': '20fe4847-3abf-4f83-8371-8eb4729c92de', 'mac_address': '02:4e:a2:db:6e:68', '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': '35.194.39.133', 'subnet_id': 'cf30bc50-6d63-4a62-b4e8-7de98be44967'}], 'security_groups': ['daf34d48-7e22-450a-834e-6352152765f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:57,892 - DEBUG - Response for create_port : {'port': {'name': 'b4a5bc2c-3507-4e30-ac3f-0abb11136035', 'id': 'b4a5bc2c-3507-4e30-ac3f-0abb11136035', 'tenant_id': 'bc6a79c6d00b4fa19b87430b49eeec94', 'network_id': '20fe4847-3abf-4f83-8371-8eb4729c92de', 'mac_address': '02:b4:a5:bc:2c:35', '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': '59.254.112.197', 'subnet_id': '9d8494f0-f8f3-4747-9668-e5771eeda199'}], 'security_groups': ['daf34d48-7e22-450a-834e-6352152765f5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc6a79c6d00b4fa19b87430b49eeec94'}} 2025-11-06 02:05:57,957 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:05:58,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1) 2025-11-06 02:05:58,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4661-1) 2025-11-06 02:05:58,771 - INFO - Waiting for VM ctest-vn1-vm1-02751140 to be up.. 2025-11-06 02:05:58,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:06:03,916 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:06:03,916 - INFO - VM name : ctest-vn1-vm1-02751140 2025-11-06 02:06:03,999 - DEBUG - VM ctest-vn1-vm1-02751140 ID is 8217625d-fd6b-421c-8007-b11e2e0ef45c 2025-11-06 02:06:04,024 - DEBUG - VM ctest-vn1-vm1-02751140 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1 2025-11-06 02:06:04,112 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8217625d-fd6b-421c-8007-b11e2e0ef45c 2025-11-06 02:06:04,121 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4ea2db6e-68a2-43ee-84e3-487f5e8b92ef 2025-11-06 02:06:07,367 - 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 1001ms') 2025-11-06 02:06:07,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02751140 failed! 2025-11-06 02:06:07,426 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98896788:ctest-vn1-96152155 is 35.194.39.129 and allocation pool is NOT set 2025-11-06 02:06:07,426 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98896788:ctest-vn1-96152155 is 59.254.112.193 and allocation pool is NOT set 2025-11-06 02:06:11,501 - 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=7.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 7.220/7.220/7.220/0.000 ms') 2025-11-06 02:06:11,502 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02751140 passed 2025-11-06 02:06:11,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:06:11,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02751140, IP 35.194.39.133, Port 22 2025-11-06 02:06:11,831 - DEBUG - VM ctest-vn1-vm1-02751140 is ready for SSH connections 2025-11-06 02:06:11,831 - INFO - Waiting for VM ctest-vn1-vm2-70821991 to be up.. 2025-11-06 02:06:11,918 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:06:11,918 - INFO - VM name : ctest-vn1-vm2-70821991 2025-11-06 02:06:12,007 - DEBUG - VM ctest-vn1-vm2-70821991 ID is 813b7db2-51f2-449b-a38b-f8c2d81d4788 2025-11-06 02:06:12,007 - DEBUG - VM ctest-vn1-vm2-70821991 launched on Node cn-jenkins-deploy-platform-ansible-os-4661-1 2025-11-06 02:06:12,093 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/813b7db2-51f2-449b-a38b-f8c2d81d4788 2025-11-06 02:06:12,102 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b4a5bc2c-3507-4e30-ac3f-0abb11136035 2025-11-06 02:06:13,350 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/2.131/3.750/1.619 ms') 2025-11-06 02:06:13,350 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70821991 passed 2025-11-06 02:06:13,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:06:13,503 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70821991, IP 59.254.112.197, Port 22 2025-11-06 02:06:13,658 - DEBUG - VM ctest-vn1-vm2-70821991 is ready for SSH connections 2025-11-06 02:06:13,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:06:13,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:06:13,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:06:13,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.194.39.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-06 02:06:13,659 - DEBUG - ping -s 56 -c 3 -W 1 35.194.39.133 2025-11-06 02:06:16,342 - DEBUG - PING 35.194.39.133 (35.194.39.133): 56 data bytes 64 bytes from 35.194.39.133: seq=0 ttl=63 time=4.344 ms 64 bytes from 35.194.39.133: seq=1 ttl=63 time=1.275 ms 64 bytes from 35.194.39.133: seq=2 ttl=63 time=0.860 ms --- 35.194.39.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.159/4.344 ms 2025-11-06 02:06:16,342 - INFO - Ping to IP 35.194.39.133 from VM ctest-vn1-vm2-70821991 passed 2025-11-06 02:06:16,342 - INFO - Detaching port b4a5bc2c-3507-4e30-ac3f-0abb11136035 from VM ctest-vn1-vm2-70821991 2025-11-06 02:06:16,403 - INFO - Deleting VM ctest-vn1-vm2-70821991 2025-11-06 02:06:16,497 - INFO - Detaching port 4ea2db6e-68a2-43ee-84e3-487f5e8b92ef from VM ctest-vn1-vm1-02751140 2025-11-06 02:06:16,540 - INFO - Deleting VM ctest-vn1-vm1-02751140 2025-11-06 02:06:16,813 - DEBUG - Response for delete_port : () 2025-11-06 02:06:16,982 - DEBUG - Response for delete_port : () 2025-11-06 02:06:16,982 - INFO - Deleting VN ctest-vn1-96152155 2025-11-06 02:06:17,146 - DEBUG - Response for deleting network () 2025-11-06 02:06:17,412 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 02:06:17,412 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-06 02:06:17,412 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:06:18,229 - INFO - Deleted project: ctest-TestPorts-98896788, ID : bc6a79c6-d00b-4fa1-9b87-430b49eeec94