2025-10-27 00:02:04,626 - INFO - Domain Default found not creating
2025-10-27 00:02:04,778 - INFO - Project ctest-TestPorts-87055763 not found, creating it
2025-10-27 00:02:05,253 - INFO - Created Project:ctest-TestPorts-87055763, ID : 59d4902f-3d78-48bf-b7f6-e6ed84826f29
2025-10-27 00:02:06,840 - INFO - ================================================================================
2025-10-27 00:02:06,840 - INFO - STARTING TEST : test_ports_bindings
2025-10-27 00:02:06,840 - 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-27 00:02:07,097 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-27 00:02:07,097 - INFO - Initial checks done. Running the testcase now
2025-10-27 00:02:07,097 - INFO -
2025-10-27 00:02:07,688 - DEBUG - Response for create_network : {'network': {'id': 'f23c4976-e6b2-414e-b514-36eecc065a38', 'name': 'ctest-vn-06236138', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87055763', 'ctest-vn-06236138'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 00:02:07,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf1f56ed-caca-413c-a77a-6c4b413aa17e', 'name': '', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'f23c4976-e6b2-414e-b514-36eecc065a38', 'ip_version': 4, 'cidr': '107.212.207.0/26', 'allocation_pools': [{'start': '107.212.207.2', 'end': '107.212.207.62'}], 'gateway_ip': '107.212.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.212.207.2', 'tags': [], 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:07,901 - INFO - Created VN ctest-vn-06236138
2025-10-27 00:02:07,952 - DEBUG - VN ctest-vn-06236138 UUID is f23c4976-e6b2-414e-b514-36eecc065a38
2025-10-27 00:02:08,064 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87055763', 'ctest-vmi-32348819']}
2025-10-27 00:02:08,297 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32348819', 'id': 'cfcd2ba9-7107-4a44-b265-a8ec148dcff5', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'f23c4976-e6b2-414e-b514-36eecc065a38', 'mac_address': '02:cf:cd:2b:a9:71', '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': '107.212.207.3', 'subnet_id': 'bf1f56ed-caca-413c-a77a-6c4b413aa17e'}], 'security_groups': ['f348dd94-2578-4db5-a14e-c22476a43fb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:08,297 - DEBUG - Created port cfcd2ba9-7107-4a44-b265-a8ec148dcff5
2025-10-27 00:02:08,400 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cfcd2ba9-7107-4a44-b265-a8ec148dcff5
2025-10-27 00:02:08,736 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cfcd2ba9-7107-4a44-b265-a8ec148dcff5
2025-10-27 00:02:08,767 - INFO - VMI cfcd2ba9-7107-4a44-b265-a8ec148dcff5 verification in API Server passed
2025-10-27 00:02:08,856 - DEBUG - Response for delete_port : ()
2025-10-27 00:02:08,856 - INFO - Deleted port cfcd2ba9-7107-4a44-b265-a8ec148dcff5
2025-10-27 00:02:08,856 - INFO - Deleting VN ctest-vn-06236138
2025-10-27 00:02:08,963 - DEBUG - Response for deleting network ()
2025-10-27 00:02:09,217 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 00:02:09,217 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-27 00:02:09,217 - INFO - --------------------------------------------------------------------------------
2025-10-27 00:02:09,220 - INFO - ================================================================================
2025-10-27 00:02:09,220 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-27 00:02:09,220 - 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-27 00:02:09,505 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-27 00:02:09,505 - INFO - Initial checks done. Running the testcase now
2025-10-27 00:02:09,505 - INFO -
2025-10-27 00:02:09,676 - DEBUG - Response for create_network : {'network': {'id': 'e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e', 'name': 'ctest-vn1-04594511', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87055763', 'ctest-vn1-04594511'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 00:02:09,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '711e3a03-9a07-4277-9a93-f6a0af062703', 'name': '', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e', 'ip_version': 4, 'cidr': '71.178.196.128/26', 'allocation_pools': [{'start': '71.178.196.130', 'end': '71.178.196.190'}], 'gateway_ip': '71.178.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.178.196.130', 'tags': [], 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:10,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '09e29674-a7b8-464b-a84f-42a6cd202f1c', 'name': '', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e', 'ip_version': 4, 'cidr': '165.193.8.192/26', 'allocation_pools': [{'start': '165.193.8.194', 'end': '165.193.8.254'}], 'gateway_ip': '165.193.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.193.8.194', 'tags': [], 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:10,099 - INFO - Created VN ctest-vn1-04594511
2025-10-27 00:02:10,152 - DEBUG - VN ctest-vn1-04594511 UUID is e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e
2025-10-27 00:02:10,458 - DEBUG - Response for create_port : {'port': {'name': 'e7347da0-bc34-4f4d-a866-c42cc2da3c16', 'id': 'e7347da0-bc34-4f4d-a866-c42cc2da3c16', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e', 'mac_address': '02:e7:34:7d:a0:bc', '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': '71.178.196.133', 'subnet_id': '711e3a03-9a07-4277-9a93-f6a0af062703'}], 'security_groups': ['f348dd94-2578-4db5-a14e-c22476a43fb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:10,626 - DEBUG - Response for create_port : {'port': {'name': '27ca2b60-06a9-4998-80d5-28c8a07b856a', 'id': '27ca2b60-06a9-4998-80d5-28c8a07b856a', 'tenant_id': '59d4902f3d7848bfb7f6e6ed84826f29', 'network_id': 'e5d832ad-5df8-40ac-bfd5-48d3fb09cd7e', 'mac_address': '02:27:ca:2b:60:06', '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': '165.193.8.197', 'subnet_id': '09e29674-a7b8-464b-a84f-42a6cd202f1c'}], 'security_groups': ['f348dd94-2578-4db5-a14e-c22476a43fb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59d4902f3d7848bfb7f6e6ed84826f29'}}
2025-10-27 00:02:10,690 - DEBUG - Services list from nova: [, , ]
2025-10-27 00:02:11,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1)
2025-10-27 00:02:11,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1)
2025-10-27 00:02:11,374 - INFO - Waiting for VM ctest-vn1-vm1-75587914 to be up..
2025-10-27 00:02:11,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 00:02:16,504 - DEBUG - VM is in ACTIVE state now
2025-10-27 00:02:16,504 - INFO - VM name : ctest-vn1-vm1-75587914
2025-10-27 00:02:16,596 - DEBUG - VM ctest-vn1-vm1-75587914 ID is 4dc1ff83-4334-4786-b857-b6a24afc978d
2025-10-27 00:02:16,616 - DEBUG - VM ctest-vn1-vm1-75587914 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1
2025-10-27 00:02:16,685 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4dc1ff83-4334-4786-b857-b6a24afc978d
2025-10-27 00:02:16,693 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e7347da0-bc34-4f4d-a866-c42cc2da3c16
2025-10-27 00:02:19,949 - 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 1019ms')
2025-10-27 00:02:19,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75587914 failed!
2025-10-27 00:02:20,004 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87055763:ctest-vn1-04594511 is 71.178.196.129 and allocation pool is NOT set
2025-10-27 00:02:20,004 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87055763:ctest-vn1-04594511 is 165.193.8.193 and allocation pool is NOT set
2025-10-27 00:02:24,075 - 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=2 ttl=63 time=7.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 7.935/7.935/7.935/0.000 ms')
2025-10-27 00:02:24,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75587914 passed
2025-10-27 00:02:24,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:24,228 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75587914, IP 71.178.196.133, Port 22
2025-10-27 00:02:24,294 - 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-10-27 00:02:24,367 - DEBUG - VM ctest-vn1-vm1-75587914 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 00:02:29,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:29,368 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75587914, IP 71.178.196.133, Port 22
2025-10-27 00:02:29,538 - DEBUG - VM ctest-vn1-vm1-75587914 is ready for SSH connections
2025-10-27 00:02:29,538 - INFO - Waiting for VM ctest-vn1-vm2-70018848 to be up..
2025-10-27 00:02:29,638 - DEBUG - VM is in ACTIVE state now
2025-10-27 00:02:29,638 - INFO - VM name : ctest-vn1-vm2-70018848
2025-10-27 00:02:29,715 - DEBUG - VM ctest-vn1-vm2-70018848 ID is b8b173eb-591f-4c23-a7a9-92acfa749f67
2025-10-27 00:02:29,716 - DEBUG - VM ctest-vn1-vm2-70018848 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1
2025-10-27 00:02:29,792 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b8b173eb-591f-4c23-a7a9-92acfa749f67
2025-10-27 00:02:29,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/27ca2b60-06a9-4998-80d5-28c8a07b856a
2025-10-27 00:02:31,034 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.272 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.272/1.663/3.055/1.391 ms')
2025-10-27 00:02:31,034 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70018848 passed
2025-10-27 00:02:31,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:31,184 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70018848, IP 165.193.8.197, Port 22
2025-10-27 00:02:31,340 - DEBUG - VM ctest-vn1-vm2-70018848 is ready for SSH connections
2025-10-27 00:02:31,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:31,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:31,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 00:02:31,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.178.196.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-27 00:02:31,340 - DEBUG - ping -s 56 -c 3 -W 1 71.178.196.133
2025-10-27 00:02:34,043 - DEBUG - PING 71.178.196.133 (71.178.196.133): 56 data bytes
64 bytes from 71.178.196.133: seq=0 ttl=63 time=3.914 ms
64 bytes from 71.178.196.133: seq=1 ttl=63 time=1.048 ms
64 bytes from 71.178.196.133: seq=2 ttl=63 time=1.075 ms
--- 71.178.196.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.048/2.012/3.914 ms
2025-10-27 00:02:34,043 - INFO - Ping to IP 71.178.196.133 from VM ctest-vn1-vm2-70018848 passed
2025-10-27 00:02:34,043 - INFO - Detaching port 27ca2b60-06a9-4998-80d5-28c8a07b856a from VM ctest-vn1-vm2-70018848
2025-10-27 00:02:34,104 - INFO - Deleting VM ctest-vn1-vm2-70018848
2025-10-27 00:02:34,181 - INFO - Detaching port e7347da0-bc34-4f4d-a866-c42cc2da3c16 from VM ctest-vn1-vm1-75587914
2025-10-27 00:02:34,229 - INFO - Deleting VM ctest-vn1-vm1-75587914
2025-10-27 00:02:34,478 - DEBUG - Response for delete_port : ()
2025-10-27 00:02:34,655 - DEBUG - Response for delete_port : ()
2025-10-27 00:02:34,655 - INFO - Deleting VN ctest-vn1-04594511
2025-10-27 00:02:34,792 - DEBUG - Response for deleting network ()
2025-10-27 00:02:35,045 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 00:02:35,045 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-27 00:02:35,045 - INFO - --------------------------------------------------------------------------------
2025-10-27 00:02:35,812 - INFO - Deleted project: ctest-TestPorts-87055763, ID : 59d4902f-3d78-48bf-b7f6-e6ed84826f29