2026-04-27 02:50:26,730 - INFO - Domain Default found not creating
2026-04-27 02:50:26,958 - INFO - Project ctest-TestPorts-08749629 not found, creating it
2026-04-27 02:50:27,605 - INFO - Created Project:ctest-TestPorts-08749629, ID : 35ec0a72-a8a0-4984-9dd3-7f922dd28d77
2026-04-27 02:50:29,276 - INFO - ================================================================================
2026-04-27 02:50:29,276 - INFO - STARTING TEST : test_ports_bindings
2026-04-27 02:50:29,276 - 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-04-27 02:50:30,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.18': '0'}} with
2026-04-27 02:50:30,601 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:50:30,601 - INFO -
2026-04-27 02:50:31,409 - DEBUG - Response for create_network : {'network': {'id': 'fb0e53a6-cef4-4f16-9ce8-6baceee863ec', 'name': 'ctest-vn-73440933', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'project_id': '35ec0a72a8a049849dd37f922dd28d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08749629', 'ctest-vn-73440933'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:50:31,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '1305bb0d-a6de-4402-95a5-8f9a5a52618a', 'name': '', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'fb0e53a6-cef4-4f16-9ce8-6baceee863ec', 'ip_version': 4, 'cidr': '203.39.78.192/26', 'allocation_pools': [{'start': '203.39.78.194', 'end': '203.39.78.254'}], 'gateway_ip': '203.39.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.39.78.194', 'tags': [], 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:31,797 - INFO - Created VN ctest-vn-73440933
2026-04-27 02:50:31,813 - DEBUG - VN ctest-vn-73440933 UUID is fb0e53a6-cef4-4f16-9ce8-6baceee863ec
2026-04-27 02:50:31,913 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08749629', 'ctest-vmi-73815229']}
2026-04-27 02:50:32,345 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73815229', 'id': 'a51e1ea7-acb2-4489-91a6-c1c5a2747bb9', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'fb0e53a6-cef4-4f16-9ce8-6baceee863ec', 'mac_address': '02:a5:1e:1e:a7:ac', '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.39.78.195', 'subnet_id': '1305bb0d-a6de-4402-95a5-8f9a5a52618a'}], 'security_groups': ['0a3d1de2-95e8-421c-b951-94f476445389'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:32,345 - DEBUG - Created port a51e1ea7-acb2-4489-91a6-c1c5a2747bb9
2026-04-27 02:50:32,428 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a51e1ea7-acb2-4489-91a6-c1c5a2747bb9
2026-04-27 02:50:32,789 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a51e1ea7-acb2-4489-91a6-c1c5a2747bb9
2026-04-27 02:50:32,838 - INFO - VMI a51e1ea7-acb2-4489-91a6-c1c5a2747bb9 verification in API Server passed
2026-04-27 02:50:33,057 - DEBUG - Response for delete_port : ()
2026-04-27 02:50:33,057 - INFO - Deleted port a51e1ea7-acb2-4489-91a6-c1c5a2747bb9
2026-04-27 02:50:33,057 - INFO - Deleting VN ctest-vn-73440933
2026-04-27 02:50:33,309 - DEBUG - Response for deleting network ()
2026-04-27 02:50:34,661 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:50:34,661 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-04-27 02:50:34,661 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:50:34,667 - INFO - ================================================================================
2026-04-27 02:50:34,668 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-27 02:50:34,669 - 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-04-27 02:50:36,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0', '10.20.0.18': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.18': '0'}} with
2026-04-27 02:50:36,008 - INFO - Initial checks done. Running the testcase now
2026-04-27 02:50:36,008 - INFO -
2026-04-27 02:50:36,365 - DEBUG - Response for create_network : {'network': {'id': 'e9348bd0-1242-442d-8dcf-c14f947901e8', 'name': 'ctest-vn1-26182425', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'project_id': '35ec0a72a8a049849dd37f922dd28d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08749629', 'ctest-vn1-26182425'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 02:50:36,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '15af6b8c-3267-48f8-908f-349eae5747e4', 'name': '', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'e9348bd0-1242-442d-8dcf-c14f947901e8', 'ip_version': 4, 'cidr': '143.167.169.64/26', 'allocation_pools': [{'start': '143.167.169.66', 'end': '143.167.169.126'}], 'gateway_ip': '143.167.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.167.169.66', 'tags': [], 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:36,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '326151da-42f1-4cd0-90ec-7ac1b2922f31', 'name': '', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'e9348bd0-1242-442d-8dcf-c14f947901e8', 'ip_version': 4, 'cidr': '161.27.195.0/26', 'allocation_pools': [{'start': '161.27.195.2', 'end': '161.27.195.62'}], 'gateway_ip': '161.27.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.27.195.2', 'tags': [], 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:36,984 - INFO - Created VN ctest-vn1-26182425
2026-04-27 02:50:37,000 - DEBUG - VN ctest-vn1-26182425 UUID is e9348bd0-1242-442d-8dcf-c14f947901e8
2026-04-27 02:50:37,456 - DEBUG - Response for create_port : {'port': {'name': '81263d4f-9df3-4246-927d-27d043e4c264', 'id': '81263d4f-9df3-4246-927d-27d043e4c264', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'e9348bd0-1242-442d-8dcf-c14f947901e8', 'mac_address': '02:81:26:3d:4f:9d', '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': '143.167.169.69', 'subnet_id': '15af6b8c-3267-48f8-908f-349eae5747e4'}], 'security_groups': ['0a3d1de2-95e8-421c-b951-94f476445389'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:37,833 - DEBUG - Response for create_port : {'port': {'name': '6e436f4d-aa52-4034-ba2c-76e8145a2059', 'id': '6e436f4d-aa52-4034-ba2c-76e8145a2059', 'tenant_id': '35ec0a72a8a049849dd37f922dd28d77', 'network_id': 'e9348bd0-1242-442d-8dcf-c14f947901e8', 'mac_address': '02:6e:43:6f:4d:aa', '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': '161.27.195.5', 'subnet_id': '326151da-42f1-4cd0-90ec-7ac1b2922f31'}], 'security_groups': ['0a3d1de2-95e8-421c-b951-94f476445389'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35ec0a72a8a049849dd37f922dd28d77'}}
2026-04-27 02:50:37,913 - DEBUG - Services list from nova: [, , , ]
2026-04-27 02:50:38,735 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5690-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5690-1)
2026-04-27 02:50:39,335 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5690-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5690-2)
2026-04-27 02:50:39,336 - INFO - Waiting for VM ctest-vn1-vm1-03590381 to be up..
2026-04-27 02:50:39,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 02:50:44,523 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:50:44,523 - INFO - VM name : ctest-vn1-vm1-03590381
2026-04-27 02:50:44,634 - DEBUG - VM ctest-vn1-vm1-03590381 ID is a5647ced-0993-4220-9af1-cceef13bcb24
2026-04-27 02:50:44,677 - DEBUG - VM ctest-vn1-vm1-03590381 launched on Node an-jenkins-deploy-platform-ansible-os-5690-1
2026-04-27 02:50:44,784 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a5647ced-0993-4220-9af1-cceef13bcb24
2026-04-27 02:50:45,086 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a5647ced-0993-4220-9af1-cceef13bcb24
2026-04-27 02:50:45,132 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/81263d4f-9df3-4246-927d-27d043e4c264
2026-04-27 02:50:48,320 - 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-04-27 02:50:48,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03590381 failed!
2026-04-27 02:50:48,338 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08749629:ctest-vn1-26182425 is 143.167.169.65 and allocation pool is NOT set
2026-04-27 02:50:48,338 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08749629:ctest-vn1-26182425 is 161.27.195.1 and allocation pool is NOT set
2026-04-27 02:50:50,406 - 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=3.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.257/2.301/3.345/1.044 ms')
2026-04-27 02:50:50,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03590381 passed
2026-04-27 02:50:50,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:50,486 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03590381, IP 143.167.169.69, Port 22
2026-04-27 02:50:50,551 - 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-04-27 02:50:50,674 - DEBUG - VM ctest-vn1-vm1-03590381 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-27 02:50:55,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:55,674 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03590381, IP 143.167.169.69, Port 22
2026-04-27 02:50:55,848 - DEBUG - VM ctest-vn1-vm1-03590381 is ready for SSH connections
2026-04-27 02:50:55,848 - INFO - Waiting for VM ctest-vn1-vm2-06264166 to be up..
2026-04-27 02:50:55,969 - DEBUG - VM is in ACTIVE state now
2026-04-27 02:50:55,969 - INFO - VM name : ctest-vn1-vm2-06264166
2026-04-27 02:50:56,096 - DEBUG - VM ctest-vn1-vm2-06264166 ID is 01106a20-bb7f-4856-bbf9-e0a6e9f4370e
2026-04-27 02:50:56,096 - DEBUG - VM ctest-vn1-vm2-06264166 launched on Node an-jenkins-deploy-platform-ansible-os-5690-2
2026-04-27 02:50:56,209 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/01106a20-bb7f-4856-bbf9-e0a6e9f4370e
2026-04-27 02:50:56,222 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6e436f4d-aa52-4034-ba2c-76e8145a2059
2026-04-27 02:50:57,389 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.361 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.361/1.194/2.028/0.833 ms')
2026-04-27 02:50:57,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06264166 passed
2026-04-27 02:50:57,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:57,473 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06264166, IP 161.27.195.5, Port 22
2026-04-27 02:50:57,630 - DEBUG - VM ctest-vn1-vm2-06264166 is ready for SSH connections
2026-04-27 02:50:57,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:57,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:57,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 02:50:57,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.167.169.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-04-27 02:50:57,630 - DEBUG - ping -s 56 -c 3 -W 1 143.167.169.69
2026-04-27 02:51:00,726 - DEBUG - PING 143.167.169.69 (143.167.169.69): 56 data bytes
64 bytes from 143.167.169.69: seq=0 ttl=63 time=6.627 ms
64 bytes from 143.167.169.69: seq=1 ttl=63 time=1.372 ms
64 bytes from 143.167.169.69: seq=2 ttl=63 time=1.353 ms
--- 143.167.169.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.353/3.117/6.627 ms
2026-04-27 02:51:00,726 - INFO - Ping to IP 143.167.169.69 from VM ctest-vn1-vm2-06264166 passed
2026-04-27 02:51:00,726 - INFO - Detaching port 6e436f4d-aa52-4034-ba2c-76e8145a2059 from VM ctest-vn1-vm2-06264166
2026-04-27 02:51:00,821 - INFO - Deleting VM ctest-vn1-vm2-06264166
2026-04-27 02:51:00,931 - INFO - Detaching port 81263d4f-9df3-4246-927d-27d043e4c264 from VM ctest-vn1-vm1-03590381
2026-04-27 02:51:00,972 - INFO - Deleting VM ctest-vn1-vm1-03590381
2026-04-27 02:51:01,479 - DEBUG - Response for delete_port : ()
2026-04-27 02:51:01,908 - DEBUG - Response for delete_port : ()
2026-04-27 02:51:01,908 - INFO - Deleting VN ctest-vn1-26182425
2026-04-27 02:51:02,180 - DEBUG - Response for deleting network ()
2026-04-27 02:51:03,530 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 02:51:03,531 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2026-04-27 02:51:03,531 - INFO - --------------------------------------------------------------------------------
2026-04-27 02:51:04,430 - INFO - Deleted project: ctest-TestPorts-08749629, ID : 35ec0a72-a8a0-4984-9dd3-7f922dd28d77