2025-08-25 15:26:32,684 - INFO - Domain Default found not creating 2025-08-25 15:26:32,818 - INFO - Project ctest-TestPorts-57744673 not found, creating it 2025-08-25 15:26:33,265 - INFO - Created Project:ctest-TestPorts-57744673, ID : 06af9fc3-26fc-4416-a493-856ae8461fdb 2025-08-25 15:26:34,631 - INFO - ================================================================================ 2025-08-25 15:26:34,631 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 15:26:34,631 - 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-25 15:26:34,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 15:26:34,896 - INFO - Initial checks done. Running the testcase now 2025-08-25 15:26:34,896 - INFO - 2025-08-25 15:26:35,460 - DEBUG - Response for create_network : {'network': {'id': 'c620daa7-f4db-4ee9-ae46-5f5bb2eef650', 'name': 'ctest-vn-69620200', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'project_id': '06af9fc326fc4416a493856ae8461fdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57744673', 'ctest-vn-69620200'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:26:35,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5502aa0-a6b9-43f6-bed9-38b669ac12f7', 'name': '', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': 'c620daa7-f4db-4ee9-ae46-5f5bb2eef650', 'ip_version': 4, 'cidr': '182.95.52.0/26', 'allocation_pools': [{'start': '182.95.52.2', 'end': '182.95.52.62'}], 'gateway_ip': '182.95.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.95.52.2', 'tags': [], 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:35,700 - INFO - Created VN ctest-vn-69620200 2025-08-25 15:26:35,754 - DEBUG - VN ctest-vn-69620200 UUID is c620daa7-f4db-4ee9-ae46-5f5bb2eef650 2025-08-25 15:26:35,858 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57744673', 'ctest-vmi-23856565']} 2025-08-25 15:26:36,163 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23856565', 'id': '0f799646-83e0-4047-a478-77f8def07c84', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': 'c620daa7-f4db-4ee9-ae46-5f5bb2eef650', 'mac_address': '02:0f:79:96:46:83', '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': '182.95.52.3', 'subnet_id': 'b5502aa0-a6b9-43f6-bed9-38b669ac12f7'}], 'security_groups': ['77aaeb2d-e098-4599-8e1e-a59266d4b69d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:36,163 - DEBUG - Created port 0f799646-83e0-4047-a478-77f8def07c84 2025-08-25 15:26:36,270 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0f799646-83e0-4047-a478-77f8def07c84 2025-08-25 15:26:36,560 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0f799646-83e0-4047-a478-77f8def07c84 2025-08-25 15:26:36,591 - INFO - VMI 0f799646-83e0-4047-a478-77f8def07c84 verification in API Server passed 2025-08-25 15:26:36,682 - DEBUG - Response for delete_port : () 2025-08-25 15:26:36,682 - INFO - Deleted port 0f799646-83e0-4047-a478-77f8def07c84 2025-08-25 15:26:36,682 - INFO - Deleting VN ctest-vn-69620200 2025-08-25 15:26:36,800 - DEBUG - Response for deleting network () 2025-08-25 15:26:37,064 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 15:26:37,064 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-25 15:26:37,064 - INFO - -------------------------------------------------------------------------------- 2025-08-25 15:26:37,066 - INFO - ================================================================================ 2025-08-25 15:26:37,066 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 15:26:37,067 - 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-25 15:26:37,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 15:26:37,352 - INFO - Initial checks done. Running the testcase now 2025-08-25 15:26:37,352 - INFO - 2025-08-25 15:26:37,548 - DEBUG - Response for create_network : {'network': {'id': '53da79fd-c951-4086-9761-e647ae9cc4b0', 'name': 'ctest-vn1-42351602', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'project_id': '06af9fc326fc4416a493856ae8461fdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57744673', 'ctest-vn1-42351602'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 15:26:37,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '075c0f39-a143-45ca-8e2e-6d23a7086633', 'name': '', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': '53da79fd-c951-4086-9761-e647ae9cc4b0', 'ip_version': 4, 'cidr': '55.96.78.128/26', 'allocation_pools': [{'start': '55.96.78.130', 'end': '55.96.78.190'}], 'gateway_ip': '55.96.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.96.78.130', 'tags': [], 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:37,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '599eabe9-5c0e-47ae-99b4-332942ff60e3', 'name': '', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': '53da79fd-c951-4086-9761-e647ae9cc4b0', 'ip_version': 4, 'cidr': '20.8.4.128/26', 'allocation_pools': [{'start': '20.8.4.130', 'end': '20.8.4.190'}], 'gateway_ip': '20.8.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.8.4.130', 'tags': [], 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:38,012 - INFO - Created VN ctest-vn1-42351602 2025-08-25 15:26:38,066 - DEBUG - VN ctest-vn1-42351602 UUID is 53da79fd-c951-4086-9761-e647ae9cc4b0 2025-08-25 15:26:38,400 - DEBUG - Response for create_port : {'port': {'name': 'e3258e0e-7994-4fd4-80f0-6b4d81992140', 'id': 'e3258e0e-7994-4fd4-80f0-6b4d81992140', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': '53da79fd-c951-4086-9761-e647ae9cc4b0', 'mac_address': '02:e3:25:8e:0e: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': '55.96.78.133', 'subnet_id': '075c0f39-a143-45ca-8e2e-6d23a7086633'}], 'security_groups': ['77aaeb2d-e098-4599-8e1e-a59266d4b69d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:38,598 - DEBUG - Response for create_port : {'port': {'name': '1556f7ad-1cb0-4b53-a567-958cf66bf268', 'id': '1556f7ad-1cb0-4b53-a567-958cf66bf268', 'tenant_id': '06af9fc326fc4416a493856ae8461fdb', 'network_id': '53da79fd-c951-4086-9761-e647ae9cc4b0', 'mac_address': '02:15:56:f7:ad:1c', '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': '20.8.4.133', 'subnet_id': '599eabe9-5c0e-47ae-99b4-332942ff60e3'}], 'security_groups': ['77aaeb2d-e098-4599-8e1e-a59266d4b69d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06af9fc326fc4416a493856ae8461fdb'}} 2025-08-25 15:26:38,658 - DEBUG - Services list from nova: [, , ] 2025-08-25 15:26:38,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:26:39,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3924-1) 2025-08-25 15:26:39,402 - INFO - Waiting for VM ctest-vn1-vm1-70252429 to be up.. 2025-08-25 15:26:39,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 15:26:44,528 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:26:44,528 - INFO - VM name : ctest-vn1-vm1-70252429 2025-08-25 15:26:44,608 - DEBUG - VM ctest-vn1-vm1-70252429 ID is 800ba456-1888-4cc4-b487-7172094d9e19 2025-08-25 15:26:44,628 - DEBUG - VM ctest-vn1-vm1-70252429 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:26:44,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/800ba456-1888-4cc4-b487-7172094d9e19 2025-08-25 15:26:44,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e3258e0e-7994-4fd4-80f0-6b4d81992140 2025-08-25 15:26:48,013 - 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 1019ms') 2025-08-25 15:26:48,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70252429 failed! 2025-08-25 15:26:48,066 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57744673:ctest-vn1-42351602 is 55.96.78.129 and allocation pool is NOT set 2025-08-25 15:26:48,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57744673:ctest-vn1-42351602 is 20.8.4.129 and allocation pool is NOT set 2025-08-25 15:26:50,127 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.343/2.755/4.167/1.412 ms') 2025-08-25 15:26:50,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70252429 passed 2025-08-25 15:26:50,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:50,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70252429, IP 55.96.78.133, Port 22 2025-08-25 15:26:50,352 - 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-08-25 15:26:50,423 - DEBUG - VM ctest-vn1-vm1-70252429 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-25 15:26:55,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:55,424 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70252429, IP 55.96.78.133, Port 22 2025-08-25 15:26:55,578 - DEBUG - VM ctest-vn1-vm1-70252429 is ready for SSH connections 2025-08-25 15:26:55,578 - INFO - Waiting for VM ctest-vn1-vm2-66321474 to be up.. 2025-08-25 15:26:55,649 - DEBUG - VM is in ACTIVE state now 2025-08-25 15:26:55,649 - INFO - VM name : ctest-vn1-vm2-66321474 2025-08-25 15:26:55,723 - DEBUG - VM ctest-vn1-vm2-66321474 ID is 58c73662-2798-4246-a76e-5c86706f96a8 2025-08-25 15:26:55,723 - DEBUG - VM ctest-vn1-vm2-66321474 launched on Node cn-jenkins-deploy-platform-ansible-os-3924-1 2025-08-25 15:26:55,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/58c73662-2798-4246-a76e-5c86706f96a8 2025-08-25 15:26:55,801 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1556f7ad-1cb0-4b53-a567-958cf66bf268 2025-08-25 15:26:57,035 - 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=2.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.320 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.320/1.473/2.627/1.153 ms') 2025-08-25 15:26:57,035 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66321474 passed 2025-08-25 15:26:57,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:57,191 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66321474, IP 20.8.4.133, Port 22 2025-08-25 15:26:57,350 - DEBUG - VM ctest-vn1-vm2-66321474 is ready for SSH connections 2025-08-25 15:26:57,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:57,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:57,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 15:26:57,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.96.78.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 15:26:57,350 - DEBUG - ping -s 56 -c 3 -W 1 55.96.78.133 2025-08-25 15:26:59,988 - DEBUG - PING 55.96.78.133 (55.96.78.133): 56 data bytes 64 bytes from 55.96.78.133: seq=0 ttl=63 time=3.724 ms 64 bytes from 55.96.78.133: seq=1 ttl=63 time=0.896 ms 64 bytes from 55.96.78.133: seq=2 ttl=63 time=0.718 ms --- 55.96.78.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.779/3.724 ms 2025-08-25 15:26:59,988 - INFO - Ping to IP 55.96.78.133 from VM ctest-vn1-vm2-66321474 passed 2025-08-25 15:26:59,988 - INFO - Detaching port 1556f7ad-1cb0-4b53-a567-958cf66bf268 from VM ctest-vn1-vm2-66321474 2025-08-25 15:27:00,041 - INFO - Deleting VM ctest-vn1-vm2-66321474 2025-08-25 15:27:00,135 - INFO - Detaching port e3258e0e-7994-4fd4-80f0-6b4d81992140 from VM ctest-vn1-vm1-70252429 2025-08-25 15:27:00,167 - INFO - Deleting VM ctest-vn1-vm1-70252429 2025-08-25 15:27:00,418 - DEBUG - Response for delete_port : () 2025-08-25 15:27:00,610 - DEBUG - Response for delete_port : () 2025-08-25 15:27:00,610 - INFO - Deleting VN ctest-vn1-42351602 2025-08-25 15:27:00,768 - DEBUG - Response for deleting network () 2025-08-25 15:27:01,036 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 15:27:01,036 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-25 15:27:01,036 - INFO - -------------------------------------------------------------------------------- 2025-08-25 15:27:01,811 - INFO - Deleted project: ctest-TestPorts-57744673, ID : 06af9fc3-26fc-4416-a493-856ae8461fdb