2026-04-20 02:23:15,706 - INFO - Domain Default found not creating
2026-04-20 02:23:15,927 - INFO - Project ctest-TestPorts-13459514 not found, creating it
2026-04-20 02:23:16,487 - INFO - Created Project:ctest-TestPorts-13459514, ID : b94d2119-b634-4694-b490-921d389f3994
2026-04-20 02:23:18,113 - INFO - ================================================================================
2026-04-20 02:23:18,113 - INFO - STARTING TEST : test_ports_bindings
2026-04-20 02:23:18,114 - 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-20 02:23:19,385 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.129': '0'}} with
2026-04-20 02:23:19,385 - INFO - Initial checks done. Running the testcase now
2026-04-20 02:23:19,386 - INFO -
2026-04-20 02:23:20,085 - DEBUG - Response for create_network : {'network': {'id': 'dcbe43ac-5b64-4e8b-b860-be4e023f4199', 'name': 'ctest-vn-49434704', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'project_id': 'b94d2119b6344694b490921d389f3994', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13459514', 'ctest-vn-49434704'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 02:23:20,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0aa14be-476f-413c-9c6d-e7ae3eaa5753', 'name': '', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': 'dcbe43ac-5b64-4e8b-b860-be4e023f4199', 'ip_version': 4, 'cidr': '56.69.159.64/26', 'allocation_pools': [{'start': '56.69.159.66', 'end': '56.69.159.126'}], 'gateway_ip': '56.69.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.69.159.66', 'tags': [], 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:20,403 - INFO - Created VN ctest-vn-49434704
2026-04-20 02:23:20,414 - DEBUG - VN ctest-vn-49434704 UUID is dcbe43ac-5b64-4e8b-b860-be4e023f4199
2026-04-20 02:23:20,486 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13459514', 'ctest-vmi-70001467']}
2026-04-20 02:23:20,747 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70001467', 'id': '1fdf1b89-6fe6-4678-b270-63e891277843', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': 'dcbe43ac-5b64-4e8b-b860-be4e023f4199', 'mac_address': '02:1f:df:1b:89:6f', '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': '56.69.159.67', 'subnet_id': 'e0aa14be-476f-413c-9c6d-e7ae3eaa5753'}], 'security_groups': ['4a52847f-583a-4005-9ad5-8d9dcd7fb9b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:20,747 - DEBUG - Created port 1fdf1b89-6fe6-4678-b270-63e891277843
2026-04-20 02:23:20,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fdf1b89-6fe6-4678-b270-63e891277843
2026-04-20 02:23:21,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fdf1b89-6fe6-4678-b270-63e891277843
2026-04-20 02:23:21,217 - INFO - VMI 1fdf1b89-6fe6-4678-b270-63e891277843 verification in API Server passed
2026-04-20 02:23:21,371 - DEBUG - Response for delete_port : ()
2026-04-20 02:23:21,371 - INFO - Deleted port 1fdf1b89-6fe6-4678-b270-63e891277843
2026-04-20 02:23:21,371 - INFO - Deleting VN ctest-vn-49434704
2026-04-20 02:23:21,523 - DEBUG - Response for deleting network ()
2026-04-20 02:23:22,794 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:23:22,794 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-04-20 02:23:22,794 - INFO - --------------------------------------------------------------------------------
2026-04-20 02:23:22,796 - INFO - ================================================================================
2026-04-20 02:23:22,796 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-20 02:23:22,796 - 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-20 02:23:24,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.25': '0', '10.20.0.129': '0'}} with
2026-04-20 02:23:24,068 - INFO - Initial checks done. Running the testcase now
2026-04-20 02:23:24,068 - INFO -
2026-04-20 02:23:24,331 - DEBUG - Response for create_network : {'network': {'id': '134ef7bb-81cc-4245-8743-7e12b414fff0', 'name': 'ctest-vn1-13620913', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'project_id': 'b94d2119b6344694b490921d389f3994', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13459514', 'ctest-vn1-13620913'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 02:23:24,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2422d78-c4b6-4b04-8481-648374c2de1d', 'name': '', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': '134ef7bb-81cc-4245-8743-7e12b414fff0', 'ip_version': 4, 'cidr': '181.154.54.192/26', 'allocation_pools': [{'start': '181.154.54.194', 'end': '181.154.54.254'}], 'gateway_ip': '181.154.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.154.54.194', 'tags': [], 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:24,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '80fef308-76e4-426e-8ccc-9505adad83ee', 'name': '', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': '134ef7bb-81cc-4245-8743-7e12b414fff0', 'ip_version': 4, 'cidr': '187.79.147.128/26', 'allocation_pools': [{'start': '187.79.147.130', 'end': '187.79.147.190'}], 'gateway_ip': '187.79.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.79.147.130', 'tags': [], 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:24,844 - INFO - Created VN ctest-vn1-13620913
2026-04-20 02:23:24,860 - DEBUG - VN ctest-vn1-13620913 UUID is 134ef7bb-81cc-4245-8743-7e12b414fff0
2026-04-20 02:23:25,290 - DEBUG - Response for create_port : {'port': {'name': '46531343-af82-4912-8634-2e716cbb7f39', 'id': '46531343-af82-4912-8634-2e716cbb7f39', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': '134ef7bb-81cc-4245-8743-7e12b414fff0', 'mac_address': '02:46:53:13:43:af', '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': '181.154.54.197', 'subnet_id': 'e2422d78-c4b6-4b04-8481-648374c2de1d'}], 'security_groups': ['4a52847f-583a-4005-9ad5-8d9dcd7fb9b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:25,588 - DEBUG - Response for create_port : {'port': {'name': '427bf161-3cf8-49ab-b056-d92abb176137', 'id': '427bf161-3cf8-49ab-b056-d92abb176137', 'tenant_id': 'b94d2119b6344694b490921d389f3994', 'network_id': '134ef7bb-81cc-4245-8743-7e12b414fff0', 'mac_address': '02:42:7b:f1:61:3c', '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': '187.79.147.133', 'subnet_id': '80fef308-76e4-426e-8ccc-9505adad83ee'}], 'security_groups': ['4a52847f-583a-4005-9ad5-8d9dcd7fb9b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b94d2119b6344694b490921d389f3994'}}
2026-04-20 02:23:25,649 - DEBUG - Services list from nova: [, , , ]
2026-04-20 02:23:26,221 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5644-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5644-2)
2026-04-20 02:23:26,727 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5644-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5644-1)
2026-04-20 02:23:26,727 - INFO - Waiting for VM ctest-vn1-vm1-42425655 to be up..
2026-04-20 02:23:26,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 02:23:31,867 - DEBUG - VM is in ACTIVE state now
2026-04-20 02:23:31,868 - INFO - VM name : ctest-vn1-vm1-42425655
2026-04-20 02:23:31,953 - DEBUG - VM ctest-vn1-vm1-42425655 ID is f1a2aa4c-0eb9-4447-b0a8-5fcd02cb9605
2026-04-20 02:23:31,986 - DEBUG - VM ctest-vn1-vm1-42425655 launched on Node an-jenkins-deploy-platform-ansible-os-5644-2
2026-04-20 02:23:32,091 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f1a2aa4c-0eb9-4447-b0a8-5fcd02cb9605
2026-04-20 02:23:32,410 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f1a2aa4c-0eb9-4447-b0a8-5fcd02cb9605
2026-04-20 02:23:32,443 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/46531343-af82-4912-8634-2e716cbb7f39
2026-04-20 02:23:35,607 - 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 1007ms')
2026-04-20 02:23:35,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42425655 failed!
2026-04-20 02:23:35,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13459514:ctest-vn1-13620913 is 181.154.54.193 and allocation pool is NOT set
2026-04-20 02:23:35,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13459514:ctest-vn1-13620913 is 187.79.147.129 and allocation pool is NOT set
2026-04-20 02:23:37,692 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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.411/3.048/3.686/0.637 ms')
2026-04-20 02:23:37,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42425655 passed
2026-04-20 02:23:37,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:37,761 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42425655, IP 181.154.54.197, Port 22
2026-04-20 02:23:37,818 - 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-20 02:23:37,909 - DEBUG - VM ctest-vn1-vm1-42425655 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-20 02:23:42,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:42,910 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42425655, IP 181.154.54.197, Port 22
2026-04-20 02:23:43,079 - DEBUG - VM ctest-vn1-vm1-42425655 is ready for SSH connections
2026-04-20 02:23:43,079 - INFO - Waiting for VM ctest-vn1-vm2-09085200 to be up..
2026-04-20 02:23:43,292 - DEBUG - VM is in ACTIVE state now
2026-04-20 02:23:43,292 - INFO - VM name : ctest-vn1-vm2-09085200
2026-04-20 02:23:43,398 - DEBUG - VM ctest-vn1-vm2-09085200 ID is b90ab121-084b-404c-80f8-c313adb1ae2c
2026-04-20 02:23:43,398 - DEBUG - VM ctest-vn1-vm2-09085200 launched on Node an-jenkins-deploy-platform-ansible-os-5644-1
2026-04-20 02:23:43,508 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b90ab121-084b-404c-80f8-c313adb1ae2c
2026-04-20 02:23:43,519 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/427bf161-3cf8-49ab-b056-d92abb176137
2026-04-20 02:23:44,692 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.741/3.103/1.361 ms')
2026-04-20 02:23:44,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-09085200 passed
2026-04-20 02:23:44,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:44,764 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09085200, IP 187.79.147.133, Port 22
2026-04-20 02:23:44,926 - DEBUG - VM ctest-vn1-vm2-09085200 is ready for SSH connections
2026-04-20 02:23:44,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:44,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:44,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 02:23:44,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.154.54.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2026-04-20 02:23:44,927 - DEBUG - ping -s 56 -c 3 -W 1 181.154.54.197
2026-04-20 02:23:48,027 - DEBUG - PING 181.154.54.197 (181.154.54.197): 56 data bytes
64 bytes from 181.154.54.197: seq=0 ttl=63 time=6.534 ms
64 bytes from 181.154.54.197: seq=1 ttl=63 time=1.408 ms
64 bytes from 181.154.54.197: seq=2 ttl=63 time=1.303 ms
--- 181.154.54.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.303/3.081/6.534 ms
2026-04-20 02:23:48,027 - INFO - Ping to IP 181.154.54.197 from VM ctest-vn1-vm2-09085200 passed
2026-04-20 02:23:48,027 - INFO - Detaching port 427bf161-3cf8-49ab-b056-d92abb176137 from VM ctest-vn1-vm2-09085200
2026-04-20 02:23:48,076 - INFO - Deleting VM ctest-vn1-vm2-09085200
2026-04-20 02:23:48,141 - INFO - Detaching port 46531343-af82-4912-8634-2e716cbb7f39 from VM ctest-vn1-vm1-42425655
2026-04-20 02:23:48,175 - INFO - Deleting VM ctest-vn1-vm1-42425655
2026-04-20 02:23:48,516 - DEBUG - Response for delete_port : ()
2026-04-20 02:23:48,760 - DEBUG - Response for delete_port : ()
2026-04-20 02:23:48,760 - INFO - Deleting VN ctest-vn1-13620913
2026-04-20 02:23:48,942 - DEBUG - Response for deleting network ()
2026-04-20 02:23:50,226 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:23:50,226 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-04-20 02:23:50,226 - INFO - --------------------------------------------------------------------------------
2026-04-20 02:23:50,992 - INFO - Deleted project: ctest-TestPorts-13459514, ID : b94d2119-b634-4694-b490-921d389f3994