2025-08-12 01:42:03,144 - INFO - Domain Default found not creating 2025-08-12 01:42:03,304 - INFO - Project ctest-TestPorts-83251072 not found, creating it 2025-08-12 01:42:03,760 - INFO - Created Project:ctest-TestPorts-83251072, ID : f29f2a50-8bf4-4237-b73b-483a6fb24f61 2025-08-12 01:42:05,047 - INFO - ================================================================================ 2025-08-12 01:42:05,048 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 01:42:05,048 - 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-12 01:42:05,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-08-12 01:42:05,303 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:42:05,304 - INFO - 2025-08-12 01:42:05,802 - DEBUG - Response for create_network : {'network': {'id': '90b015d9-2539-4fc9-ae82-dd9bd17b50e2', 'name': 'ctest-vn-30068407', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'project_id': 'f29f2a508bf44237b73b483a6fb24f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83251072', 'ctest-vn-30068407'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:42:05,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '9def294a-76f7-4276-8f1b-92046fc883d1', 'name': '', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '90b015d9-2539-4fc9-ae82-dd9bd17b50e2', 'ip_version': 4, 'cidr': '181.186.142.64/26', 'allocation_pools': [{'start': '181.186.142.66', 'end': '181.186.142.126'}], 'gateway_ip': '181.186.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.186.142.66', 'tags': [], 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:05,964 - INFO - Created VN ctest-vn-30068407 2025-08-12 01:42:06,017 - DEBUG - VN ctest-vn-30068407 UUID is 90b015d9-2539-4fc9-ae82-dd9bd17b50e2 2025-08-12 01:42:06,125 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83251072', 'ctest-vmi-10970717']} 2025-08-12 01:42:06,370 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10970717', 'id': 'a948e91c-a250-4677-b36f-22f00d533a75', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '90b015d9-2539-4fc9-ae82-dd9bd17b50e2', 'mac_address': '02:a9:48:e9:1c:a2', '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': '181.186.142.67', 'subnet_id': '9def294a-76f7-4276-8f1b-92046fc883d1'}], 'security_groups': ['2f522957-67b7-4605-9a18-cbaaef3f52ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:06,370 - DEBUG - Created port a948e91c-a250-4677-b36f-22f00d533a75 2025-08-12 01:42:06,481 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a948e91c-a250-4677-b36f-22f00d533a75 2025-08-12 01:42:06,759 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/a948e91c-a250-4677-b36f-22f00d533a75 2025-08-12 01:42:06,798 - INFO - VMI a948e91c-a250-4677-b36f-22f00d533a75 verification in API Server passed 2025-08-12 01:42:06,886 - DEBUG - Response for delete_port : () 2025-08-12 01:42:06,886 - INFO - Deleted port a948e91c-a250-4677-b36f-22f00d533a75 2025-08-12 01:42:06,886 - INFO - Deleting VN ctest-vn-30068407 2025-08-12 01:42:06,987 - DEBUG - Response for deleting network () 2025-08-12 01:42:07,244 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:42:07,244 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-12 01:42:07,244 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:42:07,246 - INFO - ================================================================================ 2025-08-12 01:42:07,246 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 01:42:07,246 - 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-12 01:42:07,535 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-08-12 01:42:07,535 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:42:07,535 - INFO - 2025-08-12 01:42:07,712 - DEBUG - Response for create_network : {'network': {'id': '21fe2fa9-5a64-49b0-a4cc-ee8038362525', 'name': 'ctest-vn1-91573577', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'project_id': 'f29f2a508bf44237b73b483a6fb24f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83251072', 'ctest-vn1-91573577'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:42:07,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd61dab9c-c858-48d6-a06c-73a1c86b68ce', 'name': '', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '21fe2fa9-5a64-49b0-a4cc-ee8038362525', 'ip_version': 4, 'cidr': '169.190.146.64/26', 'allocation_pools': [{'start': '169.190.146.66', 'end': '169.190.146.126'}], 'gateway_ip': '169.190.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.190.146.66', 'tags': [], 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:08,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '7269bd43-41e4-4431-b31b-da7b1b5d7e9c', 'name': '', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '21fe2fa9-5a64-49b0-a4cc-ee8038362525', 'ip_version': 4, 'cidr': '25.184.21.64/26', 'allocation_pools': [{'start': '25.184.21.66', 'end': '25.184.21.126'}], 'gateway_ip': '25.184.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.184.21.66', 'tags': [], 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:08,167 - INFO - Created VN ctest-vn1-91573577 2025-08-12 01:42:08,221 - DEBUG - VN ctest-vn1-91573577 UUID is 21fe2fa9-5a64-49b0-a4cc-ee8038362525 2025-08-12 01:42:08,546 - DEBUG - Response for create_port : {'port': {'name': '5512a1a6-0e28-4180-bb67-d0ec9af0a846', 'id': '5512a1a6-0e28-4180-bb67-d0ec9af0a846', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '21fe2fa9-5a64-49b0-a4cc-ee8038362525', 'mac_address': '02:55:12:a1:a6:0e', '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': '169.190.146.69', 'subnet_id': 'd61dab9c-c858-48d6-a06c-73a1c86b68ce'}], 'security_groups': ['2f522957-67b7-4605-9a18-cbaaef3f52ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:08,725 - DEBUG - Response for create_port : {'port': {'name': '3d7b07bb-dd0e-45bb-9bb1-1aaf75334c08', 'id': '3d7b07bb-dd0e-45bb-9bb1-1aaf75334c08', 'tenant_id': 'f29f2a508bf44237b73b483a6fb24f61', 'network_id': '21fe2fa9-5a64-49b0-a4cc-ee8038362525', 'mac_address': '02:3d:7b:07:bb:dd', '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': '25.184.21.69', 'subnet_id': '7269bd43-41e4-4431-b31b-da7b1b5d7e9c'}], 'security_groups': ['2f522957-67b7-4605-9a18-cbaaef3f52ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f29f2a508bf44237b73b483a6fb24f61'}} 2025-08-12 01:42:08,794 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:42:09,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1) 2025-08-12 01:42:09,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1) 2025-08-12 01:42:09,611 - INFO - Waiting for VM ctest-vn1-vm1-10746139 to be up.. 2025-08-12 01:42:09,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:42:14,724 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:42:14,725 - INFO - VM name : ctest-vn1-vm1-10746139 2025-08-12 01:42:14,793 - DEBUG - VM ctest-vn1-vm1-10746139 ID is 7206d924-f3d0-4b18-a6bd-36e6c9bd687e 2025-08-12 01:42:14,814 - DEBUG - VM ctest-vn1-vm1-10746139 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1 2025-08-12 01:42:14,882 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/7206d924-f3d0-4b18-a6bd-36e6c9bd687e 2025-08-12 01:42:14,890 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/5512a1a6-0e28-4180-bb67-d0ec9af0a846 2025-08-12 01:42:18,158 - 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 1028ms') 2025-08-12 01:42:18,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10746139 failed! 2025-08-12 01:42:18,214 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83251072:ctest-vn1-91573577 is 169.190.146.65 and allocation pool is NOT set 2025-08-12 01:42:18,214 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83251072:ctest-vn1-91573577 is 25.184.21.65 and allocation pool is NOT set 2025-08-12 01:42:20,281 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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 = 1.479/3.085/4.692/1.606 ms') 2025-08-12 01:42:20,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10746139 passed 2025-08-12 01:42:20,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:20,438 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10746139, IP 169.190.146.69, Port 22 2025-08-12 01:42:20,493 - 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-12 01:42:20,582 - DEBUG - VM ctest-vn1-vm1-10746139 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-12 01:42:25,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:25,583 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10746139, IP 169.190.146.69, Port 22 2025-08-12 01:42:25,741 - DEBUG - VM ctest-vn1-vm1-10746139 is ready for SSH connections 2025-08-12 01:42:25,741 - INFO - Waiting for VM ctest-vn1-vm2-66705486 to be up.. 2025-08-12 01:42:25,807 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:42:25,807 - INFO - VM name : ctest-vn1-vm2-66705486 2025-08-12 01:42:25,870 - DEBUG - VM ctest-vn1-vm2-66705486 ID is 8a6714f3-bd45-40df-b94b-400e931ff2dd 2025-08-12 01:42:25,870 - DEBUG - VM ctest-vn1-vm2-66705486 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1 2025-08-12 01:42:25,932 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8a6714f3-bd45-40df-b94b-400e931ff2dd 2025-08-12 01:42:25,940 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3d7b07bb-dd0e-45bb-9bb1-1aaf75334c08 2025-08-12 01:42:27,170 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.472/2.576/1.104 ms') 2025-08-12 01:42:27,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66705486 passed 2025-08-12 01:42:27,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:27,329 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66705486, IP 25.184.21.69, Port 22 2025-08-12 01:42:27,481 - DEBUG - VM ctest-vn1-vm2-66705486 is ready for SSH connections 2025-08-12 01:42:27,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:27,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:27,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:42:27,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.190.146.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-12 01:42:27,481 - DEBUG - ping -s 56 -c 3 -W 1 169.190.146.69 2025-08-12 01:42:30,582 - DEBUG - PING 169.190.146.69 (169.190.146.69): 56 data bytes 64 bytes from 169.190.146.69: seq=0 ttl=63 time=4.156 ms 64 bytes from 169.190.146.69: seq=1 ttl=63 time=0.971 ms 64 bytes from 169.190.146.69: seq=2 ttl=63 time=0.772 ms --- 169.190.146.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.966/4.156 ms 2025-08-12 01:42:30,582 - INFO - Ping to IP 169.190.146.69 from VM ctest-vn1-vm2-66705486 passed 2025-08-12 01:42:30,582 - INFO - Detaching port 3d7b07bb-dd0e-45bb-9bb1-1aaf75334c08 from VM ctest-vn1-vm2-66705486 2025-08-12 01:42:30,634 - INFO - Deleting VM ctest-vn1-vm2-66705486 2025-08-12 01:42:30,697 - INFO - Detaching port 5512a1a6-0e28-4180-bb67-d0ec9af0a846 from VM ctest-vn1-vm1-10746139 2025-08-12 01:42:30,728 - INFO - Deleting VM ctest-vn1-vm1-10746139 2025-08-12 01:42:30,964 - DEBUG - Response for delete_port : () 2025-08-12 01:42:31,185 - DEBUG - Response for delete_port : () 2025-08-12 01:42:31,185 - INFO - Deleting VN ctest-vn1-91573577 2025-08-12 01:42:31,385 - DEBUG - Response for deleting network () 2025-08-12 01:42:31,643 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:42:31,643 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-12 01:42:31,643 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:42:32,296 - INFO - Deleted project: ctest-TestPorts-83251072, ID : f29f2a50-8bf4-4237-b73b-483a6fb24f61