2026-10-26 20:18:25,917 - INFO - Domain Default found not creating
2026-10-26 20:18:26,204 - INFO - Project ctest-TestPorts-87266410 not found, creating it
2026-10-26 20:18:26,840 - INFO - Created Project:ctest-TestPorts-87266410, ID : 6d379d5a-33ca-4620-b04c-5996eb0d8efe
2026-10-26 20:18:29,145 - INFO - ================================================================================
2026-10-26 20:18:29,145 - INFO - STARTING TEST : test_ports_bindings
2026-10-26 20:18:29,145 - 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
2026-10-26 20:18:29,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-26 20:18:29,438 - INFO - Initial checks done. Running the testcase now
2026-10-26 20:18:29,438 - INFO -
2026-10-26 20:18:30,259 - DEBUG - Response for create_network : {'network': {'id': '0e47ee56-0eaf-42b0-8370-56ec98c73877', 'name': 'ctest-vn-17477536', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87266410', 'ctest-vn-17477536'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:18:30,518 - DEBUG - Response for create_subnet : {'subnet': {'id': 'add109ba-434c-4e51-a8c2-4366e914252c', 'name': '', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '0e47ee56-0eaf-42b0-8370-56ec98c73877', 'ip_version': 4, 'cidr': '200.176.146.192/26', 'allocation_pools': [{'start': '200.176.146.194', 'end': '200.176.146.254'}], 'gateway_ip': '200.176.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.176.146.194', 'tags': [], 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:30,544 - INFO - Created VN ctest-vn-17477536
2026-10-26 20:18:30,602 - DEBUG - VN ctest-vn-17477536 UUID is 0e47ee56-0eaf-42b0-8370-56ec98c73877
2026-10-26 20:18:30,777 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87266410', 'ctest-vmi-65763150']}
2026-10-26 20:18:31,124 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65763150', 'id': '9569e439-1056-4a08-bd9a-1fb4046b2b8e', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '0e47ee56-0eaf-42b0-8370-56ec98c73877', 'mac_address': '02:95:69:e4:39:10', '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': '200.176.146.195', 'subnet_id': 'add109ba-434c-4e51-a8c2-4366e914252c'}], 'security_groups': ['a6bf22aa-f2fa-45bd-a936-1bf5874729a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:31,124 - DEBUG - Created port 9569e439-1056-4a08-bd9a-1fb4046b2b8e
2026-10-26 20:18:31,246 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/9569e439-1056-4a08-bd9a-1fb4046b2b8e
2026-10-26 20:18:31,653 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/9569e439-1056-4a08-bd9a-1fb4046b2b8e
2026-10-26 20:18:31,706 - INFO - VMI 9569e439-1056-4a08-bd9a-1fb4046b2b8e verification in API Server passed
2026-10-26 20:18:31,984 - DEBUG - Response for delete_port : ()
2026-10-26 20:18:31,985 - INFO - Deleted port 9569e439-1056-4a08-bd9a-1fb4046b2b8e
2026-10-26 20:18:31,985 - INFO - Deleting VN ctest-vn-17477536
2026-10-26 20:18:32,155 - DEBUG - Response for deleting network ()
2026-10-26 20:18:32,432 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 20:18:32,432 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-10-26 20:18:32,432 - INFO - --------------------------------------------------------------------------------
2026-10-26 20:18:32,435 - INFO - ================================================================================
2026-10-26 20:18:32,436 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-10-26 20:18:32,436 - 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
2026-10-26 20:18:32,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-26 20:18:32,732 - INFO - Initial checks done. Running the testcase now
2026-10-26 20:18:32,732 - INFO -
2026-10-26 20:18:32,965 - DEBUG - Response for create_network : {'network': {'id': '7a994876-21a2-4407-aa92-77819deca4fb', 'name': 'ctest-vn1-34659003', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87266410', 'ctest-vn1-34659003'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:18:33,199 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4a901a3-2228-40eb-9a0d-437458fff7cf', 'name': '', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '7a994876-21a2-4407-aa92-77819deca4fb', 'ip_version': 4, 'cidr': '59.253.19.0/26', 'allocation_pools': [{'start': '59.253.19.2', 'end': '59.253.19.62'}], 'gateway_ip': '59.253.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.253.19.2', 'tags': [], 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:33,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '42875bdd-8476-43d8-9d2c-5954facedada', 'name': '', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '7a994876-21a2-4407-aa92-77819deca4fb', 'ip_version': 4, 'cidr': '92.158.236.0/26', 'allocation_pools': [{'start': '92.158.236.2', 'end': '92.158.236.62'}], 'gateway_ip': '92.158.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.158.236.2', 'tags': [], 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:33,466 - INFO - Created VN ctest-vn1-34659003
2026-10-26 20:18:33,526 - DEBUG - VN ctest-vn1-34659003 UUID is 7a994876-21a2-4407-aa92-77819deca4fb
2026-10-26 20:18:33,912 - DEBUG - Response for create_port : {'port': {'name': '37c8872b-6a6e-45ef-8bfd-61d81215a01e', 'id': '37c8872b-6a6e-45ef-8bfd-61d81215a01e', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '7a994876-21a2-4407-aa92-77819deca4fb', 'mac_address': '02:37:c8:87:2b:6a', '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': '59.253.19.5', 'subnet_id': 'd4a901a3-2228-40eb-9a0d-437458fff7cf'}], 'security_groups': ['a6bf22aa-f2fa-45bd-a936-1bf5874729a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:34,132 - DEBUG - Response for create_port : {'port': {'name': '702cbd42-581b-4b3d-8661-d2385bb6935f', 'id': '702cbd42-581b-4b3d-8661-d2385bb6935f', 'tenant_id': '6d379d5a33ca4620b04c5996eb0d8efe', 'network_id': '7a994876-21a2-4407-aa92-77819deca4fb', 'mac_address': '02:70:2c:bd:42:58', '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': '92.158.236.5', 'subnet_id': '42875bdd-8476-43d8-9d2c-5954facedada'}], 'security_groups': ['a6bf22aa-f2fa-45bd-a936-1bf5874729a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '6d379d5a33ca4620b04c5996eb0d8efe'}}
2026-10-26 20:18:34,213 - DEBUG - Services list from nova: [, , ]
2026-10-26 20:18:34,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6417-1)
2026-10-26 20:18:35,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6417-1)
2026-10-26 20:18:35,221 - INFO - Waiting for VM ctest-vn1-vm1-01359703 to be up..
2026-10-26 20:18:35,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:18:40,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:18:45,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:18:50,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:18:55,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:19:00,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:19:05,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:19:10,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:19:16,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-26 20:19:21,173 - DEBUG - VM is in ACTIVE state now
2026-10-26 20:19:21,173 - INFO - VM name : ctest-vn1-vm1-01359703
2026-10-26 20:19:21,266 - DEBUG - VM ctest-vn1-vm1-01359703 ID is e02cc2ea-7cd9-4bbd-b031-b981f472370b
2026-10-26 20:19:21,294 - DEBUG - VM ctest-vn1-vm1-01359703 launched on Node cn-jenkins-deploy-platform-ansible-os-6417-1
2026-10-26 20:19:21,390 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/e02cc2ea-7cd9-4bbd-b031-b981f472370b
2026-10-26 20:19:21,401 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/37c8872b-6a6e-45ef-8bfd-61d81215a01e
2026-10-26 20:19:24,669 - 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 1014ms')
2026-10-26 20:19:24,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01359703 failed!
2026-10-26 20:19:24,726 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87266410:ctest-vn1-34659003 is 59.253.19.1 and allocation pool is NOT set
2026-10-26 20:19:24,726 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87266410:ctest-vn1-34659003 is 92.158.236.1 and allocation pool is NOT set
2026-10-26 20:19:26,796 - 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=6.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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 = 2.236/4.153/6.071/1.917 ms')
2026-10-26 20:19:26,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01359703 passed
2026-10-26 20:19:26,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:26,954 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01359703, IP 59.253.19.5, Port 22
2026-10-26 20:19:27,020 - 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': ''}
2026-10-26 20:19:27,128 - DEBUG - VM ctest-vn1-vm1-01359703 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-26 20:19:32,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:32,129 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01359703, IP 59.253.19.5, Port 22
2026-10-26 20:19:32,308 - DEBUG - VM ctest-vn1-vm1-01359703 is ready for SSH connections
2026-10-26 20:19:32,308 - INFO - Waiting for VM ctest-vn1-vm2-57076600 to be up..
2026-10-26 20:19:32,402 - DEBUG - VM is in ACTIVE state now
2026-10-26 20:19:32,403 - INFO - VM name : ctest-vn1-vm2-57076600
2026-10-26 20:19:32,497 - DEBUG - VM ctest-vn1-vm2-57076600 ID is 9addd1f4-0920-4046-8366-5e610f815d2e
2026-10-26 20:19:32,497 - DEBUG - VM ctest-vn1-vm2-57076600 launched on Node cn-jenkins-deploy-platform-ansible-os-6417-1
2026-10-26 20:19:32,608 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/9addd1f4-0920-4046-8366-5e610f815d2e
2026-10-26 20:19:32,625 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/702cbd42-581b-4b3d-8661-d2385bb6935f
2026-10-26 20:19:33,896 - 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=4.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.629 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.629/2.582/4.535/1.953 ms')
2026-10-26 20:19:33,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57076600 passed
2026-10-26 20:19:34,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:34,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57076600, IP 92.158.236.5, Port 22
2026-10-26 20:19:34,228 - DEBUG - VM ctest-vn1-vm2-57076600 is ready for SSH connections
2026-10-26 20:19:34,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:34,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:34,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-26 20:19:34,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.253.19.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-10-26 20:19:34,229 - DEBUG - ping -s 56 -c 3 -W 1 59.253.19.5
2026-10-26 20:19:37,375 - DEBUG - PING 59.253.19.5 (59.253.19.5): 56 data bytes
64 bytes from 59.253.19.5: seq=0 ttl=63 time=5.918 ms
64 bytes from 59.253.19.5: seq=1 ttl=63 time=1.201 ms
64 bytes from 59.253.19.5: seq=2 ttl=63 time=2.224 ms
--- 59.253.19.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.201/3.114/5.918 ms
2026-10-26 20:19:37,376 - INFO - Ping to IP 59.253.19.5 from VM ctest-vn1-vm2-57076600 passed
2026-10-26 20:19:37,376 - INFO - Detaching port 702cbd42-581b-4b3d-8661-d2385bb6935f from VM ctest-vn1-vm2-57076600
2026-10-26 20:19:37,448 - INFO - Deleting VM ctest-vn1-vm2-57076600
2026-10-26 20:19:37,538 - INFO - Detaching port 37c8872b-6a6e-45ef-8bfd-61d81215a01e from VM ctest-vn1-vm1-01359703
2026-10-26 20:19:37,589 - INFO - Deleting VM ctest-vn1-vm1-01359703
2026-10-26 20:19:37,884 - DEBUG - Response for delete_port : ()
2026-10-26 20:19:38,089 - DEBUG - Response for delete_port : ()
2026-10-26 20:19:38,089 - INFO - Deleting VN ctest-vn1-34659003
2026-10-26 20:19:38,241 - DEBUG - Response for deleting network ()
2026-10-26 20:19:38,524 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 20:19:38,524 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:06]
2026-10-26 20:19:38,524 - INFO - --------------------------------------------------------------------------------
2026-10-26 20:19:39,430 - INFO - Deleted project: ctest-TestPorts-87266410, ID : 6d379d5a-33ca-4620-b04c-5996eb0d8efe