2025-08-06 07:23:23,611 - INFO - Domain Default found not creating 2025-08-06 07:23:23,751 - INFO - Project ctest-TestPorts-35059373 not found, creating it 2025-08-06 07:23:24,203 - INFO - Created Project:ctest-TestPorts-35059373, ID : ef29a9e4-8daa-477f-9358-952ff677f0d6 2025-08-06 07:23:25,630 - INFO - ================================================================================ 2025-08-06 07:23:25,630 - INFO - STARTING TEST : test_ports_bindings 2025-08-06 07:23:25,630 - 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-06 07:23:25,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 07:23:25,888 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:23:25,888 - INFO - 2025-08-06 07:23:26,444 - DEBUG - Response for create_network : {'network': {'id': 'f4f475d9-9419-4994-ac8e-67d393d391a3', 'name': 'ctest-vn-17292348', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'project_id': 'ef29a9e48daa477f9358952ff677f0d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35059373', 'ctest-vn-17292348'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:23:26,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a0357c2-a312-4dc1-8773-3602917270a5', 'name': '', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': 'f4f475d9-9419-4994-ac8e-67d393d391a3', 'ip_version': 4, 'cidr': '88.76.6.128/26', 'allocation_pools': [{'start': '88.76.6.130', 'end': '88.76.6.190'}], 'gateway_ip': '88.76.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.76.6.130', 'tags': [], 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:26,629 - INFO - Created VN ctest-vn-17292348 2025-08-06 07:23:26,685 - DEBUG - VN ctest-vn-17292348 UUID is f4f475d9-9419-4994-ac8e-67d393d391a3 2025-08-06 07:23:26,795 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35059373', 'ctest-vmi-88287427']} 2025-08-06 07:23:27,038 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88287427', 'id': 'b3674b88-1ac5-4844-a8da-32cac854399a', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': 'f4f475d9-9419-4994-ac8e-67d393d391a3', 'mac_address': '02:b3:67:4b:88:1a', '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': '88.76.6.131', 'subnet_id': '7a0357c2-a312-4dc1-8773-3602917270a5'}], 'security_groups': ['cf8b8577-7e6c-48cc-bc1d-a454e2300398'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:27,038 - DEBUG - Created port b3674b88-1ac5-4844-a8da-32cac854399a 2025-08-06 07:23:27,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3674b88-1ac5-4844-a8da-32cac854399a 2025-08-06 07:23:27,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3674b88-1ac5-4844-a8da-32cac854399a 2025-08-06 07:23:27,472 - INFO - VMI b3674b88-1ac5-4844-a8da-32cac854399a verification in API Server passed 2025-08-06 07:23:27,560 - DEBUG - Response for delete_port : () 2025-08-06 07:23:27,560 - INFO - Deleted port b3674b88-1ac5-4844-a8da-32cac854399a 2025-08-06 07:23:27,560 - INFO - Deleting VN ctest-vn-17292348 2025-08-06 07:23:27,679 - DEBUG - Response for deleting network () 2025-08-06 07:23:27,939 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 07:23:27,940 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-06 07:23:27,940 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:23:27,942 - INFO - ================================================================================ 2025-08-06 07:23:27,943 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-06 07:23:27,943 - 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-06 07:23:28,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 07:23:28,227 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:23:28,227 - INFO - 2025-08-06 07:23:28,401 - DEBUG - Response for create_network : {'network': {'id': '65d5f2fe-c9cc-4767-83b9-4758f05d7573', 'name': 'ctest-vn1-38567185', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'project_id': 'ef29a9e48daa477f9358952ff677f0d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35059373', 'ctest-vn1-38567185'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:23:28,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '12e1dee8-d8ac-4760-86e6-4cf676a0421d', 'name': '', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': '65d5f2fe-c9cc-4767-83b9-4758f05d7573', 'ip_version': 4, 'cidr': '24.150.15.64/26', 'allocation_pools': [{'start': '24.150.15.66', 'end': '24.150.15.126'}], 'gateway_ip': '24.150.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.150.15.66', 'tags': [], 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:28,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '203db52e-0cd9-48d3-860f-3451fd50b6c4', 'name': '', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': '65d5f2fe-c9cc-4767-83b9-4758f05d7573', 'ip_version': 4, 'cidr': '216.231.165.0/26', 'allocation_pools': [{'start': '216.231.165.2', 'end': '216.231.165.62'}], 'gateway_ip': '216.231.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.231.165.2', 'tags': [], 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:28,751 - INFO - Created VN ctest-vn1-38567185 2025-08-06 07:23:28,805 - DEBUG - VN ctest-vn1-38567185 UUID is 65d5f2fe-c9cc-4767-83b9-4758f05d7573 2025-08-06 07:23:29,127 - DEBUG - Response for create_port : {'port': {'name': '0cc385a7-b5ba-4c22-b542-62e0176276fa', 'id': '0cc385a7-b5ba-4c22-b542-62e0176276fa', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': '65d5f2fe-c9cc-4767-83b9-4758f05d7573', 'mac_address': '02:0c:c3:85:a7:b5', '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': '24.150.15.69', 'subnet_id': '12e1dee8-d8ac-4760-86e6-4cf676a0421d'}], 'security_groups': ['cf8b8577-7e6c-48cc-bc1d-a454e2300398'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:29,308 - DEBUG - Response for create_port : {'port': {'name': '9b6ade55-77e8-4e83-98d4-4f0b6207048a', 'id': '9b6ade55-77e8-4e83-98d4-4f0b6207048a', 'tenant_id': 'ef29a9e48daa477f9358952ff677f0d6', 'network_id': '65d5f2fe-c9cc-4767-83b9-4758f05d7573', 'mac_address': '02:9b:6a:de:55:77', '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': '216.231.165.5', 'subnet_id': '203db52e-0cd9-48d3-860f-3451fd50b6c4'}], 'security_groups': ['cf8b8577-7e6c-48cc-bc1d-a454e2300398'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ef29a9e48daa477f9358952ff677f0d6'}} 2025-08-06 07:23:29,362 - DEBUG - Services list from nova: [, , ] 2025-08-06 07:23:29,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:23:30,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:23:30,055 - INFO - Waiting for VM ctest-vn1-vm1-39268921 to be up.. 2025-08-06 07:23:30,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:23:35,184 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:23:35,184 - INFO - VM name : ctest-vn1-vm1-39268921 2025-08-06 07:23:35,266 - DEBUG - VM ctest-vn1-vm1-39268921 ID is 759c9b9d-a3ac-444e-83d1-b0a3fe7faa54 2025-08-06 07:23:35,288 - DEBUG - VM ctest-vn1-vm1-39268921 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:23:35,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/759c9b9d-a3ac-444e-83d1-b0a3fe7faa54 2025-08-06 07:23:35,393 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0cc385a7-b5ba-4c22-b542-62e0176276fa 2025-08-06 07:23:38,665 - 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 1019ms') 2025-08-06 07:23:38,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39268921 failed! 2025-08-06 07:23:38,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35059373:ctest-vn1-38567185 is 24.150.15.65 and allocation pool is NOT set 2025-08-06 07:23:38,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35059373:ctest-vn1-38567185 is 216.231.165.1 and allocation pool is NOT set 2025-08-06 07:23:40,780 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.516/2.659/1.142 ms') 2025-08-06 07:23:40,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39268921 passed 2025-08-06 07:23:40,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:23:40,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39268921, IP 24.150.15.69, Port 22 2025-08-06 07:23:41,089 - DEBUG - VM ctest-vn1-vm1-39268921 is ready for SSH connections 2025-08-06 07:23:41,089 - INFO - Waiting for VM ctest-vn1-vm2-75631695 to be up.. 2025-08-06 07:23:41,166 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:23:41,166 - INFO - VM name : ctest-vn1-vm2-75631695 2025-08-06 07:23:41,237 - DEBUG - VM ctest-vn1-vm2-75631695 ID is 4fbf806d-0719-46e9-bdb0-744667447bab 2025-08-06 07:23:41,237 - DEBUG - VM ctest-vn1-vm2-75631695 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:23:41,308 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4fbf806d-0719-46e9-bdb0-744667447bab 2025-08-06 07:23:41,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9b6ade55-77e8-4e83-98d4-4f0b6207048a 2025-08-06 07:23:42,558 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.526/2.588/1.062 ms') 2025-08-06 07:23:42,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75631695 passed 2025-08-06 07:23:42,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:23:42,709 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75631695, IP 216.231.165.5, Port 22 2025-08-06 07:23:42,860 - DEBUG - VM ctest-vn1-vm2-75631695 is ready for SSH connections 2025-08-06 07:23:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:23:42,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:23:42,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:23:42,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.150.15.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:23:42,861 - DEBUG - ping -s 56 -c 3 -W 1 24.150.15.69 2025-08-06 07:23:45,529 - DEBUG - PING 24.150.15.69 (24.150.15.69): 56 data bytes 64 bytes from 24.150.15.69: seq=0 ttl=63 time=3.345 ms 64 bytes from 24.150.15.69: seq=1 ttl=63 time=0.797 ms 64 bytes from 24.150.15.69: seq=2 ttl=63 time=0.858 ms --- 24.150.15.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.666/3.345 ms 2025-08-06 07:23:45,529 - INFO - Ping to IP 24.150.15.69 from VM ctest-vn1-vm2-75631695 passed 2025-08-06 07:23:45,529 - INFO - Detaching port 9b6ade55-77e8-4e83-98d4-4f0b6207048a from VM ctest-vn1-vm2-75631695 2025-08-06 07:23:45,578 - INFO - Deleting VM ctest-vn1-vm2-75631695 2025-08-06 07:23:45,657 - INFO - Detaching port 0cc385a7-b5ba-4c22-b542-62e0176276fa from VM ctest-vn1-vm1-39268921 2025-08-06 07:23:45,692 - INFO - Deleting VM ctest-vn1-vm1-39268921 2025-08-06 07:23:45,922 - DEBUG - Response for delete_port : () 2025-08-06 07:23:46,114 - DEBUG - Response for delete_port : () 2025-08-06 07:23:46,114 - INFO - Deleting VN ctest-vn1-38567185 2025-08-06 07:23:46,287 - DEBUG - Response for deleting network () 2025-08-06 07:23:46,560 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 07:23:46,560 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-06 07:23:46,561 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:23:47,321 - INFO - Deleted project: ctest-TestPorts-35059373, ID : ef29a9e4-8daa-477f-9358-952ff677f0d6