2026-03-18 17:06:58,016 - INFO - Domain Default found not creating
2026-03-18 17:06:58,227 - INFO - Project ctest-TestPorts-86324958 not found, creating it
2026-03-18 17:06:58,722 - INFO - Created Project:ctest-TestPorts-86324958, ID : 0911969c-9b6c-43c6-adcb-ff257b701001
2026-03-18 17:07:00,444 - INFO - ================================================================================
2026-03-18 17:07:00,444 - INFO - STARTING TEST : test_ports_bindings
2026-03-18 17:07:00,445 - 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-03-18 17:07:00,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-18 17:07:00,704 - INFO - Initial checks done. Running the testcase now
2026-03-18 17:07:00,704 - INFO -
2026-03-18 17:07:01,304 - DEBUG - Response for create_network : {'network': {'id': '8fab9440-0309-482d-a8c9-bec05c533835', 'name': 'ctest-vn-40076413', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'project_id': '0911969c9b6c43c6adcbff257b701001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86324958', 'ctest-vn-40076413'], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:07:01,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '0796fb04-c4c2-4469-bffe-9fbf8a105c6a', 'name': '', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': '8fab9440-0309-482d-a8c9-bec05c533835', 'ip_version': 4, 'cidr': '222.254.62.128/26', 'allocation_pools': [{'start': '222.254.62.130', 'end': '222.254.62.190'}], 'gateway_ip': '222.254.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.254.62.130', 'tags': [], 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:01,499 - INFO - Created VN ctest-vn-40076413
2026-03-18 17:07:01,553 - DEBUG - VN ctest-vn-40076413 UUID is 8fab9440-0309-482d-a8c9-bec05c533835
2026-03-18 17:07:01,667 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86324958', 'ctest-vmi-82588814']}
2026-03-18 17:07:01,938 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82588814', 'id': '1e12a328-9f26-4420-96e4-f544bf21b6ed', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': '8fab9440-0309-482d-a8c9-bec05c533835', 'mac_address': '02:1e:12:a3:28:9f', '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': '222.254.62.131', 'subnet_id': '0796fb04-c4c2-4469-bffe-9fbf8a105c6a'}], 'security_groups': ['8d783afa-e290-4458-8909-ce9870db18ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:01,938 - DEBUG - Created port 1e12a328-9f26-4420-96e4-f544bf21b6ed
2026-03-18 17:07:02,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1e12a328-9f26-4420-96e4-f544bf21b6ed
2026-03-18 17:07:02,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1e12a328-9f26-4420-96e4-f544bf21b6ed
2026-03-18 17:07:02,392 - INFO - VMI 1e12a328-9f26-4420-96e4-f544bf21b6ed verification in API Server passed
2026-03-18 17:07:02,499 - DEBUG - Response for delete_port : ()
2026-03-18 17:07:02,499 - INFO - Deleted port 1e12a328-9f26-4420-96e4-f544bf21b6ed
2026-03-18 17:07:02,499 - INFO - Deleting VN ctest-vn-40076413
2026-03-18 17:07:02,616 - DEBUG - Response for deleting network ()
2026-03-18 17:07:02,876 - DEBUG - No XMPP flaps were noticed during the test
2026-03-18 17:07:02,876 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-18 17:07:02,876 - INFO - --------------------------------------------------------------------------------
2026-03-18 17:07:02,879 - INFO - ================================================================================
2026-03-18 17:07:02,879 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-18 17:07:02,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-03-18 17:07:03,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-18 17:07:03,171 - INFO - Initial checks done. Running the testcase now
2026-03-18 17:07:03,171 - INFO -
2026-03-18 17:07:03,362 - DEBUG - Response for create_network : {'network': {'id': 'b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d', 'name': 'ctest-vn1-59445311', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'project_id': '0911969c9b6c43c6adcbff257b701001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86324958', 'ctest-vn1-59445311'], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:07:03,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faf05206-6093-4b4c-94b6-f0dd392f243f', 'name': '', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': 'b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d', 'ip_version': 4, 'cidr': '1.4.162.192/26', 'allocation_pools': [{'start': '1.4.162.194', 'end': '1.4.162.254'}], 'gateway_ip': '1.4.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.4.162.194', 'tags': [], 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:03,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '35a9f51e-632b-43a5-aa29-0a8fc3262db4', 'name': '', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': 'b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d', 'ip_version': 4, 'cidr': '198.38.205.64/26', 'allocation_pools': [{'start': '198.38.205.66', 'end': '198.38.205.126'}], 'gateway_ip': '198.38.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.38.205.66', 'tags': [], 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:03,763 - INFO - Created VN ctest-vn1-59445311
2026-03-18 17:07:03,818 - DEBUG - VN ctest-vn1-59445311 UUID is b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d
2026-03-18 17:07:04,151 - DEBUG - Response for create_port : {'port': {'name': '08bf0a43-3f30-4504-9b98-013f0df3c4c8', 'id': '08bf0a43-3f30-4504-9b98-013f0df3c4c8', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': 'b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d', 'mac_address': '02:08:bf:0a:43:3f', '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': '1.4.162.197', 'subnet_id': 'faf05206-6093-4b4c-94b6-f0dd392f243f'}], 'security_groups': ['8d783afa-e290-4458-8909-ce9870db18ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:04,370 - DEBUG - Response for create_port : {'port': {'name': '9b4b82c6-3556-49c8-b58a-3219a731b9ce', 'id': '9b4b82c6-3556-49c8-b58a-3219a731b9ce', 'tenant_id': '0911969c9b6c43c6adcbff257b701001', 'network_id': 'b90a570d-8dd7-4c6f-97c3-d7b87bd40b8d', 'mac_address': '02:9b:4b:82:c6:35', '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': '198.38.205.69', 'subnet_id': '35a9f51e-632b-43a5-aa29-0a8fc3262db4'}], 'security_groups': ['8d783afa-e290-4458-8909-ce9870db18ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0911969c9b6c43c6adcbff257b701001'}}
2026-03-18 17:07:04,439 - DEBUG - Services list from nova: [, , ]
2026-03-18 17:07:04,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5487-1)
2026-03-18 17:07:05,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5487-1)
2026-03-18 17:07:05,307 - INFO - Waiting for VM ctest-vn1-vm1-67693164 to be up..
2026-03-18 17:07:05,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-18 17:07:10,440 - DEBUG - VM is in ACTIVE state now
2026-03-18 17:07:10,440 - INFO - VM name : ctest-vn1-vm1-67693164
2026-03-18 17:07:10,528 - DEBUG - VM ctest-vn1-vm1-67693164 ID is 5b2a3d7b-326b-4307-8a6d-53f3058c22de
2026-03-18 17:07:10,550 - DEBUG - VM ctest-vn1-vm1-67693164 launched on Node cn-jenkins-deploy-platform-ansible-os-5487-1
2026-03-18 17:07:10,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5b2a3d7b-326b-4307-8a6d-53f3058c22de
2026-03-18 17:07:10,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08bf0a43-3f30-4504-9b98-013f0df3c4c8
2026-03-18 17:07:13,914 - 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-03-18 17:07:13,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67693164 failed!
2026-03-18 17:07:13,969 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86324958:ctest-vn1-59445311 is 1.4.162.193 and allocation pool is NOT set
2026-03-18 17:07:13,970 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86324958:ctest-vn1-59445311 is 198.38.205.65 and allocation pool is NOT set
2026-03-18 17:07:18,040 - 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=2 ttl=63 time=10.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.079/10.079/10.079/0.000 ms')
2026-03-18 17:07:18,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67693164 passed
2026-03-18 17:07:18,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:18,193 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67693164, IP 1.4.162.197, Port 22
2026-03-18 17:07:18,259 - 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-03-18 17:07:18,347 - DEBUG - VM ctest-vn1-vm1-67693164 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-18 17:07:23,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:23,349 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67693164, IP 1.4.162.197, Port 22
2026-03-18 17:07:23,505 - DEBUG - VM ctest-vn1-vm1-67693164 is ready for SSH connections
2026-03-18 17:07:23,505 - INFO - Waiting for VM ctest-vn1-vm2-10001687 to be up..
2026-03-18 17:07:23,589 - DEBUG - VM is in ACTIVE state now
2026-03-18 17:07:23,589 - INFO - VM name : ctest-vn1-vm2-10001687
2026-03-18 17:07:23,668 - DEBUG - VM ctest-vn1-vm2-10001687 ID is 0a24dfdc-96a9-4457-ab7a-79ea00ea1f3c
2026-03-18 17:07:23,668 - DEBUG - VM ctest-vn1-vm2-10001687 launched on Node cn-jenkins-deploy-platform-ansible-os-5487-1
2026-03-18 17:07:23,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0a24dfdc-96a9-4457-ab7a-79ea00ea1f3c
2026-03-18 17:07:23,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b4b82c6-3556-49c8-b58a-3219a731b9ce
2026-03-18 17:07:25,000 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.472/2.064/3.656/1.592 ms')
2026-03-18 17:07:25,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10001687 passed
2026-03-18 17:07:25,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:25,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10001687, IP 198.38.205.69, Port 22
2026-03-18 17:07:25,313 - DEBUG - VM ctest-vn1-vm2-10001687 is ready for SSH connections
2026-03-18 17:07:25,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:25,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:25,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-18 17:07:25,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.4.162.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-18 17:07:25,314 - DEBUG - ping -s 56 -c 3 -W 1 1.4.162.197
2026-03-18 17:07:27,996 - DEBUG - PING 1.4.162.197 (1.4.162.197): 56 data bytes
64 bytes from 1.4.162.197: seq=0 ttl=63 time=4.071 ms
64 bytes from 1.4.162.197: seq=1 ttl=63 time=1.567 ms
64 bytes from 1.4.162.197: seq=2 ttl=63 time=0.950 ms
--- 1.4.162.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.950/2.196/4.071 ms
2026-03-18 17:07:27,996 - INFO - Ping to IP 1.4.162.197 from VM ctest-vn1-vm2-10001687 passed
2026-03-18 17:07:27,996 - INFO - Detaching port 9b4b82c6-3556-49c8-b58a-3219a731b9ce from VM ctest-vn1-vm2-10001687
2026-03-18 17:07:28,055 - INFO - Deleting VM ctest-vn1-vm2-10001687
2026-03-18 17:07:28,126 - INFO - Detaching port 08bf0a43-3f30-4504-9b98-013f0df3c4c8 from VM ctest-vn1-vm1-67693164
2026-03-18 17:07:28,162 - INFO - Deleting VM ctest-vn1-vm1-67693164
2026-03-18 17:07:28,436 - DEBUG - Response for delete_port : ()
2026-03-18 17:07:28,611 - DEBUG - Response for delete_port : ()
2026-03-18 17:07:28,611 - INFO - Deleting VN ctest-vn1-59445311
2026-03-18 17:07:28,778 - DEBUG - Response for deleting network ()
2026-03-18 17:07:29,046 - DEBUG - No XMPP flaps were noticed during the test
2026-03-18 17:07:29,046 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-03-18 17:07:29,046 - INFO - --------------------------------------------------------------------------------
2026-03-18 17:07:29,760 - INFO - Deleted project: ctest-TestPorts-86324958, ID : 0911969c-9b6c-43c6-adcb-ff257b701001