2025-09-29 01:48:54,490 - INFO - Domain Default found not creating 2025-09-29 01:48:54,635 - INFO - Project ctest-TestPorts-00019678 not found, creating it 2025-09-29 01:48:55,066 - INFO - Created Project:ctest-TestPorts-00019678, ID : aa67bf85-b95d-4a4d-bc77-60ef76480cb5 2025-09-29 01:48:56,494 - INFO - ================================================================================ 2025-09-29 01:48:56,494 - INFO - STARTING TEST : test_ports_bindings 2025-09-29 01:48:56,494 - 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-29 01:48:56,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-09-29 01:48:56,751 - INFO - Initial checks done. Running the testcase now 2025-09-29 01:48:56,751 - INFO - 2025-09-29 01:48:57,292 - DEBUG - Response for create_network : {'network': {'id': 'a2fa7102-d62e-4e59-8a23-eea4bc7cc52f', 'name': 'ctest-vn-67770504', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00019678', 'ctest-vn-67770504'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:48:57,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cca8abff-5860-4468-8fee-564ee94d675c', 'name': '', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'a2fa7102-d62e-4e59-8a23-eea4bc7cc52f', 'ip_version': 4, 'cidr': '93.153.227.192/26', 'allocation_pools': [{'start': '93.153.227.194', 'end': '93.153.227.254'}], 'gateway_ip': '93.153.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.153.227.194', 'tags': [], 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:48:57,452 - INFO - Created VN ctest-vn-67770504 2025-09-29 01:48:57,502 - DEBUG - VN ctest-vn-67770504 UUID is a2fa7102-d62e-4e59-8a23-eea4bc7cc52f 2025-09-29 01:48:57,608 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00019678', 'ctest-vmi-54140012']} 2025-09-29 01:48:57,874 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54140012', 'id': '33f0aec7-240e-488d-a6d5-3cdc300c0444', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'a2fa7102-d62e-4e59-8a23-eea4bc7cc52f', 'mac_address': '02:33:f0:ae:c7:24', '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': '93.153.227.195', 'subnet_id': 'cca8abff-5860-4468-8fee-564ee94d675c'}], 'security_groups': ['d4146f90-b482-4f7b-8501-322243dd70ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:48:57,874 - DEBUG - Created port 33f0aec7-240e-488d-a6d5-3cdc300c0444 2025-09-29 01:48:57,978 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/33f0aec7-240e-488d-a6d5-3cdc300c0444 2025-09-29 01:48:58,272 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/33f0aec7-240e-488d-a6d5-3cdc300c0444 2025-09-29 01:48:58,300 - INFO - VMI 33f0aec7-240e-488d-a6d5-3cdc300c0444 verification in API Server passed 2025-09-29 01:48:58,395 - DEBUG - Response for delete_port : () 2025-09-29 01:48:58,395 - INFO - Deleted port 33f0aec7-240e-488d-a6d5-3cdc300c0444 2025-09-29 01:48:58,395 - INFO - Deleting VN ctest-vn-67770504 2025-09-29 01:48:58,490 - DEBUG - Response for deleting network () 2025-09-29 01:48:58,743 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 01:48:58,743 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-29 01:48:58,744 - INFO - -------------------------------------------------------------------------------- 2025-09-29 01:48:58,746 - INFO - ================================================================================ 2025-09-29 01:48:58,747 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-29 01:48:58,747 - 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-29 01:48:59,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-09-29 01:48:59,032 - INFO - Initial checks done. Running the testcase now 2025-09-29 01:48:59,032 - INFO - 2025-09-29 01:48:59,218 - DEBUG - Response for create_network : {'network': {'id': 'e9f64cf4-08c3-4b4a-9b3b-0832af7b794c', 'name': 'ctest-vn1-54838952', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00019678', 'ctest-vn1-54838952'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:48:59,399 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb43d779-05d1-4155-96af-eb3f65a509bb', 'name': '', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'e9f64cf4-08c3-4b4a-9b3b-0832af7b794c', 'ip_version': 4, 'cidr': '179.164.134.0/26', 'allocation_pools': [{'start': '179.164.134.2', 'end': '179.164.134.62'}], 'gateway_ip': '179.164.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.164.134.2', 'tags': [], 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:48:59,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '82328df1-230e-4fba-8444-8b0dba5f9c37', 'name': '', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'e9f64cf4-08c3-4b4a-9b3b-0832af7b794c', 'ip_version': 4, 'cidr': '204.252.232.128/26', 'allocation_pools': [{'start': '204.252.232.130', 'end': '204.252.232.190'}], 'gateway_ip': '204.252.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.252.232.130', 'tags': [], 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:48:59,552 - INFO - Created VN ctest-vn1-54838952 2025-09-29 01:48:59,602 - DEBUG - VN ctest-vn1-54838952 UUID is e9f64cf4-08c3-4b4a-9b3b-0832af7b794c 2025-09-29 01:48:59,885 - DEBUG - Response for create_port : {'port': {'name': 'caf89a1e-8e2d-4a71-92a4-38367e0b2363', 'id': 'caf89a1e-8e2d-4a71-92a4-38367e0b2363', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'e9f64cf4-08c3-4b4a-9b3b-0832af7b794c', 'mac_address': '02:ca:f8:9a:1e: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': '179.164.134.5', 'subnet_id': 'fb43d779-05d1-4155-96af-eb3f65a509bb'}], 'security_groups': ['d4146f90-b482-4f7b-8501-322243dd70ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:49:00,042 - DEBUG - Response for create_port : {'port': {'name': '09292995-cf80-412b-b49d-9f961ed2dd16', 'id': '09292995-cf80-412b-b49d-9f961ed2dd16', 'tenant_id': 'aa67bf85b95d4a4dbc7760ef76480cb5', 'network_id': 'e9f64cf4-08c3-4b4a-9b3b-0832af7b794c', 'mac_address': '02:09:29:29:95:cf', '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': '204.252.232.133', 'subnet_id': '82328df1-230e-4fba-8444-8b0dba5f9c37'}], 'security_groups': ['d4146f90-b482-4f7b-8501-322243dd70ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa67bf85b95d4a4dbc7760ef76480cb5'}} 2025-09-29 01:49:00,096 - DEBUG - Services list from nova: [, , ] 2025-09-29 01:49:00,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4202-1) 2025-09-29 01:49:00,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4202-1) 2025-09-29 01:49:00,850 - INFO - Waiting for VM ctest-vn1-vm1-31446864 to be up.. 2025-09-29 01:49:00,890 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 01:49:05,958 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:49:05,958 - INFO - VM name : ctest-vn1-vm1-31446864 2025-09-29 01:49:06,028 - DEBUG - VM ctest-vn1-vm1-31446864 ID is 19ed0d5a-8bf4-4aa9-8ce5-4ca95ac31804 2025-09-29 01:49:06,049 - DEBUG - VM ctest-vn1-vm1-31446864 launched on Node cn-jenkins-deploy-platform-ansible-os-4202-1 2025-09-29 01:49:06,127 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/19ed0d5a-8bf4-4aa9-8ce5-4ca95ac31804 2025-09-29 01:49:06,136 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/caf89a1e-8e2d-4a71-92a4-38367e0b2363 2025-09-29 01:49:09,378 - 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 1014ms') 2025-09-29 01:49:09,378 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-31446864 failed! 2025-09-29 01:49:09,434 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00019678:ctest-vn1-54838952 is 179.164.134.1 and allocation pool is NOT set 2025-09-29 01:49:09,434 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00019678:ctest-vn1-54838952 is 204.252.232.129 and allocation pool is NOT set 2025-09-29 01:49:11,493 - 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=8.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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 = 2.011/5.298/8.585/3.287 ms') 2025-09-29 01:49:11,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-31446864 passed 2025-09-29 01:49:11,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:11,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31446864, IP 179.164.134.5, Port 22 2025-09-29 01:49:11,711 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-29 01:49:11,788 - DEBUG - VM ctest-vn1-vm1-31446864 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 01:49:16,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:16,789 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31446864, IP 179.164.134.5, Port 22 2025-09-29 01:49:16,953 - DEBUG - VM ctest-vn1-vm1-31446864 is ready for SSH connections 2025-09-29 01:49:16,953 - INFO - Waiting for VM ctest-vn1-vm2-53605870 to be up.. 2025-09-29 01:49:17,034 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:49:17,034 - INFO - VM name : ctest-vn1-vm2-53605870 2025-09-29 01:49:17,106 - DEBUG - VM ctest-vn1-vm2-53605870 ID is 2273a6c1-bdc7-47aa-8667-e1d0a489acc7 2025-09-29 01:49:17,106 - DEBUG - VM ctest-vn1-vm2-53605870 launched on Node cn-jenkins-deploy-platform-ansible-os-4202-1 2025-09-29 01:49:17,178 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2273a6c1-bdc7-47aa-8667-e1d0a489acc7 2025-09-29 01:49:17,185 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/09292995-cf80-412b-b49d-9f961ed2dd16 2025-09-29 01:49:18,429 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.564 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.564/1.724/2.884/1.160 ms') 2025-09-29 01:49:18,429 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-53605870 passed 2025-09-29 01:49:18,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:18,582 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53605870, IP 204.252.232.133, Port 22 2025-09-29 01:49:18,738 - DEBUG - VM ctest-vn1-vm2-53605870 is ready for SSH connections 2025-09-29 01:49:18,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:18,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:18,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:49:18,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.164.134.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-29 01:49:18,738 - DEBUG - ping -s 56 -c 3 -W 1 179.164.134.5 2025-09-29 01:49:22,476 - DEBUG - PING 179.164.134.5 (179.164.134.5): 56 data bytes 64 bytes from 179.164.134.5: seq=0 ttl=63 time=3.654 ms 64 bytes from 179.164.134.5: seq=1 ttl=63 time=1.267 ms 64 bytes from 179.164.134.5: seq=2 ttl=63 time=0.954 ms --- 179.164.134.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/1.958/3.654 ms 2025-09-29 01:49:22,476 - INFO - Ping to IP 179.164.134.5 from VM ctest-vn1-vm2-53605870 passed 2025-09-29 01:49:22,476 - INFO - Detaching port 09292995-cf80-412b-b49d-9f961ed2dd16 from VM ctest-vn1-vm2-53605870 2025-09-29 01:49:22,534 - INFO - Deleting VM ctest-vn1-vm2-53605870 2025-09-29 01:49:22,610 - INFO - Detaching port caf89a1e-8e2d-4a71-92a4-38367e0b2363 from VM ctest-vn1-vm1-31446864 2025-09-29 01:49:22,644 - INFO - Deleting VM ctest-vn1-vm1-31446864 2025-09-29 01:49:22,880 - DEBUG - Response for delete_port : () 2025-09-29 01:49:23,026 - DEBUG - Response for delete_port : () 2025-09-29 01:49:23,026 - INFO - Deleting VN ctest-vn1-54838952 2025-09-29 01:49:23,169 - DEBUG - Response for deleting network () 2025-09-29 01:49:23,424 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 01:49:23,424 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-09-29 01:49:23,424 - INFO - -------------------------------------------------------------------------------- 2025-09-29 01:49:24,224 - INFO - Deleted project: ctest-TestPorts-00019678, ID : aa67bf85-b95d-4a4d-bc77-60ef76480cb5