2025-10-30 02:15:14,350 - INFO - Domain Default found not creating
2025-10-30 02:15:14,481 - INFO - Project ctest-TestPorts-12675704 not found, creating it
2025-10-30 02:15:14,907 - INFO - Created Project:ctest-TestPorts-12675704, ID : 527a0457-1802-4f4d-9ad8-93bb940c74e8
2025-10-30 02:15:16,250 - INFO - ================================================================================
2025-10-30 02:15:16,251 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 02:15:16,251 - 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-10-30 02:15:16,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.249': '0'}} with
2025-10-30 02:15:16,504 - INFO - Initial checks done. Running the testcase now
2025-10-30 02:15:16,504 - INFO -
2025-10-30 02:15:17,074 - DEBUG - Response for create_network : {'network': {'id': 'b5cdefdb-a09e-4d61-8674-ac7a05e0ee9d', 'name': 'ctest-vn-49348312', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'project_id': '527a045718024f4d9ad893bb940c74e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12675704', 'ctest-vn-49348312'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 02:15:17,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '77567805-63bc-43c4-b1c2-66e6ee51392a', 'name': '', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': 'b5cdefdb-a09e-4d61-8674-ac7a05e0ee9d', 'ip_version': 4, 'cidr': '177.130.93.192/26', 'allocation_pools': [{'start': '177.130.93.194', 'end': '177.130.93.254'}], 'gateway_ip': '177.130.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.130.93.194', 'tags': [], 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:17,321 - INFO - Created VN ctest-vn-49348312
2025-10-30 02:15:17,371 - DEBUG - VN ctest-vn-49348312 UUID is b5cdefdb-a09e-4d61-8674-ac7a05e0ee9d
2025-10-30 02:15:17,472 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12675704', 'ctest-vmi-25966678']}
2025-10-30 02:15:17,742 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25966678', 'id': '14b43c93-b953-44eb-a959-cf58b37e9a19', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': 'b5cdefdb-a09e-4d61-8674-ac7a05e0ee9d', 'mac_address': '02:14:b4:3c:93:b9', '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': '177.130.93.195', 'subnet_id': '77567805-63bc-43c4-b1c2-66e6ee51392a'}], 'security_groups': ['9fbbafcf-acd7-4e44-8908-4f35b91afe77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:17,742 - DEBUG - Created port 14b43c93-b953-44eb-a959-cf58b37e9a19
2025-10-30 02:15:17,843 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14b43c93-b953-44eb-a959-cf58b37e9a19
2025-10-30 02:15:18,130 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14b43c93-b953-44eb-a959-cf58b37e9a19
2025-10-30 02:15:18,167 - INFO - VMI 14b43c93-b953-44eb-a959-cf58b37e9a19 verification in API Server passed
2025-10-30 02:15:18,404 - DEBUG - Response for delete_port : ()
2025-10-30 02:15:18,404 - INFO - Deleted port 14b43c93-b953-44eb-a959-cf58b37e9a19
2025-10-30 02:15:18,404 - INFO - Deleting VN ctest-vn-49348312
2025-10-30 02:15:18,730 - DEBUG - Response for deleting network ()
2025-10-30 02:15:18,988 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:15:18,988 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 02:15:18,988 - INFO - --------------------------------------------------------------------------------
2025-10-30 02:15:18,991 - INFO - ================================================================================
2025-10-30 02:15:18,993 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 02:15:18,993 - 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-10-30 02:15:19,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.249': '0'}} with
2025-10-30 02:15:19,286 - INFO - Initial checks done. Running the testcase now
2025-10-30 02:15:19,286 - INFO -
2025-10-30 02:15:19,443 - DEBUG - Response for create_network : {'network': {'id': '152e3646-34a5-48d5-b63c-066763995c4d', 'name': 'ctest-vn1-25703418', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'project_id': '527a045718024f4d9ad893bb940c74e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12675704', 'ctest-vn1-25703418'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 02:15:19,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '753e662c-5ad6-4cfb-9ef6-6cd9170c6b9d', 'name': '', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': '152e3646-34a5-48d5-b63c-066763995c4d', 'ip_version': 4, 'cidr': '137.131.30.192/26', 'allocation_pools': [{'start': '137.131.30.194', 'end': '137.131.30.254'}], 'gateway_ip': '137.131.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.131.30.194', 'tags': [], 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:19,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '34f162ba-ecd4-473d-8fe0-ab59facfd8f9', 'name': '', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': '152e3646-34a5-48d5-b63c-066763995c4d', 'ip_version': 4, 'cidr': '7.234.134.192/26', 'allocation_pools': [{'start': '7.234.134.194', 'end': '7.234.134.254'}], 'gateway_ip': '7.234.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.234.134.194', 'tags': [], 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:19,796 - INFO - Created VN ctest-vn1-25703418
2025-10-30 02:15:19,847 - DEBUG - VN ctest-vn1-25703418 UUID is 152e3646-34a5-48d5-b63c-066763995c4d
2025-10-30 02:15:20,126 - DEBUG - Response for create_port : {'port': {'name': 'a0e5dc4b-ba8c-4c6f-9768-b3e76ab363e8', 'id': 'a0e5dc4b-ba8c-4c6f-9768-b3e76ab363e8', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': '152e3646-34a5-48d5-b63c-066763995c4d', 'mac_address': '02:a0:e5:dc:4b:ba', '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': '137.131.30.197', 'subnet_id': '753e662c-5ad6-4cfb-9ef6-6cd9170c6b9d'}], 'security_groups': ['9fbbafcf-acd7-4e44-8908-4f35b91afe77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:20,288 - DEBUG - Response for create_port : {'port': {'name': 'ef42c063-81d9-41c0-9bd2-9e7c25c6a919', 'id': 'ef42c063-81d9-41c0-9bd2-9e7c25c6a919', 'tenant_id': '527a045718024f4d9ad893bb940c74e8', 'network_id': '152e3646-34a5-48d5-b63c-066763995c4d', 'mac_address': '02:ef:42:c0:63: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.234.134.197', 'subnet_id': '34f162ba-ecd4-473d-8fe0-ab59facfd8f9'}], 'security_groups': ['9fbbafcf-acd7-4e44-8908-4f35b91afe77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '527a045718024f4d9ad893bb940c74e8'}}
2025-10-30 02:15:20,336 - DEBUG - Services list from nova: [, , ]
2025-10-30 02:15:20,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1)
2025-10-30 02:15:20,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1)
2025-10-30 02:15:20,977 - INFO - Waiting for VM ctest-vn1-vm1-76640797 to be up..
2025-10-30 02:15:21,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 02:15:26,077 - DEBUG - VM is in ACTIVE state now
2025-10-30 02:15:26,077 - INFO - VM name : ctest-vn1-vm1-76640797
2025-10-30 02:15:26,144 - DEBUG - VM ctest-vn1-vm1-76640797 ID is 1b663101-78e1-4ffa-91da-ab7b8162e476
2025-10-30 02:15:26,159 - DEBUG - VM ctest-vn1-vm1-76640797 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1
2025-10-30 02:15:26,240 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1b663101-78e1-4ffa-91da-ab7b8162e476
2025-10-30 02:15:26,248 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a0e5dc4b-ba8c-4c6f-9768-b3e76ab363e8
2025-10-30 02:15:29,503 - 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 1024ms')
2025-10-30 02:15:29,503 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-76640797 failed!
2025-10-30 02:15:29,555 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12675704:ctest-vn1-25703418 is 137.131.30.193 and allocation pool is NOT set
2025-10-30 02:15:29,555 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12675704:ctest-vn1-25703418 is 7.234.134.193 and allocation pool is NOT set
2025-10-30 02:15:31,626 - 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=10.9 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.780/6.317/10.855/4.537 ms')
2025-10-30 02:15:31,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-76640797 passed
2025-10-30 02:15:31,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:31,771 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76640797, IP 137.131.30.197, Port 22
2025-10-30 02:15:31,826 - 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-10-30 02:15:31,907 - DEBUG - VM ctest-vn1-vm1-76640797 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 02:15:36,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:36,908 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76640797, IP 137.131.30.197, Port 22
2025-10-30 02:15:37,062 - DEBUG - VM ctest-vn1-vm1-76640797 is ready for SSH connections
2025-10-30 02:15:37,063 - INFO - Waiting for VM ctest-vn1-vm2-37599989 to be up..
2025-10-30 02:15:37,136 - DEBUG - VM is in ACTIVE state now
2025-10-30 02:15:37,136 - INFO - VM name : ctest-vn1-vm2-37599989
2025-10-30 02:15:37,204 - DEBUG - VM ctest-vn1-vm2-37599989 ID is f91ea29d-9e72-4610-a03f-a242173fee59
2025-10-30 02:15:37,204 - DEBUG - VM ctest-vn1-vm2-37599989 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1
2025-10-30 02:15:37,273 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f91ea29d-9e72-4610-a03f-a242173fee59
2025-10-30 02:15:37,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef42c063-81d9-41c0-9bd2-9e7c25c6a919
2025-10-30 02:15:38,504 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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 = 0.388/1.688/2.989/1.300 ms')
2025-10-30 02:15:38,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-37599989 passed
2025-10-30 02:15:38,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:38,655 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37599989, IP 7.234.134.197, Port 22
2025-10-30 02:15:38,814 - DEBUG - VM ctest-vn1-vm2-37599989 is ready for SSH connections
2025-10-30 02:15:38,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:38,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:38,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 02:15:38,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.131.30.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-30 02:15:38,814 - DEBUG - ping -s 56 -c 3 -W 1 137.131.30.197
2025-10-30 02:15:42,468 - DEBUG - PING 137.131.30.197 (137.131.30.197): 56 data bytes
64 bytes from 137.131.30.197: seq=0 ttl=63 time=3.684 ms
64 bytes from 137.131.30.197: seq=1 ttl=63 time=1.258 ms
64 bytes from 137.131.30.197: seq=2 ttl=63 time=0.973 ms
--- 137.131.30.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.973/1.971/3.684 ms
2025-10-30 02:15:42,468 - INFO - Ping to IP 137.131.30.197 from VM ctest-vn1-vm2-37599989 passed
2025-10-30 02:15:42,469 - INFO - Detaching port ef42c063-81d9-41c0-9bd2-9e7c25c6a919 from VM ctest-vn1-vm2-37599989
2025-10-30 02:15:42,516 - INFO - Deleting VM ctest-vn1-vm2-37599989
2025-10-30 02:15:42,585 - INFO - Detaching port a0e5dc4b-ba8c-4c6f-9768-b3e76ab363e8 from VM ctest-vn1-vm1-76640797
2025-10-30 02:15:42,629 - INFO - Deleting VM ctest-vn1-vm1-76640797
2025-10-30 02:15:42,839 - DEBUG - Response for delete_port : ()
2025-10-30 02:15:42,995 - DEBUG - Response for delete_port : ()
2025-10-30 02:15:42,995 - INFO - Deleting VN ctest-vn1-25703418
2025-10-30 02:15:43,101 - DEBUG - Response for deleting network ()
2025-10-30 02:15:43,359 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:15:43,359 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-30 02:15:43,360 - INFO - --------------------------------------------------------------------------------
2025-10-30 02:15:44,039 - INFO - Deleted project: ctest-TestPorts-12675704, ID : 527a0457-1802-4f4d-9ad8-93bb940c74e8