2025-08-20 13:37:22,272 - INFO - Domain Default found not creating
2025-08-20 13:37:22,391 - INFO - Project ctest-TestPorts-71782210 not found, creating it
2025-08-20 13:37:22,812 - INFO - Created Project:ctest-TestPorts-71782210, ID : 79729bd3-41ba-4cbc-be11-d2aaadf325f9
2025-08-20 13:37:24,164 - INFO - ================================================================================
2025-08-20 13:37:24,164 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 13:37:24,164 - 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-20 13:37:24,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-08-20 13:37:24,426 - INFO - Initial checks done. Running the testcase now
2025-08-20 13:37:24,426 - INFO -
2025-08-20 13:37:25,032 - DEBUG - Response for create_network : {'network': {'id': '414c0b5b-4181-47a4-a150-327320870dad', 'name': 'ctest-vn-62937586', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71782210', 'ctest-vn-62937586'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:37:25,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '20ae9e89-f91d-45ac-bbbb-60f22f3e0d5c', 'name': '', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '414c0b5b-4181-47a4-a150-327320870dad', 'ip_version': 4, 'cidr': '190.132.99.192/26', 'allocation_pools': [{'start': '190.132.99.194', 'end': '190.132.99.254'}], 'gateway_ip': '190.132.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.132.99.194', 'tags': [], 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:25,230 - INFO - Created VN ctest-vn-62937586
2025-08-20 13:37:25,285 - DEBUG - VN ctest-vn-62937586 UUID is 414c0b5b-4181-47a4-a150-327320870dad
2025-08-20 13:37:25,382 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71782210', 'ctest-vmi-88167822']}
2025-08-20 13:37:25,657 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88167822', 'id': 'c1852cb4-ba32-4dd5-b5ab-e44367b9d37d', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '414c0b5b-4181-47a4-a150-327320870dad', 'mac_address': '02:c1:85:2c:b4:ba', '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': '190.132.99.195', 'subnet_id': '20ae9e89-f91d-45ac-bbbb-60f22f3e0d5c'}], 'security_groups': ['8c175e73-8af2-4caa-9533-c74173a50481'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:25,657 - DEBUG - Created port c1852cb4-ba32-4dd5-b5ab-e44367b9d37d
2025-08-20 13:37:25,765 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c1852cb4-ba32-4dd5-b5ab-e44367b9d37d
2025-08-20 13:37:26,062 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c1852cb4-ba32-4dd5-b5ab-e44367b9d37d
2025-08-20 13:37:26,093 - INFO - VMI c1852cb4-ba32-4dd5-b5ab-e44367b9d37d verification in API Server passed
2025-08-20 13:37:26,173 - DEBUG - Response for delete_port : ()
2025-08-20 13:37:26,174 - INFO - Deleted port c1852cb4-ba32-4dd5-b5ab-e44367b9d37d
2025-08-20 13:37:26,174 - INFO - Deleting VN ctest-vn-62937586
2025-08-20 13:37:26,277 - DEBUG - Response for deleting network ()
2025-08-20 13:37:26,534 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:37:26,534 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 13:37:26,534 - INFO - --------------------------------------------------------------------------------
2025-08-20 13:37:26,537 - INFO - ================================================================================
2025-08-20 13:37:26,537 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 13:37:26,537 - 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-20 13:37:26,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2025-08-20 13:37:26,818 - INFO - Initial checks done. Running the testcase now
2025-08-20 13:37:26,818 - INFO -
2025-08-20 13:37:26,978 - DEBUG - Response for create_network : {'network': {'id': '7c47b798-a4bd-4bc6-8217-c2b91c28be46', 'name': 'ctest-vn1-22546694', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71782210', 'ctest-vn1-22546694'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 13:37:27,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '377f3fc6-51de-4de2-be54-254b7a0c8598', 'name': '', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '7c47b798-a4bd-4bc6-8217-c2b91c28be46', 'ip_version': 4, 'cidr': '137.216.55.0/26', 'allocation_pools': [{'start': '137.216.55.2', 'end': '137.216.55.62'}], 'gateway_ip': '137.216.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.216.55.2', 'tags': [], 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:27,303 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecb79b2a-0b45-4371-b347-b9484c00a125', 'name': '', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '7c47b798-a4bd-4bc6-8217-c2b91c28be46', 'ip_version': 4, 'cidr': '120.155.48.64/26', 'allocation_pools': [{'start': '120.155.48.66', 'end': '120.155.48.126'}], 'gateway_ip': '120.155.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.155.48.66', 'tags': [], 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:27,322 - INFO - Created VN ctest-vn1-22546694
2025-08-20 13:37:27,373 - DEBUG - VN ctest-vn1-22546694 UUID is 7c47b798-a4bd-4bc6-8217-c2b91c28be46
2025-08-20 13:37:27,658 - DEBUG - Response for create_port : {'port': {'name': '798c94a1-26f6-4db6-aef4-bdeaa74bf8bc', 'id': '798c94a1-26f6-4db6-aef4-bdeaa74bf8bc', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '7c47b798-a4bd-4bc6-8217-c2b91c28be46', 'mac_address': '02:79:8c:94:a1:26', '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': '137.216.55.5', 'subnet_id': '377f3fc6-51de-4de2-be54-254b7a0c8598'}], 'security_groups': ['8c175e73-8af2-4caa-9533-c74173a50481'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:27,829 - DEBUG - Response for create_port : {'port': {'name': '29a37284-b5f1-4118-af7c-637fd2342691', 'id': '29a37284-b5f1-4118-af7c-637fd2342691', 'tenant_id': '79729bd341ba4cbcbe11d2aaadf325f9', 'network_id': '7c47b798-a4bd-4bc6-8217-c2b91c28be46', 'mac_address': '02:29:a3:72:84:b5', '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': '120.155.48.69', 'subnet_id': 'ecb79b2a-0b45-4371-b347-b9484c00a125'}], 'security_groups': ['8c175e73-8af2-4caa-9533-c74173a50481'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '79729bd341ba4cbcbe11d2aaadf325f9'}}
2025-08-20 13:37:27,880 - DEBUG - Services list from nova: [, , ]
2025-08-20 13:37:28,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1)
2025-08-20 13:37:28,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1)
2025-08-20 13:37:28,525 - INFO - Waiting for VM ctest-vn1-vm1-58700906 to be up..
2025-08-20 13:37:28,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 13:37:33,629 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:37:33,629 - INFO - VM name : ctest-vn1-vm1-58700906
2025-08-20 13:37:33,694 - DEBUG - VM ctest-vn1-vm1-58700906 ID is 5a906e65-e4e2-480e-a53d-715e3e79d751
2025-08-20 13:37:33,713 - DEBUG - VM ctest-vn1-vm1-58700906 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1
2025-08-20 13:37:33,776 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5a906e65-e4e2-480e-a53d-715e3e79d751
2025-08-20 13:37:33,783 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/798c94a1-26f6-4db6-aef4-bdeaa74bf8bc
2025-08-20 13:37:37,023 - 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 1012ms')
2025-08-20 13:37:37,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58700906 failed!
2025-08-20 13:37:37,081 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71782210:ctest-vn1-22546694 is 137.216.55.1 and allocation pool is NOT set
2025-08-20 13:37:37,081 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71782210:ctest-vn1-22546694 is 120.155.48.65 and allocation pool is NOT set
2025-08-20 13:37:39,139 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/1.844/3.185/1.341 ms')
2025-08-20 13:37:39,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58700906 passed
2025-08-20 13:37:39,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:39,293 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58700906, IP 137.216.55.5, Port 22
2025-08-20 13:37:39,349 - 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-20 13:37:39,458 - DEBUG - VM ctest-vn1-vm1-58700906 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-20 13:37:44,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:44,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58700906, IP 137.216.55.5, Port 22
2025-08-20 13:37:44,616 - DEBUG - VM ctest-vn1-vm1-58700906 is ready for SSH connections
2025-08-20 13:37:44,617 - INFO - Waiting for VM ctest-vn1-vm2-22012181 to be up..
2025-08-20 13:37:44,683 - DEBUG - VM is in ACTIVE state now
2025-08-20 13:37:44,683 - INFO - VM name : ctest-vn1-vm2-22012181
2025-08-20 13:37:44,756 - DEBUG - VM ctest-vn1-vm2-22012181 ID is f1ef12a0-f6e0-4014-96e9-15fda468e2f3
2025-08-20 13:37:44,757 - DEBUG - VM ctest-vn1-vm2-22012181 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1
2025-08-20 13:37:44,827 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f1ef12a0-f6e0-4014-96e9-15fda468e2f3
2025-08-20 13:37:44,836 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/29a37284-b5f1-4118-af7c-637fd2342691
2025-08-20 13:37:46,082 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.296 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.296/1.696/3.097/1.400 ms')
2025-08-20 13:37:46,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22012181 passed
2025-08-20 13:37:46,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:46,233 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22012181, IP 120.155.48.69, Port 22
2025-08-20 13:37:46,384 - DEBUG - VM ctest-vn1-vm2-22012181 is ready for SSH connections
2025-08-20 13:37:46,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:46,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:46,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 13:37:46,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.216.55.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-20 13:37:46,385 - DEBUG - ping -s 56 -c 3 -W 1 137.216.55.5
2025-08-20 13:37:49,309 - DEBUG - PING 137.216.55.5 (137.216.55.5): 56 data bytes
64 bytes from 137.216.55.5: seq=0 ttl=63 time=3.246 ms
64 bytes from 137.216.55.5: seq=1 ttl=63 time=0.741 ms
64 bytes from 137.216.55.5: seq=2 ttl=63 time=0.673 ms
--- 137.216.55.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.673/1.553/3.246 ms
2025-08-20 13:37:49,309 - INFO - Ping to IP 137.216.55.5 from VM ctest-vn1-vm2-22012181 passed
2025-08-20 13:37:49,309 - INFO - Detaching port 29a37284-b5f1-4118-af7c-637fd2342691 from VM ctest-vn1-vm2-22012181
2025-08-20 13:37:49,351 - INFO - Deleting VM ctest-vn1-vm2-22012181
2025-08-20 13:37:49,407 - INFO - Detaching port 798c94a1-26f6-4db6-aef4-bdeaa74bf8bc from VM ctest-vn1-vm1-58700906
2025-08-20 13:37:49,439 - INFO - Deleting VM ctest-vn1-vm1-58700906
2025-08-20 13:37:49,641 - DEBUG - Response for delete_port : ()
2025-08-20 13:37:49,777 - DEBUG - Response for delete_port : ()
2025-08-20 13:37:49,777 - INFO - Deleting VN ctest-vn1-22546694
2025-08-20 13:37:49,903 - DEBUG - Response for deleting network ()
2025-08-20 13:37:50,163 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:37:50,163 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-20 13:37:50,163 - INFO - --------------------------------------------------------------------------------
2025-08-20 13:37:50,825 - INFO - Deleted project: ctest-TestPorts-71782210, ID : 79729bd3-41ba-4cbc-be11-d2aaadf325f9