2025-09-24 05:38:51,670 - INFO - Domain Default found not creating
2025-09-24 05:38:51,830 - INFO - Project ctest-TestPorts-33747235 not found, creating it
2025-09-24 05:38:52,271 - INFO - Created Project:ctest-TestPorts-33747235, ID : dd7a4307-6b45-40c9-9bfe-efd62447587d
2025-09-24 05:38:53,689 - INFO - ================================================================================
2025-09-24 05:38:53,690 - INFO - STARTING TEST : test_ports_bindings
2025-09-24 05:38:53,690 - 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-09-24 05:38:53,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-24 05:38:53,945 - INFO - Initial checks done. Running the testcase now
2025-09-24 05:38:53,945 - INFO -
2025-09-24 05:38:54,513 - DEBUG - Response for create_network : {'network': {'id': '9887fb72-f85c-4d4f-9097-78e3f40f8e3e', 'name': 'ctest-vn-79544032', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'project_id': 'dd7a43076b4540c99bfeefd62447587d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33747235', 'ctest-vn-79544032'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 05:38:54,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dc562df-3a5b-4f3c-9989-53d7db44356c', 'name': '', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '9887fb72-f85c-4d4f-9097-78e3f40f8e3e', 'ip_version': 4, 'cidr': '36.213.37.64/26', 'allocation_pools': [{'start': '36.213.37.66', 'end': '36.213.37.126'}], 'gateway_ip': '36.213.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.213.37.66', 'tags': [], 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:54,690 - INFO - Created VN ctest-vn-79544032
2025-09-24 05:38:54,742 - DEBUG - VN ctest-vn-79544032 UUID is 9887fb72-f85c-4d4f-9097-78e3f40f8e3e
2025-09-24 05:38:54,855 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33747235', 'ctest-vmi-14379279']}
2025-09-24 05:38:55,105 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14379279', 'id': '572b2d1b-6926-4bf4-bdee-9054c46ac747', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '9887fb72-f85c-4d4f-9097-78e3f40f8e3e', 'mac_address': '02:57:2b:2d:1b:69', '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': '36.213.37.67', 'subnet_id': '4dc562df-3a5b-4f3c-9989-53d7db44356c'}], 'security_groups': ['c4b66a8d-988a-49c0-9d31-de1ff6c89476'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:55,105 - DEBUG - Created port 572b2d1b-6926-4bf4-bdee-9054c46ac747
2025-09-24 05:38:55,210 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/572b2d1b-6926-4bf4-bdee-9054c46ac747
2025-09-24 05:38:55,505 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/572b2d1b-6926-4bf4-bdee-9054c46ac747
2025-09-24 05:38:55,537 - INFO - VMI 572b2d1b-6926-4bf4-bdee-9054c46ac747 verification in API Server passed
2025-09-24 05:38:55,632 - DEBUG - Response for delete_port : ()
2025-09-24 05:38:55,632 - INFO - Deleted port 572b2d1b-6926-4bf4-bdee-9054c46ac747
2025-09-24 05:38:55,632 - INFO - Deleting VN ctest-vn-79544032
2025-09-24 05:38:55,729 - DEBUG - Response for deleting network ()
2025-09-24 05:38:55,991 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 05:38:55,991 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-24 05:38:55,991 - INFO - --------------------------------------------------------------------------------
2025-09-24 05:38:55,994 - INFO - ================================================================================
2025-09-24 05:38:55,994 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-24 05:38:55,994 - 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-09-24 05:38:56,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-24 05:38:56,280 - INFO - Initial checks done. Running the testcase now
2025-09-24 05:38:56,280 - INFO -
2025-09-24 05:38:56,444 - DEBUG - Response for create_network : {'network': {'id': '6a085361-c8a0-4b07-9e69-51f3553a3169', 'name': 'ctest-vn1-72085404', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'project_id': 'dd7a43076b4540c99bfeefd62447587d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33747235', 'ctest-vn1-72085404'], 'port_security_enabled': True, 'description': ''}}
2025-09-24 05:38:56,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f86f8925-ea45-4555-9c4b-8fb4ea5f1994', 'name': '', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '6a085361-c8a0-4b07-9e69-51f3553a3169', 'ip_version': 4, 'cidr': '183.133.211.192/26', 'allocation_pools': [{'start': '183.133.211.194', 'end': '183.133.211.254'}], 'gateway_ip': '183.133.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.133.211.194', 'tags': [], 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:56,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ca04afb-f6fc-4372-8c6f-0d66239566ff', 'name': '', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '6a085361-c8a0-4b07-9e69-51f3553a3169', 'ip_version': 4, 'cidr': '175.58.52.192/26', 'allocation_pools': [{'start': '175.58.52.194', 'end': '175.58.52.254'}], 'gateway_ip': '175.58.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.58.52.194', 'tags': [], 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:56,850 - INFO - Created VN ctest-vn1-72085404
2025-09-24 05:38:56,903 - DEBUG - VN ctest-vn1-72085404 UUID is 6a085361-c8a0-4b07-9e69-51f3553a3169
2025-09-24 05:38:57,208 - DEBUG - Response for create_port : {'port': {'name': '72e0c498-2258-4ae8-9dc3-385b48f24c3d', 'id': '72e0c498-2258-4ae8-9dc3-385b48f24c3d', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '6a085361-c8a0-4b07-9e69-51f3553a3169', 'mac_address': '02:72:e0:c4:98:22', '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': '183.133.211.197', 'subnet_id': 'f86f8925-ea45-4555-9c4b-8fb4ea5f1994'}], 'security_groups': ['c4b66a8d-988a-49c0-9d31-de1ff6c89476'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:57,372 - DEBUG - Response for create_port : {'port': {'name': 'afa17e5e-fd97-4909-b45c-ddc546659f3b', 'id': 'afa17e5e-fd97-4909-b45c-ddc546659f3b', 'tenant_id': 'dd7a43076b4540c99bfeefd62447587d', 'network_id': '6a085361-c8a0-4b07-9e69-51f3553a3169', 'mac_address': '02:af:a1:7e:5e:fd', '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': '175.58.52.197', 'subnet_id': '6ca04afb-f6fc-4372-8c6f-0d66239566ff'}], 'security_groups': ['c4b66a8d-988a-49c0-9d31-de1ff6c89476'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd7a43076b4540c99bfeefd62447587d'}}
2025-09-24 05:38:57,428 - DEBUG - Services list from nova: [, , ]
2025-09-24 05:38:57,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4180-1)
2025-09-24 05:38:58,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4180-1)
2025-09-24 05:38:58,138 - INFO - Waiting for VM ctest-vn1-vm1-73218642 to be up..
2025-09-24 05:38:58,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-24 05:39:03,262 - DEBUG - VM is in ACTIVE state now
2025-09-24 05:39:03,262 - INFO - VM name : ctest-vn1-vm1-73218642
2025-09-24 05:39:03,349 - DEBUG - VM ctest-vn1-vm1-73218642 ID is bf0c5e4d-0d72-469d-a6c6-a46266eaf227
2025-09-24 05:39:03,369 - DEBUG - VM ctest-vn1-vm1-73218642 launched on Node cn-jenkins-deploy-platform-ansible-os-4180-1
2025-09-24 05:39:03,443 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bf0c5e4d-0d72-469d-a6c6-a46266eaf227
2025-09-24 05:39:03,451 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/72e0c498-2258-4ae8-9dc3-385b48f24c3d
2025-09-24 05:39:06,696 - 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 1010ms')
2025-09-24 05:39:06,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73218642 failed!
2025-09-24 05:39:06,751 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33747235:ctest-vn1-72085404 is 183.133.211.193 and allocation pool is NOT set
2025-09-24 05:39:06,751 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33747235:ctest-vn1-72085404 is 175.58.52.193 and allocation pool is NOT set
2025-09-24 05:39:08,819 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.15 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 = 3.150/7.202/11.255/4.052 ms')
2025-09-24 05:39:08,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73218642 passed
2025-09-24 05:39:08,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:08,967 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73218642, IP 183.133.211.197, Port 22
2025-09-24 05:39:09,033 - 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-09-24 05:39:09,109 - DEBUG - VM ctest-vn1-vm1-73218642 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-24 05:39:14,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:14,110 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73218642, IP 183.133.211.197, Port 22
2025-09-24 05:39:14,274 - DEBUG - VM ctest-vn1-vm1-73218642 is ready for SSH connections
2025-09-24 05:39:14,274 - INFO - Waiting for VM ctest-vn1-vm2-13839181 to be up..
2025-09-24 05:39:14,349 - DEBUG - VM is in ACTIVE state now
2025-09-24 05:39:14,349 - INFO - VM name : ctest-vn1-vm2-13839181
2025-09-24 05:39:14,426 - DEBUG - VM ctest-vn1-vm2-13839181 ID is 8bc7fcdd-28d8-430f-981b-f7c125b3fd49
2025-09-24 05:39:14,426 - DEBUG - VM ctest-vn1-vm2-13839181 launched on Node cn-jenkins-deploy-platform-ansible-os-4180-1
2025-09-24 05:39:14,492 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8bc7fcdd-28d8-430f-981b-f7c125b3fd49
2025-09-24 05:39:14,500 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/afa17e5e-fd97-4909-b45c-ddc546659f3b
2025-09-24 05:39:15,733 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.651/2.926/1.275 ms')
2025-09-24 05:39:15,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13839181 passed
2025-09-24 05:39:15,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:15,883 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13839181, IP 175.58.52.197, Port 22
2025-09-24 05:39:16,038 - DEBUG - VM ctest-vn1-vm2-13839181 is ready for SSH connections
2025-09-24 05:39:16,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:16,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:16,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-24 05:39:16,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.133.211.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-09-24 05:39:16,039 - DEBUG - ping -s 56 -c 3 -W 1 183.133.211.197
2025-09-24 05:39:18,691 - DEBUG - PING 183.133.211.197 (183.133.211.197): 56 data bytes
64 bytes from 183.133.211.197: seq=0 ttl=63 time=3.675 ms
64 bytes from 183.133.211.197: seq=1 ttl=63 time=0.940 ms
64 bytes from 183.133.211.197: seq=2 ttl=63 time=1.436 ms
--- 183.133.211.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.940/2.017/3.675 ms
2025-09-24 05:39:18,691 - INFO - Ping to IP 183.133.211.197 from VM ctest-vn1-vm2-13839181 passed
2025-09-24 05:39:18,691 - INFO - Detaching port afa17e5e-fd97-4909-b45c-ddc546659f3b from VM ctest-vn1-vm2-13839181
2025-09-24 05:39:18,749 - INFO - Deleting VM ctest-vn1-vm2-13839181
2025-09-24 05:39:18,833 - INFO - Detaching port 72e0c498-2258-4ae8-9dc3-385b48f24c3d from VM ctest-vn1-vm1-73218642
2025-09-24 05:39:18,866 - INFO - Deleting VM ctest-vn1-vm1-73218642
2025-09-24 05:39:19,074 - DEBUG - Response for delete_port : ()
2025-09-24 05:39:19,221 - DEBUG - Response for delete_port : ()
2025-09-24 05:39:19,221 - INFO - Deleting VN ctest-vn1-72085404
2025-09-24 05:39:19,354 - DEBUG - Response for deleting network ()
2025-09-24 05:39:19,606 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 05:39:19,607 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-24 05:39:19,607 - INFO - --------------------------------------------------------------------------------
2025-09-24 05:39:20,298 - INFO - Deleted project: ctest-TestPorts-33747235, ID : dd7a4307-6b45-40c9-9bfe-efd62447587d