2026-01-27 10:37:14,913 - INFO - Domain Default found not creating
2026-01-27 10:37:15,105 - INFO - Project ctest-TestPorts-66020532 not found, creating it
2026-01-27 10:37:15,691 - INFO - Created Project:ctest-TestPorts-66020532, ID : 7f6ae490-460e-40c8-9ca6-262fe06aae2d
2026-01-27 10:37:17,336 - INFO - ================================================================================
2026-01-27 10:37:17,336 - INFO - STARTING TEST : test_ports_bindings
2026-01-27 10:37:17,336 - 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-01-27 10:37:17,591 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-27 10:37:17,591 - INFO - Initial checks done. Running the testcase now
2026-01-27 10:37:17,591 - INFO -
2026-01-27 10:37:18,186 - DEBUG - Response for create_network : {'network': {'id': 'e6ca346c-266f-4b58-b0d2-64120141cb2a', 'name': 'ctest-vn-31820546', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'project_id': '7f6ae490460e40c89ca6262fe06aae2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66020532', 'ctest-vn-31820546'], 'port_security_enabled': True, 'description': ''}}
2026-01-27 10:37:18,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b8b7127-c5d9-44cd-970a-99287b40fc39', 'name': '', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'e6ca346c-266f-4b58-b0d2-64120141cb2a', 'ip_version': 4, 'cidr': '126.208.45.64/26', 'allocation_pools': [{'start': '126.208.45.66', 'end': '126.208.45.126'}], 'gateway_ip': '126.208.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.208.45.66', 'tags': [], 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:18,383 - INFO - Created VN ctest-vn-31820546
2026-01-27 10:37:18,439 - DEBUG - VN ctest-vn-31820546 UUID is e6ca346c-266f-4b58-b0d2-64120141cb2a
2026-01-27 10:37:18,549 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66020532', 'ctest-vmi-74559496']}
2026-01-27 10:37:18,829 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74559496', 'id': 'c3a2f350-97b5-4815-8f5a-c98042b59189', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'e6ca346c-266f-4b58-b0d2-64120141cb2a', 'mac_address': '02:c3:a2:f3:50:97', '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': '126.208.45.67', 'subnet_id': '2b8b7127-c5d9-44cd-970a-99287b40fc39'}], 'security_groups': ['91f40b0e-8938-4b00-b8d2-84aeb8a71e44'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:18,829 - DEBUG - Created port c3a2f350-97b5-4815-8f5a-c98042b59189
2026-01-27 10:37:18,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3a2f350-97b5-4815-8f5a-c98042b59189
2026-01-27 10:37:19,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3a2f350-97b5-4815-8f5a-c98042b59189
2026-01-27 10:37:19,315 - INFO - VMI c3a2f350-97b5-4815-8f5a-c98042b59189 verification in API Server passed
2026-01-27 10:37:19,418 - DEBUG - Response for delete_port : ()
2026-01-27 10:37:19,419 - INFO - Deleted port c3a2f350-97b5-4815-8f5a-c98042b59189
2026-01-27 10:37:19,419 - INFO - Deleting VN ctest-vn-31820546
2026-01-27 10:37:19,523 - DEBUG - Response for deleting network ()
2026-01-27 10:37:19,776 - DEBUG - No XMPP flaps were noticed during the test
2026-01-27 10:37:19,776 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-27 10:37:19,776 - INFO - --------------------------------------------------------------------------------
2026-01-27 10:37:19,778 - INFO - ================================================================================
2026-01-27 10:37:19,778 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-27 10:37:19,779 - 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-01-27 10:37:20,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-27 10:37:20,075 - INFO - Initial checks done. Running the testcase now
2026-01-27 10:37:20,075 - INFO -
2026-01-27 10:37:20,252 - DEBUG - Response for create_network : {'network': {'id': 'b53c31b3-ece9-4257-9902-7a24bda5af16', 'name': 'ctest-vn1-48711472', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'project_id': '7f6ae490460e40c89ca6262fe06aae2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66020532', 'ctest-vn1-48711472'], 'port_security_enabled': True, 'description': ''}}
2026-01-27 10:37:20,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '5be2655f-b98f-49d5-ae8f-3e5995be143f', 'name': '', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'b53c31b3-ece9-4257-9902-7a24bda5af16', 'ip_version': 4, 'cidr': '138.152.75.0/26', 'allocation_pools': [{'start': '138.152.75.2', 'end': '138.152.75.62'}], 'gateway_ip': '138.152.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.152.75.2', 'tags': [], 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:20,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8062044-848e-4235-9613-85bd2154c72f', 'name': '', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'b53c31b3-ece9-4257-9902-7a24bda5af16', 'ip_version': 4, 'cidr': '154.38.192.192/26', 'allocation_pools': [{'start': '154.38.192.194', 'end': '154.38.192.254'}], 'gateway_ip': '154.38.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.38.192.194', 'tags': [], 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:20,581 - INFO - Created VN ctest-vn1-48711472
2026-01-27 10:37:20,635 - DEBUG - VN ctest-vn1-48711472 UUID is b53c31b3-ece9-4257-9902-7a24bda5af16
2026-01-27 10:37:20,953 - DEBUG - Response for create_port : {'port': {'name': '65dd9ab3-3e2d-425b-a523-0d3e7ee9ce1c', 'id': '65dd9ab3-3e2d-425b-a523-0d3e7ee9ce1c', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'b53c31b3-ece9-4257-9902-7a24bda5af16', 'mac_address': '02:65:dd:9a:b3:3e', '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': '138.152.75.5', 'subnet_id': '5be2655f-b98f-49d5-ae8f-3e5995be143f'}], 'security_groups': ['91f40b0e-8938-4b00-b8d2-84aeb8a71e44'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:21,135 - DEBUG - Response for create_port : {'port': {'name': '8ad5fe7a-e67c-4a19-85f2-2c8c6089a719', 'id': '8ad5fe7a-e67c-4a19-85f2-2c8c6089a719', 'tenant_id': '7f6ae490460e40c89ca6262fe06aae2d', 'network_id': 'b53c31b3-ece9-4257-9902-7a24bda5af16', 'mac_address': '02:8a:d5:fe:7a:e6', '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': '154.38.192.197', 'subnet_id': 'f8062044-848e-4235-9613-85bd2154c72f'}], 'security_groups': ['91f40b0e-8938-4b00-b8d2-84aeb8a71e44'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7f6ae490460e40c89ca6262fe06aae2d'}}
2026-01-27 10:37:21,197 - DEBUG - Services list from nova: [, , ]
2026-01-27 10:37:21,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5085-1)
2026-01-27 10:37:21,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5085-1)
2026-01-27 10:37:21,990 - INFO - Waiting for VM ctest-vn1-vm1-18609207 to be up..
2026-01-27 10:37:22,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-27 10:37:27,122 - DEBUG - VM is in ACTIVE state now
2026-01-27 10:37:27,122 - INFO - VM name : ctest-vn1-vm1-18609207
2026-01-27 10:37:27,213 - DEBUG - VM ctest-vn1-vm1-18609207 ID is 4b54f33f-02ad-4b3e-93cc-41e9b3e02650
2026-01-27 10:37:27,233 - DEBUG - VM ctest-vn1-vm1-18609207 launched on Node cn-jenkins-deploy-platform-ansible-os-5085-1
2026-01-27 10:37:27,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4b54f33f-02ad-4b3e-93cc-41e9b3e02650
2026-01-27 10:37:27,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/65dd9ab3-3e2d-425b-a523-0d3e7ee9ce1c
2026-01-27 10:37:30,564 - 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 1010ms')
2026-01-27 10:37:30,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18609207 failed!
2026-01-27 10:37:30,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66020532:ctest-vn1-48711472 is 138.152.75.1 and allocation pool is NOT set
2026-01-27 10:37:30,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66020532:ctest-vn1-48711472 is 154.38.192.193 and allocation pool is NOT set
2026-01-27 10:37:34,699 - 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=6.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 6.705/6.705/6.705/0.000 ms')
2026-01-27 10:37:34,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18609207 passed
2026-01-27 10:37:34,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:34,851 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18609207, IP 138.152.75.5, Port 22
2026-01-27 10:37:34,907 - 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-01-27 10:37:34,994 - DEBUG - VM ctest-vn1-vm1-18609207 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-27 10:37:39,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:39,995 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18609207, IP 138.152.75.5, Port 22
2026-01-27 10:37:40,151 - DEBUG - VM ctest-vn1-vm1-18609207 is ready for SSH connections
2026-01-27 10:37:40,151 - INFO - Waiting for VM ctest-vn1-vm2-75177638 to be up..
2026-01-27 10:37:40,232 - DEBUG - VM is in ACTIVE state now
2026-01-27 10:37:40,232 - INFO - VM name : ctest-vn1-vm2-75177638
2026-01-27 10:37:40,312 - DEBUG - VM ctest-vn1-vm2-75177638 ID is d99a3bc8-b5b1-4734-8ad1-73f7b29adaf0
2026-01-27 10:37:40,312 - DEBUG - VM ctest-vn1-vm2-75177638 launched on Node cn-jenkins-deploy-platform-ansible-os-5085-1
2026-01-27 10:37:40,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d99a3bc8-b5b1-4734-8ad1-73f7b29adaf0
2026-01-27 10:37:40,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8ad5fe7a-e67c-4a19-85f2-2c8c6089a719
2026-01-27 10:37:41,650 - 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=3.82 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/2.135/3.819/1.684 ms')
2026-01-27 10:37:41,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75177638 passed
2026-01-27 10:37:41,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:41,799 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75177638, IP 154.38.192.197, Port 22
2026-01-27 10:37:41,955 - DEBUG - VM ctest-vn1-vm2-75177638 is ready for SSH connections
2026-01-27 10:37:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-27 10:37:41,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.152.75.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-01-27 10:37:41,956 - DEBUG - ping -s 56 -c 3 -W 1 138.152.75.5
2026-01-27 10:37:44,680 - DEBUG - PING 138.152.75.5 (138.152.75.5): 56 data bytes
64 bytes from 138.152.75.5: seq=0 ttl=63 time=3.840 ms
64 bytes from 138.152.75.5: seq=1 ttl=63 time=1.132 ms
64 bytes from 138.152.75.5: seq=2 ttl=63 time=1.180 ms
--- 138.152.75.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.132/2.050/3.840 ms
2026-01-27 10:37:44,680 - INFO - Ping to IP 138.152.75.5 from VM ctest-vn1-vm2-75177638 passed
2026-01-27 10:37:44,680 - INFO - Detaching port 8ad5fe7a-e67c-4a19-85f2-2c8c6089a719 from VM ctest-vn1-vm2-75177638
2026-01-27 10:37:44,733 - INFO - Deleting VM ctest-vn1-vm2-75177638
2026-01-27 10:37:44,809 - INFO - Detaching port 65dd9ab3-3e2d-425b-a523-0d3e7ee9ce1c from VM ctest-vn1-vm1-18609207
2026-01-27 10:37:44,846 - INFO - Deleting VM ctest-vn1-vm1-18609207
2026-01-27 10:37:45,081 - DEBUG - Response for delete_port : ()
2026-01-27 10:37:45,241 - DEBUG - Response for delete_port : ()
2026-01-27 10:37:45,241 - INFO - Deleting VN ctest-vn1-48711472
2026-01-27 10:37:45,384 - DEBUG - Response for deleting network ()
2026-01-27 10:37:45,669 - DEBUG - No XMPP flaps were noticed during the test
2026-01-27 10:37:45,669 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-27 10:37:45,669 - INFO - --------------------------------------------------------------------------------
2026-01-27 10:37:46,617 - INFO - Deleted project: ctest-TestPorts-66020532, ID : 7f6ae490-460e-40c8-9ca6-262fe06aae2d