2025-09-16 20:11:54,795 - INFO - Domain Default found not creating 2025-09-16 20:11:54,925 - INFO - Project ctest-TestPorts-08079116 not found, creating it 2025-09-16 20:11:55,350 - INFO - Created Project:ctest-TestPorts-08079116, ID : 7b394441-d5fa-49d6-87a9-1bbd3ae3ae0c 2025-09-16 20:11:56,780 - INFO - ================================================================================ 2025-09-16 20:11:56,781 - INFO - STARTING TEST : test_ports_bindings 2025-09-16 20:11:56,781 - 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-09-16 20:11:57,033 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-16 20:11:57,033 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:11:57,033 - INFO - 2025-09-16 20:11:57,560 - DEBUG - Response for create_network : {'network': {'id': '7e22cff7-e7fa-4126-b53b-8a3c2b93a1f9', 'name': 'ctest-vn-27256357', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08079116', 'ctest-vn-27256357'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:11:57,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '50e74dd5-c693-4f79-b1b1-5e76aed220cc', 'name': '', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '7e22cff7-e7fa-4126-b53b-8a3c2b93a1f9', 'ip_version': 4, 'cidr': '131.212.186.128/26', 'allocation_pools': [{'start': '131.212.186.130', 'end': '131.212.186.190'}], 'gateway_ip': '131.212.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.212.186.130', 'tags': [], 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:11:57,739 - INFO - Created VN ctest-vn-27256357 2025-09-16 20:11:57,792 - DEBUG - VN ctest-vn-27256357 UUID is 7e22cff7-e7fa-4126-b53b-8a3c2b93a1f9 2025-09-16 20:11:57,892 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08079116', 'ctest-vmi-22171155']} 2025-09-16 20:11:58,182 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22171155', 'id': 'fdc283fb-a368-4b23-912c-c7882d73b61a', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '7e22cff7-e7fa-4126-b53b-8a3c2b93a1f9', 'mac_address': '02:fd:c2:83:fb:a3', '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': '131.212.186.131', 'subnet_id': '50e74dd5-c693-4f79-b1b1-5e76aed220cc'}], 'security_groups': ['e5af301c-eec0-48b7-8aae-4f8f85018b25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:11:58,182 - DEBUG - Created port fdc283fb-a368-4b23-912c-c7882d73b61a 2025-09-16 20:11:58,284 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fdc283fb-a368-4b23-912c-c7882d73b61a 2025-09-16 20:11:58,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fdc283fb-a368-4b23-912c-c7882d73b61a 2025-09-16 20:11:58,605 - INFO - VMI fdc283fb-a368-4b23-912c-c7882d73b61a verification in API Server passed 2025-09-16 20:11:58,687 - DEBUG - Response for delete_port : () 2025-09-16 20:11:58,687 - INFO - Deleted port fdc283fb-a368-4b23-912c-c7882d73b61a 2025-09-16 20:11:58,687 - INFO - Deleting VN ctest-vn-27256357 2025-09-16 20:11:58,788 - DEBUG - Response for deleting network () 2025-09-16 20:11:59,040 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 20:11:59,040 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-16 20:11:59,040 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:11:59,042 - INFO - ================================================================================ 2025-09-16 20:11:59,042 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-16 20:11:59,042 - 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-09-16 20:11:59,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-16 20:11:59,328 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:11:59,328 - INFO - 2025-09-16 20:11:59,485 - DEBUG - Response for create_network : {'network': {'id': '79aae72e-acb9-4254-a7d1-f35061fe3647', 'name': 'ctest-vn1-61444780', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08079116', 'ctest-vn1-61444780'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:11:59,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e35a60e-c96c-4a4b-b009-a1d80c998b0a', 'name': '', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '79aae72e-acb9-4254-a7d1-f35061fe3647', 'ip_version': 4, 'cidr': '155.39.220.128/26', 'allocation_pools': [{'start': '155.39.220.130', 'end': '155.39.220.190'}], 'gateway_ip': '155.39.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.39.220.130', 'tags': [], 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:11:59,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd411b3c1-3364-4aeb-9763-17d252c57971', 'name': '', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '79aae72e-acb9-4254-a7d1-f35061fe3647', 'ip_version': 4, 'cidr': '25.128.248.128/26', 'allocation_pools': [{'start': '25.128.248.130', 'end': '25.128.248.190'}], 'gateway_ip': '25.128.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.128.248.130', 'tags': [], 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:11:59,816 - INFO - Created VN ctest-vn1-61444780 2025-09-16 20:11:59,868 - DEBUG - VN ctest-vn1-61444780 UUID is 79aae72e-acb9-4254-a7d1-f35061fe3647 2025-09-16 20:12:00,138 - DEBUG - Response for create_port : {'port': {'name': '513247f9-e3f8-4bb6-8ab6-d480d6e69a71', 'id': '513247f9-e3f8-4bb6-8ab6-d480d6e69a71', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '79aae72e-acb9-4254-a7d1-f35061fe3647', 'mac_address': '02:51:32:47:f9:e3', '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': '155.39.220.133', 'subnet_id': '7e35a60e-c96c-4a4b-b009-a1d80c998b0a'}], 'security_groups': ['e5af301c-eec0-48b7-8aae-4f8f85018b25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:12:00,288 - DEBUG - Response for create_port : {'port': {'name': 'ed3bef1a-9dc6-4375-953f-aab44515841a', 'id': 'ed3bef1a-9dc6-4375-953f-aab44515841a', 'tenant_id': '7b394441d5fa49d687a91bbd3ae3ae0c', 'network_id': '79aae72e-acb9-4254-a7d1-f35061fe3647', 'mac_address': '02:ed:3b:ef:1a:9d', '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': '25.128.248.133', 'subnet_id': 'd411b3c1-3364-4aeb-9763-17d252c57971'}], 'security_groups': ['e5af301c-eec0-48b7-8aae-4f8f85018b25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b394441d5fa49d687a91bbd3ae3ae0c'}} 2025-09-16 20:12:00,338 - DEBUG - Services list from nova: [, , ] 2025-09-16 20:12:00,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1) 2025-09-16 20:12:01,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1) 2025-09-16 20:12:01,020 - INFO - Waiting for VM ctest-vn1-vm1-33659841 to be up.. 2025-09-16 20:12:01,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 20:12:06,137 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:12:06,138 - INFO - VM name : ctest-vn1-vm1-33659841 2025-09-16 20:12:06,224 - DEBUG - VM ctest-vn1-vm1-33659841 ID is fe29dc76-462a-4d56-80d2-02e19197f1ed 2025-09-16 20:12:06,242 - DEBUG - VM ctest-vn1-vm1-33659841 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1 2025-09-16 20:12:06,340 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fe29dc76-462a-4d56-80d2-02e19197f1ed 2025-09-16 20:12:06,348 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/513247f9-e3f8-4bb6-8ab6-d480d6e69a71 2025-09-16 20:12:09,586 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-09-16 20:12:09,586 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-33659841 failed! 2025-09-16 20:12:09,640 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08079116:ctest-vn1-61444780 is 155.39.220.129 and allocation pool is NOT set 2025-09-16 20:12:09,640 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08079116:ctest-vn1-61444780 is 25.128.248.129 and allocation pool is NOT set 2025-09-16 20:12:11,705 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.744 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.744/2.463/4.183/1.719 ms') 2025-09-16 20:12:11,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-33659841 passed 2025-09-16 20:12:11,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:11,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33659841, IP 155.39.220.133, Port 22 2025-09-16 20:12:11,917 - 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-09-16 20:12:11,998 - DEBUG - VM ctest-vn1-vm1-33659841 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-16 20:12:16,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:16,998 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33659841, IP 155.39.220.133, Port 22 2025-09-16 20:12:17,160 - DEBUG - VM ctest-vn1-vm1-33659841 is ready for SSH connections 2025-09-16 20:12:17,160 - INFO - Waiting for VM ctest-vn1-vm2-91241685 to be up.. 2025-09-16 20:12:17,228 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:12:17,229 - INFO - VM name : ctest-vn1-vm2-91241685 2025-09-16 20:12:17,296 - DEBUG - VM ctest-vn1-vm2-91241685 ID is c7ef1816-3e1b-42ed-8271-16bde62a5e7e 2025-09-16 20:12:17,296 - DEBUG - VM ctest-vn1-vm2-91241685 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1 2025-09-16 20:12:17,361 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c7ef1816-3e1b-42ed-8271-16bde62a5e7e 2025-09-16 20:12:17,367 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ed3bef1a-9dc6-4375-953f-aab44515841a 2025-09-16 20:12:18,594 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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 = 0.363/1.618/2.874/1.255 ms') 2025-09-16 20:12:18,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-91241685 passed 2025-09-16 20:12:18,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:18,744 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91241685, IP 25.128.248.133, Port 22 2025-09-16 20:12:18,895 - DEBUG - VM ctest-vn1-vm2-91241685 is ready for SSH connections 2025-09-16 20:12:18,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:18,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:18,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:12:18,895 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.39.220.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 20:12:18,895 - DEBUG - ping -s 56 -c 3 -W 1 155.39.220.133 2025-09-16 20:12:22,911 - DEBUG - PING 155.39.220.133 (155.39.220.133): 56 data bytes 64 bytes from 155.39.220.133: seq=0 ttl=63 time=4.089 ms 64 bytes from 155.39.220.133: seq=1 ttl=63 time=1.026 ms 64 bytes from 155.39.220.133: seq=2 ttl=63 time=0.784 ms --- 155.39.220.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.966/4.089 ms 2025-09-16 20:12:22,911 - INFO - Ping to IP 155.39.220.133 from VM ctest-vn1-vm2-91241685 passed 2025-09-16 20:12:22,911 - INFO - Detaching port ed3bef1a-9dc6-4375-953f-aab44515841a from VM ctest-vn1-vm2-91241685 2025-09-16 20:12:22,957 - INFO - Deleting VM ctest-vn1-vm2-91241685 2025-09-16 20:12:23,016 - INFO - Detaching port 513247f9-e3f8-4bb6-8ab6-d480d6e69a71 from VM ctest-vn1-vm1-33659841 2025-09-16 20:12:23,047 - INFO - Deleting VM ctest-vn1-vm1-33659841 2025-09-16 20:12:23,265 - DEBUG - Response for delete_port : () 2025-09-16 20:12:23,417 - DEBUG - Response for delete_port : () 2025-09-16 20:12:23,417 - INFO - Deleting VN ctest-vn1-61444780 2025-09-16 20:12:23,540 - DEBUG - Response for deleting network () 2025-09-16 20:12:23,793 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 20:12:23,793 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-16 20:12:23,794 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:12:24,474 - INFO - Deleted project: ctest-TestPorts-08079116, ID : 7b394441-d5fa-49d6-87a9-1bbd3ae3ae0c