2025-10-31 14:38:57,867 - INFO - Domain Default found not creating
2025-10-31 14:38:58,064 - INFO - Project ctest-TestPorts-53766894 not found, creating it
2025-10-31 14:38:58,528 - INFO - Created Project:ctest-TestPorts-53766894, ID : b60ff00a-94b2-4f10-bca6-9329846f8d08 
2025-10-31 14:38:59,923 - INFO - ================================================================================
2025-10-31 14:38:59,923 - INFO - STARTING TEST    : test_ports_bindings
2025-10-31 14:38:59,924 - 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-31 14:39:00,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-31 14:39:00,179 - INFO - Initial checks done. Running the testcase now
2025-10-31 14:39:00,179 - INFO - 
2025-10-31 14:39:00,727 - DEBUG - Response for create_network : {'network': {'id': '88072351-b097-43fc-8d99-74f378609f8e', 'name': 'ctest-vn-53280628', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'project_id': 'b60ff00a94b24f10bca69329846f8d08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53766894', 'ctest-vn-53280628'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 14:39:00,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed4ec159-a065-463b-8cad-64f86404ecbe', 'name': '', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': '88072351-b097-43fc-8d99-74f378609f8e', 'ip_version': 4, 'cidr': '172.236.42.64/26', 'allocation_pools': [{'start': '172.236.42.66', 'end': '172.236.42.126'}], 'gateway_ip': '172.236.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.236.42.66', 'tags': [], 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:00,943 - INFO - Created VN ctest-vn-53280628
2025-10-31 14:39:00,994 - DEBUG - VN ctest-vn-53280628 UUID is 88072351-b097-43fc-8d99-74f378609f8e
2025-10-31 14:39:01,099 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53766894', 'ctest-vmi-93765894']}
2025-10-31 14:39:01,354 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93765894', 'id': '856f2519-648c-4c60-888d-02077ef8508d', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': '88072351-b097-43fc-8d99-74f378609f8e', 'mac_address': '02:85:6f:25:19:64', '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': '172.236.42.67', 'subnet_id': 'ed4ec159-a065-463b-8cad-64f86404ecbe'}], 'security_groups': ['2c13645f-e2a0-44b8-98c7-dc351edf3aeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:01,354 - DEBUG - Created port 856f2519-648c-4c60-888d-02077ef8508d
2025-10-31 14:39:01,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/856f2519-648c-4c60-888d-02077ef8508d
2025-10-31 14:39:01,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/856f2519-648c-4c60-888d-02077ef8508d
2025-10-31 14:39:02,052 - INFO - VMI 856f2519-648c-4c60-888d-02077ef8508d verification in API Server passed
2025-10-31 14:39:02,144 - DEBUG - Response for delete_port : ()
2025-10-31 14:39:02,144 - INFO - Deleted port 856f2519-648c-4c60-888d-02077ef8508d
2025-10-31 14:39:02,144 - INFO - Deleting VN ctest-vn-53280628 
2025-10-31 14:39:02,238 - DEBUG - Response for deleting network ()
2025-10-31 14:39:02,490 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 14:39:02,490 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 14:39:02,490 - INFO - --------------------------------------------------------------------------------
2025-10-31 14:39:02,493 - INFO - ================================================================================
2025-10-31 14:39:02,493 - INFO - STARTING TEST    : test_ports_specific_subnet_ip
2025-10-31 14:39:02,493 - 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-31 14:39:02,774 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-10-31 14:39:02,774 - INFO - Initial checks done. Running the testcase now
2025-10-31 14:39:02,774 - INFO - 
2025-10-31 14:39:02,931 - DEBUG - Response for create_network : {'network': {'id': 'a2b4c544-571e-4c17-bf32-840691545466', 'name': 'ctest-vn1-55899095', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'project_id': 'b60ff00a94b24f10bca69329846f8d08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53766894', 'ctest-vn1-55899095'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 14:39:03,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abf8a54c-6bd3-4a53-999d-b8803b03a9a2', 'name': '', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': 'a2b4c544-571e-4c17-bf32-840691545466', 'ip_version': 4, 'cidr': '58.152.231.64/26', 'allocation_pools': [{'start': '58.152.231.66', 'end': '58.152.231.126'}], 'gateway_ip': '58.152.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.152.231.66', 'tags': [], 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:03,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '589466d0-397c-4bca-9bcc-5cb24818c3eb', 'name': '', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': 'a2b4c544-571e-4c17-bf32-840691545466', 'ip_version': 4, 'cidr': '144.49.84.64/26', 'allocation_pools': [{'start': '144.49.84.66', 'end': '144.49.84.126'}], 'gateway_ip': '144.49.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.49.84.66', 'tags': [], 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:03,309 - INFO - Created VN ctest-vn1-55899095
2025-10-31 14:39:03,358 - DEBUG - VN ctest-vn1-55899095 UUID is a2b4c544-571e-4c17-bf32-840691545466
2025-10-31 14:39:03,633 - DEBUG - Response for create_port : {'port': {'name': 'dcabb17b-0f0c-40be-b2d3-5f696cc81fe6', 'id': 'dcabb17b-0f0c-40be-b2d3-5f696cc81fe6', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': 'a2b4c544-571e-4c17-bf32-840691545466', 'mac_address': '02:dc:ab:b1:7b:0f', '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': '58.152.231.69', 'subnet_id': 'abf8a54c-6bd3-4a53-999d-b8803b03a9a2'}], 'security_groups': ['2c13645f-e2a0-44b8-98c7-dc351edf3aeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:03,788 - DEBUG - Response for create_port : {'port': {'name': 'f83f5365-708a-4c36-988e-54ac3b293c8b', 'id': 'f83f5365-708a-4c36-988e-54ac3b293c8b', 'tenant_id': 'b60ff00a94b24f10bca69329846f8d08', 'network_id': 'a2b4c544-571e-4c17-bf32-840691545466', 'mac_address': '02:f8:3f:53:65: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': '144.49.84.69', 'subnet_id': '589466d0-397c-4bca-9bcc-5cb24818c3eb'}], 'security_groups': ['2c13645f-e2a0-44b8-98c7-dc351edf3aeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b60ff00a94b24f10bca69329846f8d08'}}
2025-10-31 14:39:03,841 - DEBUG - Services list from nova: [, , ]
2025-10-31 14:39:04,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1)
2025-10-31 14:39:04,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1)
2025-10-31 14:39:04,483 - INFO - Waiting for VM ctest-vn1-vm1-74751067 to be up..
2025-10-31 14:39:04,522 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-31 14:39:09,585 - DEBUG - VM  is in ACTIVE state now
2025-10-31 14:39:09,585 - INFO - VM name : ctest-vn1-vm1-74751067
2025-10-31 14:39:09,779 - DEBUG - VM ctest-vn1-vm1-74751067 ID is 676416dd-0856-4fd3-b105-efa2834c6d78
2025-10-31 14:39:09,796 - DEBUG - VM ctest-vn1-vm1-74751067 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1
2025-10-31 14:39:09,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/676416dd-0856-4fd3-b105-efa2834c6d78
2025-10-31 14:39:09,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dcabb17b-0f0c-40be-b2d3-5f696cc81fe6
2025-10-31 14:39:13,136 - 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 1028ms')
2025-10-31 14:39:13,136 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74751067 failed!
2025-10-31 14:39:13,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53766894:ctest-vn1-55899095 is 58.152.231.65 and allocation pool is NOT set
2025-10-31 14:39:13,194 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53766894:ctest-vn1-55899095 is 144.49.84.65 and allocation pool is NOT set
2025-10-31 14:39:15,258 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.630 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.630/2.365/4.100/1.735 ms')
2025-10-31 14:39:15,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74751067 passed
2025-10-31 14:39:15,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:15,406 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74751067, IP 58.152.231.69, Port 22
2025-10-31 14:39:15,461 - 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-31 14:39:15,543 - DEBUG - VM ctest-vn1-vm1-74751067 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 14:39:20,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:20,544 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74751067, IP 58.152.231.69, Port 22
2025-10-31 14:39:20,701 - DEBUG - VM ctest-vn1-vm1-74751067 is ready for SSH connections
2025-10-31 14:39:20,701 - INFO - Waiting for VM ctest-vn1-vm2-92513503 to be up..
2025-10-31 14:39:20,765 - DEBUG - VM  is in ACTIVE state now
2025-10-31 14:39:20,765 - INFO - VM name : ctest-vn1-vm2-92513503
2025-10-31 14:39:20,829 - DEBUG - VM ctest-vn1-vm2-92513503 ID is 53a6202a-dd8c-44f5-bbaa-8fd0b1579576
2025-10-31 14:39:20,829 - DEBUG - VM ctest-vn1-vm2-92513503 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1
2025-10-31 14:39:20,897 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53a6202a-dd8c-44f5-bbaa-8fd0b1579576
2025-10-31 14:39:20,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f83f5365-708a-4c36-988e-54ac3b293c8b
2025-10-31 14:39:22,136 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.613/2.776/1.162 ms')
2025-10-31 14:39:22,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92513503 passed
2025-10-31 14:39:22,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:22,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92513503, IP 144.49.84.69, Port 22
2025-10-31 14:39:22,445 - DEBUG - VM ctest-vn1-vm2-92513503 is ready for SSH connections
2025-10-31 14:39:22,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:22,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:22,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:39:22,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  58.152.231.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-31 14:39:22,446 - DEBUG - ping -s 56 -c 3 -W 1  58.152.231.69
2025-10-31 14:39:25,410 - DEBUG - PING 58.152.231.69 (58.152.231.69): 56 data bytes
64 bytes from 58.152.231.69: seq=0 ttl=63 time=5.248 ms
64 bytes from 58.152.231.69: seq=1 ttl=63 time=0.832 ms
64 bytes from 58.152.231.69: seq=2 ttl=63 time=0.739 ms
--- 58.152.231.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.739/2.273/5.248 ms
2025-10-31 14:39:25,410 - INFO - Ping to IP 58.152.231.69 from VM ctest-vn1-vm2-92513503 passed
2025-10-31 14:39:25,410 - INFO - Detaching port f83f5365-708a-4c36-988e-54ac3b293c8b from VM ctest-vn1-vm2-92513503
2025-10-31 14:39:25,475 - INFO - Deleting VM ctest-vn1-vm2-92513503
2025-10-31 14:39:25,549 - INFO - Detaching port dcabb17b-0f0c-40be-b2d3-5f696cc81fe6 from VM ctest-vn1-vm1-74751067
2025-10-31 14:39:25,581 - INFO - Deleting VM ctest-vn1-vm1-74751067
2025-10-31 14:39:25,799 - DEBUG - Response for delete_port : ()
2025-10-31 14:39:25,932 - DEBUG - Response for delete_port : ()
2025-10-31 14:39:25,932 - INFO - Deleting VN ctest-vn1-55899095 
2025-10-31 14:39:26,053 - DEBUG - Response for deleting network ()
2025-10-31 14:39:26,306 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 14:39:26,306 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-31 14:39:26,306 - INFO - --------------------------------------------------------------------------------
2025-10-31 14:39:26,950 - INFO - Deleted project: ctest-TestPorts-53766894, ID : b60ff00a-94b2-4f10-bca6-9329846f8d08