2025-08-19 12:56:17,183 - INFO - Domain Default found not creating 2025-08-19 12:56:17,299 - INFO - Project ctest-TestPorts-01707636 not found, creating it 2025-08-19 12:56:17,816 - INFO - Created Project:ctest-TestPorts-01707636, ID : 323caa65-2f1b-45b9-9f2d-1965c815a9ba 2025-08-19 12:56:19,166 - INFO - ================================================================================ 2025-08-19 12:56:19,167 - INFO - STARTING TEST : test_ports_bindings 2025-08-19 12:56:19,167 - 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-19 12:56:19,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-08-19 12:56:19,424 - INFO - Initial checks done. Running the testcase now 2025-08-19 12:56:19,424 - INFO - 2025-08-19 12:56:20,001 - DEBUG - Response for create_network : {'network': {'id': 'e7fd34f5-7393-41af-85c6-76f4a74b0748', 'name': 'ctest-vn-40833058', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'project_id': '323caa652f1b45b99f2d1965c815a9ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01707636', 'ctest-vn-40833058'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:56:20,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '023844b5-3a22-4608-9d2a-399ac064a78c', 'name': '', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': 'e7fd34f5-7393-41af-85c6-76f4a74b0748', 'ip_version': 4, 'cidr': '123.73.179.64/26', 'allocation_pools': [{'start': '123.73.179.66', 'end': '123.73.179.126'}], 'gateway_ip': '123.73.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.73.179.66', 'tags': [], 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:20,217 - INFO - Created VN ctest-vn-40833058 2025-08-19 12:56:20,268 - DEBUG - VN ctest-vn-40833058 UUID is e7fd34f5-7393-41af-85c6-76f4a74b0748 2025-08-19 12:56:20,361 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01707636', 'ctest-vmi-28508975']} 2025-08-19 12:56:20,628 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28508975', 'id': '6f7ef807-a118-4712-bad5-60cd1d21461a', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': 'e7fd34f5-7393-41af-85c6-76f4a74b0748', 'mac_address': '02:6f:7e:f8:07:a1', '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': '123.73.179.67', 'subnet_id': '023844b5-3a22-4608-9d2a-399ac064a78c'}], 'security_groups': ['7594e53d-ad95-4e30-8172-80423f9945f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:20,628 - DEBUG - Created port 6f7ef807-a118-4712-bad5-60cd1d21461a 2025-08-19 12:56:20,736 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6f7ef807-a118-4712-bad5-60cd1d21461a 2025-08-19 12:56:21,022 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6f7ef807-a118-4712-bad5-60cd1d21461a 2025-08-19 12:56:21,049 - INFO - VMI 6f7ef807-a118-4712-bad5-60cd1d21461a verification in API Server passed 2025-08-19 12:56:21,131 - DEBUG - Response for delete_port : () 2025-08-19 12:56:21,131 - INFO - Deleted port 6f7ef807-a118-4712-bad5-60cd1d21461a 2025-08-19 12:56:21,131 - INFO - Deleting VN ctest-vn-40833058 2025-08-19 12:56:21,220 - DEBUG - Response for deleting network () 2025-08-19 12:56:21,472 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 12:56:21,472 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-19 12:56:21,472 - INFO - -------------------------------------------------------------------------------- 2025-08-19 12:56:21,474 - INFO - ================================================================================ 2025-08-19 12:56:21,475 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-19 12:56:21,475 - 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-19 12:56:21,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-08-19 12:56:21,768 - INFO - Initial checks done. Running the testcase now 2025-08-19 12:56:21,768 - INFO - 2025-08-19 12:56:21,934 - DEBUG - Response for create_network : {'network': {'id': '47a9f770-9613-4a0d-854e-c2418e8e1522', 'name': 'ctest-vn1-91964252', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'project_id': '323caa652f1b45b99f2d1965c815a9ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01707636', 'ctest-vn1-91964252'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:56:22,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '324abb6e-6bb3-4802-87e0-55cf07346547', 'name': '', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': '47a9f770-9613-4a0d-854e-c2418e8e1522', 'ip_version': 4, 'cidr': '85.30.132.0/26', 'allocation_pools': [{'start': '85.30.132.2', 'end': '85.30.132.62'}], 'gateway_ip': '85.30.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.30.132.2', 'tags': [], 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:22,238 - DEBUG - Response for create_subnet : {'subnet': {'id': '1041cdb5-adb2-4d9c-96e7-d9cd5e3455ed', 'name': '', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': '47a9f770-9613-4a0d-854e-c2418e8e1522', 'ip_version': 4, 'cidr': '144.142.105.128/26', 'allocation_pools': [{'start': '144.142.105.130', 'end': '144.142.105.190'}], 'gateway_ip': '144.142.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.142.105.130', 'tags': [], 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:22,253 - INFO - Created VN ctest-vn1-91964252 2025-08-19 12:56:22,308 - DEBUG - VN ctest-vn1-91964252 UUID is 47a9f770-9613-4a0d-854e-c2418e8e1522 2025-08-19 12:56:22,571 - DEBUG - Response for create_port : {'port': {'name': '35b4fbfa-4dd5-4e3c-ab31-aa2135947e09', 'id': '35b4fbfa-4dd5-4e3c-ab31-aa2135947e09', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': '47a9f770-9613-4a0d-854e-c2418e8e1522', 'mac_address': '02:35:b4:fb:fa:4d', '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': '85.30.132.5', 'subnet_id': '324abb6e-6bb3-4802-87e0-55cf07346547'}], 'security_groups': ['7594e53d-ad95-4e30-8172-80423f9945f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:22,742 - DEBUG - Response for create_port : {'port': {'name': '2d7b55a2-a9d4-45aa-a5c2-ae3433e4c3af', 'id': '2d7b55a2-a9d4-45aa-a5c2-ae3433e4c3af', 'tenant_id': '323caa652f1b45b99f2d1965c815a9ba', 'network_id': '47a9f770-9613-4a0d-854e-c2418e8e1522', 'mac_address': '02:2d:7b:55:a2:a9', '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.142.105.133', 'subnet_id': '1041cdb5-adb2-4d9c-96e7-d9cd5e3455ed'}], 'security_groups': ['7594e53d-ad95-4e30-8172-80423f9945f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '323caa652f1b45b99f2d1965c815a9ba'}} 2025-08-19 12:56:22,803 - DEBUG - Services list from nova: [, , ] 2025-08-19 12:56:23,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:56:23,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:56:23,428 - INFO - Waiting for VM ctest-vn1-vm1-10356220 to be up.. 2025-08-19 12:56:23,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 12:56:28,532 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:56:28,533 - INFO - VM name : ctest-vn1-vm1-10356220 2025-08-19 12:56:28,594 - DEBUG - VM ctest-vn1-vm1-10356220 ID is c947253c-ee0d-4947-bc1a-3c4f201911d0 2025-08-19 12:56:28,610 - DEBUG - VM ctest-vn1-vm1-10356220 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:56:28,681 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c947253c-ee0d-4947-bc1a-3c4f201911d0 2025-08-19 12:56:28,688 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/35b4fbfa-4dd5-4e3c-ab31-aa2135947e09 2025-08-19 12:56:31,919 - 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 1004ms') 2025-08-19 12:56:31,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10356220 failed! 2025-08-19 12:56:31,972 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01707636:ctest-vn1-91964252 is 85.30.132.1 and allocation pool is NOT set 2025-08-19 12:56:31,972 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01707636:ctest-vn1-91964252 is 144.142.105.129 and allocation pool is NOT set 2025-08-19 12:56:34,030 - 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=4.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/2.287/4.085/1.798 ms') 2025-08-19 12:56:34,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10356220 passed 2025-08-19 12:56:34,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:34,176 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10356220, IP 85.30.132.5, Port 22 2025-08-19 12:56:34,331 - DEBUG - VM ctest-vn1-vm1-10356220 is ready for SSH connections 2025-08-19 12:56:34,331 - INFO - Waiting for VM ctest-vn1-vm2-01544219 to be up.. 2025-08-19 12:56:34,396 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:56:34,396 - INFO - VM name : ctest-vn1-vm2-01544219 2025-08-19 12:56:34,457 - DEBUG - VM ctest-vn1-vm2-01544219 ID is 51077d6d-8753-4c30-8022-0ab94e087e87 2025-08-19 12:56:34,457 - DEBUG - VM ctest-vn1-vm2-01544219 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:56:34,518 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/51077d6d-8753-4c30-8022-0ab94e087e87 2025-08-19 12:56:34,525 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2d7b55a2-a9d4-45aa-a5c2-ae3433e4c3af 2025-08-19 12:56:35,756 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.516/2.650/1.134 ms') 2025-08-19 12:56:35,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01544219 passed 2025-08-19 12:56:35,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:35,904 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01544219, IP 144.142.105.133, Port 22 2025-08-19 12:56:36,059 - DEBUG - VM ctest-vn1-vm2-01544219 is ready for SSH connections 2025-08-19 12:56:36,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:36,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:36,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:36,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.30.132.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:56:36,059 - DEBUG - ping -s 56 -c 3 -W 1 85.30.132.5 2025-08-19 12:56:39,143 - DEBUG - PING 85.30.132.5 (85.30.132.5): 56 data bytes 64 bytes from 85.30.132.5: seq=0 ttl=63 time=4.912 ms 64 bytes from 85.30.132.5: seq=1 ttl=63 time=1.511 ms 64 bytes from 85.30.132.5: seq=2 ttl=63 time=0.682 ms --- 85.30.132.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/2.368/4.912 ms 2025-08-19 12:56:39,143 - INFO - Ping to IP 85.30.132.5 from VM ctest-vn1-vm2-01544219 passed 2025-08-19 12:56:39,143 - INFO - Detaching port 2d7b55a2-a9d4-45aa-a5c2-ae3433e4c3af from VM ctest-vn1-vm2-01544219 2025-08-19 12:56:39,184 - INFO - Deleting VM ctest-vn1-vm2-01544219 2025-08-19 12:56:39,236 - INFO - Detaching port 35b4fbfa-4dd5-4e3c-ab31-aa2135947e09 from VM ctest-vn1-vm1-10356220 2025-08-19 12:56:39,265 - INFO - Deleting VM ctest-vn1-vm1-10356220 2025-08-19 12:56:39,445 - DEBUG - Response for delete_port : () 2025-08-19 12:56:39,590 - DEBUG - Response for delete_port : () 2025-08-19 12:56:39,590 - INFO - Deleting VN ctest-vn1-91964252 2025-08-19 12:56:39,722 - DEBUG - Response for deleting network () 2025-08-19 12:56:39,984 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 12:56:39,984 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-19 12:56:39,984 - INFO - -------------------------------------------------------------------------------- 2025-08-19 12:56:40,650 - INFO - Deleted project: ctest-TestPorts-01707636, ID : 323caa65-2f1b-45b9-9f2d-1965c815a9ba