2026-06-05 16:42:29,596 - INFO - Domain Default found not creating
2026-06-05 16:42:29,926 - INFO - Project ctest-TestPorts-33078853 not found, creating it
2026-06-05 16:42:31,188 - INFO - Created Project:ctest-TestPorts-33078853, ID : b191a39f-58f0-493e-b74c-1976cb0de40b
2026-06-05 16:42:33,905 - INFO - ================================================================================
2026-06-05 16:42:33,905 - INFO - STARTING TEST : test_ports_bindings
2026-06-05 16:42:33,905 - 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-06-05 16:42:35,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2026-06-05 16:42:35,197 - INFO - Initial checks done. Running the testcase now
2026-06-05 16:42:35,197 - INFO -
2026-06-05 16:42:36,038 - DEBUG - Response for create_network : {'network': {'id': '615e5b13-e5e5-4284-b531-4375e27c7498', 'name': 'ctest-vn-72580944', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'project_id': 'b191a39f58f0493eb74c1976cb0de40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33078853', 'ctest-vn-72580944'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:42:36,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '108ce323-460c-46e8-921e-1aa8f4fab33d', 'name': '', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': '615e5b13-e5e5-4284-b531-4375e27c7498', 'ip_version': 4, 'cidr': '203.186.207.192/26', 'allocation_pools': [{'start': '203.186.207.194', 'end': '203.186.207.254'}], 'gateway_ip': '203.186.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.186.207.194', 'tags': [], 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:36,442 - INFO - Created VN ctest-vn-72580944
2026-06-05 16:42:36,456 - DEBUG - VN ctest-vn-72580944 UUID is 615e5b13-e5e5-4284-b531-4375e27c7498
2026-06-05 16:42:36,531 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33078853', 'ctest-vmi-03090439']}
2026-06-05 16:42:36,869 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03090439', 'id': '0e104ace-01a3-4635-8c65-f7fc8235fa90', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': '615e5b13-e5e5-4284-b531-4375e27c7498', 'mac_address': '02:0e:10:4a:ce:01', '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': '203.186.207.195', 'subnet_id': '108ce323-460c-46e8-921e-1aa8f4fab33d'}], 'security_groups': ['3b60b0a9-9e6e-43dd-8f62-2de65e316f96'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:36,869 - DEBUG - Created port 0e104ace-01a3-4635-8c65-f7fc8235fa90
2026-06-05 16:42:36,935 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e104ace-01a3-4635-8c65-f7fc8235fa90
2026-06-05 16:42:37,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e104ace-01a3-4635-8c65-f7fc8235fa90
2026-06-05 16:42:37,328 - INFO - VMI 0e104ace-01a3-4635-8c65-f7fc8235fa90 verification in API Server passed
2026-06-05 16:42:37,503 - DEBUG - Response for delete_port : ()
2026-06-05 16:42:37,503 - INFO - Deleted port 0e104ace-01a3-4635-8c65-f7fc8235fa90
2026-06-05 16:42:37,503 - INFO - Deleting VN ctest-vn-72580944
2026-06-05 16:42:37,705 - DEBUG - Response for deleting network ()
2026-06-05 16:42:38,977 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 16:42:38,977 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-06-05 16:42:38,977 - INFO - --------------------------------------------------------------------------------
2026-06-05 16:42:38,980 - INFO - ================================================================================
2026-06-05 16:42:38,980 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-05 16:42:38,980 - 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-06-05 16:42:40,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}} with
2026-06-05 16:42:40,291 - INFO - Initial checks done. Running the testcase now
2026-06-05 16:42:40,291 - INFO -
2026-06-05 16:42:40,552 - DEBUG - Response for create_network : {'network': {'id': 'e6ab9e7d-005c-4681-87dc-d58cff512e69', 'name': 'ctest-vn1-53449879', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'project_id': 'b191a39f58f0493eb74c1976cb0de40b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33078853', 'ctest-vn1-53449879'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:42:40,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7f7d54b-87d4-4b3e-a088-493e4ae05413', 'name': '', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': 'e6ab9e7d-005c-4681-87dc-d58cff512e69', 'ip_version': 4, 'cidr': '107.204.7.192/26', 'allocation_pools': [{'start': '107.204.7.194', 'end': '107.204.7.254'}], 'gateway_ip': '107.204.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.204.7.194', 'tags': [], 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:41,104 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd55487c6-0d08-45d2-80b3-53fc59ffce56', 'name': '', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': 'e6ab9e7d-005c-4681-87dc-d58cff512e69', 'ip_version': 4, 'cidr': '173.197.186.192/26', 'allocation_pools': [{'start': '173.197.186.194', 'end': '173.197.186.254'}], 'gateway_ip': '173.197.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.197.186.194', 'tags': [], 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:41,138 - INFO - Created VN ctest-vn1-53449879
2026-06-05 16:42:41,153 - DEBUG - VN ctest-vn1-53449879 UUID is e6ab9e7d-005c-4681-87dc-d58cff512e69
2026-06-05 16:42:41,520 - DEBUG - Response for create_port : {'port': {'name': '890b2328-4bf7-444c-ade8-6f0c091294d5', 'id': '890b2328-4bf7-444c-ade8-6f0c091294d5', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': 'e6ab9e7d-005c-4681-87dc-d58cff512e69', 'mac_address': '02:89:0b:23:28:4b', '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': '107.204.7.197', 'subnet_id': 'd7f7d54b-87d4-4b3e-a088-493e4ae05413'}], 'security_groups': ['3b60b0a9-9e6e-43dd-8f62-2de65e316f96'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:41,831 - DEBUG - Response for create_port : {'port': {'name': '74f50b0c-25c3-4846-8aa1-1c48186e57d8', 'id': '74f50b0c-25c3-4846-8aa1-1c48186e57d8', 'tenant_id': 'b191a39f58f0493eb74c1976cb0de40b', 'network_id': 'e6ab9e7d-005c-4681-87dc-d58cff512e69', 'mac_address': '02:74:f5:0b:0c:25', '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': '173.197.186.197', 'subnet_id': 'd55487c6-0d08-45d2-80b3-53fc59ffce56'}], 'security_groups': ['3b60b0a9-9e6e-43dd-8f62-2de65e316f96'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b191a39f58f0493eb74c1976cb0de40b'}}
2026-06-05 16:42:41,910 - DEBUG - Services list from nova: [, , , ]
2026-06-05 16:42:42,437 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5896-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5896-1)
2026-06-05 16:42:42,970 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5896-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5896-2)
2026-06-05 16:42:42,970 - INFO - Waiting for VM ctest-vn1-vm1-17747415 to be up..
2026-06-05 16:42:43,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-05 16:42:48,109 - DEBUG - VM is in ACTIVE state now
2026-06-05 16:42:48,110 - INFO - VM name : ctest-vn1-vm1-17747415
2026-06-05 16:42:48,193 - DEBUG - VM ctest-vn1-vm1-17747415 ID is a8b63b0d-b48f-47af-9caa-2491be3dd7f1
2026-06-05 16:42:48,220 - DEBUG - VM ctest-vn1-vm1-17747415 launched on Node an-jenkins-deploy-platform-ansible-os-5896-1
2026-06-05 16:42:48,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a8b63b0d-b48f-47af-9caa-2491be3dd7f1
2026-06-05 16:42:48,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a8b63b0d-b48f-47af-9caa-2491be3dd7f1
2026-06-05 16:42:48,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/890b2328-4bf7-444c-ade8-6f0c091294d5
2026-06-05 16:42:51,874 - 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 1013ms')
2026-06-05 16:42:51,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17747415 failed!
2026-06-05 16:42:51,890 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33078853:ctest-vn1-53449879 is 107.204.7.193 and allocation pool is NOT set
2026-06-05 16:42:51,890 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33078853:ctest-vn1-53449879 is 173.197.186.193 and allocation pool is NOT set
2026-06-05 16:42:53,957 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/6.524/12.539/6.014 ms')
2026-06-05 16:42:53,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17747415 passed
2026-06-05 16:42:54,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:42:54,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17747415, IP 107.204.7.197, Port 22
2026-06-05 16:42:54,098 - 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-06-05 16:42:54,199 - DEBUG - VM ctest-vn1-vm1-17747415 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 16:42:59,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:42:59,200 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17747415, IP 107.204.7.197, Port 22
2026-06-05 16:42:59,374 - DEBUG - VM ctest-vn1-vm1-17747415 is ready for SSH connections
2026-06-05 16:42:59,374 - INFO - Waiting for VM ctest-vn1-vm2-30513347 to be up..
2026-06-05 16:42:59,466 - DEBUG - VM is in ACTIVE state now
2026-06-05 16:42:59,466 - INFO - VM name : ctest-vn1-vm2-30513347
2026-06-05 16:42:59,550 - DEBUG - VM ctest-vn1-vm2-30513347 ID is 01044211-8fa8-4cd4-a261-34bb11ccb3cf
2026-06-05 16:42:59,550 - DEBUG - VM ctest-vn1-vm2-30513347 launched on Node an-jenkins-deploy-platform-ansible-os-5896-2
2026-06-05 16:42:59,629 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01044211-8fa8-4cd4-a261-34bb11ccb3cf
2026-06-05 16:42:59,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74f50b0c-25c3-4846-8aa1-1c48186e57d8
2026-06-05 16:43:00,798 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.647 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.647/2.425/4.204/1.778 ms')
2026-06-05 16:43:00,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-30513347 passed
2026-06-05 16:43:00,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:43:00,873 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30513347, IP 173.197.186.197, Port 22
2026-06-05 16:43:01,040 - DEBUG - VM ctest-vn1-vm2-30513347 is ready for SSH connections
2026-06-05 16:43:01,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:43:01,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:43:01,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 16:43:01,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.204.7.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-06-05 16:43:01,041 - DEBUG - ping -s 56 -c 3 -W 1 107.204.7.197
2026-06-05 16:43:04,176 - DEBUG - PING 107.204.7.197 (107.204.7.197): 56 data bytes
64 bytes from 107.204.7.197: seq=0 ttl=63 time=6.717 ms
64 bytes from 107.204.7.197: seq=1 ttl=63 time=1.836 ms
64 bytes from 107.204.7.197: seq=2 ttl=63 time=1.486 ms
--- 107.204.7.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.486/3.346/6.717 ms
2026-06-05 16:43:04,176 - INFO - Ping to IP 107.204.7.197 from VM ctest-vn1-vm2-30513347 passed
2026-06-05 16:43:04,177 - INFO - Detaching port 74f50b0c-25c3-4846-8aa1-1c48186e57d8 from VM ctest-vn1-vm2-30513347
2026-06-05 16:43:04,229 - INFO - Deleting VM ctest-vn1-vm2-30513347
2026-06-05 16:43:04,291 - INFO - Detaching port 890b2328-4bf7-444c-ade8-6f0c091294d5 from VM ctest-vn1-vm1-17747415
2026-06-05 16:43:04,328 - INFO - Deleting VM ctest-vn1-vm1-17747415
2026-06-05 16:43:04,659 - DEBUG - Response for delete_port : ()
2026-06-05 16:43:04,959 - DEBUG - Response for delete_port : ()
2026-06-05 16:43:04,959 - INFO - Deleting VN ctest-vn1-53449879
2026-06-05 16:43:05,248 - DEBUG - Response for deleting network ()
2026-06-05 16:43:06,551 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 16:43:06,551 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-06-05 16:43:06,551 - INFO - --------------------------------------------------------------------------------
2026-06-05 16:43:07,353 - INFO - Deleted project: ctest-TestPorts-33078853, ID : b191a39f-58f0-493e-b74c-1976cb0de40b