2025-08-11 13:13:16,043 - INFO - Domain Default found not creating
2025-08-11 13:13:16,199 - INFO - Project ctest-TestPorts-92001162 not found, creating it
2025-08-11 13:13:16,645 - INFO - Created Project:ctest-TestPorts-92001162, ID : 8ba96515-2f52-47ca-8589-447ff352c3b0
2025-08-11 13:13:19,001 - INFO - ================================================================================
2025-08-11 13:13:19,001 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 13:13:19,001 - 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-11 13:13:19,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with
2025-08-11 13:13:19,259 - INFO - Initial checks done. Running the testcase now
2025-08-11 13:13:19,259 - INFO -
2025-08-11 13:13:19,859 - DEBUG - Response for create_network : {'network': {'id': '3edd9ede-374c-4c1b-b71e-e54c935b12e0', 'name': 'ctest-vn-76494614', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'project_id': '8ba965152f5247ca8589447ff352c3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92001162', 'ctest-vn-76494614'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 13:13:20,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae6a8695-91c6-4619-86fe-9dcb32304846', 'name': '', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '3edd9ede-374c-4c1b-b71e-e54c935b12e0', 'ip_version': 4, 'cidr': '175.85.126.64/26', 'allocation_pools': [{'start': '175.85.126.66', 'end': '175.85.126.126'}], 'gateway_ip': '175.85.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.85.126.66', 'tags': [], 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:20,060 - INFO - Created VN ctest-vn-76494614
2025-08-11 13:13:20,116 - DEBUG - VN ctest-vn-76494614 UUID is 3edd9ede-374c-4c1b-b71e-e54c935b12e0
2025-08-11 13:13:20,228 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92001162', 'ctest-vmi-59312962']}
2025-08-11 13:13:20,518 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59312962', 'id': '06bfa75a-9af7-4d94-b895-4424bb98ecdb', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '3edd9ede-374c-4c1b-b71e-e54c935b12e0', 'mac_address': '02:06:bf:a7:5a:9a', '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': '175.85.126.67', 'subnet_id': 'ae6a8695-91c6-4619-86fe-9dcb32304846'}], 'security_groups': ['58cba42b-f3f0-4ef0-93bf-444e7925b479'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:20,519 - DEBUG - Created port 06bfa75a-9af7-4d94-b895-4424bb98ecdb
2025-08-11 13:13:20,624 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/06bfa75a-9af7-4d94-b895-4424bb98ecdb
2025-08-11 13:13:20,959 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/06bfa75a-9af7-4d94-b895-4424bb98ecdb
2025-08-11 13:13:20,994 - INFO - VMI 06bfa75a-9af7-4d94-b895-4424bb98ecdb verification in API Server passed
2025-08-11 13:13:21,087 - DEBUG - Response for delete_port : ()
2025-08-11 13:13:21,087 - INFO - Deleted port 06bfa75a-9af7-4d94-b895-4424bb98ecdb
2025-08-11 13:13:21,087 - INFO - Deleting VN ctest-vn-76494614
2025-08-11 13:13:21,203 - DEBUG - Response for deleting network ()
2025-08-11 13:13:21,463 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:13:21,463 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 13:13:21,463 - INFO - --------------------------------------------------------------------------------
2025-08-11 13:13:21,466 - INFO - ================================================================================
2025-08-11 13:13:21,466 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 13:13:21,466 - 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-11 13:13:21,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with
2025-08-11 13:13:21,750 - INFO - Initial checks done. Running the testcase now
2025-08-11 13:13:21,750 - INFO -
2025-08-11 13:13:21,930 - DEBUG - Response for create_network : {'network': {'id': '7dbe8c7d-52b9-4a1c-a0c9-233655a15c13', 'name': 'ctest-vn1-66356143', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'project_id': '8ba965152f5247ca8589447ff352c3b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92001162', 'ctest-vn1-66356143'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 13:13:22,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '05cf7c8e-97a4-4f8b-9b79-123a6c92e24c', 'name': '', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '7dbe8c7d-52b9-4a1c-a0c9-233655a15c13', 'ip_version': 4, 'cidr': '21.213.200.128/26', 'allocation_pools': [{'start': '21.213.200.130', 'end': '21.213.200.190'}], 'gateway_ip': '21.213.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.213.200.130', 'tags': [], 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:22,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '721d5e9d-8fff-4c69-97e6-0fba01344a65', 'name': '', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '7dbe8c7d-52b9-4a1c-a0c9-233655a15c13', 'ip_version': 4, 'cidr': '107.127.230.0/26', 'allocation_pools': [{'start': '107.127.230.2', 'end': '107.127.230.62'}], 'gateway_ip': '107.127.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.127.230.2', 'tags': [], 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:22,297 - INFO - Created VN ctest-vn1-66356143
2025-08-11 13:13:22,348 - DEBUG - VN ctest-vn1-66356143 UUID is 7dbe8c7d-52b9-4a1c-a0c9-233655a15c13
2025-08-11 13:13:22,641 - DEBUG - Response for create_port : {'port': {'name': '0b9c3a9c-4922-4e0e-a429-ebf1020d6696', 'id': '0b9c3a9c-4922-4e0e-a429-ebf1020d6696', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '7dbe8c7d-52b9-4a1c-a0c9-233655a15c13', 'mac_address': '02:0b:9c:3a:9c:49', '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': '21.213.200.133', 'subnet_id': '05cf7c8e-97a4-4f8b-9b79-123a6c92e24c'}], 'security_groups': ['58cba42b-f3f0-4ef0-93bf-444e7925b479'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:22,832 - DEBUG - Response for create_port : {'port': {'name': 'a411aa50-6cea-46b2-928c-965b39200e3a', 'id': 'a411aa50-6cea-46b2-928c-965b39200e3a', 'tenant_id': '8ba965152f5247ca8589447ff352c3b0', 'network_id': '7dbe8c7d-52b9-4a1c-a0c9-233655a15c13', 'mac_address': '02:a4:11:aa:50:6c', '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': '107.127.230.5', 'subnet_id': '721d5e9d-8fff-4c69-97e6-0fba01344a65'}], 'security_groups': ['58cba42b-f3f0-4ef0-93bf-444e7925b479'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ba965152f5247ca8589447ff352c3b0'}}
2025-08-11 13:13:22,886 - DEBUG - Services list from nova: [, , ]
2025-08-11 13:13:23,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1)
2025-08-11 13:13:23,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1)
2025-08-11 13:13:23,710 - INFO - Waiting for VM ctest-vn1-vm1-36648928 to be up..
2025-08-11 13:13:23,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 13:13:28,823 - DEBUG - VM is in ACTIVE state now
2025-08-11 13:13:28,823 - INFO - VM name : ctest-vn1-vm1-36648928
2025-08-11 13:13:28,894 - DEBUG - VM ctest-vn1-vm1-36648928 ID is 979a794a-623b-4edb-9632-f0eeb7e0e980
2025-08-11 13:13:28,913 - DEBUG - VM ctest-vn1-vm1-36648928 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1
2025-08-11 13:13:28,977 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/979a794a-623b-4edb-9632-f0eeb7e0e980
2025-08-11 13:13:28,985 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0b9c3a9c-4922-4e0e-a429-ebf1020d6696
2025-08-11 13:13:32,252 - 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 1027ms')
2025-08-11 13:13:32,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36648928 failed!
2025-08-11 13:13:32,308 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92001162:ctest-vn1-66356143 is 21.213.200.129 and allocation pool is NOT set
2025-08-11 13:13:32,308 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92001162:ctest-vn1-66356143 is 107.127.230.1 and allocation pool is NOT set
2025-08-11 13:13:36,370 - 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=9.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 9.456/9.456/9.456/0.000 ms')
2025-08-11 13:13:36,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36648928 passed
2025-08-11 13:13:36,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:13:36,520 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36648928, IP 21.213.200.133, Port 22
2025-08-11 13:13:36,679 - DEBUG - VM ctest-vn1-vm1-36648928 is ready for SSH connections
2025-08-11 13:13:36,679 - INFO - Waiting for VM ctest-vn1-vm2-74245733 to be up..
2025-08-11 13:13:36,749 - DEBUG - VM is in ACTIVE state now
2025-08-11 13:13:36,749 - INFO - VM name : ctest-vn1-vm2-74245733
2025-08-11 13:13:36,816 - DEBUG - VM ctest-vn1-vm2-74245733 ID is 2b2b5c76-40a8-4d24-9958-dfba23bde3a7
2025-08-11 13:13:36,816 - DEBUG - VM ctest-vn1-vm2-74245733 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1
2025-08-11 13:13:36,884 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2b2b5c76-40a8-4d24-9958-dfba23bde3a7
2025-08-11 13:13:36,893 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a411aa50-6cea-46b2-928c-965b39200e3a
2025-08-11 13:13:38,128 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.402/1.713/3.024/1.311 ms')
2025-08-11 13:13:38,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74245733 passed
2025-08-11 13:13:38,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:13:38,280 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74245733, IP 107.127.230.5, Port 22
2025-08-11 13:13:38,439 - DEBUG - VM ctest-vn1-vm2-74245733 is ready for SSH connections
2025-08-11 13:13:38,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:13:38,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:13:38,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:13:38,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.213.200.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-11 13:13:38,440 - DEBUG - ping -s 56 -c 3 -W 1 21.213.200.133
2025-08-11 13:13:41,410 - DEBUG - PING 21.213.200.133 (21.213.200.133): 56 data bytes
64 bytes from 21.213.200.133: seq=0 ttl=63 time=4.106 ms
64 bytes from 21.213.200.133: seq=1 ttl=63 time=0.802 ms
64 bytes from 21.213.200.133: seq=2 ttl=63 time=0.822 ms
--- 21.213.200.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.802/1.910/4.106 ms
2025-08-11 13:13:41,410 - INFO - Ping to IP 21.213.200.133 from VM ctest-vn1-vm2-74245733 passed
2025-08-11 13:13:41,410 - INFO - Detaching port a411aa50-6cea-46b2-928c-965b39200e3a from VM ctest-vn1-vm2-74245733
2025-08-11 13:13:41,488 - INFO - Deleting VM ctest-vn1-vm2-74245733
2025-08-11 13:13:41,554 - INFO - Detaching port 0b9c3a9c-4922-4e0e-a429-ebf1020d6696 from VM ctest-vn1-vm1-36648928
2025-08-11 13:13:41,586 - INFO - Deleting VM ctest-vn1-vm1-36648928
2025-08-11 13:13:41,832 - DEBUG - Response for delete_port : ()
2025-08-11 13:13:41,992 - DEBUG - Response for delete_port : ()
2025-08-11 13:13:41,992 - INFO - Deleting VN ctest-vn1-66356143
2025-08-11 13:13:42,121 - DEBUG - Response for deleting network ()
2025-08-11 13:13:42,373 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:13:42,373 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-11 13:13:42,373 - INFO - --------------------------------------------------------------------------------
2025-08-11 13:13:43,084 - INFO - Deleted project: ctest-TestPorts-92001162, ID : 8ba96515-2f52-47ca-8589-447ff352c3b0