2026-04-29 16:54:35,789 - INFO - Domain Default found not creating
2026-04-29 16:54:35,954 - INFO - Project ctest-TestPorts-11849551 not found, creating it
2026-04-29 16:54:36,407 - INFO - Created Project:ctest-TestPorts-11849551, ID : 63c27880-2af1-47df-a150-49f74608527a
2026-04-29 16:54:37,876 - INFO - ================================================================================
2026-04-29 16:54:37,876 - INFO - STARTING TEST : test_ports_bindings
2026-04-29 16:54:37,876 - 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-29 16:54:38,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-04-29 16:54:38,131 - INFO - Initial checks done. Running the testcase now
2026-04-29 16:54:38,131 - INFO -
2026-04-29 16:54:38,768 - DEBUG - Response for create_network : {'network': {'id': '430795d7-a1ea-4c47-b682-113cc0bbdb97', 'name': 'ctest-vn-29990382', 'tenant_id': '63c278802af147dfa15049f74608527a', 'project_id': '63c278802af147dfa15049f74608527a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11849551', 'ctest-vn-29990382'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:54:38,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '09dca9b1-20d4-49c1-af36-ce87690a1391', 'name': '', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '430795d7-a1ea-4c47-b682-113cc0bbdb97', 'ip_version': 4, 'cidr': '118.219.196.64/26', 'allocation_pools': [{'start': '118.219.196.66', 'end': '118.219.196.126'}], 'gateway_ip': '118.219.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.219.196.66', 'tags': [], 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:39,015 - INFO - Created VN ctest-vn-29990382
2026-04-29 16:54:39,067 - DEBUG - VN ctest-vn-29990382 UUID is 430795d7-a1ea-4c47-b682-113cc0bbdb97
2026-04-29 16:54:39,173 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11849551', 'ctest-vmi-10179815']}
2026-04-29 16:54:39,460 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10179815', 'id': 'a60d9890-d155-44ad-8653-8eec75e7ae00', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '430795d7-a1ea-4c47-b682-113cc0bbdb97', 'mac_address': '02:a6:0d:98:90:d1', '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': '118.219.196.67', 'subnet_id': '09dca9b1-20d4-49c1-af36-ce87690a1391'}], 'security_groups': ['ec251da7-8b4e-4fe4-a809-16baa6e84667'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:39,460 - DEBUG - Created port a60d9890-d155-44ad-8653-8eec75e7ae00
2026-04-29 16:54:39,562 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a60d9890-d155-44ad-8653-8eec75e7ae00
2026-04-29 16:54:39,852 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a60d9890-d155-44ad-8653-8eec75e7ae00
2026-04-29 16:54:39,885 - INFO - VMI a60d9890-d155-44ad-8653-8eec75e7ae00 verification in API Server passed
2026-04-29 16:54:39,972 - DEBUG - Response for delete_port : ()
2026-04-29 16:54:39,972 - INFO - Deleted port a60d9890-d155-44ad-8653-8eec75e7ae00
2026-04-29 16:54:39,972 - INFO - Deleting VN ctest-vn-29990382
2026-04-29 16:54:40,079 - DEBUG - Response for deleting network ()
2026-04-29 16:54:40,340 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 16:54:40,340 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-29 16:54:40,340 - INFO - --------------------------------------------------------------------------------
2026-04-29 16:54:40,343 - INFO - ================================================================================
2026-04-29 16:54:40,343 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-29 16:54:40,343 - 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-29 16:54:40,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-04-29 16:54:40,631 - INFO - Initial checks done. Running the testcase now
2026-04-29 16:54:40,632 - INFO -
2026-04-29 16:54:40,800 - DEBUG - Response for create_network : {'network': {'id': '8eaeb2fb-991d-48a3-9161-59897ff44648', 'name': 'ctest-vn1-59533832', 'tenant_id': '63c278802af147dfa15049f74608527a', 'project_id': '63c278802af147dfa15049f74608527a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11849551', 'ctest-vn1-59533832'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 16:54:40,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2d3a52-114e-4564-b004-82fc45a642af', 'name': '', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '8eaeb2fb-991d-48a3-9161-59897ff44648', 'ip_version': 4, 'cidr': '154.84.206.192/26', 'allocation_pools': [{'start': '154.84.206.194', 'end': '154.84.206.254'}], 'gateway_ip': '154.84.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.84.206.194', 'tags': [], 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:41,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '788ae2d3-74a9-4ed9-a23f-23f6b9001869', 'name': '', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '8eaeb2fb-991d-48a3-9161-59897ff44648', 'ip_version': 4, 'cidr': '58.120.92.192/26', 'allocation_pools': [{'start': '58.120.92.194', 'end': '58.120.92.254'}], 'gateway_ip': '58.120.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.120.92.194', 'tags': [], 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:41,146 - INFO - Created VN ctest-vn1-59533832
2026-04-29 16:54:41,198 - DEBUG - VN ctest-vn1-59533832 UUID is 8eaeb2fb-991d-48a3-9161-59897ff44648
2026-04-29 16:54:41,496 - DEBUG - Response for create_port : {'port': {'name': 'e287c1c3-2270-41c8-a52e-85f776e53734', 'id': 'e287c1c3-2270-41c8-a52e-85f776e53734', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '8eaeb2fb-991d-48a3-9161-59897ff44648', 'mac_address': '02:e2:87:c1:c3:22', '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': '154.84.206.197', 'subnet_id': '0f2d3a52-114e-4564-b004-82fc45a642af'}], 'security_groups': ['ec251da7-8b4e-4fe4-a809-16baa6e84667'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:41,666 - DEBUG - Response for create_port : {'port': {'name': 'cf189e08-eab9-44ca-8cba-3fd9e89956b2', 'id': 'cf189e08-eab9-44ca-8cba-3fd9e89956b2', 'tenant_id': '63c278802af147dfa15049f74608527a', 'network_id': '8eaeb2fb-991d-48a3-9161-59897ff44648', 'mac_address': '02:cf:18:9e:08:ea', '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': '58.120.92.197', 'subnet_id': '788ae2d3-74a9-4ed9-a23f-23f6b9001869'}], 'security_groups': ['ec251da7-8b4e-4fe4-a809-16baa6e84667'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '63c278802af147dfa15049f74608527a'}}
2026-04-29 16:54:41,723 - DEBUG - Services list from nova: [, , ]
2026-04-29 16:54:42,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5711-1)
2026-04-29 16:54:42,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5711-1)
2026-04-29 16:54:42,528 - INFO - Waiting for VM ctest-vn1-vm1-59835878 to be up..
2026-04-29 16:54:42,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-29 16:54:47,643 - DEBUG - VM is in ACTIVE state now
2026-04-29 16:54:47,643 - INFO - VM name : ctest-vn1-vm1-59835878
2026-04-29 16:54:47,710 - DEBUG - VM ctest-vn1-vm1-59835878 ID is b67a185d-37dd-4cbd-9c9b-f53b4ed3c695
2026-04-29 16:54:47,728 - DEBUG - VM ctest-vn1-vm1-59835878 launched on Node cn-jenkins-deploy-platform-ansible-os-5711-1
2026-04-29 16:54:47,799 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b67a185d-37dd-4cbd-9c9b-f53b4ed3c695
2026-04-29 16:54:47,808 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e287c1c3-2270-41c8-a52e-85f776e53734
2026-04-29 16:54:51,069 - 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 1026ms')
2026-04-29 16:54:51,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59835878 failed!
2026-04-29 16:54:51,122 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11849551:ctest-vn1-59533832 is 154.84.206.193 and allocation pool is NOT set
2026-04-29 16:54:51,122 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11849551:ctest-vn1-59533832 is 58.120.92.193 and allocation pool is NOT set
2026-04-29 16:54:53,183 - 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=7.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.442/5.243/7.044/1.801 ms')
2026-04-29 16:54:53,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59835878 passed
2026-04-29 16:54:53,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:54:53,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59835878, IP 154.84.206.197, Port 22
2026-04-29 16:54:53,386 - 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-29 16:54:53,461 - DEBUG - VM ctest-vn1-vm1-59835878 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-29 16:54:58,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:54:58,462 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59835878, IP 154.84.206.197, Port 22
2026-04-29 16:54:58,617 - DEBUG - VM ctest-vn1-vm1-59835878 is ready for SSH connections
2026-04-29 16:54:58,617 - INFO - Waiting for VM ctest-vn1-vm2-05073118 to be up..
2026-04-29 16:54:58,682 - DEBUG - VM is in ACTIVE state now
2026-04-29 16:54:58,682 - INFO - VM name : ctest-vn1-vm2-05073118
2026-04-29 16:54:58,758 - DEBUG - VM ctest-vn1-vm2-05073118 ID is 4dd2ff25-bf0c-4b9f-90ec-a18abcbf125f
2026-04-29 16:54:58,758 - DEBUG - VM ctest-vn1-vm2-05073118 launched on Node cn-jenkins-deploy-platform-ansible-os-5711-1
2026-04-29 16:54:58,835 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4dd2ff25-bf0c-4b9f-90ec-a18abcbf125f
2026-04-29 16:54:58,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cf189e08-eab9-44ca-8cba-3fd9e89956b2
2026-04-29 16:55:00,075 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.511/1.958/3.405/1.447 ms')
2026-04-29 16:55:00,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05073118 passed
2026-04-29 16:55:00,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:55:00,230 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05073118, IP 58.120.92.197, Port 22
2026-04-29 16:55:00,403 - DEBUG - VM ctest-vn1-vm2-05073118 is ready for SSH connections
2026-04-29 16:55:00,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:55:00,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:55:00,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-29 16:55:00,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.84.206.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-04-29 16:55:00,404 - DEBUG - ping -s 56 -c 3 -W 1 154.84.206.197
2026-04-29 16:55:03,082 - DEBUG - PING 154.84.206.197 (154.84.206.197): 56 data bytes
64 bytes from 154.84.206.197: seq=0 ttl=63 time=3.623 ms
64 bytes from 154.84.206.197: seq=1 ttl=63 time=0.721 ms
64 bytes from 154.84.206.197: seq=2 ttl=63 time=0.957 ms
--- 154.84.206.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.721/1.767/3.623 ms
2026-04-29 16:55:03,082 - INFO - Ping to IP 154.84.206.197 from VM ctest-vn1-vm2-05073118 passed
2026-04-29 16:55:03,082 - INFO - Detaching port cf189e08-eab9-44ca-8cba-3fd9e89956b2 from VM ctest-vn1-vm2-05073118
2026-04-29 16:55:03,127 - INFO - Deleting VM ctest-vn1-vm2-05073118
2026-04-29 16:55:03,193 - INFO - Detaching port e287c1c3-2270-41c8-a52e-85f776e53734 from VM ctest-vn1-vm1-59835878
2026-04-29 16:55:03,234 - INFO - Deleting VM ctest-vn1-vm1-59835878
2026-04-29 16:55:03,474 - DEBUG - Response for delete_port : ()
2026-04-29 16:55:03,636 - DEBUG - Response for delete_port : ()
2026-04-29 16:55:03,636 - INFO - Deleting VN ctest-vn1-59533832
2026-04-29 16:55:03,761 - DEBUG - Response for deleting network ()
2026-04-29 16:55:04,014 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 16:55:04,014 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-29 16:55:04,014 - INFO - --------------------------------------------------------------------------------
2026-04-29 16:55:04,712 - INFO - Deleted project: ctest-TestPorts-11849551, ID : 63c27880-2af1-47df-a150-49f74608527a