2025-10-12 19:07:41,692 - INFO - Domain Default found not creating
2025-10-12 19:07:41,824 - INFO - Project ctest-TestPorts-72365055 not found, creating it
2025-10-12 19:07:42,263 - INFO - Created Project:ctest-TestPorts-72365055, ID : 901fb4f8-c8ae-446e-82d8-b15e8b84a886
2025-10-12 19:07:43,635 - INFO - ================================================================================
2025-10-12 19:07:43,635 - INFO - STARTING TEST : test_ports_bindings
2025-10-12 19:07:43,635 - 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-12 19:07:43,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-10-12 19:07:43,893 - INFO - Initial checks done. Running the testcase now
2025-10-12 19:07:43,893 - INFO -
2025-10-12 19:07:44,418 - DEBUG - Response for create_network : {'network': {'id': '6d894d75-12e2-4e53-9400-697be63ee228', 'name': 'ctest-vn-25125582', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72365055', 'ctest-vn-25125582'], 'port_security_enabled': True, 'description': ''}}
2025-10-12 19:07:44,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac5c2095-db8e-4799-a044-8f872bdba710', 'name': '', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '6d894d75-12e2-4e53-9400-697be63ee228', 'ip_version': 4, 'cidr': '143.208.76.192/26', 'allocation_pools': [{'start': '143.208.76.194', 'end': '143.208.76.254'}], 'gateway_ip': '143.208.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.208.76.194', 'tags': [], 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:44,604 - INFO - Created VN ctest-vn-25125582
2025-10-12 19:07:44,659 - DEBUG - VN ctest-vn-25125582 UUID is 6d894d75-12e2-4e53-9400-697be63ee228
2025-10-12 19:07:44,758 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72365055', 'ctest-vmi-07505146']}
2025-10-12 19:07:45,026 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07505146', 'id': '051c9846-cb9c-42f9-b137-b95dd33978c8', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '6d894d75-12e2-4e53-9400-697be63ee228', 'mac_address': '02:05:1c:98:46:cb', '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': '143.208.76.195', 'subnet_id': 'ac5c2095-db8e-4799-a044-8f872bdba710'}], 'security_groups': ['cd7f5c96-50d7-470c-9975-ffac5e1b4380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:45,026 - DEBUG - Created port 051c9846-cb9c-42f9-b137-b95dd33978c8
2025-10-12 19:07:45,131 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/051c9846-cb9c-42f9-b137-b95dd33978c8
2025-10-12 19:07:45,420 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/051c9846-cb9c-42f9-b137-b95dd33978c8
2025-10-12 19:07:45,450 - INFO - VMI 051c9846-cb9c-42f9-b137-b95dd33978c8 verification in API Server passed
2025-10-12 19:07:45,527 - DEBUG - Response for delete_port : ()
2025-10-12 19:07:45,527 - INFO - Deleted port 051c9846-cb9c-42f9-b137-b95dd33978c8
2025-10-12 19:07:45,527 - INFO - Deleting VN ctest-vn-25125582
2025-10-12 19:07:45,610 - DEBUG - Response for deleting network ()
2025-10-12 19:07:45,864 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 19:07:45,864 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-12 19:07:45,864 - INFO - --------------------------------------------------------------------------------
2025-10-12 19:07:45,867 - INFO - ================================================================================
2025-10-12 19:07:45,867 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-12 19:07:45,867 - 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-12 19:07:46,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-10-12 19:07:46,155 - INFO - Initial checks done. Running the testcase now
2025-10-12 19:07:46,155 - INFO -
2025-10-12 19:07:46,517 - DEBUG - Response for create_network : {'network': {'id': '944dc5cb-bb09-4bee-ba32-6c546dfe98a1', 'name': 'ctest-vn1-01864110', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72365055', 'ctest-vn1-01864110'], 'port_security_enabled': True, 'description': ''}}
2025-10-12 19:07:46,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '23664060-9d3c-431e-aeba-be56d6ece9c4', 'name': '', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '944dc5cb-bb09-4bee-ba32-6c546dfe98a1', 'ip_version': 4, 'cidr': '197.216.173.64/26', 'allocation_pools': [{'start': '197.216.173.66', 'end': '197.216.173.126'}], 'gateway_ip': '197.216.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.216.173.66', 'tags': [], 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:46,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd8d971c-d5b2-44c6-a6ad-b1fecc17ec36', 'name': '', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '944dc5cb-bb09-4bee-ba32-6c546dfe98a1', 'ip_version': 4, 'cidr': '40.53.75.128/26', 'allocation_pools': [{'start': '40.53.75.130', 'end': '40.53.75.190'}], 'gateway_ip': '40.53.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.53.75.130', 'tags': [], 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:46,922 - INFO - Created VN ctest-vn1-01864110
2025-10-12 19:07:46,975 - DEBUG - VN ctest-vn1-01864110 UUID is 944dc5cb-bb09-4bee-ba32-6c546dfe98a1
2025-10-12 19:07:47,243 - DEBUG - Response for create_port : {'port': {'name': '1c4efc9d-79dc-4ad8-9ad1-60516f9ba40b', 'id': '1c4efc9d-79dc-4ad8-9ad1-60516f9ba40b', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '944dc5cb-bb09-4bee-ba32-6c546dfe98a1', 'mac_address': '02:1c:4e:fc:9d:79', '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': '197.216.173.69', 'subnet_id': '23664060-9d3c-431e-aeba-be56d6ece9c4'}], 'security_groups': ['cd7f5c96-50d7-470c-9975-ffac5e1b4380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:47,398 - DEBUG - Response for create_port : {'port': {'name': 'b0b89f1a-b023-4696-8719-8f37ca719efe', 'id': 'b0b89f1a-b023-4696-8719-8f37ca719efe', 'tenant_id': '901fb4f8c8ae446e82d8b15e8b84a886', 'network_id': '944dc5cb-bb09-4bee-ba32-6c546dfe98a1', 'mac_address': '02:b0:b8:9f:1a:b0', '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': '40.53.75.133', 'subnet_id': 'cd8d971c-d5b2-44c6-a6ad-b1fecc17ec36'}], 'security_groups': ['cd7f5c96-50d7-470c-9975-ffac5e1b4380'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '901fb4f8c8ae446e82d8b15e8b84a886'}}
2025-10-12 19:07:47,449 - DEBUG - Services list from nova: [, , ]
2025-10-12 19:07:47,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1)
2025-10-12 19:07:48,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1)
2025-10-12 19:07:48,131 - INFO - Waiting for VM ctest-vn1-vm1-50333834 to be up..
2025-10-12 19:07:48,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-12 19:07:53,234 - DEBUG - VM is in ACTIVE state now
2025-10-12 19:07:53,235 - INFO - VM name : ctest-vn1-vm1-50333834
2025-10-12 19:07:53,302 - DEBUG - VM ctest-vn1-vm1-50333834 ID is b859a4bb-def8-44f3-b67b-2d613c51eff2
2025-10-12 19:07:53,319 - DEBUG - VM ctest-vn1-vm1-50333834 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1
2025-10-12 19:07:53,391 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b859a4bb-def8-44f3-b67b-2d613c51eff2
2025-10-12 19:07:53,399 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1c4efc9d-79dc-4ad8-9ad1-60516f9ba40b
2025-10-12 19:07:56,632 - 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 1008ms')
2025-10-12 19:07:56,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50333834 failed!
2025-10-12 19:07:56,691 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72365055:ctest-vn1-01864110 is 197.216.173.65 and allocation pool is NOT set
2025-10-12 19:07:56,691 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72365055:ctest-vn1-01864110 is 40.53.75.129 and allocation pool is NOT set
2025-10-12 19:07:58,757 - 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=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.855 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.855/2.166/3.478/1.311 ms')
2025-10-12 19:07:58,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50333834 passed
2025-10-12 19:07:58,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:07:58,903 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50333834, IP 197.216.173.69, Port 22
2025-10-12 19:07:58,969 - 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-12 19:07:59,044 - DEBUG - VM ctest-vn1-vm1-50333834 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-12 19:08:04,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:08:04,045 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50333834, IP 197.216.173.69, Port 22
2025-10-12 19:08:04,199 - DEBUG - VM ctest-vn1-vm1-50333834 is ready for SSH connections
2025-10-12 19:08:04,199 - INFO - Waiting for VM ctest-vn1-vm2-18251817 to be up..
2025-10-12 19:08:04,270 - DEBUG - VM is in ACTIVE state now
2025-10-12 19:08:04,270 - INFO - VM name : ctest-vn1-vm2-18251817
2025-10-12 19:08:04,343 - DEBUG - VM ctest-vn1-vm2-18251817 ID is b89b0d46-306d-4a8f-a55c-1d7ed4375c0e
2025-10-12 19:08:04,343 - DEBUG - VM ctest-vn1-vm2-18251817 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1
2025-10-12 19:08:04,416 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b89b0d46-306d-4a8f-a55c-1d7ed4375c0e
2025-10-12 19:08:04,425 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b0b89f1a-b023-4696-8719-8f37ca719efe
2025-10-12 19:08:05,660 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/2.199/3.775/1.576 ms')
2025-10-12 19:08:05,661 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18251817 passed
2025-10-12 19:08:05,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:08:05,807 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18251817, IP 40.53.75.133, Port 22
2025-10-12 19:08:05,970 - DEBUG - VM ctest-vn1-vm2-18251817 is ready for SSH connections
2025-10-12 19:08:05,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:08:05,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:08:05,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 19:08:05,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.216.173.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-10-12 19:08:05,971 - DEBUG - ping -s 56 -c 3 -W 1 197.216.173.69
2025-10-12 19:08:08,601 - DEBUG - PING 197.216.173.69 (197.216.173.69): 56 data bytes
64 bytes from 197.216.173.69: seq=0 ttl=63 time=4.275 ms
64 bytes from 197.216.173.69: seq=1 ttl=63 time=0.833 ms
64 bytes from 197.216.173.69: seq=2 ttl=63 time=1.134 ms
--- 197.216.173.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.833/2.080/4.275 ms
2025-10-12 19:08:08,601 - INFO - Ping to IP 197.216.173.69 from VM ctest-vn1-vm2-18251817 passed
2025-10-12 19:08:08,601 - INFO - Detaching port b0b89f1a-b023-4696-8719-8f37ca719efe from VM ctest-vn1-vm2-18251817
2025-10-12 19:08:08,662 - INFO - Deleting VM ctest-vn1-vm2-18251817
2025-10-12 19:08:08,750 - INFO - Detaching port 1c4efc9d-79dc-4ad8-9ad1-60516f9ba40b from VM ctest-vn1-vm1-50333834
2025-10-12 19:08:08,787 - INFO - Deleting VM ctest-vn1-vm1-50333834
2025-10-12 19:08:09,013 - DEBUG - Response for delete_port : ()
2025-10-12 19:08:09,161 - DEBUG - Response for delete_port : ()
2025-10-12 19:08:09,161 - INFO - Deleting VN ctest-vn1-01864110
2025-10-12 19:08:09,293 - DEBUG - Response for deleting network ()
2025-10-12 19:08:09,551 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 19:08:09,551 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-12 19:08:09,551 - INFO - --------------------------------------------------------------------------------
2025-10-12 19:08:10,267 - INFO - Deleted project: ctest-TestPorts-72365055, ID : 901fb4f8-c8ae-446e-82d8-b15e8b84a886