2025-08-29 12:58:07,894 - INFO - Domain Default found not creating
2025-08-29 12:58:08,020 - INFO - Project ctest-TestPorts-82839464 not found, creating it
2025-08-29 12:58:08,448 - INFO - Created Project:ctest-TestPorts-82839464, ID : 09d5517d-10ab-4e2a-9181-626336b83e51
2025-08-29 12:58:09,847 - INFO - ================================================================================
2025-08-29 12:58:09,847 - INFO - STARTING TEST : test_ports_bindings
2025-08-29 12:58:09,847 - 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-08-29 12:58:10,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-08-29 12:58:10,099 - INFO - Initial checks done. Running the testcase now
2025-08-29 12:58:10,099 - INFO -
2025-08-29 12:58:10,610 - DEBUG - Response for create_network : {'network': {'id': 'd87c0e66-6f49-44ff-b3a9-d5bad18f9aad', 'name': 'ctest-vn-40908460', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'project_id': '09d5517d10ab4e2a9181626336b83e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82839464', 'ctest-vn-40908460'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 12:58:10,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'caeb14ba-65c0-475c-81ba-33264892a20c', 'name': '', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'd87c0e66-6f49-44ff-b3a9-d5bad18f9aad', 'ip_version': 4, 'cidr': '85.248.158.0/26', 'allocation_pools': [{'start': '85.248.158.2', 'end': '85.248.158.62'}], 'gateway_ip': '85.248.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.248.158.2', 'tags': [], 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:10,824 - INFO - Created VN ctest-vn-40908460
2025-08-29 12:58:10,878 - DEBUG - VN ctest-vn-40908460 UUID is d87c0e66-6f49-44ff-b3a9-d5bad18f9aad
2025-08-29 12:58:10,984 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82839464', 'ctest-vmi-81964019']}
2025-08-29 12:58:11,268 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81964019', 'id': '2d14f184-1604-4ef0-b563-10d989b50ce3', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'd87c0e66-6f49-44ff-b3a9-d5bad18f9aad', 'mac_address': '02:2d:14:f1:84:16', '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.248.158.3', 'subnet_id': 'caeb14ba-65c0-475c-81ba-33264892a20c'}], 'security_groups': ['b301a707-4551-40c9-91d6-fac23ab8d60d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:11,269 - DEBUG - Created port 2d14f184-1604-4ef0-b563-10d989b50ce3
2025-08-29 12:58:11,378 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2d14f184-1604-4ef0-b563-10d989b50ce3
2025-08-29 12:58:11,683 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2d14f184-1604-4ef0-b563-10d989b50ce3
2025-08-29 12:58:11,717 - INFO - VMI 2d14f184-1604-4ef0-b563-10d989b50ce3 verification in API Server passed
2025-08-29 12:58:11,800 - DEBUG - Response for delete_port : ()
2025-08-29 12:58:11,800 - INFO - Deleted port 2d14f184-1604-4ef0-b563-10d989b50ce3
2025-08-29 12:58:11,800 - INFO - Deleting VN ctest-vn-40908460
2025-08-29 12:58:11,896 - DEBUG - Response for deleting network ()
2025-08-29 12:58:12,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 12:58:12,150 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-29 12:58:12,150 - INFO - --------------------------------------------------------------------------------
2025-08-29 12:58:12,152 - INFO - ================================================================================
2025-08-29 12:58:12,153 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-29 12:58:12,153 - 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-08-29 12:58:12,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-08-29 12:58:12,439 - INFO - Initial checks done. Running the testcase now
2025-08-29 12:58:12,439 - INFO -
2025-08-29 12:58:12,589 - DEBUG - Response for create_network : {'network': {'id': 'b3b86a9a-abd7-4abe-8103-49f20c3f1a22', 'name': 'ctest-vn1-52265504', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'project_id': '09d5517d10ab4e2a9181626336b83e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82839464', 'ctest-vn1-52265504'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 12:58:12,758 - DEBUG - Response for create_subnet : {'subnet': {'id': '5edd7c26-52b1-4418-a0bd-0273437f4151', 'name': '', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'b3b86a9a-abd7-4abe-8103-49f20c3f1a22', 'ip_version': 4, 'cidr': '171.40.33.64/26', 'allocation_pools': [{'start': '171.40.33.66', 'end': '171.40.33.126'}], 'gateway_ip': '171.40.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.40.33.66', 'tags': [], 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:12,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd4f22cc-6761-4207-8d4a-969509eed492', 'name': '', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'b3b86a9a-abd7-4abe-8103-49f20c3f1a22', 'ip_version': 4, 'cidr': '209.206.213.192/26', 'allocation_pools': [{'start': '209.206.213.194', 'end': '209.206.213.254'}], 'gateway_ip': '209.206.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.206.213.194', 'tags': [], 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:12,931 - INFO - Created VN ctest-vn1-52265504
2025-08-29 12:58:12,982 - DEBUG - VN ctest-vn1-52265504 UUID is b3b86a9a-abd7-4abe-8103-49f20c3f1a22
2025-08-29 12:58:13,244 - DEBUG - Response for create_port : {'port': {'name': '06d59fbe-7f13-4b12-bbbc-8c390cedff71', 'id': '06d59fbe-7f13-4b12-bbbc-8c390cedff71', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'b3b86a9a-abd7-4abe-8103-49f20c3f1a22', 'mac_address': '02:06:d5:9f:be:7f', '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': '171.40.33.69', 'subnet_id': '5edd7c26-52b1-4418-a0bd-0273437f4151'}], 'security_groups': ['b301a707-4551-40c9-91d6-fac23ab8d60d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:13,390 - DEBUG - Response for create_port : {'port': {'name': 'f098be31-c46d-4ac9-acc8-79efd60c379a', 'id': 'f098be31-c46d-4ac9-acc8-79efd60c379a', 'tenant_id': '09d5517d10ab4e2a9181626336b83e51', 'network_id': 'b3b86a9a-abd7-4abe-8103-49f20c3f1a22', 'mac_address': '02:f0:98:be:31:c4', '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': '209.206.213.197', 'subnet_id': 'fd4f22cc-6761-4207-8d4a-969509eed492'}], 'security_groups': ['b301a707-4551-40c9-91d6-fac23ab8d60d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d5517d10ab4e2a9181626336b83e51'}}
2025-08-29 12:58:13,445 - DEBUG - Services list from nova: [, , ]
2025-08-29 12:58:13,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3971-1)
2025-08-29 12:58:14,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3971-1)
2025-08-29 12:58:14,043 - INFO - Waiting for VM ctest-vn1-vm1-67006161 to be up..
2025-08-29 12:58:14,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-29 12:58:19,140 - DEBUG - VM is in ACTIVE state now
2025-08-29 12:58:19,140 - INFO - VM name : ctest-vn1-vm1-67006161
2025-08-29 12:58:19,207 - DEBUG - VM ctest-vn1-vm1-67006161 ID is ad6fad3b-1612-4786-8f48-8d7f9e50ba78
2025-08-29 12:58:19,224 - DEBUG - VM ctest-vn1-vm1-67006161 launched on Node cn-jenkins-deploy-platform-ansible-os-3971-1
2025-08-29 12:58:19,291 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ad6fad3b-1612-4786-8f48-8d7f9e50ba78
2025-08-29 12:58:19,299 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/06d59fbe-7f13-4b12-bbbc-8c390cedff71
2025-08-29 12:58:22,554 - 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 1028ms')
2025-08-29 12:58:22,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67006161 failed!
2025-08-29 12:58:22,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82839464:ctest-vn1-52265504 is 171.40.33.65 and allocation pool is NOT set
2025-08-29 12:58:22,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82839464:ctest-vn1-52265504 is 209.206.213.193 and allocation pool is NOT set
2025-08-29 12:58:24,670 - 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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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.299/3.088/4.877/1.789 ms')
2025-08-29 12:58:24,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67006161 passed
2025-08-29 12:58:24,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:24,818 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67006161, IP 171.40.33.69, Port 22
2025-08-29 12:58:24,873 - 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-08-29 12:58:24,941 - DEBUG - VM ctest-vn1-vm1-67006161 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-29 12:58:29,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:29,942 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67006161, IP 171.40.33.69, Port 22
2025-08-29 12:58:30,098 - DEBUG - VM ctest-vn1-vm1-67006161 is ready for SSH connections
2025-08-29 12:58:30,098 - INFO - Waiting for VM ctest-vn1-vm2-23421304 to be up..
2025-08-29 12:58:30,162 - DEBUG - VM is in ACTIVE state now
2025-08-29 12:58:30,162 - INFO - VM name : ctest-vn1-vm2-23421304
2025-08-29 12:58:30,227 - DEBUG - VM ctest-vn1-vm2-23421304 ID is f49ee8f0-4d1f-471f-b321-9145b2f525c2
2025-08-29 12:58:30,227 - DEBUG - VM ctest-vn1-vm2-23421304 launched on Node cn-jenkins-deploy-platform-ansible-os-3971-1
2025-08-29 12:58:30,299 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f49ee8f0-4d1f-471f-b321-9145b2f525c2
2025-08-29 12:58:30,309 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f098be31-c46d-4ac9-acc8-79efd60c379a
2025-08-29 12:58:31,548 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 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.519/1.716/2.913/1.197 ms')
2025-08-29 12:58:31,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23421304 passed
2025-08-29 12:58:31,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:31,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23421304, IP 209.206.213.197, Port 22
2025-08-29 12:58:31,854 - DEBUG - VM ctest-vn1-vm2-23421304 is ready for SSH connections
2025-08-29 12:58:31,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:31,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:31,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 12:58:31,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.40.33.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-29 12:58:31,854 - DEBUG - ping -s 56 -c 3 -W 1 171.40.33.69
2025-08-29 12:58:34,521 - DEBUG - PING 171.40.33.69 (171.40.33.69): 56 data bytes
64 bytes from 171.40.33.69: seq=0 ttl=63 time=3.901 ms
64 bytes from 171.40.33.69: seq=1 ttl=63 time=0.922 ms
64 bytes from 171.40.33.69: seq=2 ttl=63 time=0.977 ms
--- 171.40.33.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.922/1.933/3.901 ms
2025-08-29 12:58:34,521 - INFO - Ping to IP 171.40.33.69 from VM ctest-vn1-vm2-23421304 passed
2025-08-29 12:58:34,521 - INFO - Detaching port f098be31-c46d-4ac9-acc8-79efd60c379a from VM ctest-vn1-vm2-23421304
2025-08-29 12:58:34,567 - INFO - Deleting VM ctest-vn1-vm2-23421304
2025-08-29 12:58:34,627 - INFO - Detaching port 06d59fbe-7f13-4b12-bbbc-8c390cedff71 from VM ctest-vn1-vm1-67006161
2025-08-29 12:58:34,659 - INFO - Deleting VM ctest-vn1-vm1-67006161
2025-08-29 12:58:34,852 - DEBUG - Response for delete_port : ()
2025-08-29 12:58:35,007 - DEBUG - Response for delete_port : ()
2025-08-29 12:58:35,007 - INFO - Deleting VN ctest-vn1-52265504
2025-08-29 12:58:35,132 - DEBUG - Response for deleting network ()
2025-08-29 12:58:35,382 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 12:58:35,383 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-29 12:58:35,383 - INFO - --------------------------------------------------------------------------------
2025-08-29 12:58:36,050 - INFO - Deleted project: ctest-TestPorts-82839464, ID : 09d5517d-10ab-4e2a-9181-626336b83e51