2026-02-19 14:26:21,106 - INFO - Domain Default found not creating
2026-02-19 14:26:21,443 - INFO - Project ctest-TestPorts-87197452 not found, creating it
2026-02-19 14:26:22,249 - INFO - Created Project:ctest-TestPorts-87197452, ID : 2683146a-45eb-4860-8590-b9594ff27bdf
2026-02-19 14:26:24,175 - INFO - ================================================================================
2026-02-19 14:26:24,175 - INFO - STARTING TEST : test_ports_bindings
2026-02-19 14:26:24,175 - 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-02-19 14:26:24,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-19 14:26:24,471 - INFO - Initial checks done. Running the testcase now
2026-02-19 14:26:24,472 - INFO -
2026-02-19 14:26:25,230 - DEBUG - Response for create_network : {'network': {'id': 'a3118cca-3dd2-44e0-a9d8-870ad31f2b88', 'name': 'ctest-vn-56793920', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'project_id': '2683146a45eb48608590b9594ff27bdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87197452', 'ctest-vn-56793920'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:26:25,392 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9c2b468-3228-4536-81a7-8c436a86e318', 'name': '', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'a3118cca-3dd2-44e0-a9d8-870ad31f2b88', 'ip_version': 4, 'cidr': '114.146.140.0/26', 'allocation_pools': [{'start': '114.146.140.2', 'end': '114.146.140.62'}], 'gateway_ip': '114.146.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.146.140.2', 'tags': [], 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:25,411 - INFO - Created VN ctest-vn-56793920
2026-02-19 14:26:25,464 - DEBUG - VN ctest-vn-56793920 UUID is a3118cca-3dd2-44e0-a9d8-870ad31f2b88
2026-02-19 14:26:25,638 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87197452', 'ctest-vmi-58769365']}
2026-02-19 14:26:25,988 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58769365', 'id': '3a3619cf-470f-4953-bd63-bd97fdee5634', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'a3118cca-3dd2-44e0-a9d8-870ad31f2b88', 'mac_address': '02:3a:36:19:cf:47', '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': '114.146.140.3', 'subnet_id': 'a9c2b468-3228-4536-81a7-8c436a86e318'}], 'security_groups': ['6e688313-3044-4a93-86ce-a7893f318850'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:25,988 - DEBUG - Created port 3a3619cf-470f-4953-bd63-bd97fdee5634
2026-02-19 14:26:26,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3a3619cf-470f-4953-bd63-bd97fdee5634
2026-02-19 14:26:26,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3a3619cf-470f-4953-bd63-bd97fdee5634
2026-02-19 14:26:26,498 - INFO - VMI 3a3619cf-470f-4953-bd63-bd97fdee5634 verification in API Server passed
2026-02-19 14:26:26,665 - DEBUG - Response for delete_port : ()
2026-02-19 14:26:26,665 - INFO - Deleted port 3a3619cf-470f-4953-bd63-bd97fdee5634
2026-02-19 14:26:26,665 - INFO - Deleting VN ctest-vn-56793920
2026-02-19 14:26:26,793 - DEBUG - Response for deleting network ()
2026-02-19 14:26:27,068 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 14:26:27,068 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-19 14:26:27,068 - INFO - --------------------------------------------------------------------------------
2026-02-19 14:26:27,071 - INFO - ================================================================================
2026-02-19 14:26:27,071 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-19 14:26:27,071 - 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-02-19 14:26:27,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-19 14:26:27,388 - INFO - Initial checks done. Running the testcase now
2026-02-19 14:26:27,388 - INFO -
2026-02-19 14:26:27,643 - DEBUG - Response for create_network : {'network': {'id': 'f158ae51-cb3e-43b9-8054-4941d84dbe55', 'name': 'ctest-vn1-95377722', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'project_id': '2683146a45eb48608590b9594ff27bdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87197452', 'ctest-vn1-95377722'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 14:26:27,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffe34ce0-ccb5-4190-8a29-6e30192baa67', 'name': '', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'f158ae51-cb3e-43b9-8054-4941d84dbe55', 'ip_version': 4, 'cidr': '11.99.56.64/26', 'allocation_pools': [{'start': '11.99.56.66', 'end': '11.99.56.126'}], 'gateway_ip': '11.99.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.99.56.66', 'tags': [], 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:28,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9aeef33-d05e-46a9-b59d-ffc0dd3400c5', 'name': '', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'f158ae51-cb3e-43b9-8054-4941d84dbe55', 'ip_version': 4, 'cidr': '79.17.255.64/26', 'allocation_pools': [{'start': '79.17.255.66', 'end': '79.17.255.126'}], 'gateway_ip': '79.17.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.17.255.66', 'tags': [], 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:28,143 - INFO - Created VN ctest-vn1-95377722
2026-02-19 14:26:28,195 - DEBUG - VN ctest-vn1-95377722 UUID is f158ae51-cb3e-43b9-8054-4941d84dbe55
2026-02-19 14:26:28,577 - DEBUG - Response for create_port : {'port': {'name': '380b679f-cafc-4cf0-bf61-dc4614cc1ee2', 'id': '380b679f-cafc-4cf0-bf61-dc4614cc1ee2', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'f158ae51-cb3e-43b9-8054-4941d84dbe55', 'mac_address': '02:38:0b:67:9f:ca', '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': '11.99.56.69', 'subnet_id': 'ffe34ce0-ccb5-4190-8a29-6e30192baa67'}], 'security_groups': ['6e688313-3044-4a93-86ce-a7893f318850'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:28,774 - DEBUG - Response for create_port : {'port': {'name': '2101cbf6-8c01-4a71-9c1c-4c31f2e39a69', 'id': '2101cbf6-8c01-4a71-9c1c-4c31f2e39a69', 'tenant_id': '2683146a45eb48608590b9594ff27bdf', 'network_id': 'f158ae51-cb3e-43b9-8054-4941d84dbe55', 'mac_address': '02:21:01:cb:f6:8c', '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': '79.17.255.69', 'subnet_id': 'a9aeef33-d05e-46a9-b59d-ffc0dd3400c5'}], 'security_groups': ['6e688313-3044-4a93-86ce-a7893f318850'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2683146a45eb48608590b9594ff27bdf'}}
2026-02-19 14:26:28,831 - DEBUG - Services list from nova: [, , ]
2026-02-19 14:26:29,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5356-1)
2026-02-19 14:26:29,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5356-1)
2026-02-19 14:26:29,910 - INFO - Waiting for VM ctest-vn1-vm1-11081068 to be up..
2026-02-19 14:26:29,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-19 14:26:35,092 - DEBUG - VM is in ACTIVE state now
2026-02-19 14:26:35,092 - INFO - VM name : ctest-vn1-vm1-11081068
2026-02-19 14:26:35,211 - DEBUG - VM ctest-vn1-vm1-11081068 ID is 33a667ce-c559-41f3-8c35-ce61d9491b10
2026-02-19 14:26:35,231 - DEBUG - VM ctest-vn1-vm1-11081068 launched on Node cn-jenkins-deploy-platform-ansible-os-5356-1
2026-02-19 14:26:35,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/33a667ce-c559-41f3-8c35-ce61d9491b10
2026-02-19 14:26:35,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/380b679f-cafc-4cf0-bf61-dc4614cc1ee2
2026-02-19 14:26:38,612 - 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 1019ms')
2026-02-19 14:26:38,612 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11081068 failed!
2026-02-19 14:26:38,671 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87197452:ctest-vn1-95377722 is 11.99.56.65 and allocation pool is NOT set
2026-02-19 14:26:38,671 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87197452:ctest-vn1-95377722 is 79.17.255.65 and allocation pool is NOT set
2026-02-19 14:26:42,772 - 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=2 ttl=63 time=13.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 13.344/13.344/13.344/0.000 ms')
2026-02-19 14:26:42,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11081068 passed
2026-02-19 14:26:42,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:42,944 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11081068, IP 11.99.56.69, Port 22
2026-02-19 14:26:43,131 - DEBUG - VM ctest-vn1-vm1-11081068 is ready for SSH connections
2026-02-19 14:26:43,131 - INFO - Waiting for VM ctest-vn1-vm2-13919953 to be up..
2026-02-19 14:26:43,319 - DEBUG - VM is in ACTIVE state now
2026-02-19 14:26:43,320 - INFO - VM name : ctest-vn1-vm2-13919953
2026-02-19 14:26:43,425 - DEBUG - VM ctest-vn1-vm2-13919953 ID is a79abdb6-fd8f-440c-b55c-2612a98d01d8
2026-02-19 14:26:43,426 - DEBUG - VM ctest-vn1-vm2-13919953 launched on Node cn-jenkins-deploy-platform-ansible-os-5356-1
2026-02-19 14:26:43,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a79abdb6-fd8f-440c-b55c-2612a98d01d8
2026-02-19 14:26:43,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2101cbf6-8c01-4a71-9c1c-4c31f2e39a69
2026-02-19 14:26:44,807 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.22 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 = 1.221/2.907/4.594/1.686 ms')
2026-02-19 14:26:44,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13919953 passed
2026-02-19 14:26:44,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:44,959 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13919953, IP 79.17.255.69, Port 22
2026-02-19 14:26:45,027 - 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': ''}
2026-02-19 14:26:45,200 - DEBUG - VM ctest-vn1-vm2-13919953 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-19 14:26:50,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:50,201 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13919953, IP 79.17.255.69, Port 22
2026-02-19 14:26:50,381 - DEBUG - VM ctest-vn1-vm2-13919953 is ready for SSH connections
2026-02-19 14:26:50,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:50,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:50,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 14:26:50,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.99.56.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 14:26:50,382 - DEBUG - ping -s 56 -c 3 -W 1 11.99.56.69
2026-02-19 14:26:53,157 - DEBUG - PING 11.99.56.69 (11.99.56.69): 56 data bytes
64 bytes from 11.99.56.69: seq=0 ttl=63 time=4.475 ms
64 bytes from 11.99.56.69: seq=1 ttl=63 time=2.005 ms
64 bytes from 11.99.56.69: seq=2 ttl=63 time=1.333 ms
--- 11.99.56.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.333/2.604/4.475 ms
2026-02-19 14:26:53,158 - INFO - Ping to IP 11.99.56.69 from VM ctest-vn1-vm2-13919953 passed
2026-02-19 14:26:53,158 - INFO - Detaching port 2101cbf6-8c01-4a71-9c1c-4c31f2e39a69 from VM ctest-vn1-vm2-13919953
2026-02-19 14:26:53,255 - INFO - Deleting VM ctest-vn1-vm2-13919953
2026-02-19 14:26:53,335 - INFO - Detaching port 380b679f-cafc-4cf0-bf61-dc4614cc1ee2 from VM ctest-vn1-vm1-11081068
2026-02-19 14:26:53,378 - INFO - Deleting VM ctest-vn1-vm1-11081068
2026-02-19 14:26:53,665 - DEBUG - Response for delete_port : ()
2026-02-19 14:26:53,908 - DEBUG - Response for delete_port : ()
2026-02-19 14:26:53,908 - INFO - Deleting VN ctest-vn1-95377722
2026-02-19 14:26:54,099 - DEBUG - Response for deleting network ()
2026-02-19 14:26:54,375 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 14:26:54,375 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-02-19 14:26:54,376 - INFO - --------------------------------------------------------------------------------
2026-02-19 14:26:55,124 - INFO - Deleted project: ctest-TestPorts-87197452, ID : 2683146a-45eb-4860-8590-b9594ff27bdf