2025-12-16 18:05:22,869 - INFO - Domain Default found not creating
2025-12-16 18:05:23,032 - INFO - Project ctest-TestPorts-45204108 not found, creating it
2025-12-16 18:05:23,474 - INFO - Created Project:ctest-TestPorts-45204108, ID : f500800f-fea2-4f78-8c8e-71c16c078f9a
2025-12-16 18:05:25,006 - INFO - ================================================================================
2025-12-16 18:05:25,006 - INFO - STARTING TEST : test_ports_bindings
2025-12-16 18:05:25,006 - 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-12-16 18:05:25,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-16 18:05:25,275 - INFO - Initial checks done. Running the testcase now
2025-12-16 18:05:25,275 - INFO -
2025-12-16 18:05:25,870 - DEBUG - Response for create_network : {'network': {'id': 'b90ffc1d-838e-4cf5-aee6-99151a55d5b7', 'name': 'ctest-vn-69415583', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'project_id': 'f500800ffea24f788c8e71c16c078f9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45204108', 'ctest-vn-69415583'], 'port_security_enabled': True, 'description': ''}}
2025-12-16 18:05:26,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '617013a2-1069-4ae1-bf5c-6057bdafaee5', 'name': '', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'b90ffc1d-838e-4cf5-aee6-99151a55d5b7', 'ip_version': 4, 'cidr': '6.226.86.192/26', 'allocation_pools': [{'start': '6.226.86.194', 'end': '6.226.86.254'}], 'gateway_ip': '6.226.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.226.86.194', 'tags': [], 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:26,028 - INFO - Created VN ctest-vn-69415583
2025-12-16 18:05:26,081 - DEBUG - VN ctest-vn-69415583 UUID is b90ffc1d-838e-4cf5-aee6-99151a55d5b7
2025-12-16 18:05:26,194 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45204108', 'ctest-vmi-87620757']}
2025-12-16 18:05:26,477 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87620757', 'id': 'c4996a00-32e4-4926-b117-3e48fab5058a', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'b90ffc1d-838e-4cf5-aee6-99151a55d5b7', 'mac_address': '02:c4:99:6a:00:32', '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': '6.226.86.195', 'subnet_id': '617013a2-1069-4ae1-bf5c-6057bdafaee5'}], 'security_groups': ['2ffc6383-6f5f-4945-975d-5462b741dc30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:26,477 - DEBUG - Created port c4996a00-32e4-4926-b117-3e48fab5058a
2025-12-16 18:05:26,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4996a00-32e4-4926-b117-3e48fab5058a
2025-12-16 18:05:26,879 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4996a00-32e4-4926-b117-3e48fab5058a
2025-12-16 18:05:26,912 - INFO - VMI c4996a00-32e4-4926-b117-3e48fab5058a verification in API Server passed
2025-12-16 18:05:27,018 - DEBUG - Response for delete_port : ()
2025-12-16 18:05:27,018 - INFO - Deleted port c4996a00-32e4-4926-b117-3e48fab5058a
2025-12-16 18:05:27,018 - INFO - Deleting VN ctest-vn-69415583
2025-12-16 18:05:27,133 - DEBUG - Response for deleting network ()
2025-12-16 18:05:27,391 - DEBUG - No XMPP flaps were noticed during the test
2025-12-16 18:05:27,391 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-16 18:05:27,391 - INFO - --------------------------------------------------------------------------------
2025-12-16 18:05:27,394 - INFO - ================================================================================
2025-12-16 18:05:27,394 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-16 18:05:27,394 - 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-12-16 18:05:27,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-16 18:05:27,681 - INFO - Initial checks done. Running the testcase now
2025-12-16 18:05:27,681 - INFO -
2025-12-16 18:05:27,838 - DEBUG - Response for create_network : {'network': {'id': 'd103f131-0bb2-41f2-866c-17bf21fc8a32', 'name': 'ctest-vn1-88672120', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'project_id': 'f500800ffea24f788c8e71c16c078f9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45204108', 'ctest-vn1-88672120'], 'port_security_enabled': True, 'description': ''}}
2025-12-16 18:05:28,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '16c87f7c-644f-4279-ac75-8e48034f760c', 'name': '', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'd103f131-0bb2-41f2-866c-17bf21fc8a32', 'ip_version': 4, 'cidr': '47.63.24.192/26', 'allocation_pools': [{'start': '47.63.24.194', 'end': '47.63.24.254'}], 'gateway_ip': '47.63.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.63.24.194', 'tags': [], 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:28,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a08e67b2-9942-49e5-b74a-c2461dd5b13b', 'name': '', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'd103f131-0bb2-41f2-866c-17bf21fc8a32', 'ip_version': 4, 'cidr': '126.143.235.128/26', 'allocation_pools': [{'start': '126.143.235.130', 'end': '126.143.235.190'}], 'gateway_ip': '126.143.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.143.235.130', 'tags': [], 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:28,199 - INFO - Created VN ctest-vn1-88672120
2025-12-16 18:05:28,253 - DEBUG - VN ctest-vn1-88672120 UUID is d103f131-0bb2-41f2-866c-17bf21fc8a32
2025-12-16 18:05:28,567 - DEBUG - Response for create_port : {'port': {'name': '3fca20d9-b632-466a-8720-2ea7696dca73', 'id': '3fca20d9-b632-466a-8720-2ea7696dca73', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'd103f131-0bb2-41f2-866c-17bf21fc8a32', 'mac_address': '02:3f:ca:20:d9:b6', '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': '47.63.24.197', 'subnet_id': '16c87f7c-644f-4279-ac75-8e48034f760c'}], 'security_groups': ['2ffc6383-6f5f-4945-975d-5462b741dc30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:28,722 - DEBUG - Response for create_port : {'port': {'name': '9bcb416b-fe20-4f81-aae7-dc7e9b383943', 'id': '9bcb416b-fe20-4f81-aae7-dc7e9b383943', 'tenant_id': 'f500800ffea24f788c8e71c16c078f9a', 'network_id': 'd103f131-0bb2-41f2-866c-17bf21fc8a32', 'mac_address': '02:9b:cb:41:6b:fe', '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': '126.143.235.133', 'subnet_id': 'a08e67b2-9942-49e5-b74a-c2461dd5b13b'}], 'security_groups': ['2ffc6383-6f5f-4945-975d-5462b741dc30'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f500800ffea24f788c8e71c16c078f9a'}}
2025-12-16 18:05:28,773 - DEBUG - Services list from nova: [, , ]
2025-12-16 18:05:29,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1)
2025-12-16 18:05:29,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1)
2025-12-16 18:05:29,556 - INFO - Waiting for VM ctest-vn1-vm1-53912995 to be up..
2025-12-16 18:05:29,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-16 18:05:34,663 - DEBUG - VM is in ACTIVE state now
2025-12-16 18:05:34,663 - INFO - VM name : ctest-vn1-vm1-53912995
2025-12-16 18:05:34,729 - DEBUG - VM ctest-vn1-vm1-53912995 ID is 16cfea83-9ec6-4f53-a309-f544fb91c43c
2025-12-16 18:05:34,747 - DEBUG - VM ctest-vn1-vm1-53912995 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1
2025-12-16 18:05:34,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/16cfea83-9ec6-4f53-a309-f544fb91c43c
2025-12-16 18:05:34,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3fca20d9-b632-466a-8720-2ea7696dca73
2025-12-16 18:05:38,068 - 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 1011ms')
2025-12-16 18:05:38,069 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-53912995 failed!
2025-12-16 18:05:38,125 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45204108:ctest-vn1-88672120 is 47.63.24.193 and allocation pool is NOT set
2025-12-16 18:05:38,125 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45204108:ctest-vn1-88672120 is 126.143.235.129 and allocation pool is NOT set
2025-12-16 18:05:40,191 - 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=10.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.67 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 = 2.673/6.627/10.582/3.954 ms')
2025-12-16 18:05:40,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-53912995 passed
2025-12-16 18:05:40,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:40,341 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53912995, IP 47.63.24.197, Port 22
2025-12-16 18:05:40,407 - 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-12-16 18:05:40,477 - DEBUG - VM ctest-vn1-vm1-53912995 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-16 18:05:45,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:45,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53912995, IP 47.63.24.197, Port 22
2025-12-16 18:05:45,629 - DEBUG - VM ctest-vn1-vm1-53912995 is ready for SSH connections
2025-12-16 18:05:45,629 - INFO - Waiting for VM ctest-vn1-vm2-79649136 to be up..
2025-12-16 18:05:45,703 - DEBUG - VM is in ACTIVE state now
2025-12-16 18:05:45,703 - INFO - VM name : ctest-vn1-vm2-79649136
2025-12-16 18:05:45,773 - DEBUG - VM ctest-vn1-vm2-79649136 ID is 5d9a3f03-cac8-49b5-ad10-6685db1b4619
2025-12-16 18:05:45,773 - DEBUG - VM ctest-vn1-vm2-79649136 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1
2025-12-16 18:05:45,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5d9a3f03-cac8-49b5-ad10-6685db1b4619
2025-12-16 18:05:45,853 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9bcb416b-fe20-4f81-aae7-dc7e9b383943
2025-12-16 18:05:47,084 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.493 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.493/1.739/2.986/1.246 ms')
2025-12-16 18:05:47,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-79649136 passed
2025-12-16 18:05:47,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:47,233 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79649136, IP 126.143.235.133, Port 22
2025-12-16 18:05:47,400 - DEBUG - VM ctest-vn1-vm2-79649136 is ready for SSH connections
2025-12-16 18:05:47,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:47,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:47,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-16 18:05:47,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.63.24.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-16 18:05:47,400 - DEBUG - ping -s 56 -c 3 -W 1 47.63.24.197
2025-12-16 18:05:51,097 - DEBUG - PING 47.63.24.197 (47.63.24.197): 56 data bytes
64 bytes from 47.63.24.197: seq=0 ttl=63 time=3.522 ms
64 bytes from 47.63.24.197: seq=1 ttl=63 time=1.146 ms
64 bytes from 47.63.24.197: seq=2 ttl=63 time=0.775 ms
--- 47.63.24.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.775/1.814/3.522 ms
2025-12-16 18:05:51,097 - INFO - Ping to IP 47.63.24.197 from VM ctest-vn1-vm2-79649136 passed
2025-12-16 18:05:51,097 - INFO - Detaching port 9bcb416b-fe20-4f81-aae7-dc7e9b383943 from VM ctest-vn1-vm2-79649136
2025-12-16 18:05:51,146 - INFO - Deleting VM ctest-vn1-vm2-79649136
2025-12-16 18:05:51,212 - INFO - Detaching port 3fca20d9-b632-466a-8720-2ea7696dca73 from VM ctest-vn1-vm1-53912995
2025-12-16 18:05:51,245 - INFO - Deleting VM ctest-vn1-vm1-53912995
2025-12-16 18:05:51,456 - DEBUG - Response for delete_port : ()
2025-12-16 18:05:51,626 - DEBUG - Response for delete_port : ()
2025-12-16 18:05:51,626 - INFO - Deleting VN ctest-vn1-88672120
2025-12-16 18:05:51,756 - DEBUG - Response for deleting network ()
2025-12-16 18:05:52,012 - DEBUG - No XMPP flaps were noticed during the test
2025-12-16 18:05:52,012 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-12-16 18:05:52,012 - INFO - --------------------------------------------------------------------------------
2025-12-16 18:05:52,681 - INFO - Deleted project: ctest-TestPorts-45204108, ID : f500800f-fea2-4f78-8c8e-71c16c078f9a