2025-10-22 14:03:57,865 - INFO - Domain Default found not creating 2025-10-22 14:03:58,027 - INFO - Project ctest-TestPorts-08880997 not found, creating it 2025-10-22 14:03:58,508 - INFO - Created Project:ctest-TestPorts-08880997, ID : 722c895a-60e0-4fa7-ad34-4d1d82589bbe 2025-10-22 14:03:59,950 - INFO - ================================================================================ 2025-10-22 14:03:59,950 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 14:03:59,950 - 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-22 14:04:00,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 14:04:00,224 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:04:00,224 - INFO - 2025-10-22 14:04:00,768 - DEBUG - Response for create_network : {'network': {'id': '02c24dd9-df2a-405b-b2cb-a7f85eb261c0', 'name': 'ctest-vn-21396318', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'project_id': '722c895a60e04fa7ad344d1d82589bbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08880997', 'ctest-vn-21396318'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:04:01,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '84b8b47c-0fe7-4aab-bfa6-ea63894f1fec', 'name': '', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '02c24dd9-df2a-405b-b2cb-a7f85eb261c0', 'ip_version': 4, 'cidr': '97.50.149.128/26', 'allocation_pools': [{'start': '97.50.149.130', 'end': '97.50.149.190'}], 'gateway_ip': '97.50.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.50.149.130', 'tags': [], 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:01,042 - INFO - Created VN ctest-vn-21396318 2025-10-22 14:04:01,096 - DEBUG - VN ctest-vn-21396318 UUID is 02c24dd9-df2a-405b-b2cb-a7f85eb261c0 2025-10-22 14:04:01,206 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08880997', 'ctest-vmi-30192249']} 2025-10-22 14:04:01,453 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30192249', 'id': 'dde95351-0574-441b-b0f8-d6e565fb52d3', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '02c24dd9-df2a-405b-b2cb-a7f85eb261c0', 'mac_address': '02:dd:e9:53:51:05', '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': '97.50.149.131', 'subnet_id': '84b8b47c-0fe7-4aab-bfa6-ea63894f1fec'}], 'security_groups': ['ae4124d3-42ce-4f73-9fd3-8cda07ce0fc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:01,453 - DEBUG - Created port dde95351-0574-441b-b0f8-d6e565fb52d3 2025-10-22 14:04:01,556 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dde95351-0574-441b-b0f8-d6e565fb52d3 2025-10-22 14:04:01,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dde95351-0574-441b-b0f8-d6e565fb52d3 2025-10-22 14:04:01,888 - INFO - VMI dde95351-0574-441b-b0f8-d6e565fb52d3 verification in API Server passed 2025-10-22 14:04:01,991 - DEBUG - Response for delete_port : () 2025-10-22 14:04:01,991 - INFO - Deleted port dde95351-0574-441b-b0f8-d6e565fb52d3 2025-10-22 14:04:01,991 - INFO - Deleting VN ctest-vn-21396318 2025-10-22 14:04:02,107 - DEBUG - Response for deleting network () 2025-10-22 14:04:02,379 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:04:02,379 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 14:04:02,379 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:04:02,381 - INFO - ================================================================================ 2025-10-22 14:04:02,381 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 14:04:02,381 - 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-22 14:04:02,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 14:04:02,663 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:04:02,663 - INFO - 2025-10-22 14:04:02,837 - DEBUG - Response for create_network : {'network': {'id': '43fe14bb-e4d0-4959-bd1c-79bff16d8caf', 'name': 'ctest-vn1-37251700', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'project_id': '722c895a60e04fa7ad344d1d82589bbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08880997', 'ctest-vn1-37251700'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:04:03,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '2250b905-4b56-425f-b912-02a9151166fb', 'name': '', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '43fe14bb-e4d0-4959-bd1c-79bff16d8caf', 'ip_version': 4, 'cidr': '83.62.37.0/26', 'allocation_pools': [{'start': '83.62.37.2', 'end': '83.62.37.62'}], 'gateway_ip': '83.62.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.62.37.2', 'tags': [], 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:03,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b31de38-3689-4b34-9f8f-adb63ac9ed34', 'name': '', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '43fe14bb-e4d0-4959-bd1c-79bff16d8caf', 'ip_version': 4, 'cidr': '75.156.241.64/26', 'allocation_pools': [{'start': '75.156.241.66', 'end': '75.156.241.126'}], 'gateway_ip': '75.156.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.156.241.66', 'tags': [], 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:03,269 - INFO - Created VN ctest-vn1-37251700 2025-10-22 14:04:03,320 - DEBUG - VN ctest-vn1-37251700 UUID is 43fe14bb-e4d0-4959-bd1c-79bff16d8caf 2025-10-22 14:04:03,639 - DEBUG - Response for create_port : {'port': {'name': '842c78ad-c07c-44fa-b910-da8f99cbb35a', 'id': '842c78ad-c07c-44fa-b910-da8f99cbb35a', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '43fe14bb-e4d0-4959-bd1c-79bff16d8caf', 'mac_address': '02:84:2c:78:ad:c0', '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': '83.62.37.5', 'subnet_id': '2250b905-4b56-425f-b912-02a9151166fb'}], 'security_groups': ['ae4124d3-42ce-4f73-9fd3-8cda07ce0fc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:03,821 - DEBUG - Response for create_port : {'port': {'name': '709d8ed0-8854-4d0e-a5bb-1732e4917dc5', 'id': '709d8ed0-8854-4d0e-a5bb-1732e4917dc5', 'tenant_id': '722c895a60e04fa7ad344d1d82589bbe', 'network_id': '43fe14bb-e4d0-4959-bd1c-79bff16d8caf', 'mac_address': '02:70:9d:8e:d0:88', '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': '75.156.241.69', 'subnet_id': '3b31de38-3689-4b34-9f8f-adb63ac9ed34'}], 'security_groups': ['ae4124d3-42ce-4f73-9fd3-8cda07ce0fc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '722c895a60e04fa7ad344d1d82589bbe'}} 2025-10-22 14:04:03,881 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:04:04,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4430-1) 2025-10-22 14:04:04,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4430-1) 2025-10-22 14:04:04,800 - INFO - Waiting for VM ctest-vn1-vm1-80714939 to be up.. 2025-10-22 14:04:04,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:04:09,951 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:04:09,952 - INFO - VM name : ctest-vn1-vm1-80714939 2025-10-22 14:04:10,031 - DEBUG - VM ctest-vn1-vm1-80714939 ID is ebb75447-5d4e-4081-b8a1-9eebab7ac09e 2025-10-22 14:04:10,052 - DEBUG - VM ctest-vn1-vm1-80714939 launched on Node cn-jenkins-deploy-platform-ansible-os-4430-1 2025-10-22 14:04:10,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ebb75447-5d4e-4081-b8a1-9eebab7ac09e 2025-10-22 14:04:10,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/842c78ad-c07c-44fa-b910-da8f99cbb35a 2025-10-22 14:04:13,424 - 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 1029ms') 2025-10-22 14:04:13,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80714939 failed! 2025-10-22 14:04:13,480 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08880997:ctest-vn1-37251700 is 83.62.37.1 and allocation pool is NOT set 2025-10-22 14:04:13,480 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08880997:ctest-vn1-37251700 is 75.156.241.65 and allocation pool is NOT set 2025-10-22 14:04:15,545 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.83 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.829/3.755/4.682/0.926 ms') 2025-10-22 14:04:15,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80714939 passed 2025-10-22 14:04:15,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:15,697 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80714939, IP 83.62.37.5, Port 22 2025-10-22 14:04:15,762 - 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-22 14:04:15,838 - DEBUG - VM ctest-vn1-vm1-80714939 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 14:04:20,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:20,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80714939, IP 83.62.37.5, Port 22 2025-10-22 14:04:20,996 - DEBUG - VM ctest-vn1-vm1-80714939 is ready for SSH connections 2025-10-22 14:04:20,996 - INFO - Waiting for VM ctest-vn1-vm2-41610920 to be up.. 2025-10-22 14:04:21,075 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:04:21,075 - INFO - VM name : ctest-vn1-vm2-41610920 2025-10-22 14:04:21,153 - DEBUG - VM ctest-vn1-vm2-41610920 ID is 92dc1f1b-391c-4821-bb87-943921c5f18e 2025-10-22 14:04:21,153 - DEBUG - VM ctest-vn1-vm2-41610920 launched on Node cn-jenkins-deploy-platform-ansible-os-4430-1 2025-10-22 14:04:21,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92dc1f1b-391c-4821-bb87-943921c5f18e 2025-10-22 14:04:21,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/709d8ed0-8854-4d0e-a5bb-1732e4917dc5 2025-10-22 14:04:22,490 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/2.283/4.113/1.830 ms') 2025-10-22 14:04:22,490 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41610920 passed 2025-10-22 14:04:22,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:22,640 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41610920, IP 75.156.241.69, Port 22 2025-10-22 14:04:22,800 - DEBUG - VM ctest-vn1-vm2-41610920 is ready for SSH connections 2025-10-22 14:04:22,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:22,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:22,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:04:22,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.62.37.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 14:04:22,800 - DEBUG - ping -s 56 -c 3 -W 1 83.62.37.5 2025-10-22 14:04:25,528 - DEBUG - PING 83.62.37.5 (83.62.37.5): 56 data bytes 64 bytes from 83.62.37.5: seq=0 ttl=63 time=3.948 ms 64 bytes from 83.62.37.5: seq=1 ttl=63 time=1.439 ms 64 bytes from 83.62.37.5: seq=2 ttl=63 time=1.193 ms --- 83.62.37.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.193/2.193/3.948 ms 2025-10-22 14:04:25,528 - INFO - Ping to IP 83.62.37.5 from VM ctest-vn1-vm2-41610920 passed 2025-10-22 14:04:25,528 - INFO - Detaching port 709d8ed0-8854-4d0e-a5bb-1732e4917dc5 from VM ctest-vn1-vm2-41610920 2025-10-22 14:04:25,582 - INFO - Deleting VM ctest-vn1-vm2-41610920 2025-10-22 14:04:25,659 - INFO - Detaching port 842c78ad-c07c-44fa-b910-da8f99cbb35a from VM ctest-vn1-vm1-80714939 2025-10-22 14:04:25,699 - INFO - Deleting VM ctest-vn1-vm1-80714939 2025-10-22 14:04:25,974 - DEBUG - Response for delete_port : () 2025-10-22 14:04:26,178 - DEBUG - Response for delete_port : () 2025-10-22 14:04:26,178 - INFO - Deleting VN ctest-vn1-37251700 2025-10-22 14:04:26,337 - DEBUG - Response for deleting network () 2025-10-22 14:04:26,598 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:04:26,598 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 14:04:26,600 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:04:27,312 - INFO - Deleted project: ctest-TestPorts-08880997, ID : 722c895a-60e0-4fa7-ad34-4d1d82589bbe