2025-10-31 00:46:45,966 - INFO - Domain Default found not creating
2025-10-31 00:46:46,109 - INFO - Project ctest-TestPorts-65448844 not found, creating it
2025-10-31 00:46:46,547 - INFO - Created Project:ctest-TestPorts-65448844, ID : 5756404d-ec0f-4e83-a7fe-6714e01bdb29
2025-10-31 00:46:47,916 - INFO - ================================================================================
2025-10-31 00:46:47,916 - INFO - STARTING TEST : test_ports_bindings
2025-10-31 00:46:47,916 - 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
2025-10-31 00:46:48,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.5': '0'}} with
2025-10-31 00:46:48,175 - INFO - Initial checks done. Running the testcase now
2025-10-31 00:46:48,175 - INFO -
2025-10-31 00:46:48,702 - DEBUG - Response for create_network : {'network': {'id': '943858e6-1e0e-4aca-822e-dbe8769770ce', 'name': 'ctest-vn-59040759', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'project_id': '5756404dec0f4e83a7fe6714e01bdb29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65448844', 'ctest-vn-59040759'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:46:48,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '9860f197-9af1-4319-8760-5517a9a9a800', 'name': '', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '943858e6-1e0e-4aca-822e-dbe8769770ce', 'ip_version': 4, 'cidr': '85.203.185.192/26', 'allocation_pools': [{'start': '85.203.185.194', 'end': '85.203.185.254'}], 'gateway_ip': '85.203.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.203.185.194', 'tags': [], 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:48,928 - INFO - Created VN ctest-vn-59040759
2025-10-31 00:46:48,977 - DEBUG - VN ctest-vn-59040759 UUID is 943858e6-1e0e-4aca-822e-dbe8769770ce
2025-10-31 00:46:49,078 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65448844', 'ctest-vmi-25841732']}
2025-10-31 00:46:49,373 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25841732', 'id': '58522804-a261-47a7-acfd-5fce9689f419', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '943858e6-1e0e-4aca-822e-dbe8769770ce', 'mac_address': '02:58:52:28:04:a2', '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': '85.203.185.195', 'subnet_id': '9860f197-9af1-4319-8760-5517a9a9a800'}], 'security_groups': ['129972f2-bed7-48ca-8889-065efd9c0d53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:49,373 - DEBUG - Created port 58522804-a261-47a7-acfd-5fce9689f419
2025-10-31 00:46:49,477 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/58522804-a261-47a7-acfd-5fce9689f419
2025-10-31 00:46:49,874 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/58522804-a261-47a7-acfd-5fce9689f419
2025-10-31 00:46:49,911 - INFO - VMI 58522804-a261-47a7-acfd-5fce9689f419 verification in API Server passed
2025-10-31 00:46:49,990 - DEBUG - Response for delete_port : ()
2025-10-31 00:46:49,990 - INFO - Deleted port 58522804-a261-47a7-acfd-5fce9689f419
2025-10-31 00:46:49,990 - INFO - Deleting VN ctest-vn-59040759
2025-10-31 00:46:50,082 - DEBUG - Response for deleting network ()
2025-10-31 00:46:50,334 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:46:50,334 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 00:46:50,334 - INFO - --------------------------------------------------------------------------------
2025-10-31 00:46:50,336 - INFO - ================================================================================
2025-10-31 00:46:50,337 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-31 00:46:50,337 - 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
2025-10-31 00:46:50,623 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.5': '0'}} with
2025-10-31 00:46:50,623 - INFO - Initial checks done. Running the testcase now
2025-10-31 00:46:50,623 - INFO -
2025-10-31 00:46:50,784 - DEBUG - Response for create_network : {'network': {'id': '0afbd861-9297-49de-9e5c-75ac9ac3614e', 'name': 'ctest-vn1-82760103', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'project_id': '5756404dec0f4e83a7fe6714e01bdb29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65448844', 'ctest-vn1-82760103'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 00:46:50,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ecfaafe-8fdd-48a9-a9cb-e315f1af6b09', 'name': '', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '0afbd861-9297-49de-9e5c-75ac9ac3614e', 'ip_version': 4, 'cidr': '177.108.178.128/26', 'allocation_pools': [{'start': '177.108.178.130', 'end': '177.108.178.190'}], 'gateway_ip': '177.108.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.108.178.130', 'tags': [], 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:51,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '74b9bb3b-a8ec-4a2e-b9ad-7a558daafcf4', 'name': '', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '0afbd861-9297-49de-9e5c-75ac9ac3614e', 'ip_version': 4, 'cidr': '180.69.27.64/26', 'allocation_pools': [{'start': '180.69.27.66', 'end': '180.69.27.126'}], 'gateway_ip': '180.69.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.69.27.66', 'tags': [], 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:51,165 - INFO - Created VN ctest-vn1-82760103
2025-10-31 00:46:51,217 - DEBUG - VN ctest-vn1-82760103 UUID is 0afbd861-9297-49de-9e5c-75ac9ac3614e
2025-10-31 00:46:51,496 - DEBUG - Response for create_port : {'port': {'name': 'dbf8d98c-ac36-4513-bc81-75526dacf4a0', 'id': 'dbf8d98c-ac36-4513-bc81-75526dacf4a0', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '0afbd861-9297-49de-9e5c-75ac9ac3614e', 'mac_address': '02:db:f8:d9:8c:ac', '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': '177.108.178.133', 'subnet_id': '0ecfaafe-8fdd-48a9-a9cb-e315f1af6b09'}], 'security_groups': ['129972f2-bed7-48ca-8889-065efd9c0d53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:51,663 - DEBUG - Response for create_port : {'port': {'name': '858d748d-f087-4b69-ba1c-2e4b165199fa', 'id': '858d748d-f087-4b69-ba1c-2e4b165199fa', 'tenant_id': '5756404dec0f4e83a7fe6714e01bdb29', 'network_id': '0afbd861-9297-49de-9e5c-75ac9ac3614e', 'mac_address': '02:85:8d:74:8d:f0', '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': '180.69.27.69', 'subnet_id': '74b9bb3b-a8ec-4a2e-b9ad-7a558daafcf4'}], 'security_groups': ['129972f2-bed7-48ca-8889-065efd9c0d53'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5756404dec0f4e83a7fe6714e01bdb29'}}
2025-10-31 00:46:51,714 - DEBUG - Services list from nova: [, , ]
2025-10-31 00:46:52,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4566-1)
2025-10-31 00:46:52,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4566-1)
2025-10-31 00:46:52,386 - INFO - Waiting for VM ctest-vn1-vm1-87643089 to be up..
2025-10-31 00:46:52,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 00:46:57,505 - DEBUG - VM is in ACTIVE state now
2025-10-31 00:46:57,505 - INFO - VM name : ctest-vn1-vm1-87643089
2025-10-31 00:46:57,599 - DEBUG - VM ctest-vn1-vm1-87643089 ID is 911f4450-2e23-4022-ba12-9254406b715a
2025-10-31 00:46:57,617 - DEBUG - VM ctest-vn1-vm1-87643089 launched on Node cn-jenkins-deploy-platform-ansible-os-4566-1
2025-10-31 00:46:57,702 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/911f4450-2e23-4022-ba12-9254406b715a
2025-10-31 00:46:57,709 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/dbf8d98c-ac36-4513-bc81-75526dacf4a0
2025-10-31 00:47:00,981 - 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')
2025-10-31 00:47:00,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87643089 failed!
2025-10-31 00:47:01,037 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65448844:ctest-vn1-82760103 is 177.108.178.129 and allocation pool is NOT set
2025-10-31 00:47:01,038 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65448844:ctest-vn1-82760103 is 180.69.27.65 and allocation pool is NOT set
2025-10-31 00:47:03,097 - 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=16.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.45 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 = 2.448/9.240/16.033/6.792 ms')
2025-10-31 00:47:03,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87643089 passed
2025-10-31 00:47:03,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:03,250 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87643089, IP 177.108.178.133, Port 22
2025-10-31 00:47:03,315 - 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': ''}
2025-10-31 00:47:03,403 - DEBUG - VM ctest-vn1-vm1-87643089 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 00:47:08,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:08,404 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87643089, IP 177.108.178.133, Port 22
2025-10-31 00:47:08,561 - DEBUG - VM ctest-vn1-vm1-87643089 is ready for SSH connections
2025-10-31 00:47:08,561 - INFO - Waiting for VM ctest-vn1-vm2-09706513 to be up..
2025-10-31 00:47:08,629 - DEBUG - VM is in ACTIVE state now
2025-10-31 00:47:08,629 - INFO - VM name : ctest-vn1-vm2-09706513
2025-10-31 00:47:08,693 - DEBUG - VM ctest-vn1-vm2-09706513 ID is 791b8d29-a4be-494c-9032-1ff7c5a5df8f
2025-10-31 00:47:08,693 - DEBUG - VM ctest-vn1-vm2-09706513 launched on Node cn-jenkins-deploy-platform-ansible-os-4566-1
2025-10-31 00:47:08,758 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/791b8d29-a4be-494c-9032-1ff7c5a5df8f
2025-10-31 00:47:08,765 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/858d748d-f087-4b69-ba1c-2e4b165199fa
2025-10-31 00:47:10,002 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.780/3.151/1.370 ms')
2025-10-31 00:47:10,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09706513 passed
2025-10-31 00:47:10,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:10,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09706513, IP 180.69.27.69, Port 22
2025-10-31 00:47:10,309 - DEBUG - VM ctest-vn1-vm2-09706513 is ready for SSH connections
2025-10-31 00:47:10,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:10,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:10,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 00:47:10,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.108.178.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123
2025-10-31 00:47:10,310 - DEBUG - ping -s 56 -c 3 -W 1 177.108.178.133
2025-10-31 00:47:13,263 - DEBUG - PING 177.108.178.133 (177.108.178.133): 56 data bytes
64 bytes from 177.108.178.133: seq=0 ttl=63 time=3.814 ms
64 bytes from 177.108.178.133: seq=1 ttl=63 time=0.963 ms
64 bytes from 177.108.178.133: seq=2 ttl=63 time=1.064 ms
--- 177.108.178.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.963/1.947/3.814 ms
2025-10-31 00:47:13,263 - INFO - Ping to IP 177.108.178.133 from VM ctest-vn1-vm2-09706513 passed
2025-10-31 00:47:13,263 - INFO - Detaching port 858d748d-f087-4b69-ba1c-2e4b165199fa from VM ctest-vn1-vm2-09706513
2025-10-31 00:47:13,309 - INFO - Deleting VM ctest-vn1-vm2-09706513
2025-10-31 00:47:13,391 - INFO - Detaching port dbf8d98c-ac36-4513-bc81-75526dacf4a0 from VM ctest-vn1-vm1-87643089
2025-10-31 00:47:13,427 - INFO - Deleting VM ctest-vn1-vm1-87643089
2025-10-31 00:47:13,663 - DEBUG - Response for delete_port : ()
2025-10-31 00:47:13,826 - DEBUG - Response for delete_port : ()
2025-10-31 00:47:13,826 - INFO - Deleting VN ctest-vn1-82760103
2025-10-31 00:47:13,941 - DEBUG - Response for deleting network ()
2025-10-31 00:47:14,198 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:47:14,199 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-31 00:47:14,199 - INFO - --------------------------------------------------------------------------------
2025-10-31 00:47:14,865 - INFO - Deleted project: ctest-TestPorts-65448844, ID : 5756404d-ec0f-4e83-a7fe-6714e01bdb29