2025-08-14 14:35:26,239 - INFO - Domain Default found not creating
2025-08-14 14:35:26,395 - INFO - Project ctest-TestPorts-08503509 not found, creating it
2025-08-14 14:35:26,873 - INFO - Created Project:ctest-TestPorts-08503509, ID : 3a36c54e-1ae2-4dd5-84a9-dca8099c0ed4
2025-08-14 14:35:28,451 - INFO - ================================================================================
2025-08-14 14:35:28,451 - INFO - STARTING TEST : test_ports_bindings
2025-08-14 14:35:28,451 - 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-08-14 14:35:28,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-08-14 14:35:28,715 - INFO - Initial checks done. Running the testcase now
2025-08-14 14:35:28,715 - INFO -
2025-08-14 14:35:29,838 - DEBUG - Response for create_network : {'network': {'id': 'd0f7f655-c660-4763-88f5-c24bc081258c', 'name': 'ctest-vn-91406524', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08503509', 'ctest-vn-91406524'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 14:35:30,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ff20b51-5a79-4f87-a545-bd2827d4a459', 'name': '', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'd0f7f655-c660-4763-88f5-c24bc081258c', 'ip_version': 4, 'cidr': '168.167.122.128/26', 'allocation_pools': [{'start': '168.167.122.130', 'end': '168.167.122.190'}], 'gateway_ip': '168.167.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.167.122.130', 'tags': [], 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:30,063 - INFO - Created VN ctest-vn-91406524
2025-08-14 14:35:30,114 - DEBUG - VN ctest-vn-91406524 UUID is d0f7f655-c660-4763-88f5-c24bc081258c
2025-08-14 14:35:30,217 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08503509', 'ctest-vmi-23979819']}
2025-08-14 14:35:30,498 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23979819', 'id': '8147c4d9-3917-42a5-9477-708849ac6cb4', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'd0f7f655-c660-4763-88f5-c24bc081258c', 'mac_address': '02:81:47:c4:d9:39', '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': '168.167.122.131', 'subnet_id': '0ff20b51-5a79-4f87-a545-bd2827d4a459'}], 'security_groups': ['c712ac86-e21b-455e-99d8-0122aa016549'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:30,498 - DEBUG - Created port 8147c4d9-3917-42a5-9477-708849ac6cb4
2025-08-14 14:35:30,602 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8147c4d9-3917-42a5-9477-708849ac6cb4
2025-08-14 14:35:30,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8147c4d9-3917-42a5-9477-708849ac6cb4
2025-08-14 14:35:30,965 - INFO - VMI 8147c4d9-3917-42a5-9477-708849ac6cb4 verification in API Server passed
2025-08-14 14:35:31,052 - DEBUG - Response for delete_port : ()
2025-08-14 14:35:31,052 - INFO - Deleted port 8147c4d9-3917-42a5-9477-708849ac6cb4
2025-08-14 14:35:31,052 - INFO - Deleting VN ctest-vn-91406524
2025-08-14 14:35:31,162 - DEBUG - Response for deleting network ()
2025-08-14 14:35:31,415 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:35:31,415 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-14 14:35:31,415 - INFO - --------------------------------------------------------------------------------
2025-08-14 14:35:31,417 - INFO - ================================================================================
2025-08-14 14:35:31,417 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-14 14:35:31,417 - 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-08-14 14:35:31,711 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-08-14 14:35:31,711 - INFO - Initial checks done. Running the testcase now
2025-08-14 14:35:31,711 - INFO -
2025-08-14 14:35:31,888 - DEBUG - Response for create_network : {'network': {'id': 'b1761854-08db-46b8-ae62-905501f0ffa5', 'name': 'ctest-vn1-94722792', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08503509', 'ctest-vn1-94722792'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 14:35:32,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '5509c1d6-7a95-49e3-8301-64e52b00c830', 'name': '', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'b1761854-08db-46b8-ae62-905501f0ffa5', 'ip_version': 4, 'cidr': '129.27.15.192/26', 'allocation_pools': [{'start': '129.27.15.194', 'end': '129.27.15.254'}], 'gateway_ip': '129.27.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.27.15.194', 'tags': [], 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:32,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '963f3a7b-3212-48d4-a5ad-b1c9e411d209', 'name': '', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'b1761854-08db-46b8-ae62-905501f0ffa5', 'ip_version': 4, 'cidr': '86.121.168.0/26', 'allocation_pools': [{'start': '86.121.168.2', 'end': '86.121.168.62'}], 'gateway_ip': '86.121.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.121.168.2', 'tags': [], 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:32,317 - INFO - Created VN ctest-vn1-94722792
2025-08-14 14:35:32,369 - DEBUG - VN ctest-vn1-94722792 UUID is b1761854-08db-46b8-ae62-905501f0ffa5
2025-08-14 14:35:32,661 - DEBUG - Response for create_port : {'port': {'name': 'c7e20744-7f34-4905-a573-96b77aec5822', 'id': 'c7e20744-7f34-4905-a573-96b77aec5822', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'b1761854-08db-46b8-ae62-905501f0ffa5', 'mac_address': '02:c7:e2:07:44:7f', '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': '129.27.15.197', 'subnet_id': '5509c1d6-7a95-49e3-8301-64e52b00c830'}], 'security_groups': ['c712ac86-e21b-455e-99d8-0122aa016549'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:32,836 - DEBUG - Response for create_port : {'port': {'name': '574b6c62-095c-4696-9c44-73bd66438949', 'id': '574b6c62-095c-4696-9c44-73bd66438949', 'tenant_id': '3a36c54e1ae24dd584a9dca8099c0ed4', 'network_id': 'b1761854-08db-46b8-ae62-905501f0ffa5', 'mac_address': '02:57:4b:6c:62:09', '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': '86.121.168.5', 'subnet_id': '963f3a7b-3212-48d4-a5ad-b1c9e411d209'}], 'security_groups': ['c712ac86-e21b-455e-99d8-0122aa016549'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a36c54e1ae24dd584a9dca8099c0ed4'}}
2025-08-14 14:35:32,890 - DEBUG - Services list from nova: [, , ]
2025-08-14 14:35:33,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1)
2025-08-14 14:35:33,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1)
2025-08-14 14:35:33,695 - INFO - Waiting for VM ctest-vn1-vm1-29993298 to be up..
2025-08-14 14:35:33,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 14:35:38,808 - DEBUG - VM is in ACTIVE state now
2025-08-14 14:35:38,808 - INFO - VM name : ctest-vn1-vm1-29993298
2025-08-14 14:35:38,878 - DEBUG - VM ctest-vn1-vm1-29993298 ID is b45d70e4-3979-4cd5-b39f-066ba5239ab3
2025-08-14 14:35:38,895 - DEBUG - VM ctest-vn1-vm1-29993298 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1
2025-08-14 14:35:38,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b45d70e4-3979-4cd5-b39f-066ba5239ab3
2025-08-14 14:35:38,971 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7e20744-7f34-4905-a573-96b77aec5822
2025-08-14 14:35:42,212 - 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 1006ms')
2025-08-14 14:35:42,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29993298 failed!
2025-08-14 14:35:42,265 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08503509:ctest-vn1-94722792 is 129.27.15.193 and allocation pool is NOT set
2025-08-14 14:35:42,266 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08503509:ctest-vn1-94722792 is 86.121.168.1 and allocation pool is NOT set
2025-08-14 14:35:44,326 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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.371/7.360/13.350/5.989 ms')
2025-08-14 14:35:44,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29993298 passed
2025-08-14 14:35:44,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:44,482 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29993298, IP 129.27.15.197, Port 22
2025-08-14 14:35:44,551 - 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-08-14 14:35:44,628 - DEBUG - VM ctest-vn1-vm1-29993298 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 14:35:49,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:49,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29993298, IP 129.27.15.197, Port 22
2025-08-14 14:35:49,799 - DEBUG - VM ctest-vn1-vm1-29993298 is ready for SSH connections
2025-08-14 14:35:49,800 - INFO - Waiting for VM ctest-vn1-vm2-63399389 to be up..
2025-08-14 14:35:49,873 - DEBUG - VM is in ACTIVE state now
2025-08-14 14:35:49,873 - INFO - VM name : ctest-vn1-vm2-63399389
2025-08-14 14:35:49,945 - DEBUG - VM ctest-vn1-vm2-63399389 ID is b52ce562-684e-4c7e-84bb-cf914be0b992
2025-08-14 14:35:49,946 - DEBUG - VM ctest-vn1-vm2-63399389 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1
2025-08-14 14:35:50,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b52ce562-684e-4c7e-84bb-cf914be0b992
2025-08-14 14:35:50,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/574b6c62-095c-4696-9c44-73bd66438949
2025-08-14 14:35:51,269 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.693/3.041/1.348 ms')
2025-08-14 14:35:51,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63399389 passed
2025-08-14 14:35:51,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:51,422 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63399389, IP 86.121.168.5, Port 22
2025-08-14 14:35:51,581 - DEBUG - VM ctest-vn1-vm2-63399389 is ready for SSH connections
2025-08-14 14:35:51,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:51,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:51,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:35:51,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.27.15.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-14 14:35:51,582 - DEBUG - ping -s 56 -c 3 -W 1 129.27.15.197
2025-08-14 14:35:54,280 - DEBUG - PING 129.27.15.197 (129.27.15.197): 56 data bytes
64 bytes from 129.27.15.197: seq=0 ttl=63 time=3.682 ms
64 bytes from 129.27.15.197: seq=1 ttl=63 time=0.755 ms
64 bytes from 129.27.15.197: seq=2 ttl=63 time=1.146 ms
--- 129.27.15.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.755/1.861/3.682 ms
2025-08-14 14:35:54,280 - INFO - Ping to IP 129.27.15.197 from VM ctest-vn1-vm2-63399389 passed
2025-08-14 14:35:54,280 - INFO - Detaching port 574b6c62-095c-4696-9c44-73bd66438949 from VM ctest-vn1-vm2-63399389
2025-08-14 14:35:54,332 - INFO - Deleting VM ctest-vn1-vm2-63399389
2025-08-14 14:35:54,402 - INFO - Detaching port c7e20744-7f34-4905-a573-96b77aec5822 from VM ctest-vn1-vm1-29993298
2025-08-14 14:35:54,433 - INFO - Deleting VM ctest-vn1-vm1-29993298
2025-08-14 14:35:54,668 - DEBUG - Response for delete_port : ()
2025-08-14 14:35:54,845 - DEBUG - Response for delete_port : ()
2025-08-14 14:35:54,845 - INFO - Deleting VN ctest-vn1-94722792
2025-08-14 14:35:54,979 - DEBUG - Response for deleting network ()
2025-08-14 14:35:55,235 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:35:55,235 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-14 14:35:55,235 - INFO - --------------------------------------------------------------------------------
2025-08-14 14:35:55,975 - INFO - Deleted project: ctest-TestPorts-08503509, ID : 3a36c54e-1ae2-4dd5-84a9-dca8099c0ed4