2025-12-18 02:17:18,215 - INFO - Domain Default found not creating
2025-12-18 02:17:18,418 - INFO - Project ctest-TestPorts-21019724 not found, creating it
2025-12-18 02:17:18,932 - INFO - Created Project:ctest-TestPorts-21019724, ID : 2489d32c-fd5d-488d-ab25-ba57a9517134
2025-12-18 02:17:20,882 - INFO - ================================================================================
2025-12-18 02:17:20,882 - INFO - STARTING TEST : test_ports_bindings
2025-12-18 02:17:20,882 - 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-12-18 02:17:21,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.5': '0'}} with
2025-12-18 02:17:21,153 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:17:21,153 - INFO -
2025-12-18 02:17:21,834 - DEBUG - Response for create_network : {'network': {'id': 'ff3fc158-8cb0-47a5-bb2d-a1f5497947cd', 'name': 'ctest-vn-83313524', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'project_id': '2489d32cfd5d488dab25ba57a9517134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21019724', 'ctest-vn-83313524'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:17:22,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '6929353d-5367-457c-bca7-b784aeafff38', 'name': '', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': 'ff3fc158-8cb0-47a5-bb2d-a1f5497947cd', 'ip_version': 4, 'cidr': '222.151.144.0/26', 'allocation_pools': [{'start': '222.151.144.2', 'end': '222.151.144.62'}], 'gateway_ip': '222.151.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.151.144.2', 'tags': [], 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:22,046 - INFO - Created VN ctest-vn-83313524
2025-12-18 02:17:22,103 - DEBUG - VN ctest-vn-83313524 UUID is ff3fc158-8cb0-47a5-bb2d-a1f5497947cd
2025-12-18 02:17:22,222 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21019724', 'ctest-vmi-65768884']}
2025-12-18 02:17:22,497 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65768884', 'id': 'face92cb-8147-4038-a15a-44c4f0108a57', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': 'ff3fc158-8cb0-47a5-bb2d-a1f5497947cd', 'mac_address': '02:fa:ce:92:cb:81', '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': '222.151.144.3', 'subnet_id': '6929353d-5367-457c-bca7-b784aeafff38'}], 'security_groups': ['86a50c27-53d3-461d-8d97-5f070258e4dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:22,497 - DEBUG - Created port face92cb-8147-4038-a15a-44c4f0108a57
2025-12-18 02:17:22,607 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/face92cb-8147-4038-a15a-44c4f0108a57
2025-12-18 02:17:22,958 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/face92cb-8147-4038-a15a-44c4f0108a57
2025-12-18 02:17:23,002 - INFO - VMI face92cb-8147-4038-a15a-44c4f0108a57 verification in API Server passed
2025-12-18 02:17:23,109 - DEBUG - Response for delete_port : ()
2025-12-18 02:17:23,109 - INFO - Deleted port face92cb-8147-4038-a15a-44c4f0108a57
2025-12-18 02:17:23,110 - INFO - Deleting VN ctest-vn-83313524
2025-12-18 02:17:23,225 - DEBUG - Response for deleting network ()
2025-12-18 02:17:23,495 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:17:23,496 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-18 02:17:23,496 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:17:23,500 - INFO - ================================================================================
2025-12-18 02:17:23,500 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-18 02:17:23,500 - 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-12-18 02:17:23,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.5': '0'}} with
2025-12-18 02:17:23,795 - INFO - Initial checks done. Running the testcase now
2025-12-18 02:17:23,795 - INFO -
2025-12-18 02:17:24,144 - DEBUG - Response for create_network : {'network': {'id': '121798be-a678-45d4-ac01-04771c598f44', 'name': 'ctest-vn1-49521028', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'project_id': '2489d32cfd5d488dab25ba57a9517134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21019724', 'ctest-vn1-49521028'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 02:17:24,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '775d3ec6-4ea2-4fd1-b300-41b38afb12dd', 'name': '', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': '121798be-a678-45d4-ac01-04771c598f44', 'ip_version': 4, 'cidr': '48.226.92.128/26', 'allocation_pools': [{'start': '48.226.92.130', 'end': '48.226.92.190'}], 'gateway_ip': '48.226.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.226.92.130', 'tags': [], 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:24,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '2603bcd4-bcae-4754-b148-64f893b27d6a', 'name': '', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': '121798be-a678-45d4-ac01-04771c598f44', 'ip_version': 4, 'cidr': '72.159.180.0/26', 'allocation_pools': [{'start': '72.159.180.2', 'end': '72.159.180.62'}], 'gateway_ip': '72.159.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.159.180.2', 'tags': [], 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:24,560 - INFO - Created VN ctest-vn1-49521028
2025-12-18 02:17:24,615 - DEBUG - VN ctest-vn1-49521028 UUID is 121798be-a678-45d4-ac01-04771c598f44
2025-12-18 02:17:24,964 - DEBUG - Response for create_port : {'port': {'name': '8c7ab6d6-e57e-4bdb-a6b2-c1e1773d9d57', 'id': '8c7ab6d6-e57e-4bdb-a6b2-c1e1773d9d57', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': '121798be-a678-45d4-ac01-04771c598f44', 'mac_address': '02:8c:7a:b6:d6:e5', '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': '48.226.92.133', 'subnet_id': '775d3ec6-4ea2-4fd1-b300-41b38afb12dd'}], 'security_groups': ['86a50c27-53d3-461d-8d97-5f070258e4dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:25,176 - DEBUG - Response for create_port : {'port': {'name': '911c32b3-680d-4a33-b5f2-cded98da5cd7', 'id': '911c32b3-680d-4a33-b5f2-cded98da5cd7', 'tenant_id': '2489d32cfd5d488dab25ba57a9517134', 'network_id': '121798be-a678-45d4-ac01-04771c598f44', 'mac_address': '02:91:1c:32:b3:68', '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': '72.159.180.5', 'subnet_id': '2603bcd4-bcae-4754-b148-64f893b27d6a'}], 'security_groups': ['86a50c27-53d3-461d-8d97-5f070258e4dd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2489d32cfd5d488dab25ba57a9517134'}}
2025-12-18 02:17:25,245 - DEBUG - Services list from nova: [, , ]
2025-12-18 02:17:25,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1)
2025-12-18 02:17:26,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1)
2025-12-18 02:17:26,159 - INFO - Waiting for VM ctest-vn1-vm1-17278264 to be up..
2025-12-18 02:17:26,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 02:17:31,307 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:17:31,308 - INFO - VM name : ctest-vn1-vm1-17278264
2025-12-18 02:17:31,399 - DEBUG - VM ctest-vn1-vm1-17278264 ID is c92680c9-a245-4a0d-8738-81ed99d5f539
2025-12-18 02:17:31,424 - DEBUG - VM ctest-vn1-vm1-17278264 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1
2025-12-18 02:17:31,509 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c92680c9-a245-4a0d-8738-81ed99d5f539
2025-12-18 02:17:31,518 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/8c7ab6d6-e57e-4bdb-a6b2-c1e1773d9d57
2025-12-18 02:17:34,768 - 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 1001ms')
2025-12-18 02:17:34,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17278264 failed!
2025-12-18 02:17:34,827 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21019724:ctest-vn1-49521028 is 48.226.92.129 and allocation pool is NOT set
2025-12-18 02:17:34,827 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21019724:ctest-vn1-49521028 is 72.159.180.1 and allocation pool is NOT set
2025-12-18 02:17:38,927 - 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 1032ms')
2025-12-18 02:17:38,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17278264 failed!
2025-12-18 02:17:38,987 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21019724:ctest-vn1-49521028 is 48.226.92.129 and allocation pool is NOT set
2025-12-18 02:17:38,987 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21019724:ctest-vn1-49521028 is 72.159.180.1 and allocation pool is NOT set
2025-12-18 02:17:41,050 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 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 = 1.606/3.263/4.920/1.657 ms')
2025-12-18 02:17:41,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17278264 passed
2025-12-18 02:17:41,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:41,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17278264, IP 48.226.92.133, Port 22
2025-12-18 02:17:41,278 - 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-12-18 02:17:41,369 - DEBUG - VM ctest-vn1-vm1-17278264 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-18 02:17:46,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:46,371 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17278264, IP 48.226.92.133, Port 22
2025-12-18 02:17:46,549 - DEBUG - VM ctest-vn1-vm1-17278264 is ready for SSH connections
2025-12-18 02:17:46,549 - INFO - Waiting for VM ctest-vn1-vm2-62001479 to be up..
2025-12-18 02:17:46,643 - DEBUG - VM is in ACTIVE state now
2025-12-18 02:17:46,643 - INFO - VM name : ctest-vn1-vm2-62001479
2025-12-18 02:17:46,728 - DEBUG - VM ctest-vn1-vm2-62001479 ID is 81ac406e-d144-4135-87ac-13c1a38fe783
2025-12-18 02:17:46,728 - DEBUG - VM ctest-vn1-vm2-62001479 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1
2025-12-18 02:17:46,811 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/81ac406e-d144-4135-87ac-13c1a38fe783
2025-12-18 02:17:46,827 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/911c32b3-680d-4a33-b5f2-cded98da5cd7
2025-12-18 02:17:48,068 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.960/3.490/1.530 ms')
2025-12-18 02:17:48,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62001479 passed
2025-12-18 02:17:48,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:48,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62001479, IP 72.159.180.5, Port 22
2025-12-18 02:17:48,389 - DEBUG - VM ctest-vn1-vm2-62001479 is ready for SSH connections
2025-12-18 02:17:48,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:48,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:48,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 02:17:48,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.226.92.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-12-18 02:17:48,390 - DEBUG - ping -s 56 -c 3 -W 1 48.226.92.133
2025-12-18 02:17:51,155 - DEBUG - PING 48.226.92.133 (48.226.92.133): 56 data bytes
64 bytes from 48.226.92.133: seq=0 ttl=63 time=4.561 ms
64 bytes from 48.226.92.133: seq=1 ttl=63 time=1.067 ms
64 bytes from 48.226.92.133: seq=2 ttl=63 time=0.992 ms
--- 48.226.92.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.992/2.206/4.561 ms
2025-12-18 02:17:51,155 - INFO - Ping to IP 48.226.92.133 from VM ctest-vn1-vm2-62001479 passed
2025-12-18 02:17:51,155 - INFO - Detaching port 911c32b3-680d-4a33-b5f2-cded98da5cd7 from VM ctest-vn1-vm2-62001479
2025-12-18 02:17:51,219 - INFO - Deleting VM ctest-vn1-vm2-62001479
2025-12-18 02:17:51,300 - INFO - Detaching port 8c7ab6d6-e57e-4bdb-a6b2-c1e1773d9d57 from VM ctest-vn1-vm1-17278264
2025-12-18 02:17:51,343 - INFO - Deleting VM ctest-vn1-vm1-17278264
2025-12-18 02:17:51,624 - DEBUG - Response for delete_port : ()
2025-12-18 02:17:51,813 - DEBUG - Response for delete_port : ()
2025-12-18 02:17:51,814 - INFO - Deleting VN ctest-vn1-49521028
2025-12-18 02:17:51,967 - DEBUG - Response for deleting network ()
2025-12-18 02:17:52,230 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 02:17:52,230 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-12-18 02:17:52,230 - INFO - --------------------------------------------------------------------------------
2025-12-18 02:17:52,996 - INFO - Deleted project: ctest-TestPorts-21019724, ID : 2489d32c-fd5d-488d-ab25-ba57a9517134