2025-10-16 09:20:50,188 - INFO - Domain Default found not creating 2025-10-16 09:20:50,333 - INFO - Project ctest-TestPorts-05093404 not found, creating it 2025-10-16 09:20:50,791 - INFO - Created Project:ctest-TestPorts-05093404, ID : 577045e0-3dd9-4890-afde-d647c8b76e03 2025-10-16 09:20:52,152 - INFO - ================================================================================ 2025-10-16 09:20:52,152 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 09:20:52,152 - 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-16 09:20:52,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-16 09:20:52,408 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:20:52,408 - INFO - 2025-10-16 09:20:52,934 - DEBUG - Response for create_network : {'network': {'id': '60408fa0-6102-408c-bdac-a6aeadacd1b8', 'name': 'ctest-vn-89576460', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'project_id': '577045e03dd94890afded647c8b76e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05093404', 'ctest-vn-89576460'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:20:53,117 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8175906-7ee0-40a0-91f0-3ecb4a22360d', 'name': '', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '60408fa0-6102-408c-bdac-a6aeadacd1b8', 'ip_version': 4, 'cidr': '31.148.48.0/26', 'allocation_pools': [{'start': '31.148.48.2', 'end': '31.148.48.62'}], 'gateway_ip': '31.148.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.148.48.2', 'tags': [], 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:53,134 - INFO - Created VN ctest-vn-89576460 2025-10-16 09:20:53,187 - DEBUG - VN ctest-vn-89576460 UUID is 60408fa0-6102-408c-bdac-a6aeadacd1b8 2025-10-16 09:20:53,291 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05093404', 'ctest-vmi-16256250']} 2025-10-16 09:20:53,574 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16256250', 'id': 'eb8df35c-75af-40cb-a01e-80e6e5366fdd', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '60408fa0-6102-408c-bdac-a6aeadacd1b8', 'mac_address': '02:eb:8d:f3:5c:75', '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': '31.148.48.3', 'subnet_id': 'f8175906-7ee0-40a0-91f0-3ecb4a22360d'}], 'security_groups': ['21429af5-6c71-4cda-8e47-28400dc303aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:53,575 - DEBUG - Created port eb8df35c-75af-40cb-a01e-80e6e5366fdd 2025-10-16 09:20:53,687 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eb8df35c-75af-40cb-a01e-80e6e5366fdd 2025-10-16 09:20:53,984 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eb8df35c-75af-40cb-a01e-80e6e5366fdd 2025-10-16 09:20:54,028 - INFO - VMI eb8df35c-75af-40cb-a01e-80e6e5366fdd verification in API Server passed 2025-10-16 09:20:54,131 - DEBUG - Response for delete_port : () 2025-10-16 09:20:54,131 - INFO - Deleted port eb8df35c-75af-40cb-a01e-80e6e5366fdd 2025-10-16 09:20:54,132 - INFO - Deleting VN ctest-vn-89576460 2025-10-16 09:20:54,234 - DEBUG - Response for deleting network () 2025-10-16 09:20:54,488 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 09:20:54,488 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-16 09:20:54,489 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:20:54,493 - INFO - ================================================================================ 2025-10-16 09:20:54,493 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 09:20:54,493 - 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-16 09:20:54,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-16 09:20:54,783 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:20:54,783 - INFO - 2025-10-16 09:20:54,972 - DEBUG - Response for create_network : {'network': {'id': '94de6378-2649-4c8b-b462-6ef397896ee4', 'name': 'ctest-vn1-67088530', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'project_id': '577045e03dd94890afded647c8b76e03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05093404', 'ctest-vn1-67088530'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:20:55,162 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdde0e26-c7c5-4709-a0fc-b87302a82cde', 'name': '', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '94de6378-2649-4c8b-b462-6ef397896ee4', 'ip_version': 4, 'cidr': '144.78.124.0/26', 'allocation_pools': [{'start': '144.78.124.2', 'end': '144.78.124.62'}], 'gateway_ip': '144.78.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.78.124.2', 'tags': [], 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:55,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ff9130c-af42-4d21-a8b2-ce07a2b2f0a5', 'name': '', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '94de6378-2649-4c8b-b462-6ef397896ee4', 'ip_version': 4, 'cidr': '120.15.206.0/26', 'allocation_pools': [{'start': '120.15.206.2', 'end': '120.15.206.62'}], 'gateway_ip': '120.15.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.15.206.2', 'tags': [], 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:55,354 - INFO - Created VN ctest-vn1-67088530 2025-10-16 09:20:55,408 - DEBUG - VN ctest-vn1-67088530 UUID is 94de6378-2649-4c8b-b462-6ef397896ee4 2025-10-16 09:20:55,701 - DEBUG - Response for create_port : {'port': {'name': 'e7abaadd-b8d1-45fe-bfe1-ee488d30bb8b', 'id': 'e7abaadd-b8d1-45fe-bfe1-ee488d30bb8b', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '94de6378-2649-4c8b-b462-6ef397896ee4', 'mac_address': '02:e7:ab:aa:dd:b8', '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': '144.78.124.5', 'subnet_id': 'fdde0e26-c7c5-4709-a0fc-b87302a82cde'}], 'security_groups': ['21429af5-6c71-4cda-8e47-28400dc303aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:55,877 - DEBUG - Response for create_port : {'port': {'name': 'c2fba5a9-8eb3-4f4b-8d3f-8805668bd41e', 'id': 'c2fba5a9-8eb3-4f4b-8d3f-8805668bd41e', 'tenant_id': '577045e03dd94890afded647c8b76e03', 'network_id': '94de6378-2649-4c8b-b462-6ef397896ee4', 'mac_address': '02:c2:fb:a5:a9:8e', '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': '120.15.206.5', 'subnet_id': '3ff9130c-af42-4d21-a8b2-ce07a2b2f0a5'}], 'security_groups': ['21429af5-6c71-4cda-8e47-28400dc303aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '577045e03dd94890afded647c8b76e03'}} 2025-10-16 09:20:55,935 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:20:56,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:20:56,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4341-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4341-1) 2025-10-16 09:20:56,620 - INFO - Waiting for VM ctest-vn1-vm1-83895266 to be up.. 2025-10-16 09:20:56,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:21:01,726 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:21:01,726 - INFO - VM name : ctest-vn1-vm1-83895266 2025-10-16 09:21:01,799 - DEBUG - VM ctest-vn1-vm1-83895266 ID is a5e96116-4da8-4cda-b013-51aa67357580 2025-10-16 09:21:01,818 - DEBUG - VM ctest-vn1-vm1-83895266 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:21:01,917 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a5e96116-4da8-4cda-b013-51aa67357580 2025-10-16 09:21:01,925 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e7abaadd-b8d1-45fe-bfe1-ee488d30bb8b 2025-10-16 09:21:05,194 - 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 1031ms') 2025-10-16 09:21:05,194 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83895266 failed! 2025-10-16 09:21:05,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05093404:ctest-vn1-67088530 is 144.78.124.1 and allocation pool is NOT set 2025-10-16 09:21:05,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05093404:ctest-vn1-67088530 is 120.15.206.1 and allocation pool is NOT set 2025-10-16 09:21:07,304 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.580 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.580/2.010/3.441/1.430 ms') 2025-10-16 09:21:07,304 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83895266 passed 2025-10-16 09:21:07,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:21:07,451 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83895266, IP 144.78.124.5, Port 22 2025-10-16 09:21:07,606 - DEBUG - VM ctest-vn1-vm1-83895266 is ready for SSH connections 2025-10-16 09:21:07,606 - INFO - Waiting for VM ctest-vn1-vm2-32606053 to be up.. 2025-10-16 09:21:07,684 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:21:07,684 - INFO - VM name : ctest-vn1-vm2-32606053 2025-10-16 09:21:07,751 - DEBUG - VM ctest-vn1-vm2-32606053 ID is a4aa32cd-44e9-4d3a-b540-34ec5a920e36 2025-10-16 09:21:07,751 - DEBUG - VM ctest-vn1-vm2-32606053 launched on Node cn-jenkins-deploy-platform-ansible-os-4341-1 2025-10-16 09:21:07,817 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a4aa32cd-44e9-4d3a-b540-34ec5a920e36 2025-10-16 09:21:07,825 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c2fba5a9-8eb3-4f4b-8d3f-8805668bd41e 2025-10-16 09:21:09,060 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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 = 0.439/2.205/3.971/1.766 ms') 2025-10-16 09:21:09,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-32606053 passed 2025-10-16 09:21:09,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:21:09,207 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32606053, IP 120.15.206.5, Port 22 2025-10-16 09:21:09,358 - DEBUG - VM ctest-vn1-vm2-32606053 is ready for SSH connections 2025-10-16 09:21:09,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:21:09,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:21:09,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:21:09,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.78.124.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-16 09:21:09,359 - DEBUG - ping -s 56 -c 3 -W 1 144.78.124.5 2025-10-16 09:21:13,371 - DEBUG - PING 144.78.124.5 (144.78.124.5): 56 data bytes 64 bytes from 144.78.124.5: seq=0 ttl=63 time=3.338 ms 64 bytes from 144.78.124.5: seq=1 ttl=63 time=0.783 ms 64 bytes from 144.78.124.5: seq=2 ttl=63 time=0.887 ms --- 144.78.124.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.669/3.338 ms 2025-10-16 09:21:13,371 - INFO - Ping to IP 144.78.124.5 from VM ctest-vn1-vm2-32606053 passed 2025-10-16 09:21:13,371 - INFO - Detaching port c2fba5a9-8eb3-4f4b-8d3f-8805668bd41e from VM ctest-vn1-vm2-32606053 2025-10-16 09:21:13,431 - INFO - Deleting VM ctest-vn1-vm2-32606053 2025-10-16 09:21:13,505 - INFO - Detaching port e7abaadd-b8d1-45fe-bfe1-ee488d30bb8b from VM ctest-vn1-vm1-83895266 2025-10-16 09:21:13,545 - INFO - Deleting VM ctest-vn1-vm1-83895266 2025-10-16 09:21:13,760 - DEBUG - Response for delete_port : () 2025-10-16 09:21:13,896 - DEBUG - Response for delete_port : () 2025-10-16 09:21:13,896 - INFO - Deleting VN ctest-vn1-67088530 2025-10-16 09:21:14,007 - DEBUG - Response for deleting network () 2025-10-16 09:21:14,271 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 09:21:14,271 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-16 09:21:14,271 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:21:14,954 - INFO - Deleted project: ctest-TestPorts-05093404, ID : 577045e0-3dd9-4890-afde-d647c8b76e03