2025-08-07 22:17:10,031 - INFO - Domain Default found not creating
2025-08-07 22:17:10,196 - INFO - Project ctest-TestPorts-11720801 not found, creating it
2025-08-07 22:17:10,671 - INFO - Created Project:ctest-TestPorts-11720801, ID : 847b4621-7857-44f3-8197-fe3fd3d8df7d
2025-08-07 22:17:12,148 - INFO - ================================================================================
2025-08-07 22:17:12,148 - INFO - STARTING TEST : test_ports_bindings
2025-08-07 22:17:12,148 - 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-07 22:17:12,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-07 22:17:12,407 - INFO - Initial checks done. Running the testcase now
2025-08-07 22:17:12,407 - INFO -
2025-08-07 22:17:13,016 - DEBUG - Response for create_network : {'network': {'id': '5b3b135a-ffa3-4f16-8125-137ab692cc8d', 'name': 'ctest-vn-66570888', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'project_id': '847b4621785744f38197fe3fd3d8df7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11720801', 'ctest-vn-66570888'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 22:17:13,345 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0b65ce6-4033-445d-8bb9-4159c82b94bc', 'name': '', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '5b3b135a-ffa3-4f16-8125-137ab692cc8d', 'ip_version': 4, 'cidr': '128.224.102.0/26', 'allocation_pools': [{'start': '128.224.102.2', 'end': '128.224.102.62'}], 'gateway_ip': '128.224.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.224.102.2', 'tags': [], 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:13,365 - INFO - Created VN ctest-vn-66570888
2025-08-07 22:17:13,420 - DEBUG - VN ctest-vn-66570888 UUID is 5b3b135a-ffa3-4f16-8125-137ab692cc8d
2025-08-07 22:17:13,540 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11720801', 'ctest-vmi-26553714']}
2025-08-07 22:17:13,810 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26553714', 'id': '3e4de45d-dfe3-4475-a72f-b6553f6b9a36', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '5b3b135a-ffa3-4f16-8125-137ab692cc8d', 'mac_address': '02:3e:4d:e4:5d:df', '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': '128.224.102.3', 'subnet_id': 'b0b65ce6-4033-445d-8bb9-4159c82b94bc'}], 'security_groups': ['687bc4ab-3d3e-49c9-92b8-be6c8499846a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:13,810 - DEBUG - Created port 3e4de45d-dfe3-4475-a72f-b6553f6b9a36
2025-08-07 22:17:13,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e4de45d-dfe3-4475-a72f-b6553f6b9a36
2025-08-07 22:17:14,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3e4de45d-dfe3-4475-a72f-b6553f6b9a36
2025-08-07 22:17:14,272 - INFO - VMI 3e4de45d-dfe3-4475-a72f-b6553f6b9a36 verification in API Server passed
2025-08-07 22:17:14,392 - DEBUG - Response for delete_port : ()
2025-08-07 22:17:14,392 - INFO - Deleted port 3e4de45d-dfe3-4475-a72f-b6553f6b9a36
2025-08-07 22:17:14,392 - INFO - Deleting VN ctest-vn-66570888
2025-08-07 22:17:14,526 - DEBUG - Response for deleting network ()
2025-08-07 22:17:14,794 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 22:17:14,794 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-07 22:17:14,794 - INFO - --------------------------------------------------------------------------------
2025-08-07 22:17:14,797 - INFO - ================================================================================
2025-08-07 22:17:14,797 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-07 22:17:14,797 - 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-07 22:17:15,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-07 22:17:15,090 - INFO - Initial checks done. Running the testcase now
2025-08-07 22:17:15,090 - INFO -
2025-08-07 22:17:15,272 - DEBUG - Response for create_network : {'network': {'id': '43add9a3-640b-4fe6-be24-d319b27474b8', 'name': 'ctest-vn1-79791865', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'project_id': '847b4621785744f38197fe3fd3d8df7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11720801', 'ctest-vn1-79791865'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 22:17:15,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a9fb26c-9327-44a9-9db0-83730408131b', 'name': '', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '43add9a3-640b-4fe6-be24-d319b27474b8', 'ip_version': 4, 'cidr': '109.94.149.64/26', 'allocation_pools': [{'start': '109.94.149.66', 'end': '109.94.149.126'}], 'gateway_ip': '109.94.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.94.149.66', 'tags': [], 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:15,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c7bb3e9-0ed3-4704-a582-5fc5e1e73508', 'name': '', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '43add9a3-640b-4fe6-be24-d319b27474b8', 'ip_version': 4, 'cidr': '199.224.250.0/26', 'allocation_pools': [{'start': '199.224.250.2', 'end': '199.224.250.62'}], 'gateway_ip': '199.224.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.224.250.2', 'tags': [], 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:15,672 - INFO - Created VN ctest-vn1-79791865
2025-08-07 22:17:15,724 - DEBUG - VN ctest-vn1-79791865 UUID is 43add9a3-640b-4fe6-be24-d319b27474b8
2025-08-07 22:17:16,086 - DEBUG - Response for create_port : {'port': {'name': 'aa85eb9a-be14-4eb6-9790-7334187ac11f', 'id': 'aa85eb9a-be14-4eb6-9790-7334187ac11f', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '43add9a3-640b-4fe6-be24-d319b27474b8', 'mac_address': '02:aa:85:eb:9a:be', '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': '109.94.149.69', 'subnet_id': '5a9fb26c-9327-44a9-9db0-83730408131b'}], 'security_groups': ['687bc4ab-3d3e-49c9-92b8-be6c8499846a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:16,275 - DEBUG - Response for create_port : {'port': {'name': '9a8458a1-c1ab-45c9-b2fa-cc5194084641', 'id': '9a8458a1-c1ab-45c9-b2fa-cc5194084641', 'tenant_id': '847b4621785744f38197fe3fd3d8df7d', 'network_id': '43add9a3-640b-4fe6-be24-d319b27474b8', 'mac_address': '02:9a:84:58:a1:c1', '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': '199.224.250.5', 'subnet_id': '0c7bb3e9-0ed3-4704-a582-5fc5e1e73508'}], 'security_groups': ['687bc4ab-3d3e-49c9-92b8-be6c8499846a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '847b4621785744f38197fe3fd3d8df7d'}}
2025-08-07 22:17:16,333 - DEBUG - Services list from nova: [, , ]
2025-08-07 22:17:16,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1)
2025-08-07 22:17:17,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3777-1)
2025-08-07 22:17:17,118 - INFO - Waiting for VM ctest-vn1-vm1-08032309 to be up..
2025-08-07 22:17:17,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-07 22:17:22,239 - DEBUG - VM is in ACTIVE state now
2025-08-07 22:17:22,239 - INFO - VM name : ctest-vn1-vm1-08032309
2025-08-07 22:17:22,315 - DEBUG - VM ctest-vn1-vm1-08032309 ID is 0c422152-9a87-4d86-9624-82811246a422
2025-08-07 22:17:22,338 - DEBUG - VM ctest-vn1-vm1-08032309 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1
2025-08-07 22:17:22,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c422152-9a87-4d86-9624-82811246a422
2025-08-07 22:17:22,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aa85eb9a-be14-4eb6-9790-7334187ac11f
2025-08-07 22:17:25,698 - 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 1027ms')
2025-08-07 22:17:25,698 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-08032309 failed!
2025-08-07 22:17:25,760 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11720801:ctest-vn1-79791865 is 109.94.149.65 and allocation pool is NOT set
2025-08-07 22:17:25,761 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11720801:ctest-vn1-79791865 is 199.224.250.1 and allocation pool is NOT set
2025-08-07 22:17:27,834 - 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=6.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.84 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 = 1.843/4.394/6.946/2.551 ms')
2025-08-07 22:17:27,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-08032309 passed
2025-08-07 22:17:27,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:27,988 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08032309, IP 109.94.149.69, Port 22
2025-08-07 22:17:28,044 - 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-08-07 22:17:28,124 - DEBUG - VM ctest-vn1-vm1-08032309 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 22:17:33,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:33,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08032309, IP 109.94.149.69, Port 22
2025-08-07 22:17:33,284 - DEBUG - VM ctest-vn1-vm1-08032309 is ready for SSH connections
2025-08-07 22:17:33,284 - INFO - Waiting for VM ctest-vn1-vm2-01598663 to be up..
2025-08-07 22:17:33,364 - DEBUG - VM is in ACTIVE state now
2025-08-07 22:17:33,365 - INFO - VM name : ctest-vn1-vm2-01598663
2025-08-07 22:17:33,447 - DEBUG - VM ctest-vn1-vm2-01598663 ID is d99a5ad2-40f5-4156-adf6-c16e2723359b
2025-08-07 22:17:33,447 - DEBUG - VM ctest-vn1-vm2-01598663 launched on Node cn-jenkins-deploy-platform-ansible-os-3777-1
2025-08-07 22:17:33,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d99a5ad2-40f5-4156-adf6-c16e2723359b
2025-08-07 22:17:33,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a8458a1-c1ab-45c9-b2fa-cc5194084641
2025-08-07 22:17:34,799 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.439/1.934/3.429/1.495 ms')
2025-08-07 22:17:34,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01598663 passed
2025-08-07 22:17:34,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:34,957 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01598663, IP 199.224.250.5, Port 22
2025-08-07 22:17:35,116 - DEBUG - VM ctest-vn1-vm2-01598663 is ready for SSH connections
2025-08-07 22:17:35,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:35,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:35,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 22:17:35,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.94.149.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-07 22:17:35,116 - DEBUG - ping -s 56 -c 3 -W 1 109.94.149.69
2025-08-07 22:17:39,118 - DEBUG - PING 109.94.149.69 (109.94.149.69): 56 data bytes
64 bytes from 109.94.149.69: seq=0 ttl=63 time=5.539 ms
64 bytes from 109.94.149.69: seq=1 ttl=63 time=0.989 ms
64 bytes from 109.94.149.69: seq=2 ttl=63 time=0.908 ms
--- 109.94.149.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.908/2.478/5.539 ms
2025-08-07 22:17:39,118 - INFO - Ping to IP 109.94.149.69 from VM ctest-vn1-vm2-01598663 passed
2025-08-07 22:17:39,118 - INFO - Detaching port 9a8458a1-c1ab-45c9-b2fa-cc5194084641 from VM ctest-vn1-vm2-01598663
2025-08-07 22:17:39,175 - INFO - Deleting VM ctest-vn1-vm2-01598663
2025-08-07 22:17:39,250 - INFO - Detaching port aa85eb9a-be14-4eb6-9790-7334187ac11f from VM ctest-vn1-vm1-08032309
2025-08-07 22:17:39,285 - INFO - Deleting VM ctest-vn1-vm1-08032309
2025-08-07 22:17:39,557 - DEBUG - Response for delete_port : ()
2025-08-07 22:17:39,741 - DEBUG - Response for delete_port : ()
2025-08-07 22:17:39,741 - INFO - Deleting VN ctest-vn1-79791865
2025-08-07 22:17:39,892 - DEBUG - Response for deleting network ()
2025-08-07 22:17:40,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 22:17:40,150 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-07 22:17:40,150 - INFO - --------------------------------------------------------------------------------
2025-08-07 22:17:40,845 - INFO - Deleted project: ctest-TestPorts-11720801, ID : 847b4621-7857-44f3-8197-fe3fd3d8df7d