2026-01-30 20:55:26,572 - INFO - Domain Default found not creating
2026-01-30 20:55:26,721 - INFO - Project ctest-TestPorts-50304808 not found, creating it
2026-01-30 20:55:27,157 - INFO - Created Project:ctest-TestPorts-50304808, ID : 9b311193-8d33-424d-9533-6934e63faea8
2026-01-30 20:55:28,594 - INFO - ================================================================================
2026-01-30 20:55:28,594 - INFO - STARTING TEST : test_ports_bindings
2026-01-30 20:55:28,594 - 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-30 20:55:28,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-30 20:55:28,849 - INFO - Initial checks done. Running the testcase now
2026-01-30 20:55:28,849 - INFO -
2026-01-30 20:55:29,405 - DEBUG - Response for create_network : {'network': {'id': 'a27eb1fc-2e61-41c3-90eb-51f8fe3557cb', 'name': 'ctest-vn-53361965', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'project_id': '9b3111938d33424d95336934e63faea8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50304808', 'ctest-vn-53361965'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 20:55:29,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '47e440a5-7fe4-4030-9f5b-a8114457c2c9', 'name': '', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': 'a27eb1fc-2e61-41c3-90eb-51f8fe3557cb', 'ip_version': 4, 'cidr': '167.149.187.0/26', 'allocation_pools': [{'start': '167.149.187.2', 'end': '167.149.187.62'}], 'gateway_ip': '167.149.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.149.187.2', 'tags': [], 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:29,601 - INFO - Created VN ctest-vn-53361965
2026-01-30 20:55:29,652 - DEBUG - VN ctest-vn-53361965 UUID is a27eb1fc-2e61-41c3-90eb-51f8fe3557cb
2026-01-30 20:55:29,749 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50304808', 'ctest-vmi-00620616']}
2026-01-30 20:55:30,011 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00620616', 'id': 'eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': 'a27eb1fc-2e61-41c3-90eb-51f8fe3557cb', 'mac_address': '02:eb:8c:bb:b7:df', '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': '167.149.187.3', 'subnet_id': '47e440a5-7fe4-4030-9f5b-a8114457c2c9'}], 'security_groups': ['b803d68c-92da-40ab-8d64-ac1441287e65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:30,011 - DEBUG - Created port eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4
2026-01-30 20:55:30,112 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4
2026-01-30 20:55:30,404 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4
2026-01-30 20:55:30,436 - INFO - VMI eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4 verification in API Server passed
2026-01-30 20:55:30,521 - DEBUG - Response for delete_port : ()
2026-01-30 20:55:30,521 - INFO - Deleted port eb8cbbb7-df4a-42c6-88e4-a3a9a5f89bb4
2026-01-30 20:55:30,522 - INFO - Deleting VN ctest-vn-53361965
2026-01-30 20:55:30,620 - DEBUG - Response for deleting network ()
2026-01-30 20:55:30,874 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 20:55:30,875 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-30 20:55:30,875 - INFO - --------------------------------------------------------------------------------
2026-01-30 20:55:30,878 - INFO - ================================================================================
2026-01-30 20:55:30,878 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-30 20:55:30,879 - 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-30 20:55:31,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-30 20:55:31,161 - INFO - Initial checks done. Running the testcase now
2026-01-30 20:55:31,161 - INFO -
2026-01-30 20:55:31,333 - DEBUG - Response for create_network : {'network': {'id': '2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab', 'name': 'ctest-vn1-74661853', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'project_id': '9b3111938d33424d95336934e63faea8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50304808', 'ctest-vn1-74661853'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 20:55:31,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd65c7f05-90ab-4092-86f1-925a077e67bd', 'name': '', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': '2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab', 'ip_version': 4, 'cidr': '219.186.126.128/26', 'allocation_pools': [{'start': '219.186.126.130', 'end': '219.186.126.190'}], 'gateway_ip': '219.186.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.186.126.130', 'tags': [], 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:31,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '249949c8-6287-4da8-8871-2e0920a5b25c', 'name': '', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': '2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab', 'ip_version': 4, 'cidr': '174.100.30.128/26', 'allocation_pools': [{'start': '174.100.30.130', 'end': '174.100.30.190'}], 'gateway_ip': '174.100.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.100.30.130', 'tags': [], 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:31,713 - INFO - Created VN ctest-vn1-74661853
2026-01-30 20:55:31,764 - DEBUG - VN ctest-vn1-74661853 UUID is 2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab
2026-01-30 20:55:32,049 - DEBUG - Response for create_port : {'port': {'name': 'a4a8582e-55e0-48c2-9fa9-c9501a03439b', 'id': 'a4a8582e-55e0-48c2-9fa9-c9501a03439b', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': '2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab', 'mac_address': '02:a4:a8:58:2e:55', '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': '219.186.126.133', 'subnet_id': 'd65c7f05-90ab-4092-86f1-925a077e67bd'}], 'security_groups': ['b803d68c-92da-40ab-8d64-ac1441287e65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:32,199 - DEBUG - Response for create_port : {'port': {'name': '8d97aa9b-5508-42fb-b6fa-f75b86208be5', 'id': '8d97aa9b-5508-42fb-b6fa-f75b86208be5', 'tenant_id': '9b3111938d33424d95336934e63faea8', 'network_id': '2f36b973-1b27-4ed1-b8f0-bf3567c2c5ab', 'mac_address': '02:8d:97:aa:9b:55', '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': '174.100.30.133', 'subnet_id': '249949c8-6287-4da8-8871-2e0920a5b25c'}], 'security_groups': ['b803d68c-92da-40ab-8d64-ac1441287e65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b3111938d33424d95336934e63faea8'}}
2026-01-30 20:55:32,263 - DEBUG - Services list from nova: [, , ]
2026-01-30 20:55:32,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1)
2026-01-30 20:55:32,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1)
2026-01-30 20:55:32,973 - INFO - Waiting for VM ctest-vn1-vm1-65182443 to be up..
2026-01-30 20:55:33,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-30 20:55:38,081 - DEBUG - VM is in ACTIVE state now
2026-01-30 20:55:38,081 - INFO - VM name : ctest-vn1-vm1-65182443
2026-01-30 20:55:38,162 - DEBUG - VM ctest-vn1-vm1-65182443 ID is 04586b63-695b-4e4b-bc78-9e38ba61dd91
2026-01-30 20:55:38,181 - DEBUG - VM ctest-vn1-vm1-65182443 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1
2026-01-30 20:55:38,255 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/04586b63-695b-4e4b-bc78-9e38ba61dd91
2026-01-30 20:55:38,263 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a4a8582e-55e0-48c2-9fa9-c9501a03439b
2026-01-30 20:55:41,522 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2026-01-30 20:55:41,522 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65182443 failed!
2026-01-30 20:55:41,576 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50304808:ctest-vn1-74661853 is 219.186.126.129 and allocation pool is NOT set
2026-01-30 20:55:41,576 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50304808:ctest-vn1-74661853 is 174.100.30.129 and allocation pool is NOT set
2026-01-30 20:55:43,642 - 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=2.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.91 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 = 1.914/2.237/2.561/0.323 ms')
2026-01-30 20:55:43,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65182443 passed
2026-01-30 20:55:43,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:43,792 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65182443, IP 219.186.126.133, Port 22
2026-01-30 20:55:43,858 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-30 20:55:43,934 - DEBUG - VM ctest-vn1-vm1-65182443 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-30 20:55:48,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:48,935 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65182443, IP 219.186.126.133, Port 22
2026-01-30 20:55:49,091 - DEBUG - VM ctest-vn1-vm1-65182443 is ready for SSH connections
2026-01-30 20:55:49,091 - INFO - Waiting for VM ctest-vn1-vm2-99114938 to be up..
2026-01-30 20:55:49,162 - DEBUG - VM is in ACTIVE state now
2026-01-30 20:55:49,162 - INFO - VM name : ctest-vn1-vm2-99114938
2026-01-30 20:55:49,229 - DEBUG - VM ctest-vn1-vm2-99114938 ID is 38e539d1-5d25-42a3-9055-6fa7c6a7822a
2026-01-30 20:55:49,229 - DEBUG - VM ctest-vn1-vm2-99114938 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1
2026-01-30 20:55:49,299 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/38e539d1-5d25-42a3-9055-6fa7c6a7822a
2026-01-30 20:55:49,307 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8d97aa9b-5508-42fb-b6fa-f75b86208be5
2026-01-30 20:55:50,542 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.576/2.713/1.136 ms')
2026-01-30 20:55:50,542 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-99114938 passed
2026-01-30 20:55:50,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:50,692 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99114938, IP 174.100.30.133, Port 22
2026-01-30 20:55:50,849 - DEBUG - VM ctest-vn1-vm2-99114938 is ready for SSH connections
2026-01-30 20:55:50,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:50,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:50,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 20:55:50,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.186.126.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-01-30 20:55:50,850 - DEBUG - ping -s 56 -c 3 -W 1 219.186.126.133
2026-01-30 20:55:54,515 - DEBUG - PING 219.186.126.133 (219.186.126.133): 56 data bytes
64 bytes from 219.186.126.133: seq=0 ttl=63 time=3.299 ms
64 bytes from 219.186.126.133: seq=1 ttl=63 time=0.938 ms
64 bytes from 219.186.126.133: seq=2 ttl=63 time=0.867 ms
--- 219.186.126.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.867/1.701/3.299 ms
2026-01-30 20:55:54,516 - INFO - Ping to IP 219.186.126.133 from VM ctest-vn1-vm2-99114938 passed
2026-01-30 20:55:54,516 - INFO - Detaching port 8d97aa9b-5508-42fb-b6fa-f75b86208be5 from VM ctest-vn1-vm2-99114938
2026-01-30 20:55:54,569 - INFO - Deleting VM ctest-vn1-vm2-99114938
2026-01-30 20:55:54,633 - INFO - Detaching port a4a8582e-55e0-48c2-9fa9-c9501a03439b from VM ctest-vn1-vm1-65182443
2026-01-30 20:55:54,671 - INFO - Deleting VM ctest-vn1-vm1-65182443
2026-01-30 20:55:54,929 - DEBUG - Response for delete_port : ()
2026-01-30 20:55:55,102 - DEBUG - Response for delete_port : ()
2026-01-30 20:55:55,102 - INFO - Deleting VN ctest-vn1-74661853
2026-01-30 20:55:55,234 - DEBUG - Response for deleting network ()
2026-01-30 20:55:55,496 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 20:55:55,496 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-01-30 20:55:55,496 - INFO - --------------------------------------------------------------------------------
2026-01-30 20:55:56,194 - INFO - Deleted project: ctest-TestPorts-50304808, ID : 9b311193-8d33-424d-9533-6934e63faea8