2025-07-22 13:48:57,438 - INFO - Domain Default found not creating 2025-07-22 13:48:57,597 - INFO - Project ctest-TestPorts-86230949 not found, creating it 2025-07-22 13:48:58,122 - INFO - Created Project:ctest-TestPorts-86230949, ID : 5fbdaf3e-c0c5-498c-9639-8c97919adc49 2025-07-22 13:48:59,588 - INFO - ================================================================================ 2025-07-22 13:48:59,588 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 13:48:59,588 - 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-07-22 13:48:59,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-22 13:48:59,845 - INFO - Initial checks done. Running the testcase now 2025-07-22 13:48:59,845 - INFO - 2025-07-22 13:49:00,408 - DEBUG - Response for create_network : {'network': {'id': '1f2f6721-4d2e-4805-98f4-518128dc8918', 'name': 'ctest-vn-27489879', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'project_id': '5fbdaf3ec0c5498c96398c97919adc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86230949', 'ctest-vn-27489879'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:49:00,620 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd89894b5-2bad-4157-8629-2f7cfef42dae', 'name': '', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '1f2f6721-4d2e-4805-98f4-518128dc8918', 'ip_version': 4, 'cidr': '114.28.109.192/26', 'allocation_pools': [{'start': '114.28.109.194', 'end': '114.28.109.254'}], 'gateway_ip': '114.28.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.28.109.194', 'tags': [], 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:00,640 - INFO - Created VN ctest-vn-27489879 2025-07-22 13:49:00,694 - DEBUG - VN ctest-vn-27489879 UUID is 1f2f6721-4d2e-4805-98f4-518128dc8918 2025-07-22 13:49:00,811 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86230949', 'ctest-vmi-90244398']} 2025-07-22 13:49:01,069 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90244398', 'id': '9563e1dc-6541-4f93-8634-59c6a63487dc', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '1f2f6721-4d2e-4805-98f4-518128dc8918', 'mac_address': '02:95:63:e1:dc:65', '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': '114.28.109.195', 'subnet_id': 'd89894b5-2bad-4157-8629-2f7cfef42dae'}], 'security_groups': ['5c9ae44b-e5e0-4b9a-b9ae-cbe0f056a916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:01,069 - DEBUG - Created port 9563e1dc-6541-4f93-8634-59c6a63487dc 2025-07-22 13:49:01,174 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9563e1dc-6541-4f93-8634-59c6a63487dc 2025-07-22 13:49:01,480 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9563e1dc-6541-4f93-8634-59c6a63487dc 2025-07-22 13:49:01,519 - INFO - VMI 9563e1dc-6541-4f93-8634-59c6a63487dc verification in API Server passed 2025-07-22 13:49:01,613 - DEBUG - Response for delete_port : () 2025-07-22 13:49:01,613 - INFO - Deleted port 9563e1dc-6541-4f93-8634-59c6a63487dc 2025-07-22 13:49:01,613 - INFO - Deleting VN ctest-vn-27489879 2025-07-22 13:49:01,742 - DEBUG - Response for deleting network () 2025-07-22 13:49:01,997 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 13:49:01,998 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-22 13:49:01,998 - INFO - -------------------------------------------------------------------------------- 2025-07-22 13:49:02,001 - INFO - ================================================================================ 2025-07-22 13:49:02,001 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 13:49:02,001 - 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-07-22 13:49:02,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-22 13:49:02,284 - INFO - Initial checks done. Running the testcase now 2025-07-22 13:49:02,284 - INFO - 2025-07-22 13:49:02,476 - DEBUG - Response for create_network : {'network': {'id': '6de24527-e0b2-4669-826e-4e4340de3461', 'name': 'ctest-vn1-85434491', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'project_id': '5fbdaf3ec0c5498c96398c97919adc49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86230949', 'ctest-vn1-85434491'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:49:02,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c056ff12-240d-4891-bcd0-3e1419ce1e6d', 'name': '', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '6de24527-e0b2-4669-826e-4e4340de3461', 'ip_version': 4, 'cidr': '11.8.34.192/26', 'allocation_pools': [{'start': '11.8.34.194', 'end': '11.8.34.254'}], 'gateway_ip': '11.8.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.8.34.194', 'tags': [], 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:02,901 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bbeca60-1ada-4898-8025-ae53cdb3dd81', 'name': '', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '6de24527-e0b2-4669-826e-4e4340de3461', 'ip_version': 4, 'cidr': '206.5.147.64/26', 'allocation_pools': [{'start': '206.5.147.66', 'end': '206.5.147.126'}], 'gateway_ip': '206.5.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.5.147.66', 'tags': [], 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:02,922 - INFO - Created VN ctest-vn1-85434491 2025-07-22 13:49:02,975 - DEBUG - VN ctest-vn1-85434491 UUID is 6de24527-e0b2-4669-826e-4e4340de3461 2025-07-22 13:49:03,298 - DEBUG - Response for create_port : {'port': {'name': '72756302-7901-42a6-93af-ef1c86b835d2', 'id': '72756302-7901-42a6-93af-ef1c86b835d2', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '6de24527-e0b2-4669-826e-4e4340de3461', 'mac_address': '02:72:75:63:02:79', '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': '11.8.34.197', 'subnet_id': 'c056ff12-240d-4891-bcd0-3e1419ce1e6d'}], 'security_groups': ['5c9ae44b-e5e0-4b9a-b9ae-cbe0f056a916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:03,482 - DEBUG - Response for create_port : {'port': {'name': 'd2f1e6cb-481d-4e00-a677-6cd02e2b491e', 'id': 'd2f1e6cb-481d-4e00-a677-6cd02e2b491e', 'tenant_id': '5fbdaf3ec0c5498c96398c97919adc49', 'network_id': '6de24527-e0b2-4669-826e-4e4340de3461', 'mac_address': '02:d2:f1:e6:cb:48', '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': '206.5.147.69', 'subnet_id': '7bbeca60-1ada-4898-8025-ae53cdb3dd81'}], 'security_groups': ['5c9ae44b-e5e0-4b9a-b9ae-cbe0f056a916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5fbdaf3ec0c5498c96398c97919adc49'}} 2025-07-22 13:49:03,550 - DEBUG - Services list from nova: [, , ] 2025-07-22 13:49:03,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:49:04,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:49:04,332 - INFO - Waiting for VM ctest-vn1-vm1-78081772 to be up.. 2025-07-22 13:49:04,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 13:49:09,464 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:49:09,464 - INFO - VM name : ctest-vn1-vm1-78081772 2025-07-22 13:49:09,539 - DEBUG - VM ctest-vn1-vm1-78081772 ID is 3e5baa14-ff16-4987-acc5-60866dea2dcd 2025-07-22 13:49:09,564 - DEBUG - VM ctest-vn1-vm1-78081772 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:49:09,639 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/3e5baa14-ff16-4987-acc5-60866dea2dcd 2025-07-22 13:49:09,649 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/72756302-7901-42a6-93af-ef1c86b835d2 2025-07-22 13:49:12,910 - 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 1009ms') 2025-07-22 13:49:12,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78081772 failed! 2025-07-22 13:49:12,967 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86230949:ctest-vn1-85434491 is 11.8.34.193 and allocation pool is NOT set 2025-07-22 13:49:12,967 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86230949:ctest-vn1-85434491 is 206.5.147.65 and allocation pool is NOT set 2025-07-22 13:49:15,030 - 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=12.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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.097/7.229/12.362/5.132 ms') 2025-07-22 13:49:15,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78081772 passed 2025-07-22 13:49:15,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:15,183 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78081772, IP 11.8.34.197, Port 22 2025-07-22 13:49:15,249 - 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-07-22 13:49:15,335 - DEBUG - VM ctest-vn1-vm1-78081772 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 13:49:20,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:20,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78081772, IP 11.8.34.197, Port 22 2025-07-22 13:49:20,494 - DEBUG - VM ctest-vn1-vm1-78081772 is ready for SSH connections 2025-07-22 13:49:20,494 - INFO - Waiting for VM ctest-vn1-vm2-78331146 to be up.. 2025-07-22 13:49:20,572 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:49:20,572 - INFO - VM name : ctest-vn1-vm2-78331146 2025-07-22 13:49:20,642 - DEBUG - VM ctest-vn1-vm2-78331146 ID is 5534e63b-82a4-46ee-aab9-83ecb636f40c 2025-07-22 13:49:20,642 - DEBUG - VM ctest-vn1-vm2-78331146 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:49:20,719 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/5534e63b-82a4-46ee-aab9-83ecb636f40c 2025-07-22 13:49:20,728 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d2f1e6cb-481d-4e00-a677-6cd02e2b491e 2025-07-22 13:49:21,971 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.736/3.003/1.267 ms') 2025-07-22 13:49:21,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78331146 passed 2025-07-22 13:49:22,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:22,127 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78331146, IP 206.5.147.69, Port 22 2025-07-22 13:49:22,286 - DEBUG - VM ctest-vn1-vm2-78331146 is ready for SSH connections 2025-07-22 13:49:22,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:22,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:22,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:22,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.8.34.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:49:22,287 - DEBUG - ping -s 56 -c 3 -W 1 11.8.34.197 2025-07-22 13:49:24,962 - DEBUG - PING 11.8.34.197 (11.8.34.197): 56 data bytes 64 bytes from 11.8.34.197: seq=0 ttl=63 time=4.777 ms 64 bytes from 11.8.34.197: seq=1 ttl=63 time=0.842 ms 64 bytes from 11.8.34.197: seq=2 ttl=63 time=0.911 ms --- 11.8.34.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.176/4.777 ms 2025-07-22 13:49:24,962 - INFO - Ping to IP 11.8.34.197 from VM ctest-vn1-vm2-78331146 passed 2025-07-22 13:49:24,962 - INFO - Detaching port d2f1e6cb-481d-4e00-a677-6cd02e2b491e from VM ctest-vn1-vm2-78331146 2025-07-22 13:49:25,013 - INFO - Deleting VM ctest-vn1-vm2-78331146 2025-07-22 13:49:25,084 - INFO - Detaching port 72756302-7901-42a6-93af-ef1c86b835d2 from VM ctest-vn1-vm1-78081772 2025-07-22 13:49:25,120 - INFO - Deleting VM ctest-vn1-vm1-78081772 2025-07-22 13:49:25,373 - DEBUG - Response for delete_port : () 2025-07-22 13:49:25,543 - DEBUG - Response for delete_port : () 2025-07-22 13:49:25,543 - INFO - Deleting VN ctest-vn1-85434491 2025-07-22 13:49:25,681 - DEBUG - Response for deleting network () 2025-07-22 13:49:25,937 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 13:49:25,937 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-07-22 13:49:25,937 - INFO - -------------------------------------------------------------------------------- 2025-07-22 13:49:26,656 - INFO - Deleted project: ctest-TestPorts-86230949, ID : 5fbdaf3e-c0c5-498c-9639-8c97919adc49