2026-02-03 00:21:19,399 - INFO - Domain Default found not creating
2026-02-03 00:21:19,594 - INFO - Project ctest-TestPorts-35778226 not found, creating it
2026-02-03 00:21:20,082 - INFO - Created Project:ctest-TestPorts-35778226, ID : 4aac7e5c-86b6-4e46-948a-de7ebd2cd136
2026-02-03 00:21:21,606 - INFO - ================================================================================
2026-02-03 00:21:21,606 - INFO - STARTING TEST : test_ports_bindings
2026-02-03 00:21:21,606 - 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-02-03 00:21:21,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-03 00:21:21,877 - INFO - Initial checks done. Running the testcase now
2026-02-03 00:21:21,877 - INFO -
2026-02-03 00:21:22,438 - DEBUG - Response for create_network : {'network': {'id': '06f99dcb-b49f-43fb-aea4-27168c80c976', 'name': 'ctest-vn-24617866', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35778226', 'ctest-vn-24617866'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 00:21:22,596 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f984506a-df8e-4e79-9261-d9d63fa30b78', 'name': '', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '06f99dcb-b49f-43fb-aea4-27168c80c976', 'ip_version': 4, 'cidr': '188.197.67.0/26', 'allocation_pools': [{'start': '188.197.67.2', 'end': '188.197.67.62'}], 'gateway_ip': '188.197.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.197.67.2', 'tags': [], 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:22,613 - INFO - Created VN ctest-vn-24617866
2026-02-03 00:21:22,665 - DEBUG - VN ctest-vn-24617866 UUID is 06f99dcb-b49f-43fb-aea4-27168c80c976
2026-02-03 00:21:22,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35778226', 'ctest-vmi-41314929']}
2026-02-03 00:21:23,044 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41314929', 'id': '763651a3-4c49-4d60-b93b-35590ec50377', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '06f99dcb-b49f-43fb-aea4-27168c80c976', 'mac_address': '02:76:36:51:a3:4c', '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': '188.197.67.3', 'subnet_id': 'f984506a-df8e-4e79-9261-d9d63fa30b78'}], 'security_groups': ['ae1f1b69-9409-437a-8d32-354c7f1419cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:23,044 - DEBUG - Created port 763651a3-4c49-4d60-b93b-35590ec50377
2026-02-03 00:21:23,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/763651a3-4c49-4d60-b93b-35590ec50377
2026-02-03 00:21:23,449 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/763651a3-4c49-4d60-b93b-35590ec50377
2026-02-03 00:21:23,485 - INFO - VMI 763651a3-4c49-4d60-b93b-35590ec50377 verification in API Server passed
2026-02-03 00:21:23,590 - DEBUG - Response for delete_port : ()
2026-02-03 00:21:23,590 - INFO - Deleted port 763651a3-4c49-4d60-b93b-35590ec50377
2026-02-03 00:21:23,590 - INFO - Deleting VN ctest-vn-24617866
2026-02-03 00:21:23,688 - DEBUG - Response for deleting network ()
2026-02-03 00:21:23,946 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 00:21:23,946 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-03 00:21:23,946 - INFO - --------------------------------------------------------------------------------
2026-02-03 00:21:23,948 - INFO - ================================================================================
2026-02-03 00:21:23,948 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-03 00:21:23,948 - 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-02-03 00:21:24,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-03 00:21:24,234 - INFO - Initial checks done. Running the testcase now
2026-02-03 00:21:24,234 - INFO -
2026-02-03 00:21:24,410 - DEBUG - Response for create_network : {'network': {'id': '5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e', 'name': 'ctest-vn1-75729820', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35778226', 'ctest-vn1-75729820'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 00:21:24,578 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff8f660b-c141-446f-92f5-6f1cd9fd0853', 'name': '', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e', 'ip_version': 4, 'cidr': '120.239.52.0/26', 'allocation_pools': [{'start': '120.239.52.2', 'end': '120.239.52.62'}], 'gateway_ip': '120.239.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.239.52.2', 'tags': [], 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:24,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '59431cba-2d83-40c9-b17a-4dac964d0c3e', 'name': '', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e', 'ip_version': 4, 'cidr': '161.20.170.0/26', 'allocation_pools': [{'start': '161.20.170.2', 'end': '161.20.170.62'}], 'gateway_ip': '161.20.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.20.170.2', 'tags': [], 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:24,927 - INFO - Created VN ctest-vn1-75729820
2026-02-03 00:21:24,985 - DEBUG - VN ctest-vn1-75729820 UUID is 5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e
2026-02-03 00:21:25,400 - DEBUG - Response for create_port : {'port': {'name': 'ee0e1a89-e7bc-408e-bd07-d4ce8e1cf7a9', 'id': 'ee0e1a89-e7bc-408e-bd07-d4ce8e1cf7a9', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e', 'mac_address': '02:ee:0e:1a:89:e7', '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': '120.239.52.5', 'subnet_id': 'ff8f660b-c141-446f-92f5-6f1cd9fd0853'}], 'security_groups': ['ae1f1b69-9409-437a-8d32-354c7f1419cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:25,570 - DEBUG - Response for create_port : {'port': {'name': 'fc6345f1-52a9-415e-9f4b-5c68f6bdf280', 'id': 'fc6345f1-52a9-415e-9f4b-5c68f6bdf280', 'tenant_id': '4aac7e5c86b64e46948ade7ebd2cd136', 'network_id': '5d5241e6-3f42-4cd8-a6e6-3e6c1ff0d44e', 'mac_address': '02:fc:63:45:f1:52', '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': '161.20.170.5', 'subnet_id': '59431cba-2d83-40c9-b17a-4dac964d0c3e'}], 'security_groups': ['ae1f1b69-9409-437a-8d32-354c7f1419cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4aac7e5c86b64e46948ade7ebd2cd136'}}
2026-02-03 00:21:25,641 - DEBUG - Services list from nova: [, , ]
2026-02-03 00:21:25,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1)
2026-02-03 00:21:26,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1)
2026-02-03 00:21:26,391 - INFO - Waiting for VM ctest-vn1-vm1-74295835 to be up..
2026-02-03 00:21:26,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-03 00:21:31,506 - DEBUG - VM is in ACTIVE state now
2026-02-03 00:21:31,506 - INFO - VM name : ctest-vn1-vm1-74295835
2026-02-03 00:21:31,593 - DEBUG - VM ctest-vn1-vm1-74295835 ID is 7634f9cb-1be4-4d0f-8c52-1630672723cc
2026-02-03 00:21:31,614 - DEBUG - VM ctest-vn1-vm1-74295835 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1
2026-02-03 00:21:31,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7634f9cb-1be4-4d0f-8c52-1630672723cc
2026-02-03 00:21:31,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ee0e1a89-e7bc-408e-bd07-d4ce8e1cf7a9
2026-02-03 00:21:34,966 - 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 1031ms')
2026-02-03 00:21:34,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74295835 failed!
2026-02-03 00:21:35,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35778226:ctest-vn1-75729820 is 120.239.52.1 and allocation pool is NOT set
2026-02-03 00:21:35,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35778226:ctest-vn1-75729820 is 161.20.170.1 and allocation pool is NOT set
2026-02-03 00:21:37,085 - 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.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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 = 1.880/6.016/10.153/4.136 ms')
2026-02-03 00:21:37,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74295835 passed
2026-02-03 00:21:37,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:37,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74295835, IP 120.239.52.5, Port 22
2026-02-03 00:21:37,303 - 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-02-03 00:21:37,387 - DEBUG - VM ctest-vn1-vm1-74295835 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-03 00:21:42,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:42,388 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74295835, IP 120.239.52.5, Port 22
2026-02-03 00:21:42,566 - DEBUG - VM ctest-vn1-vm1-74295835 is ready for SSH connections
2026-02-03 00:21:42,566 - INFO - Waiting for VM ctest-vn1-vm2-60485295 to be up..
2026-02-03 00:21:42,642 - DEBUG - VM is in ACTIVE state now
2026-02-03 00:21:42,642 - INFO - VM name : ctest-vn1-vm2-60485295
2026-02-03 00:21:42,712 - DEBUG - VM ctest-vn1-vm2-60485295 ID is ee4338fa-07f7-462b-8e8b-858695b6e185
2026-02-03 00:21:42,712 - DEBUG - VM ctest-vn1-vm2-60485295 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1
2026-02-03 00:21:42,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee4338fa-07f7-462b-8e8b-858695b6e185
2026-02-03 00:21:42,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fc6345f1-52a9-415e-9f4b-5c68f6bdf280
2026-02-03 00:21:44,019 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.774/3.038/1.264 ms')
2026-02-03 00:21:44,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60485295 passed
2026-02-03 00:21:44,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:44,177 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60485295, IP 161.20.170.5, Port 22
2026-02-03 00:21:44,333 - DEBUG - VM ctest-vn1-vm2-60485295 is ready for SSH connections
2026-02-03 00:21:44,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:44,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:44,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 00:21:44,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.239.52.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-02-03 00:21:44,333 - DEBUG - ping -s 56 -c 3 -W 1 120.239.52.5
2026-02-03 00:21:47,026 - DEBUG - PING 120.239.52.5 (120.239.52.5): 56 data bytes
64 bytes from 120.239.52.5: seq=0 ttl=63 time=3.523 ms
64 bytes from 120.239.52.5: seq=1 ttl=63 time=1.072 ms
64 bytes from 120.239.52.5: seq=2 ttl=63 time=0.979 ms
--- 120.239.52.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.979/1.858/3.523 ms
2026-02-03 00:21:47,026 - INFO - Ping to IP 120.239.52.5 from VM ctest-vn1-vm2-60485295 passed
2026-02-03 00:21:47,027 - INFO - Detaching port fc6345f1-52a9-415e-9f4b-5c68f6bdf280 from VM ctest-vn1-vm2-60485295
2026-02-03 00:21:47,079 - INFO - Deleting VM ctest-vn1-vm2-60485295
2026-02-03 00:21:47,157 - INFO - Detaching port ee0e1a89-e7bc-408e-bd07-d4ce8e1cf7a9 from VM ctest-vn1-vm1-74295835
2026-02-03 00:21:47,191 - INFO - Deleting VM ctest-vn1-vm1-74295835
2026-02-03 00:21:47,451 - DEBUG - Response for delete_port : ()
2026-02-03 00:21:47,631 - DEBUG - Response for delete_port : ()
2026-02-03 00:21:47,631 - INFO - Deleting VN ctest-vn1-75729820
2026-02-03 00:21:47,776 - DEBUG - Response for deleting network ()
2026-02-03 00:21:48,041 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 00:21:48,041 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-02-03 00:21:48,041 - INFO - --------------------------------------------------------------------------------
2026-02-03 00:21:48,794 - INFO - Deleted project: ctest-TestPorts-35778226, ID : 4aac7e5c-86b6-4e46-948a-de7ebd2cd136