2025-11-17 02:16:33,886 - INFO - Domain Default found not creating
2025-11-17 02:16:34,062 - INFO - Project ctest-TestPorts-09884733 not found, creating it
2025-11-17 02:16:34,660 - INFO - Created Project:ctest-TestPorts-09884733, ID : e43eb9b7-7486-4c6f-a42f-a6dba2389a03
2025-11-17 02:16:36,390 - INFO - ================================================================================
2025-11-17 02:16:36,390 - INFO - STARTING TEST : test_ports_bindings
2025-11-17 02:16:36,390 - 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
2025-11-17 02:16:37,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}} with
2025-11-17 02:16:37,674 - INFO - Initial checks done. Running the testcase now
2025-11-17 02:16:37,674 - INFO -
2025-11-17 02:16:38,432 - DEBUG - Response for create_network : {'network': {'id': '2299911d-449d-4455-87d5-13d5cb2d5245', 'name': 'ctest-vn-07592707', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09884733', 'ctest-vn-07592707'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:16:38,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d62af3f-77a4-4865-8ed1-ff73c54955e7', 'name': '', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '2299911d-449d-4455-87d5-13d5cb2d5245', 'ip_version': 4, 'cidr': '192.148.23.192/26', 'allocation_pools': [{'start': '192.148.23.194', 'end': '192.148.23.254'}], 'gateway_ip': '192.148.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.148.23.194', 'tags': [], 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:38,769 - INFO - Created VN ctest-vn-07592707
2025-11-17 02:16:38,780 - DEBUG - VN ctest-vn-07592707 UUID is 2299911d-449d-4455-87d5-13d5cb2d5245
2025-11-17 02:16:38,855 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09884733', 'ctest-vmi-52986317']}
2025-11-17 02:16:39,160 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52986317', 'id': '6ab4e7ff-6178-4f9b-b507-0c73319237c4', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '2299911d-449d-4455-87d5-13d5cb2d5245', 'mac_address': '02:6a:b4:e7:ff:61', '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': '192.148.23.195', 'subnet_id': '6d62af3f-77a4-4865-8ed1-ff73c54955e7'}], 'security_groups': ['e1b080b5-1a27-483b-a2f8-18e061d8b21f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:39,160 - DEBUG - Created port 6ab4e7ff-6178-4f9b-b507-0c73319237c4
2025-11-17 02:16:39,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6ab4e7ff-6178-4f9b-b507-0c73319237c4
2025-11-17 02:16:39,577 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6ab4e7ff-6178-4f9b-b507-0c73319237c4
2025-11-17 02:16:39,616 - INFO - VMI 6ab4e7ff-6178-4f9b-b507-0c73319237c4 verification in API Server passed
2025-11-17 02:16:39,776 - DEBUG - Response for delete_port : ()
2025-11-17 02:16:39,776 - INFO - Deleted port 6ab4e7ff-6178-4f9b-b507-0c73319237c4
2025-11-17 02:16:39,776 - INFO - Deleting VN ctest-vn-07592707
2025-11-17 02:16:39,969 - DEBUG - Response for deleting network ()
2025-11-17 02:16:41,252 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:16:41,252 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-11-17 02:16:41,253 - INFO - --------------------------------------------------------------------------------
2025-11-17 02:16:41,256 - INFO - ================================================================================
2025-11-17 02:16:41,256 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-17 02:16:41,256 - 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
2025-11-17 02:16:42,526 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.17': '0'}} with
2025-11-17 02:16:42,526 - INFO - Initial checks done. Running the testcase now
2025-11-17 02:16:42,526 - INFO -
2025-11-17 02:16:42,807 - DEBUG - Response for create_network : {'network': {'id': '1d8adefd-f147-4b77-b773-41c12e300abd', 'name': 'ctest-vn1-45585822', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09884733', 'ctest-vn1-45585822'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 02:16:43,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '16dfa973-1596-4b58-827a-0da15dd28a47', 'name': '', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '1d8adefd-f147-4b77-b773-41c12e300abd', 'ip_version': 4, 'cidr': '178.185.130.128/26', 'allocation_pools': [{'start': '178.185.130.130', 'end': '178.185.130.190'}], 'gateway_ip': '178.185.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.185.130.130', 'tags': [], 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:43,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '9db86d8f-e00b-4b32-bfd7-0ce86ee5cfcc', 'name': '', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '1d8adefd-f147-4b77-b773-41c12e300abd', 'ip_version': 4, 'cidr': '14.174.151.128/26', 'allocation_pools': [{'start': '14.174.151.130', 'end': '14.174.151.190'}], 'gateway_ip': '14.174.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.174.151.130', 'tags': [], 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:43,324 - INFO - Created VN ctest-vn1-45585822
2025-11-17 02:16:43,342 - DEBUG - VN ctest-vn1-45585822 UUID is 1d8adefd-f147-4b77-b773-41c12e300abd
2025-11-17 02:16:43,731 - DEBUG - Response for create_port : {'port': {'name': 'e8acafcf-5058-40ce-847f-810bd672e803', 'id': 'e8acafcf-5058-40ce-847f-810bd672e803', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '1d8adefd-f147-4b77-b773-41c12e300abd', 'mac_address': '02:e8:ac:af:cf:50', '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': '178.185.130.133', 'subnet_id': '16dfa973-1596-4b58-827a-0da15dd28a47'}], 'security_groups': ['e1b080b5-1a27-483b-a2f8-18e061d8b21f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:44,017 - DEBUG - Response for create_port : {'port': {'name': 'c85ea1bf-1688-4b45-bbaa-61e2cfac875a', 'id': 'c85ea1bf-1688-4b45-bbaa-61e2cfac875a', 'tenant_id': 'e43eb9b774864c6fa42fa6dba2389a03', 'network_id': '1d8adefd-f147-4b77-b773-41c12e300abd', 'mac_address': '02:c8:5e:a1:bf:16', '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': '14.174.151.133', 'subnet_id': '9db86d8f-e00b-4b32-bfd7-0ce86ee5cfcc'}], 'security_groups': ['e1b080b5-1a27-483b-a2f8-18e061d8b21f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e43eb9b774864c6fa42fa6dba2389a03'}}
2025-11-17 02:16:44,077 - DEBUG - Services list from nova: [, , , ]
2025-11-17 02:16:44,650 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-1)
2025-11-17 02:16:45,203 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-2)
2025-11-17 02:16:45,204 - INFO - Waiting for VM ctest-vn1-vm1-70287935 to be up..
2025-11-17 02:16:45,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 02:16:50,344 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:16:50,345 - INFO - VM name : ctest-vn1-vm1-70287935
2025-11-17 02:16:50,430 - DEBUG - VM ctest-vn1-vm1-70287935 ID is fd9a894c-061f-4efc-83f0-c864532b1095
2025-11-17 02:16:50,457 - DEBUG - VM ctest-vn1-vm1-70287935 launched on Node an-jenkins-deploy-platform-ansible-os-4736-1
2025-11-17 02:16:50,543 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fd9a894c-061f-4efc-83f0-c864532b1095
2025-11-17 02:16:50,893 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fd9a894c-061f-4efc-83f0-c864532b1095
2025-11-17 02:16:50,932 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e8acafcf-5058-40ce-847f-810bd672e803
2025-11-17 02:16:54,106 - 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')
2025-11-17 02:16:54,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70287935 failed!
2025-11-17 02:16:54,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09884733:ctest-vn1-45585822 is 178.185.130.129 and allocation pool is NOT set
2025-11-17 02:16:54,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09884733:ctest-vn1-45585822 is 14.174.151.129 and allocation pool is NOT set
2025-11-17 02:16:58,200 - 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 1014ms')
2025-11-17 02:16:58,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70287935 failed!
2025-11-17 02:16:58,223 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09884733:ctest-vn1-45585822 is 178.185.130.129 and allocation pool is NOT set
2025-11-17 02:16:58,223 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09884733:ctest-vn1-45585822 is 14.174.151.129 and allocation pool is NOT set
2025-11-17 02:17:00,298 - 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=6.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.55 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 = 3.547/5.111/6.675/1.564 ms')
2025-11-17 02:17:00,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70287935 passed
2025-11-17 02:17:00,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:00,372 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70287935, IP 178.185.130.133, Port 22
2025-11-17 02:17:00,438 - 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': ''}
2025-11-17 02:17:00,528 - DEBUG - VM ctest-vn1-vm1-70287935 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 02:17:05,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:05,529 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70287935, IP 178.185.130.133, Port 22
2025-11-17 02:17:05,694 - DEBUG - VM ctest-vn1-vm1-70287935 is ready for SSH connections
2025-11-17 02:17:05,694 - INFO - Waiting for VM ctest-vn1-vm2-98730158 to be up..
2025-11-17 02:17:05,796 - DEBUG - VM is in ACTIVE state now
2025-11-17 02:17:05,796 - INFO - VM name : ctest-vn1-vm2-98730158
2025-11-17 02:17:05,885 - DEBUG - VM ctest-vn1-vm2-98730158 ID is 6edbdf44-70b3-47fc-8acb-a54996611095
2025-11-17 02:17:05,885 - DEBUG - VM ctest-vn1-vm2-98730158 launched on Node an-jenkins-deploy-platform-ansible-os-4736-2
2025-11-17 02:17:05,972 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6edbdf44-70b3-47fc-8acb-a54996611095
2025-11-17 02:17:05,983 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/c85ea1bf-1688-4b45-bbaa-61e2cfac875a
2025-11-17 02:17:07,149 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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 = 0.347/1.518/2.690/1.171 ms')
2025-11-17 02:17:07,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-98730158 passed
2025-11-17 02:17:07,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:07,218 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98730158, IP 14.174.151.133, Port 22
2025-11-17 02:17:07,374 - DEBUG - VM ctest-vn1-vm2-98730158 is ready for SSH connections
2025-11-17 02:17:07,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:07,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:07,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 02:17:07,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.185.130.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-11-17 02:17:07,375 - DEBUG - ping -s 56 -c 3 -W 1 178.185.130.133
2025-11-17 02:17:10,342 - DEBUG - PING 178.185.130.133 (178.185.130.133): 56 data bytes
64 bytes from 178.185.130.133: seq=0 ttl=63 time=5.776 ms
64 bytes from 178.185.130.133: seq=1 ttl=63 time=1.296 ms
64 bytes from 178.185.130.133: seq=2 ttl=63 time=1.490 ms
--- 178.185.130.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.296/2.854/5.776 ms
2025-11-17 02:17:10,342 - INFO - Ping to IP 178.185.130.133 from VM ctest-vn1-vm2-98730158 passed
2025-11-17 02:17:10,342 - INFO - Detaching port c85ea1bf-1688-4b45-bbaa-61e2cfac875a from VM ctest-vn1-vm2-98730158
2025-11-17 02:17:10,516 - INFO - Deleting VM ctest-vn1-vm2-98730158
2025-11-17 02:17:10,610 - INFO - Detaching port e8acafcf-5058-40ce-847f-810bd672e803 from VM ctest-vn1-vm1-70287935
2025-11-17 02:17:10,650 - INFO - Deleting VM ctest-vn1-vm1-70287935
2025-11-17 02:17:11,060 - DEBUG - Response for delete_port : ()
2025-11-17 02:17:11,363 - DEBUG - Response for delete_port : ()
2025-11-17 02:17:11,363 - INFO - Deleting VN ctest-vn1-45585822
2025-11-17 02:17:11,602 - DEBUG - Response for deleting network ()
2025-11-17 02:17:12,911 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:17:12,911 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:31]
2025-11-17 02:17:12,911 - INFO - --------------------------------------------------------------------------------
2025-11-17 02:17:13,801 - INFO - Deleted project: ctest-TestPorts-09884733, ID : e43eb9b7-7486-4c6f-a42f-a6dba2389a03