2025-08-04 02:21:38,452 - INFO - Domain Default found not creating 2025-08-04 02:21:38,620 - INFO - Project ctest-TestPorts-70594113 not found, creating it 2025-08-04 02:21:39,104 - INFO - Created Project:ctest-TestPorts-70594113, ID : 54b1e87c-64fc-4c4e-a6c9-d8eac0d45df3 2025-08-04 02:21:40,626 - INFO - ================================================================================ 2025-08-04 02:21:40,626 - INFO - STARTING TEST : test_ports_bindings 2025-08-04 02:21:40,626 - 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-04 02:21:40,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:21:40,881 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:21:40,881 - INFO - 2025-08-04 02:21:41,480 - DEBUG - Response for create_network : {'network': {'id': 'a51a2b92-7abb-4bab-acf0-1aea803b6ca7', 'name': 'ctest-vn-11743457', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70594113', 'ctest-vn-11743457'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:21:41,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3a04351-a375-44e4-9e12-20446579cac7', 'name': '', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': 'a51a2b92-7abb-4bab-acf0-1aea803b6ca7', 'ip_version': 4, 'cidr': '156.212.158.192/26', 'allocation_pools': [{'start': '156.212.158.194', 'end': '156.212.158.254'}], 'gateway_ip': '156.212.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.212.158.194', 'tags': [], 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:41,684 - INFO - Created VN ctest-vn-11743457 2025-08-04 02:21:41,739 - DEBUG - VN ctest-vn-11743457 UUID is a51a2b92-7abb-4bab-acf0-1aea803b6ca7 2025-08-04 02:21:41,860 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70594113', 'ctest-vmi-11076056']} 2025-08-04 02:21:42,134 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11076056', 'id': '439f30ed-a720-4dcd-a551-2071ddbfbd43', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': 'a51a2b92-7abb-4bab-acf0-1aea803b6ca7', 'mac_address': '02:43:9f:30:ed:a7', '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': '156.212.158.195', 'subnet_id': 'e3a04351-a375-44e4-9e12-20446579cac7'}], 'security_groups': ['33e9ac4e-aab5-4218-836f-247040431414'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:42,134 - DEBUG - Created port 439f30ed-a720-4dcd-a551-2071ddbfbd43 2025-08-04 02:21:42,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/439f30ed-a720-4dcd-a551-2071ddbfbd43 2025-08-04 02:21:42,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/439f30ed-a720-4dcd-a551-2071ddbfbd43 2025-08-04 02:21:42,585 - INFO - VMI 439f30ed-a720-4dcd-a551-2071ddbfbd43 verification in API Server passed 2025-08-04 02:21:42,724 - DEBUG - Response for delete_port : () 2025-08-04 02:21:42,724 - INFO - Deleted port 439f30ed-a720-4dcd-a551-2071ddbfbd43 2025-08-04 02:21:42,724 - INFO - Deleting VN ctest-vn-11743457 2025-08-04 02:21:42,859 - DEBUG - Response for deleting network () 2025-08-04 02:21:43,113 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:21:43,113 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-04 02:21:43,113 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:21:43,116 - INFO - ================================================================================ 2025-08-04 02:21:43,117 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-04 02:21:43,117 - 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-04 02:21:43,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:21:43,407 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:21:43,407 - INFO - 2025-08-04 02:21:43,586 - DEBUG - Response for create_network : {'network': {'id': '06a8e818-f574-451d-911a-ac31b0cf345e', 'name': 'ctest-vn1-61793081', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70594113', 'ctest-vn1-61793081'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:21:43,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '458e99e2-660c-4166-95ac-fddfb4e72960', 'name': '', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': '06a8e818-f574-451d-911a-ac31b0cf345e', 'ip_version': 4, 'cidr': '124.40.104.64/26', 'allocation_pools': [{'start': '124.40.104.66', 'end': '124.40.104.126'}], 'gateway_ip': '124.40.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.40.104.66', 'tags': [], 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:43,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b81396f5-d6c8-4273-b474-2eca10e2b962', 'name': '', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': '06a8e818-f574-451d-911a-ac31b0cf345e', 'ip_version': 4, 'cidr': '187.228.36.64/26', 'allocation_pools': [{'start': '187.228.36.66', 'end': '187.228.36.126'}], 'gateway_ip': '187.228.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.228.36.66', 'tags': [], 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:43,950 - INFO - Created VN ctest-vn1-61793081 2025-08-04 02:21:44,003 - DEBUG - VN ctest-vn1-61793081 UUID is 06a8e818-f574-451d-911a-ac31b0cf345e 2025-08-04 02:21:44,336 - DEBUG - Response for create_port : {'port': {'name': 'be949a75-0c24-4b74-a180-538b1bef7aa4', 'id': 'be949a75-0c24-4b74-a180-538b1bef7aa4', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': '06a8e818-f574-451d-911a-ac31b0cf345e', 'mac_address': '02:be:94:9a:75:0c', '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': '124.40.104.69', 'subnet_id': '458e99e2-660c-4166-95ac-fddfb4e72960'}], 'security_groups': ['33e9ac4e-aab5-4218-836f-247040431414'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:44,539 - DEBUG - Response for create_port : {'port': {'name': 'f6b7aba6-02ab-456b-b104-eefe02ebe0ce', 'id': 'f6b7aba6-02ab-456b-b104-eefe02ebe0ce', 'tenant_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3', 'network_id': '06a8e818-f574-451d-911a-ac31b0cf345e', 'mac_address': '02:f6:b7:ab:a6:02', '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': '187.228.36.69', 'subnet_id': 'b81396f5-d6c8-4273-b474-2eca10e2b962'}], 'security_groups': ['33e9ac4e-aab5-4218-836f-247040431414'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54b1e87c64fc4c4ea6c9d8eac0d45df3'}} 2025-08-04 02:21:44,602 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:21:44,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:21:45,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:21:45,386 - INFO - Waiting for VM ctest-vn1-vm1-60009369 to be up.. 2025-08-04 02:21:45,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:21:50,520 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:21:50,520 - INFO - VM name : ctest-vn1-vm1-60009369 2025-08-04 02:21:50,601 - DEBUG - VM ctest-vn1-vm1-60009369 ID is 4d445839-b061-46b6-b4f5-ed516bea4fa8 2025-08-04 02:21:50,622 - DEBUG - VM ctest-vn1-vm1-60009369 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:21:50,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4d445839-b061-46b6-b4f5-ed516bea4fa8 2025-08-04 02:21:50,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be949a75-0c24-4b74-a180-538b1bef7aa4 2025-08-04 02:21:54,011 - 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 1030ms') 2025-08-04 02:21:54,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60009369 failed! 2025-08-04 02:21:54,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70594113:ctest-vn1-61793081 is 124.40.104.65 and allocation pool is NOT set 2025-08-04 02:21:54,068 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70594113:ctest-vn1-61793081 is 187.228.36.65 and allocation pool is NOT set 2025-08-04 02:21:56,133 - 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.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.115/5.993/10.871/4.878 ms') 2025-08-04 02:21:56,133 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60009369 passed 2025-08-04 02:21:56,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:21:56,288 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60009369, IP 124.40.104.69, Port 22 2025-08-04 02:21:56,443 - DEBUG - VM ctest-vn1-vm1-60009369 is ready for SSH connections 2025-08-04 02:21:56,443 - INFO - Waiting for VM ctest-vn1-vm2-87816297 to be up.. 2025-08-04 02:21:56,527 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:21:56,528 - INFO - VM name : ctest-vn1-vm2-87816297 2025-08-04 02:21:56,609 - DEBUG - VM ctest-vn1-vm2-87816297 ID is 4fa1b44a-79ea-4088-856f-bc219fe7d3a8 2025-08-04 02:21:56,609 - DEBUG - VM ctest-vn1-vm2-87816297 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:21:56,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4fa1b44a-79ea-4088-856f-bc219fe7d3a8 2025-08-04 02:21:56,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6b7aba6-02ab-456b-b104-eefe02ebe0ce 2025-08-04 02:21:57,946 - 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=5.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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.006/3.166/5.327/2.160 ms') 2025-08-04 02:21:57,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87816297 passed 2025-08-04 02:21:58,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:21:58,096 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87816297, IP 187.228.36.69, Port 22 2025-08-04 02:21:58,152 - 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': ''} 2025-08-04 02:21:58,231 - DEBUG - VM ctest-vn1-vm2-87816297 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 02:22:03,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:03,232 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87816297, IP 187.228.36.69, Port 22 2025-08-04 02:22:03,402 - DEBUG - VM ctest-vn1-vm2-87816297 is ready for SSH connections 2025-08-04 02:22:03,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:03,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:03,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:22:03,402 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.40.104.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:22:03,402 - DEBUG - ping -s 56 -c 3 -W 1 124.40.104.69 2025-08-04 02:22:06,474 - DEBUG - PING 124.40.104.69 (124.40.104.69): 56 data bytes 64 bytes from 124.40.104.69: seq=0 ttl=63 time=4.777 ms 64 bytes from 124.40.104.69: seq=1 ttl=63 time=1.548 ms 64 bytes from 124.40.104.69: seq=2 ttl=63 time=1.434 ms --- 124.40.104.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.434/2.586/4.777 ms 2025-08-04 02:22:06,475 - INFO - Ping to IP 124.40.104.69 from VM ctest-vn1-vm2-87816297 passed 2025-08-04 02:22:06,475 - INFO - Detaching port f6b7aba6-02ab-456b-b104-eefe02ebe0ce from VM ctest-vn1-vm2-87816297 2025-08-04 02:22:06,540 - INFO - Deleting VM ctest-vn1-vm2-87816297 2025-08-04 02:22:06,621 - INFO - Detaching port be949a75-0c24-4b74-a180-538b1bef7aa4 from VM ctest-vn1-vm1-60009369 2025-08-04 02:22:06,660 - INFO - Deleting VM ctest-vn1-vm1-60009369 2025-08-04 02:22:06,927 - DEBUG - Response for delete_port : () 2025-08-04 02:22:07,138 - DEBUG - Response for delete_port : () 2025-08-04 02:22:07,138 - INFO - Deleting VN ctest-vn1-61793081 2025-08-04 02:22:07,336 - DEBUG - Response for deleting network () 2025-08-04 02:22:07,614 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:22:07,614 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-04 02:22:07,615 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:22:08,373 - INFO - Deleted project: ctest-TestPorts-70594113, ID : 54b1e87c-64fc-4c4e-a6c9-d8eac0d45df3