2025-08-25 21:20:07,201 - INFO - Domain Default found not creating 2025-08-25 21:20:07,392 - INFO - Project ctest-TestPorts-32039825 not found, creating it 2025-08-25 21:20:07,878 - INFO - Created Project:ctest-TestPorts-32039825, ID : b714752d-588d-4d30-a4d6-b7478fda3b2c 2025-08-25 21:20:09,418 - INFO - ================================================================================ 2025-08-25 21:20:09,418 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 21:20:09,418 - 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-25 21:20:09,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-25 21:20:09,681 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:20:09,681 - INFO - 2025-08-25 21:20:10,271 - DEBUG - Response for create_network : {'network': {'id': 'e8d439cc-0a08-40ca-b8fb-d34a9d772945', 'name': 'ctest-vn-85794426', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32039825', 'ctest-vn-85794426'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:20:10,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e6a8808-ff58-4263-8a62-2b619c353cd4', 'name': '', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': 'e8d439cc-0a08-40ca-b8fb-d34a9d772945', 'ip_version': 4, 'cidr': '119.149.40.64/26', 'allocation_pools': [{'start': '119.149.40.66', 'end': '119.149.40.126'}], 'gateway_ip': '119.149.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.149.40.66', 'tags': [], 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:10,509 - INFO - Created VN ctest-vn-85794426 2025-08-25 21:20:10,565 - DEBUG - VN ctest-vn-85794426 UUID is e8d439cc-0a08-40ca-b8fb-d34a9d772945 2025-08-25 21:20:10,680 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32039825', 'ctest-vmi-29831689']} 2025-08-25 21:20:10,954 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29831689', 'id': 'ca3c5161-4090-43c0-b3b9-70a7a3cc25c8', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': 'e8d439cc-0a08-40ca-b8fb-d34a9d772945', 'mac_address': '02:ca:3c:51:61:40', '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': '119.149.40.67', 'subnet_id': '4e6a8808-ff58-4263-8a62-2b619c353cd4'}], 'security_groups': ['09f0decb-5aba-4a76-ad99-dfb383bf2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:10,954 - DEBUG - Created port ca3c5161-4090-43c0-b3b9-70a7a3cc25c8 2025-08-25 21:20:11,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca3c5161-4090-43c0-b3b9-70a7a3cc25c8 2025-08-25 21:20:11,364 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca3c5161-4090-43c0-b3b9-70a7a3cc25c8 2025-08-25 21:20:11,400 - INFO - VMI ca3c5161-4090-43c0-b3b9-70a7a3cc25c8 verification in API Server passed 2025-08-25 21:20:11,511 - DEBUG - Response for delete_port : () 2025-08-25 21:20:11,512 - INFO - Deleted port ca3c5161-4090-43c0-b3b9-70a7a3cc25c8 2025-08-25 21:20:11,512 - INFO - Deleting VN ctest-vn-85794426 2025-08-25 21:20:11,649 - DEBUG - Response for deleting network () 2025-08-25 21:20:11,903 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:20:11,903 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-25 21:20:11,903 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:20:11,906 - INFO - ================================================================================ 2025-08-25 21:20:11,906 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 21:20:11,906 - 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-25 21:20:12,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-25 21:20:12,203 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:20:12,204 - INFO - 2025-08-25 21:20:12,404 - DEBUG - Response for create_network : {'network': {'id': '36e005bd-c0f2-465a-8dc0-1894c0786910', 'name': 'ctest-vn1-55029787', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32039825', 'ctest-vn1-55029787'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:20:12,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '92651dc6-15b3-45f5-9895-cd72ba826e94', 'name': '', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': '36e005bd-c0f2-465a-8dc0-1894c0786910', 'ip_version': 4, 'cidr': '200.177.51.128/26', 'allocation_pools': [{'start': '200.177.51.130', 'end': '200.177.51.190'}], 'gateway_ip': '200.177.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.177.51.130', 'tags': [], 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:12,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2461269-83ea-4e3b-ba42-faafcef456dd', 'name': '', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': '36e005bd-c0f2-465a-8dc0-1894c0786910', 'ip_version': 4, 'cidr': '147.25.232.64/26', 'allocation_pools': [{'start': '147.25.232.66', 'end': '147.25.232.126'}], 'gateway_ip': '147.25.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.25.232.66', 'tags': [], 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:12,874 - INFO - Created VN ctest-vn1-55029787 2025-08-25 21:20:12,929 - DEBUG - VN ctest-vn1-55029787 UUID is 36e005bd-c0f2-465a-8dc0-1894c0786910 2025-08-25 21:20:13,280 - DEBUG - Response for create_port : {'port': {'name': '7857f0f2-333a-400c-80fd-4fa067c4dc02', 'id': '7857f0f2-333a-400c-80fd-4fa067c4dc02', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': '36e005bd-c0f2-465a-8dc0-1894c0786910', 'mac_address': '02:78:57:f0:f2:33', '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': '200.177.51.133', 'subnet_id': '92651dc6-15b3-45f5-9895-cd72ba826e94'}], 'security_groups': ['09f0decb-5aba-4a76-ad99-dfb383bf2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:13,487 - DEBUG - Response for create_port : {'port': {'name': 'c6bdc51c-5114-43f2-aeb1-735e2a63893f', 'id': 'c6bdc51c-5114-43f2-aeb1-735e2a63893f', 'tenant_id': 'b714752d588d4d30a4d6b7478fda3b2c', 'network_id': '36e005bd-c0f2-465a-8dc0-1894c0786910', 'mac_address': '02:c6:bd:c5:1c:51', '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': '147.25.232.69', 'subnet_id': 'f2461269-83ea-4e3b-ba42-faafcef456dd'}], 'security_groups': ['09f0decb-5aba-4a76-ad99-dfb383bf2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b714752d588d4d30a4d6b7478fda3b2c'}} 2025-08-25 21:20:13,542 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:20:13,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:20:14,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:20:14,360 - INFO - Waiting for VM ctest-vn1-vm1-76568519 to be up.. 2025-08-25 21:20:14,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:20:19,493 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:20:19,494 - INFO - VM name : ctest-vn1-vm1-76568519 2025-08-25 21:20:19,572 - DEBUG - VM ctest-vn1-vm1-76568519 ID is 7024f790-d1a6-4fa9-8fbd-eb973e950d12 2025-08-25 21:20:19,595 - DEBUG - VM ctest-vn1-vm1-76568519 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:20:19,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7024f790-d1a6-4fa9-8fbd-eb973e950d12 2025-08-25 21:20:19,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7857f0f2-333a-400c-80fd-4fa067c4dc02 2025-08-25 21:20:22,970 - 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 1014ms') 2025-08-25 21:20:22,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76568519 failed! 2025-08-25 21:20:23,033 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32039825:ctest-vn1-55029787 is 200.177.51.129 and allocation pool is NOT set 2025-08-25 21:20:23,033 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32039825:ctest-vn1-55029787 is 147.25.232.65 and allocation pool is NOT set 2025-08-25 21:20:25,098 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 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 = 1.819/7.381/12.943/5.562 ms') 2025-08-25 21:20:25,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76568519 passed 2025-08-25 21:20:25,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:25,253 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76568519, IP 200.177.51.133, Port 22 2025-08-25 21:20:25,309 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-25 21:20:25,402 - DEBUG - VM ctest-vn1-vm1-76568519 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-25 21:20:30,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:30,404 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76568519, IP 200.177.51.133, Port 22 2025-08-25 21:20:30,564 - DEBUG - VM ctest-vn1-vm1-76568519 is ready for SSH connections 2025-08-25 21:20:30,564 - INFO - Waiting for VM ctest-vn1-vm2-43830075 to be up.. 2025-08-25 21:20:30,647 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:20:30,647 - INFO - VM name : ctest-vn1-vm2-43830075 2025-08-25 21:20:30,727 - DEBUG - VM ctest-vn1-vm2-43830075 ID is 4aeeb8de-6e29-4a63-9c2b-0e5117a21fe3 2025-08-25 21:20:30,727 - DEBUG - VM ctest-vn1-vm2-43830075 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:20:30,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4aeeb8de-6e29-4a63-9c2b-0e5117a21fe3 2025-08-25 21:20:30,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c6bdc51c-5114-43f2-aeb1-735e2a63893f 2025-08-25 21:20:32,076 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.662/2.890/1.228 ms') 2025-08-25 21:20:32,077 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43830075 passed 2025-08-25 21:20:32,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:32,229 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43830075, IP 147.25.232.69, Port 22 2025-08-25 21:20:32,389 - DEBUG - VM ctest-vn1-vm2-43830075 is ready for SSH connections 2025-08-25 21:20:32,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:32,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:32,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:20:32,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.177.51.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 21:20:32,390 - DEBUG - ping -s 56 -c 3 -W 1 200.177.51.133 2025-08-25 21:20:35,018 - DEBUG - PING 200.177.51.133 (200.177.51.133): 56 data bytes 64 bytes from 200.177.51.133: seq=0 ttl=63 time=3.221 ms 64 bytes from 200.177.51.133: seq=1 ttl=63 time=0.825 ms 64 bytes from 200.177.51.133: seq=2 ttl=63 time=1.081 ms --- 200.177.51.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.709/3.221 ms 2025-08-25 21:20:35,018 - INFO - Ping to IP 200.177.51.133 from VM ctest-vn1-vm2-43830075 passed 2025-08-25 21:20:35,018 - INFO - Detaching port c6bdc51c-5114-43f2-aeb1-735e2a63893f from VM ctest-vn1-vm2-43830075 2025-08-25 21:20:35,064 - INFO - Deleting VM ctest-vn1-vm2-43830075 2025-08-25 21:20:35,135 - INFO - Detaching port 7857f0f2-333a-400c-80fd-4fa067c4dc02 from VM ctest-vn1-vm1-76568519 2025-08-25 21:20:35,170 - INFO - Deleting VM ctest-vn1-vm1-76568519 2025-08-25 21:20:35,464 - DEBUG - Response for delete_port : () 2025-08-25 21:20:35,654 - DEBUG - Response for delete_port : () 2025-08-25 21:20:35,654 - INFO - Deleting VN ctest-vn1-55029787 2025-08-25 21:20:35,785 - DEBUG - Response for deleting network () 2025-08-25 21:20:36,058 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:20:36,058 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-08-25 21:20:36,059 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:20:36,769 - INFO - Deleted project: ctest-TestPorts-32039825, ID : b714752d-588d-4d30-a4d6-b7478fda3b2c