2025-11-13 12:45:44,779 - INFO - Domain Default found not creating 2025-11-13 12:45:44,925 - INFO - Project ctest-TestPorts-14245183 not found, creating it 2025-11-13 12:45:45,359 - INFO - Created Project:ctest-TestPorts-14245183, ID : ea7a6091-84e5-479b-a33a-b93025ac75c3 2025-11-13 12:45:46,762 - INFO - ================================================================================ 2025-11-13 12:45:46,763 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 12:45:46,763 - 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-11-13 12:45:47,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 12:45:47,015 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:45:47,015 - INFO - 2025-11-13 12:45:47,612 - DEBUG - Response for create_network : {'network': {'id': 'e557edc3-3c73-420a-bb96-73f9af04a192', 'name': 'ctest-vn-66361252', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'project_id': 'ea7a609184e5479ba33ab93025ac75c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14245183', 'ctest-vn-66361252'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:45:47,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2de1483-348f-49df-8fa3-7d4d60609dd1', 'name': '', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'e557edc3-3c73-420a-bb96-73f9af04a192', 'ip_version': 4, 'cidr': '84.75.176.128/26', 'allocation_pools': [{'start': '84.75.176.130', 'end': '84.75.176.190'}], 'gateway_ip': '84.75.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.75.176.130', 'tags': [], 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:47,801 - INFO - Created VN ctest-vn-66361252 2025-11-13 12:45:47,854 - DEBUG - VN ctest-vn-66361252 UUID is e557edc3-3c73-420a-bb96-73f9af04a192 2025-11-13 12:45:47,960 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14245183', 'ctest-vmi-90546903']} 2025-11-13 12:45:48,239 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90546903', 'id': 'c4fbd7f2-bfd9-4426-bb51-41562715e525', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'e557edc3-3c73-420a-bb96-73f9af04a192', 'mac_address': '02:c4:fb:d7:f2:bf', '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': '84.75.176.131', 'subnet_id': 'a2de1483-348f-49df-8fa3-7d4d60609dd1'}], 'security_groups': ['a1cfceb4-a7c2-4064-a9a7-8fe7eb5a5739'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:48,239 - DEBUG - Created port c4fbd7f2-bfd9-4426-bb51-41562715e525 2025-11-13 12:45:48,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4fbd7f2-bfd9-4426-bb51-41562715e525 2025-11-13 12:45:48,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4fbd7f2-bfd9-4426-bb51-41562715e525 2025-11-13 12:45:48,669 - INFO - VMI c4fbd7f2-bfd9-4426-bb51-41562715e525 verification in API Server passed 2025-11-13 12:45:48,757 - DEBUG - Response for delete_port : () 2025-11-13 12:45:48,758 - INFO - Deleted port c4fbd7f2-bfd9-4426-bb51-41562715e525 2025-11-13 12:45:48,758 - INFO - Deleting VN ctest-vn-66361252 2025-11-13 12:45:48,860 - DEBUG - Response for deleting network () 2025-11-13 12:45:49,119 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:45:49,119 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-13 12:45:49,119 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:45:49,121 - INFO - ================================================================================ 2025-11-13 12:45:49,121 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 12:45:49,121 - 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-11-13 12:45:49,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 12:45:49,408 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:45:49,408 - INFO - 2025-11-13 12:45:49,589 - DEBUG - Response for create_network : {'network': {'id': 'cd8db211-8701-42e7-b739-a5bb0b193d0e', 'name': 'ctest-vn1-93952827', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'project_id': 'ea7a609184e5479ba33ab93025ac75c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14245183', 'ctest-vn1-93952827'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:45:49,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '13b2827b-180a-407c-b289-2b6b5b7d77e7', 'name': '', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'cd8db211-8701-42e7-b739-a5bb0b193d0e', 'ip_version': 4, 'cidr': '176.126.155.0/26', 'allocation_pools': [{'start': '176.126.155.2', 'end': '176.126.155.62'}], 'gateway_ip': '176.126.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.126.155.2', 'tags': [], 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:50,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '8afe15d9-3823-4ec7-9e3b-37df8f096e4d', 'name': '', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'cd8db211-8701-42e7-b739-a5bb0b193d0e', 'ip_version': 4, 'cidr': '152.14.149.128/26', 'allocation_pools': [{'start': '152.14.149.130', 'end': '152.14.149.190'}], 'gateway_ip': '152.14.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.14.149.130', 'tags': [], 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:50,019 - INFO - Created VN ctest-vn1-93952827 2025-11-13 12:45:50,070 - DEBUG - VN ctest-vn1-93952827 UUID is cd8db211-8701-42e7-b739-a5bb0b193d0e 2025-11-13 12:45:50,366 - DEBUG - Response for create_port : {'port': {'name': 'd63fed74-ad17-4e23-a44d-755fe3e3ea0a', 'id': 'd63fed74-ad17-4e23-a44d-755fe3e3ea0a', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'cd8db211-8701-42e7-b739-a5bb0b193d0e', 'mac_address': '02:d6:3f:ed:74:ad', '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': '176.126.155.5', 'subnet_id': '13b2827b-180a-407c-b289-2b6b5b7d77e7'}], 'security_groups': ['a1cfceb4-a7c2-4064-a9a7-8fe7eb5a5739'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:50,526 - DEBUG - Response for create_port : {'port': {'name': 'f405be9d-569a-4082-bab3-b4aadebb5dd9', 'id': 'f405be9d-569a-4082-bab3-b4aadebb5dd9', 'tenant_id': 'ea7a609184e5479ba33ab93025ac75c3', 'network_id': 'cd8db211-8701-42e7-b739-a5bb0b193d0e', 'mac_address': '02:f4:05:be:9d:56', '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': '152.14.149.133', 'subnet_id': '8afe15d9-3823-4ec7-9e3b-37df8f096e4d'}], 'security_groups': ['a1cfceb4-a7c2-4064-a9a7-8fe7eb5a5739'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea7a609184e5479ba33ab93025ac75c3'}} 2025-11-13 12:45:50,590 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:45:50,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:45:51,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4721-1) 2025-11-13 12:45:51,348 - INFO - Waiting for VM ctest-vn1-vm1-04293367 to be up.. 2025-11-13 12:45:51,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:45:56,469 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:45:56,469 - INFO - VM name : ctest-vn1-vm1-04293367 2025-11-13 12:45:56,550 - DEBUG - VM ctest-vn1-vm1-04293367 ID is 32152066-011d-4ebc-ae75-7edb8da356e5 2025-11-13 12:45:56,573 - DEBUG - VM ctest-vn1-vm1-04293367 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:45:56,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/32152066-011d-4ebc-ae75-7edb8da356e5 2025-11-13 12:45:56,657 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d63fed74-ad17-4e23-a44d-755fe3e3ea0a 2025-11-13 12:45:59,906 - 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 1011ms') 2025-11-13 12:45:59,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04293367 failed! 2025-11-13 12:45:59,958 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14245183:ctest-vn1-93952827 is 176.126.155.1 and allocation pool is NOT set 2025-11-13 12:45:59,958 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14245183:ctest-vn1-93952827 is 152.14.149.129 and allocation pool is NOT set 2025-11-13 12:46:02,035 - 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=9.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.65 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 = 2.653/6.278/9.903/3.625 ms') 2025-11-13 12:46:02,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04293367 passed 2025-11-13 12:46:02,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:02,182 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04293367, IP 176.126.155.5, Port 22 2025-11-13 12:46:02,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-11-13 12:46:02,322 - DEBUG - VM ctest-vn1-vm1-04293367 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 12:46:07,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:07,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04293367, IP 176.126.155.5, Port 22 2025-11-13 12:46:07,488 - DEBUG - VM ctest-vn1-vm1-04293367 is ready for SSH connections 2025-11-13 12:46:07,489 - INFO - Waiting for VM ctest-vn1-vm2-45599271 to be up.. 2025-11-13 12:46:07,560 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:46:07,560 - INFO - VM name : ctest-vn1-vm2-45599271 2025-11-13 12:46:07,767 - DEBUG - VM ctest-vn1-vm2-45599271 ID is c2002df4-3a7f-47c3-a188-3c55bae7107b 2025-11-13 12:46:07,767 - DEBUG - VM ctest-vn1-vm2-45599271 launched on Node cn-jenkins-deploy-platform-ansible-os-4721-1 2025-11-13 12:46:07,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c2002df4-3a7f-47c3-a188-3c55bae7107b 2025-11-13 12:46:07,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f405be9d-569a-4082-bab3-b4aadebb5dd9 2025-11-13 12:46:09,078 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.752/3.081/1.328 ms') 2025-11-13 12:46:09,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45599271 passed 2025-11-13 12:46:09,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:09,226 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45599271, IP 152.14.149.133, Port 22 2025-11-13 12:46:09,377 - DEBUG - VM ctest-vn1-vm2-45599271 is ready for SSH connections 2025-11-13 12:46:09,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:09,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:09,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:46:09,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.126.155.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 12:46:09,378 - DEBUG - ping -s 56 -c 3 -W 1 176.126.155.5 2025-11-13 12:46:12,507 - DEBUG - PING 176.126.155.5 (176.126.155.5): 56 data bytes 64 bytes from 176.126.155.5: seq=0 ttl=63 time=4.126 ms 64 bytes from 176.126.155.5: seq=1 ttl=63 time=1.434 ms 64 bytes from 176.126.155.5: seq=2 ttl=63 time=1.244 ms --- 176.126.155.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.244/2.268/4.126 ms 2025-11-13 12:46:12,508 - INFO - Ping to IP 176.126.155.5 from VM ctest-vn1-vm2-45599271 passed 2025-11-13 12:46:12,508 - INFO - Detaching port f405be9d-569a-4082-bab3-b4aadebb5dd9 from VM ctest-vn1-vm2-45599271 2025-11-13 12:46:12,560 - INFO - Deleting VM ctest-vn1-vm2-45599271 2025-11-13 12:46:12,633 - INFO - Detaching port d63fed74-ad17-4e23-a44d-755fe3e3ea0a from VM ctest-vn1-vm1-04293367 2025-11-13 12:46:12,683 - INFO - Deleting VM ctest-vn1-vm1-04293367 2025-11-13 12:46:12,903 - DEBUG - Response for delete_port : () 2025-11-13 12:46:13,047 - DEBUG - Response for delete_port : () 2025-11-13 12:46:13,047 - INFO - Deleting VN ctest-vn1-93952827 2025-11-13 12:46:13,170 - DEBUG - Response for deleting network () 2025-11-13 12:46:13,423 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:46:13,423 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-13 12:46:13,423 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:46:14,097 - INFO - Deleted project: ctest-TestPorts-14245183, ID : ea7a6091-84e5-479b-a33a-b93025ac75c3