2025-11-12 14:36:16,248 - INFO - Domain Default found not creating 2025-11-12 14:36:16,617 - INFO - Project ctest-TestPorts-10656061 not found, creating it 2025-11-12 14:36:17,168 - INFO - Created Project:ctest-TestPorts-10656061, ID : bc9eba96-e35f-4289-84c6-4b0f503d50ec 2025-11-12 14:36:19,310 - INFO - ================================================================================ 2025-11-12 14:36:19,310 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 14:36:19,310 - 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-11-12 14:36:19,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-11-12 14:36:19,598 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:36:19,598 - INFO - 2025-11-12 14:36:20,376 - DEBUG - Response for create_network : {'network': {'id': '3d4a4711-9d67-4d55-8609-82d8fab587c1', 'name': 'ctest-vn-30944611', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'project_id': 'bc9eba96e35f428984c64b0f503d50ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10656061', 'ctest-vn-30944611'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:36:20,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '40ec8c7b-08eb-4f26-92c2-c293d3d5b19d', 'name': '', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '3d4a4711-9d67-4d55-8609-82d8fab587c1', 'ip_version': 4, 'cidr': '3.179.106.192/26', 'allocation_pools': [{'start': '3.179.106.194', 'end': '3.179.106.254'}], 'gateway_ip': '3.179.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.179.106.194', 'tags': [], 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:20,606 - INFO - Created VN ctest-vn-30944611 2025-11-12 14:36:20,662 - DEBUG - VN ctest-vn-30944611 UUID is 3d4a4711-9d67-4d55-8609-82d8fab587c1 2025-11-12 14:36:20,795 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10656061', 'ctest-vmi-55251476']} 2025-11-12 14:36:21,131 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55251476', 'id': '1b27ef50-b09b-4bff-94a2-3bae99abd1d4', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '3d4a4711-9d67-4d55-8609-82d8fab587c1', 'mac_address': '02:1b:27:ef:50:b0', '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': '3.179.106.195', 'subnet_id': '40ec8c7b-08eb-4f26-92c2-c293d3d5b19d'}], 'security_groups': ['e3df9c54-9e42-469a-9cb9-6f0abe6b82c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:21,132 - DEBUG - Created port 1b27ef50-b09b-4bff-94a2-3bae99abd1d4 2025-11-12 14:36:21,250 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1b27ef50-b09b-4bff-94a2-3bae99abd1d4 2025-11-12 14:36:21,643 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1b27ef50-b09b-4bff-94a2-3bae99abd1d4 2025-11-12 14:36:21,682 - INFO - VMI 1b27ef50-b09b-4bff-94a2-3bae99abd1d4 verification in API Server passed 2025-11-12 14:36:21,795 - DEBUG - Response for delete_port : () 2025-11-12 14:36:21,795 - INFO - Deleted port 1b27ef50-b09b-4bff-94a2-3bae99abd1d4 2025-11-12 14:36:21,795 - INFO - Deleting VN ctest-vn-30944611 2025-11-12 14:36:21,950 - DEBUG - Response for deleting network () 2025-11-12 14:36:22,215 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 14:36:22,215 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-12 14:36:22,215 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:36:22,218 - INFO - ================================================================================ 2025-11-12 14:36:22,218 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 14:36:22,218 - 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-11-12 14:36:22,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-11-12 14:36:22,508 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:36:22,508 - INFO - 2025-11-12 14:36:22,691 - DEBUG - Response for create_network : {'network': {'id': '11cca31e-e9b4-4dd6-a09c-c69c9532af43', 'name': 'ctest-vn1-00248467', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'project_id': 'bc9eba96e35f428984c64b0f503d50ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10656061', 'ctest-vn1-00248467'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:36:22,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c05a423-21e5-4d55-ad27-ffe190c04afa', 'name': '', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '11cca31e-e9b4-4dd6-a09c-c69c9532af43', 'ip_version': 4, 'cidr': '94.238.165.192/26', 'allocation_pools': [{'start': '94.238.165.194', 'end': '94.238.165.254'}], 'gateway_ip': '94.238.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.238.165.194', 'tags': [], 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:23,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be54dadc-24a7-4978-9d7f-692df9c8e7ec', 'name': '', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '11cca31e-e9b4-4dd6-a09c-c69c9532af43', 'ip_version': 4, 'cidr': '94.11.200.0/26', 'allocation_pools': [{'start': '94.11.200.2', 'end': '94.11.200.62'}], 'gateway_ip': '94.11.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.11.200.2', 'tags': [], 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:23,104 - INFO - Created VN ctest-vn1-00248467 2025-11-12 14:36:23,154 - DEBUG - VN ctest-vn1-00248467 UUID is 11cca31e-e9b4-4dd6-a09c-c69c9532af43 2025-11-12 14:36:23,449 - DEBUG - Response for create_port : {'port': {'name': '92ac7417-a071-4558-a017-e2f709d991c4', 'id': '92ac7417-a071-4558-a017-e2f709d991c4', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '11cca31e-e9b4-4dd6-a09c-c69c9532af43', 'mac_address': '02:92:ac:74:17:a0', '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': '94.238.165.197', 'subnet_id': '2c05a423-21e5-4d55-ad27-ffe190c04afa'}], 'security_groups': ['e3df9c54-9e42-469a-9cb9-6f0abe6b82c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:23,643 - DEBUG - Response for create_port : {'port': {'name': '9a053b3e-cb87-4e1a-88d5-436d862da049', 'id': '9a053b3e-cb87-4e1a-88d5-436d862da049', 'tenant_id': 'bc9eba96e35f428984c64b0f503d50ec', 'network_id': '11cca31e-e9b4-4dd6-a09c-c69c9532af43', 'mac_address': '02:9a:05:3b:3e:cb', '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': '94.11.200.5', 'subnet_id': 'be54dadc-24a7-4978-9d7f-692df9c8e7ec'}], 'security_groups': ['e3df9c54-9e42-469a-9cb9-6f0abe6b82c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc9eba96e35f428984c64b0f503d50ec'}} 2025-11-12 14:36:23,698 - DEBUG - Services list from nova: [, , ] 2025-11-12 14:36:24,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:36:24,457 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:36:24,457 - INFO - Waiting for VM ctest-vn1-vm1-18126929 to be up.. 2025-11-12 14:36:24,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 14:36:29,600 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:36:29,600 - INFO - VM name : ctest-vn1-vm1-18126929 2025-11-12 14:36:29,687 - DEBUG - VM ctest-vn1-vm1-18126929 ID is f390b1a0-9a39-4c27-ab51-c1d153a993e7 2025-11-12 14:36:29,714 - DEBUG - VM ctest-vn1-vm1-18126929 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:36:29,816 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f390b1a0-9a39-4c27-ab51-c1d153a993e7 2025-11-12 14:36:29,825 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/92ac7417-a071-4558-a017-e2f709d991c4 2025-11-12 14:36:33,093 - 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-11-12 14:36:33,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18126929 failed! 2025-11-12 14:36:33,158 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10656061:ctest-vn1-00248467 is 94.238.165.193 and allocation pool is NOT set 2025-11-12 14:36:33,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10656061:ctest-vn1-00248467 is 94.11.200.1 and allocation pool is NOT set 2025-11-12 14:36:37,253 - 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 1023ms') 2025-11-12 14:36:37,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18126929 failed! 2025-11-12 14:36:37,310 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10656061:ctest-vn1-00248467 is 94.238.165.193 and allocation pool is NOT set 2025-11-12 14:36:37,310 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10656061:ctest-vn1-00248467 is 94.11.200.1 and allocation pool is NOT set 2025-11-12 14:36:39,378 - 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=5.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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.693/3.715/5.737/2.022 ms') 2025-11-12 14:36:39,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18126929 passed 2025-11-12 14:36:39,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:39,538 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18126929, IP 94.238.165.197, Port 22 2025-11-12 14:36:39,608 - 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-11-12 14:36:39,691 - DEBUG - VM ctest-vn1-vm1-18126929 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 14:36:44,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:44,692 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18126929, IP 94.238.165.197, Port 22 2025-11-12 14:36:44,849 - DEBUG - VM ctest-vn1-vm1-18126929 is ready for SSH connections 2025-11-12 14:36:44,849 - INFO - Waiting for VM ctest-vn1-vm2-29444590 to be up.. 2025-11-12 14:36:44,934 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:36:44,934 - INFO - VM name : ctest-vn1-vm2-29444590 2025-11-12 14:36:45,017 - DEBUG - VM ctest-vn1-vm2-29444590 ID is 7c70fa9a-22cc-4eb9-86e9-0b4444cfd555 2025-11-12 14:36:45,017 - DEBUG - VM ctest-vn1-vm2-29444590 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:36:45,099 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/7c70fa9a-22cc-4eb9-86e9-0b4444cfd555 2025-11-12 14:36:45,108 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9a053b3e-cb87-4e1a-88d5-436d862da049 2025-11-12 14:36:46,346 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.830/3.274/1.443 ms') 2025-11-12 14:36:46,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29444590 passed 2025-11-12 14:36:46,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:46,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29444590, IP 94.11.200.5, Port 22 2025-11-12 14:36:46,650 - DEBUG - VM ctest-vn1-vm2-29444590 is ready for SSH connections 2025-11-12 14:36:46,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:46,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:46,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:36:46,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.238.165.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:36:46,650 - DEBUG - ping -s 56 -c 3 -W 1 94.238.165.197 2025-11-12 14:36:49,316 - DEBUG - PING 94.238.165.197 (94.238.165.197): 56 data bytes 64 bytes from 94.238.165.197: seq=0 ttl=63 time=4.511 ms 64 bytes from 94.238.165.197: seq=1 ttl=63 time=1.534 ms 64 bytes from 94.238.165.197: seq=2 ttl=63 time=1.140 ms --- 94.238.165.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/2.395/4.511 ms 2025-11-12 14:36:49,316 - INFO - Ping to IP 94.238.165.197 from VM ctest-vn1-vm2-29444590 passed 2025-11-12 14:36:49,317 - INFO - Detaching port 9a053b3e-cb87-4e1a-88d5-436d862da049 from VM ctest-vn1-vm2-29444590 2025-11-12 14:36:49,370 - INFO - Deleting VM ctest-vn1-vm2-29444590 2025-11-12 14:36:49,441 - INFO - Detaching port 92ac7417-a071-4558-a017-e2f709d991c4 from VM ctest-vn1-vm1-18126929 2025-11-12 14:36:49,482 - INFO - Deleting VM ctest-vn1-vm1-18126929 2025-11-12 14:36:49,757 - DEBUG - Response for delete_port : () 2025-11-12 14:36:49,952 - DEBUG - Response for delete_port : () 2025-11-12 14:36:49,952 - INFO - Deleting VN ctest-vn1-00248467 2025-11-12 14:36:50,121 - DEBUG - Response for deleting network () 2025-11-12 14:36:50,387 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 14:36:50,387 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-11-12 14:36:50,387 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:36:51,170 - INFO - Deleted project: ctest-TestPorts-10656061, ID : bc9eba96-e35f-4289-84c6-4b0f503d50ec