2025-09-04 02:06:07,586 - INFO - Domain Default found not creating 2025-09-04 02:06:07,726 - INFO - Project ctest-TestPorts-89899466 not found, creating it 2025-09-04 02:06:08,174 - INFO - Created Project:ctest-TestPorts-89899466, ID : 6076a72c-7249-4c34-b3b4-1e340fc26c37 2025-09-04 02:06:09,770 - INFO - ================================================================================ 2025-09-04 02:06:09,770 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 02:06:09,770 - 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-09-04 02:06:10,028 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0'}} with 2025-09-04 02:06:10,028 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:06:10,029 - INFO - 2025-09-04 02:06:10,611 - DEBUG - Response for create_network : {'network': {'id': '989890d5-893d-4c86-b89b-baad011be764', 'name': 'ctest-vn-58196999', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'project_id': '6076a72c72494c34b3b41e340fc26c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89899466', 'ctest-vn-58196999'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:06:10,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '3624d22f-7afe-4d2c-a0a9-fe8514f10bf7', 'name': '', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '989890d5-893d-4c86-b89b-baad011be764', 'ip_version': 4, 'cidr': '122.244.191.192/26', 'allocation_pools': [{'start': '122.244.191.194', 'end': '122.244.191.254'}], 'gateway_ip': '122.244.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.244.191.194', 'tags': [], 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:10,781 - INFO - Created VN ctest-vn-58196999 2025-09-04 02:06:10,831 - DEBUG - VN ctest-vn-58196999 UUID is 989890d5-893d-4c86-b89b-baad011be764 2025-09-04 02:06:10,937 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89899466', 'ctest-vmi-95929799']} 2025-09-04 02:06:11,219 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95929799', 'id': '457909dc-cc2f-4b4d-b1b9-abebc390ecb9', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '989890d5-893d-4c86-b89b-baad011be764', 'mac_address': '02:45:79:09:dc:cc', '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': '122.244.191.195', 'subnet_id': '3624d22f-7afe-4d2c-a0a9-fe8514f10bf7'}], 'security_groups': ['d9d8547f-583c-49a8-a35c-09c277c27cf8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:11,219 - DEBUG - Created port 457909dc-cc2f-4b4d-b1b9-abebc390ecb9 2025-09-04 02:06:11,323 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/457909dc-cc2f-4b4d-b1b9-abebc390ecb9 2025-09-04 02:06:11,656 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/457909dc-cc2f-4b4d-b1b9-abebc390ecb9 2025-09-04 02:06:11,687 - INFO - VMI 457909dc-cc2f-4b4d-b1b9-abebc390ecb9 verification in API Server passed 2025-09-04 02:06:11,771 - DEBUG - Response for delete_port : () 2025-09-04 02:06:11,771 - INFO - Deleted port 457909dc-cc2f-4b4d-b1b9-abebc390ecb9 2025-09-04 02:06:11,771 - INFO - Deleting VN ctest-vn-58196999 2025-09-04 02:06:11,873 - DEBUG - Response for deleting network () 2025-09-04 02:06:12,137 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:06:12,137 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-04 02:06:12,137 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:06:12,139 - INFO - ================================================================================ 2025-09-04 02:06:12,139 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 02:06:12,139 - 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-09-04 02:06:12,425 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0'}} with 2025-09-04 02:06:12,425 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:06:12,425 - INFO - 2025-09-04 02:06:12,728 - DEBUG - Response for create_network : {'network': {'id': '4e431aeb-aefa-404a-bee2-f50cce8ce584', 'name': 'ctest-vn1-32905043', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'project_id': '6076a72c72494c34b3b41e340fc26c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89899466', 'ctest-vn1-32905043'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:06:12,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af416e8c-57bd-4612-9c14-4e19657a134d', 'name': '', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '4e431aeb-aefa-404a-bee2-f50cce8ce584', 'ip_version': 4, 'cidr': '209.99.8.64/26', 'allocation_pools': [{'start': '209.99.8.66', 'end': '209.99.8.126'}], 'gateway_ip': '209.99.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.99.8.66', 'tags': [], 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:13,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '50fd4cb2-be1a-46ef-91dc-66817eaef40c', 'name': '', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '4e431aeb-aefa-404a-bee2-f50cce8ce584', 'ip_version': 4, 'cidr': '7.164.237.0/26', 'allocation_pools': [{'start': '7.164.237.2', 'end': '7.164.237.62'}], 'gateway_ip': '7.164.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.164.237.2', 'tags': [], 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:13,093 - INFO - Created VN ctest-vn1-32905043 2025-09-04 02:06:13,143 - DEBUG - VN ctest-vn1-32905043 UUID is 4e431aeb-aefa-404a-bee2-f50cce8ce584 2025-09-04 02:06:13,439 - DEBUG - Response for create_port : {'port': {'name': '3dadfb9b-c84d-4309-aa42-001c76669cf4', 'id': '3dadfb9b-c84d-4309-aa42-001c76669cf4', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '4e431aeb-aefa-404a-bee2-f50cce8ce584', 'mac_address': '02:3d:ad:fb:9b:c8', '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': '209.99.8.69', 'subnet_id': 'af416e8c-57bd-4612-9c14-4e19657a134d'}], 'security_groups': ['d9d8547f-583c-49a8-a35c-09c277c27cf8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:13,607 - DEBUG - Response for create_port : {'port': {'name': '62a2aa9c-81d4-4422-ba00-805b060caa12', 'id': '62a2aa9c-81d4-4422-ba00-805b060caa12', 'tenant_id': '6076a72c72494c34b3b41e340fc26c37', 'network_id': '4e431aeb-aefa-404a-bee2-f50cce8ce584', 'mac_address': '02:62:a2:aa:9c:81', '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': '7.164.237.5', 'subnet_id': '50fd4cb2-be1a-46ef-91dc-66817eaef40c'}], 'security_groups': ['d9d8547f-583c-49a8-a35c-09c277c27cf8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6076a72c72494c34b3b41e340fc26c37'}} 2025-09-04 02:06:13,662 - DEBUG - Services list from nova: [, , ] 2025-09-04 02:06:13,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:06:14,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4011-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4011-1) 2025-09-04 02:06:14,368 - INFO - Waiting for VM ctest-vn1-vm1-88601377 to be up.. 2025-09-04 02:06:14,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:06:19,478 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:06:19,478 - INFO - VM name : ctest-vn1-vm1-88601377 2025-09-04 02:06:19,547 - DEBUG - VM ctest-vn1-vm1-88601377 ID is 29138fa1-f1d4-4889-b241-f7df62f09f37 2025-09-04 02:06:19,565 - DEBUG - VM ctest-vn1-vm1-88601377 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:06:19,633 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/29138fa1-f1d4-4889-b241-f7df62f09f37 2025-09-04 02:06:19,640 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/3dadfb9b-c84d-4309-aa42-001c76669cf4 2025-09-04 02:06:22,894 - 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-09-04 02:06:22,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88601377 failed! 2025-09-04 02:06:22,947 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89899466:ctest-vn1-32905043 is 209.99.8.65 and allocation pool is NOT set 2025-09-04 02:06:22,947 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89899466:ctest-vn1-32905043 is 7.164.237.1 and allocation pool is NOT set 2025-09-04 02:06:27,012 - 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=8.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 8.842/8.842/8.842/0.000 ms') 2025-09-04 02:06:27,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88601377 passed 2025-09-04 02:06:27,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:06:27,163 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88601377, IP 209.99.8.69, Port 22 2025-09-04 02:06:27,323 - DEBUG - VM ctest-vn1-vm1-88601377 is ready for SSH connections 2025-09-04 02:06:27,323 - INFO - Waiting for VM ctest-vn1-vm2-01135773 to be up.. 2025-09-04 02:06:27,400 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:06:27,400 - INFO - VM name : ctest-vn1-vm2-01135773 2025-09-04 02:06:27,470 - DEBUG - VM ctest-vn1-vm2-01135773 ID is 276e779c-8f65-47b9-8274-e868440459fb 2025-09-04 02:06:27,470 - DEBUG - VM ctest-vn1-vm2-01135773 launched on Node cn-jenkins-deploy-platform-ansible-os-4011-1 2025-09-04 02:06:27,542 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/276e779c-8f65-47b9-8274-e868440459fb 2025-09-04 02:06:27,550 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/62a2aa9c-81d4-4422-ba00-805b060caa12 2025-09-04 02:06:28,779 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.753/3.122/1.368 ms') 2025-09-04 02:06:28,779 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01135773 passed 2025-09-04 02:06:28,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:06:28,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01135773, IP 7.164.237.5, Port 22 2025-09-04 02:06:29,087 - DEBUG - VM ctest-vn1-vm2-01135773 is ready for SSH connections 2025-09-04 02:06:29,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:06:29,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:06:29,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:06:29,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.99.8.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-09-04 02:06:29,087 - DEBUG - ping -s 56 -c 3 -W 1 209.99.8.69 2025-09-04 02:06:31,773 - DEBUG - PING 209.99.8.69 (209.99.8.69): 56 data bytes 64 bytes from 209.99.8.69: seq=0 ttl=63 time=4.363 ms 64 bytes from 209.99.8.69: seq=1 ttl=63 time=0.907 ms 64 bytes from 209.99.8.69: seq=2 ttl=63 time=0.807 ms --- 209.99.8.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/2.025/4.363 ms 2025-09-04 02:06:31,773 - INFO - Ping to IP 209.99.8.69 from VM ctest-vn1-vm2-01135773 passed 2025-09-04 02:06:31,773 - INFO - Detaching port 62a2aa9c-81d4-4422-ba00-805b060caa12 from VM ctest-vn1-vm2-01135773 2025-09-04 02:06:31,820 - INFO - Deleting VM ctest-vn1-vm2-01135773 2025-09-04 02:06:31,883 - INFO - Detaching port 3dadfb9b-c84d-4309-aa42-001c76669cf4 from VM ctest-vn1-vm1-88601377 2025-09-04 02:06:31,917 - INFO - Deleting VM ctest-vn1-vm1-88601377 2025-09-04 02:06:32,150 - DEBUG - Response for delete_port : () 2025-09-04 02:06:32,350 - DEBUG - Response for delete_port : () 2025-09-04 02:06:32,350 - INFO - Deleting VN ctest-vn1-32905043 2025-09-04 02:06:32,487 - DEBUG - Response for deleting network () 2025-09-04 02:06:32,749 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:06:32,749 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-04 02:06:32,749 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:06:33,484 - INFO - Deleted project: ctest-TestPorts-89899466, ID : 6076a72c-7249-4c34-b3b4-1e340fc26c37