2025-10-24 20:21:21,122 - INFO - Domain Default found not creating
2025-10-24 20:21:21,458 - INFO - Project ctest-TestPorts-41615035 not found, creating it
2025-10-24 20:21:22,240 - INFO - Created Project:ctest-TestPorts-41615035, ID : 9e733119-b141-45f1-aca6-631ad4a6a6c4 
2025-10-24 20:21:24,570 - INFO - ================================================================================
2025-10-24 20:21:24,571 - INFO - STARTING TEST    : test_ports_bindings
2025-10-24 20:21:24,571 - 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-10-24 20:21:24,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-10-24 20:21:24,898 - INFO - Initial checks done. Running the testcase now
2025-10-24 20:21:24,898 - INFO - 
2025-10-24 20:21:25,578 - DEBUG - Response for create_network : {'network': {'id': '27838284-0c87-46b6-8a46-df408b6f6625', 'name': 'ctest-vn-81516331', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'project_id': '9e733119b14145f1aca6631ad4a6a6c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41615035', 'ctest-vn-81516331'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 20:21:25,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cea385bf-d268-4af0-b14e-87e0a183a7fa', 'name': '', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': '27838284-0c87-46b6-8a46-df408b6f6625', 'ip_version': 4, 'cidr': '88.136.67.0/26', 'allocation_pools': [{'start': '88.136.67.2', 'end': '88.136.67.62'}], 'gateway_ip': '88.136.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.136.67.2', 'tags': [], 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:25,804 - INFO - Created VN ctest-vn-81516331
2025-10-24 20:21:25,860 - DEBUG - VN ctest-vn-81516331 UUID is 27838284-0c87-46b6-8a46-df408b6f6625
2025-10-24 20:21:25,993 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41615035', 'ctest-vmi-91085611']}
2025-10-24 20:21:26,398 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91085611', 'id': '361bb955-34e0-45ed-b0ca-f2465a4dbebb', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': '27838284-0c87-46b6-8a46-df408b6f6625', 'mac_address': '02:36:1b:b9:55:34', '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': '88.136.67.3', 'subnet_id': 'cea385bf-d268-4af0-b14e-87e0a183a7fa'}], 'security_groups': ['3c9abe2f-4c01-4f32-9b61-138de8fc4acd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:26,398 - DEBUG - Created port 361bb955-34e0-45ed-b0ca-f2465a4dbebb
2025-10-24 20:21:26,519 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/361bb955-34e0-45ed-b0ca-f2465a4dbebb
2025-10-24 20:21:26,900 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/361bb955-34e0-45ed-b0ca-f2465a4dbebb
2025-10-24 20:21:26,944 - INFO - VMI 361bb955-34e0-45ed-b0ca-f2465a4dbebb verification in API Server passed
2025-10-24 20:21:27,128 - DEBUG - Response for delete_port : ()
2025-10-24 20:21:27,128 - INFO - Deleted port 361bb955-34e0-45ed-b0ca-f2465a4dbebb
2025-10-24 20:21:27,129 - INFO - Deleting VN ctest-vn-81516331 
2025-10-24 20:21:27,292 - DEBUG - Response for deleting network ()
2025-10-24 20:21:27,606 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 20:21:27,606 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-24 20:21:27,607 - INFO - --------------------------------------------------------------------------------
2025-10-24 20:21:27,616 - INFO - ================================================================================
2025-10-24 20:21:27,616 - INFO - STARTING TEST    : test_ports_specific_subnet_ip
2025-10-24 20:21:27,616 - 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-10-24 20:21:27,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-10-24 20:21:27,961 - INFO - Initial checks done. Running the testcase now
2025-10-24 20:21:27,962 - INFO - 
2025-10-24 20:21:28,229 - DEBUG - Response for create_network : {'network': {'id': 'f14d6992-d39b-4de2-b66d-985a8f11d36a', 'name': 'ctest-vn1-26531142', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'project_id': '9e733119b14145f1aca6631ad4a6a6c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41615035', 'ctest-vn1-26531142'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 20:21:28,495 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc160cfb-b49a-457b-87c3-ba7fd76d0c99', 'name': '', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': 'f14d6992-d39b-4de2-b66d-985a8f11d36a', 'ip_version': 4, 'cidr': '186.43.189.128/26', 'allocation_pools': [{'start': '186.43.189.130', 'end': '186.43.189.190'}], 'gateway_ip': '186.43.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.43.189.130', 'tags': [], 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:28,699 - DEBUG - Response for create_subnet : {'subnet': {'id': '49fc9203-51eb-4762-8be4-8451e15e9b15', 'name': '', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': 'f14d6992-d39b-4de2-b66d-985a8f11d36a', 'ip_version': 4, 'cidr': '157.57.223.64/26', 'allocation_pools': [{'start': '157.57.223.66', 'end': '157.57.223.126'}], 'gateway_ip': '157.57.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.57.223.66', 'tags': [], 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:28,730 - INFO - Created VN ctest-vn1-26531142
2025-10-24 20:21:28,787 - DEBUG - VN ctest-vn1-26531142 UUID is f14d6992-d39b-4de2-b66d-985a8f11d36a
2025-10-24 20:21:29,259 - DEBUG - Response for create_port : {'port': {'name': '685b3fdb-701e-4854-8957-c7dcb645dadb', 'id': '685b3fdb-701e-4854-8957-c7dcb645dadb', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': 'f14d6992-d39b-4de2-b66d-985a8f11d36a', 'mac_address': '02:68:5b:3f:db:70', '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': '186.43.189.133', 'subnet_id': 'cc160cfb-b49a-457b-87c3-ba7fd76d0c99'}], 'security_groups': ['3c9abe2f-4c01-4f32-9b61-138de8fc4acd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:29,432 - DEBUG - Response for create_port : {'port': {'name': 'e3280619-ce07-40dc-8aeb-e62f91aabc7f', 'id': 'e3280619-ce07-40dc-8aeb-e62f91aabc7f', 'tenant_id': '9e733119b14145f1aca6631ad4a6a6c4', 'network_id': 'f14d6992-d39b-4de2-b66d-985a8f11d36a', 'mac_address': '02:e3:28:06:19:ce', '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': '157.57.223.69', 'subnet_id': '49fc9203-51eb-4762-8be4-8451e15e9b15'}], 'security_groups': ['3c9abe2f-4c01-4f32-9b61-138de8fc4acd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e733119b14145f1aca6631ad4a6a6c4'}}
2025-10-24 20:21:29,497 - DEBUG - Services list from nova: [, , ]
2025-10-24 20:21:30,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1)
2025-10-24 20:21:30,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1)
2025-10-24 20:21:30,632 - INFO - Waiting for VM ctest-vn1-vm1-08596155 to be up..
2025-10-24 20:21:30,684 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-24 20:21:35,884 - DEBUG - VM  is in ACTIVE state now
2025-10-24 20:21:35,885 - INFO - VM name : ctest-vn1-vm1-08596155
2025-10-24 20:21:36,038 - DEBUG - VM ctest-vn1-vm1-08596155 ID is fef8fd4a-f863-4b05-8c1a-31c6a2f8be7d
2025-10-24 20:21:36,080 - DEBUG - VM ctest-vn1-vm1-08596155 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1
2025-10-24 20:21:36,262 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fef8fd4a-f863-4b05-8c1a-31c6a2f8be7d
2025-10-24 20:21:36,273 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/685b3fdb-701e-4854-8957-c7dcb645dadb
2025-10-24 20:21:39,589 - 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 1031ms')
2025-10-24 20:21:39,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08596155 failed!
2025-10-24 20:21:39,663 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41615035:ctest-vn1-26531142 is 186.43.189.129 and allocation pool is NOT set
2025-10-24 20:21:39,663 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41615035:ctest-vn1-26531142 is 157.57.223.65 and allocation pool is NOT set
2025-10-24 20:21:43,741 - 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 1002ms')
2025-10-24 20:21:43,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08596155 failed!
2025-10-24 20:21:43,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41615035:ctest-vn1-26531142 is 186.43.189.129 and allocation pool is NOT set
2025-10-24 20:21:43,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41615035:ctest-vn1-26531142 is 157.57.223.65 and allocation pool is NOT set
2025-10-24 20:21:45,911 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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 = 1.279/2.956/4.634/1.677 ms')
2025-10-24 20:21:45,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08596155 passed
2025-10-24 20:21:46,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:46,096 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08596155, IP 186.43.189.133, Port 22
2025-10-24 20:21:46,188 - 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-10-24 20:21:46,359 - DEBUG - VM ctest-vn1-vm1-08596155 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-24 20:21:51,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:51,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08596155, IP 186.43.189.133, Port 22
2025-10-24 20:21:51,574 - DEBUG - VM ctest-vn1-vm1-08596155 is ready for SSH connections
2025-10-24 20:21:51,574 - INFO - Waiting for VM ctest-vn1-vm2-85339764 to be up..
2025-10-24 20:21:51,755 - DEBUG - VM  is in ACTIVE state now
2025-10-24 20:21:51,756 - INFO - VM name : ctest-vn1-vm2-85339764
2025-10-24 20:21:51,909 - DEBUG - VM ctest-vn1-vm2-85339764 ID is efe83e54-d3f4-46ba-b8ae-54faad24e23d
2025-10-24 20:21:51,910 - DEBUG - VM ctest-vn1-vm2-85339764 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1
2025-10-24 20:21:52,043 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/efe83e54-d3f4-46ba-b8ae-54faad24e23d
2025-10-24 20:21:52,061 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e3280619-ce07-40dc-8aeb-e62f91aabc7f
2025-10-24 20:21:53,390 - 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=9.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/4.794/9.225/4.431 ms')
2025-10-24 20:21:53,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-85339764 passed
2025-10-24 20:21:53,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:53,563 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85339764, IP 157.57.223.69, Port 22
2025-10-24 20:21:53,759 - DEBUG - VM ctest-vn1-vm2-85339764 is ready for SSH connections
2025-10-24 20:21:53,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:53,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:53,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:21:53,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  186.43.189.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-24 20:21:53,760 - DEBUG - ping -s 56 -c 3 -W 1  186.43.189.133
2025-10-24 20:21:56,713 - DEBUG - PING 186.43.189.133 (186.43.189.133): 56 data bytes
64 bytes from 186.43.189.133: seq=0 ttl=63 time=6.835 ms
64 bytes from 186.43.189.133: seq=1 ttl=63 time=2.144 ms
64 bytes from 186.43.189.133: seq=2 ttl=63 time=2.288 ms
--- 186.43.189.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.144/3.755/6.835 ms
2025-10-24 20:21:56,714 - INFO - Ping to IP 186.43.189.133 from VM ctest-vn1-vm2-85339764 passed
2025-10-24 20:21:56,714 - INFO - Detaching port e3280619-ce07-40dc-8aeb-e62f91aabc7f from VM ctest-vn1-vm2-85339764
2025-10-24 20:21:56,793 - INFO - Deleting VM ctest-vn1-vm2-85339764
2025-10-24 20:21:56,964 - INFO - Detaching port 685b3fdb-701e-4854-8957-c7dcb645dadb from VM ctest-vn1-vm1-08596155
2025-10-24 20:21:57,030 - INFO - Deleting VM ctest-vn1-vm1-08596155
2025-10-24 20:21:57,369 - DEBUG - Response for delete_port : ()
2025-10-24 20:21:57,518 - DEBUG - Response for delete_port : ()
2025-10-24 20:21:57,518 - INFO - Deleting VN ctest-vn1-26531142 
2025-10-24 20:21:57,632 - DEBUG - Response for deleting network ()
2025-10-24 20:21:57,909 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 20:21:57,910 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-10-24 20:21:57,910 - INFO - --------------------------------------------------------------------------------
2025-10-24 20:21:58,649 - INFO - Deleted project: ctest-TestPorts-41615035, ID : 9e733119-b141-45f1-aca6-631ad4a6a6c4