2026-01-19 02:24:30,149 - INFO - Domain Default found not creating
2026-01-19 02:24:30,326 - INFO - Project ctest-TestPorts-70295543 not found, creating it
2026-01-19 02:24:30,821 - INFO - Created Project:ctest-TestPorts-70295543, ID : 3a10358f-7f1d-4054-87ce-690e881225d3
2026-01-19 02:24:32,467 - INFO - ================================================================================
2026-01-19 02:24:32,467 - INFO - STARTING TEST : test_ports_bindings
2026-01-19 02:24:32,467 - 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-19 02:24:32,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with
2026-01-19 02:24:32,732 - INFO - Initial checks done. Running the testcase now
2026-01-19 02:24:32,732 - INFO -
2026-01-19 02:24:33,350 - DEBUG - Response for create_network : {'network': {'id': '635a1807-635e-4302-97a7-909c2d6eecc8', 'name': 'ctest-vn-07970695', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'project_id': '3a10358f7f1d405487ce690e881225d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70295543', 'ctest-vn-07970695'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:24:33,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5c54636-7144-414b-a6fd-2934b4ebaf25', 'name': '', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': '635a1807-635e-4302-97a7-909c2d6eecc8', 'ip_version': 4, 'cidr': '199.230.3.0/26', 'allocation_pools': [{'start': '199.230.3.2', 'end': '199.230.3.62'}], 'gateway_ip': '199.230.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.230.3.2', 'tags': [], 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:33,568 - INFO - Created VN ctest-vn-07970695
2026-01-19 02:24:33,620 - DEBUG - VN ctest-vn-07970695 UUID is 635a1807-635e-4302-97a7-909c2d6eecc8
2026-01-19 02:24:33,733 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70295543', 'ctest-vmi-43349659']}
2026-01-19 02:24:33,973 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43349659', 'id': 'd216bece-f9f1-4e4c-b1c9-e35f9746fd2d', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': '635a1807-635e-4302-97a7-909c2d6eecc8', 'mac_address': '02:d2:16:be:ce:f9', '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': '199.230.3.3', 'subnet_id': 'd5c54636-7144-414b-a6fd-2934b4ebaf25'}], 'security_groups': ['b563610d-2468-4093-84ae-42942f0f0f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:33,973 - DEBUG - Created port d216bece-f9f1-4e4c-b1c9-e35f9746fd2d
2026-01-19 02:24:34,080 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d216bece-f9f1-4e4c-b1c9-e35f9746fd2d
2026-01-19 02:24:34,372 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d216bece-f9f1-4e4c-b1c9-e35f9746fd2d
2026-01-19 02:24:34,406 - INFO - VMI d216bece-f9f1-4e4c-b1c9-e35f9746fd2d verification in API Server passed
2026-01-19 02:24:34,499 - DEBUG - Response for delete_port : ()
2026-01-19 02:24:34,499 - INFO - Deleted port d216bece-f9f1-4e4c-b1c9-e35f9746fd2d
2026-01-19 02:24:34,499 - INFO - Deleting VN ctest-vn-07970695
2026-01-19 02:24:34,598 - DEBUG - Response for deleting network ()
2026-01-19 02:24:34,858 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 02:24:34,858 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-19 02:24:34,858 - INFO - --------------------------------------------------------------------------------
2026-01-19 02:24:34,860 - INFO - ================================================================================
2026-01-19 02:24:34,860 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-19 02:24:34,860 - 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-19 02:24:35,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with
2026-01-19 02:24:35,150 - INFO - Initial checks done. Running the testcase now
2026-01-19 02:24:35,150 - INFO -
2026-01-19 02:24:35,341 - DEBUG - Response for create_network : {'network': {'id': 'e1cf448e-94b8-4247-98fe-8ca9c81bca98', 'name': 'ctest-vn1-52192815', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'project_id': '3a10358f7f1d405487ce690e881225d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70295543', 'ctest-vn1-52192815'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:24:35,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4b438af-a8e5-4243-8dbe-ec65891edd9c', 'name': '', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': 'e1cf448e-94b8-4247-98fe-8ca9c81bca98', 'ip_version': 4, 'cidr': '73.141.226.0/26', 'allocation_pools': [{'start': '73.141.226.2', 'end': '73.141.226.62'}], 'gateway_ip': '73.141.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.141.226.2', 'tags': [], 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:35,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a6dbf86-13bc-4c82-9594-604a7208d201', 'name': '', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': 'e1cf448e-94b8-4247-98fe-8ca9c81bca98', 'ip_version': 4, 'cidr': '78.181.182.64/26', 'allocation_pools': [{'start': '78.181.182.66', 'end': '78.181.182.126'}], 'gateway_ip': '78.181.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.181.182.66', 'tags': [], 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:35,734 - INFO - Created VN ctest-vn1-52192815
2026-01-19 02:24:35,788 - DEBUG - VN ctest-vn1-52192815 UUID is e1cf448e-94b8-4247-98fe-8ca9c81bca98
2026-01-19 02:24:36,086 - DEBUG - Response for create_port : {'port': {'name': 'a500b61b-d41b-47ae-9888-446159f5ae93', 'id': 'a500b61b-d41b-47ae-9888-446159f5ae93', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': 'e1cf448e-94b8-4247-98fe-8ca9c81bca98', 'mac_address': '02:a5:00:b6:1b:d4', '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': '73.141.226.5', 'subnet_id': 'e4b438af-a8e5-4243-8dbe-ec65891edd9c'}], 'security_groups': ['b563610d-2468-4093-84ae-42942f0f0f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:36,272 - DEBUG - Response for create_port : {'port': {'name': 'c4fa8be1-4a10-4411-9b37-6ad0a2683752', 'id': 'c4fa8be1-4a10-4411-9b37-6ad0a2683752', 'tenant_id': '3a10358f7f1d405487ce690e881225d3', 'network_id': 'e1cf448e-94b8-4247-98fe-8ca9c81bca98', 'mac_address': '02:c4:fa:8b:e1:4a', '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': '78.181.182.69', 'subnet_id': '8a6dbf86-13bc-4c82-9594-604a7208d201'}], 'security_groups': ['b563610d-2468-4093-84ae-42942f0f0f26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a10358f7f1d405487ce690e881225d3'}}
2026-01-19 02:24:36,341 - DEBUG - Services list from nova: [, , ]
2026-01-19 02:24:36,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5041-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5041-1)
2026-01-19 02:24:37,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5041-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5041-1)
2026-01-19 02:24:37,142 - INFO - Waiting for VM ctest-vn1-vm1-11880990 to be up..
2026-01-19 02:24:37,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-19 02:24:42,271 - DEBUG - VM is in ACTIVE state now
2026-01-19 02:24:42,271 - INFO - VM name : ctest-vn1-vm1-11880990
2026-01-19 02:24:42,359 - DEBUG - VM ctest-vn1-vm1-11880990 ID is 68d4842b-c15a-4da6-8334-4d781fd4ef00
2026-01-19 02:24:42,378 - DEBUG - VM ctest-vn1-vm1-11880990 launched on Node cn-jenkins-deploy-platform-ansible-os-5041-1
2026-01-19 02:24:42,460 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/68d4842b-c15a-4da6-8334-4d781fd4ef00
2026-01-19 02:24:42,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a500b61b-d41b-47ae-9888-446159f5ae93
2026-01-19 02:24:45,727 - 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 1022ms')
2026-01-19 02:24:45,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11880990 failed!
2026-01-19 02:24:45,780 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70295543:ctest-vn1-52192815 is 73.141.226.1 and allocation pool is NOT set
2026-01-19 02:24:45,780 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70295543:ctest-vn1-52192815 is 78.181.182.65 and allocation pool is NOT set
2026-01-19 02:24:47,845 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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 = 2.620/6.627/10.634/4.007 ms')
2026-01-19 02:24:47,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11880990 passed
2026-01-19 02:24:47,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:47,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11880990, IP 73.141.226.5, Port 22
2026-01-19 02:24:48,062 - 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-19 02:24:48,145 - DEBUG - VM ctest-vn1-vm1-11880990 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-19 02:24:53,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:53,146 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11880990, IP 73.141.226.5, Port 22
2026-01-19 02:24:53,308 - DEBUG - VM ctest-vn1-vm1-11880990 is ready for SSH connections
2026-01-19 02:24:53,308 - INFO - Waiting for VM ctest-vn1-vm2-50437526 to be up..
2026-01-19 02:24:53,386 - DEBUG - VM is in ACTIVE state now
2026-01-19 02:24:53,386 - INFO - VM name : ctest-vn1-vm2-50437526
2026-01-19 02:24:53,460 - DEBUG - VM ctest-vn1-vm2-50437526 ID is 9d095749-1ba9-430b-9817-4805c751643a
2026-01-19 02:24:53,460 - DEBUG - VM ctest-vn1-vm2-50437526 launched on Node cn-jenkins-deploy-platform-ansible-os-5041-1
2026-01-19 02:24:53,533 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9d095749-1ba9-430b-9817-4805c751643a
2026-01-19 02:24:53,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c4fa8be1-4a10-4411-9b37-6ad0a2683752
2026-01-19 02:24:54,771 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.474/1.789/3.105/1.315 ms')
2026-01-19 02:24:54,771 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50437526 passed
2026-01-19 02:24:54,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:54,920 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50437526, IP 78.181.182.69, Port 22
2026-01-19 02:24:55,076 - DEBUG - VM ctest-vn1-vm2-50437526 is ready for SSH connections
2026-01-19 02:24:55,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:55,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:55,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-19 02:24:55,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.141.226.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-01-19 02:24:55,077 - DEBUG - ping -s 56 -c 3 -W 1 73.141.226.5
2026-01-19 02:24:57,757 - DEBUG - PING 73.141.226.5 (73.141.226.5): 56 data bytes
64 bytes from 73.141.226.5: seq=0 ttl=63 time=5.007 ms
64 bytes from 73.141.226.5: seq=1 ttl=63 time=0.979 ms
64 bytes from 73.141.226.5: seq=2 ttl=63 time=0.995 ms
--- 73.141.226.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.979/2.327/5.007 ms
2026-01-19 02:24:57,757 - INFO - Ping to IP 73.141.226.5 from VM ctest-vn1-vm2-50437526 passed
2026-01-19 02:24:57,758 - INFO - Detaching port c4fa8be1-4a10-4411-9b37-6ad0a2683752 from VM ctest-vn1-vm2-50437526
2026-01-19 02:24:57,812 - INFO - Deleting VM ctest-vn1-vm2-50437526
2026-01-19 02:24:57,906 - INFO - Detaching port a500b61b-d41b-47ae-9888-446159f5ae93 from VM ctest-vn1-vm1-11880990
2026-01-19 02:24:57,945 - INFO - Deleting VM ctest-vn1-vm1-11880990
2026-01-19 02:24:58,228 - DEBUG - Response for delete_port : ()
2026-01-19 02:24:58,417 - DEBUG - Response for delete_port : ()
2026-01-19 02:24:58,418 - INFO - Deleting VN ctest-vn1-52192815
2026-01-19 02:24:58,561 - DEBUG - Response for deleting network ()
2026-01-19 02:24:58,818 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 02:24:58,818 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-19 02:24:58,818 - INFO - --------------------------------------------------------------------------------
2026-01-19 02:24:59,519 - INFO - Deleted project: ctest-TestPorts-70295543, ID : 3a10358f-7f1d-4054-87ce-690e881225d3