2025-09-22 02:13:31,491 - INFO - Domain Default found not creating
2025-09-22 02:13:31,648 - INFO - Project ctest-TestPorts-53495209 not found, creating it
2025-09-22 02:13:32,216 - INFO - Created Project:ctest-TestPorts-53495209, ID : dbd3fb65-0acb-4f44-b410-e27a33a46185
2025-09-22 02:13:34,028 - INFO - ================================================================================
2025-09-22 02:13:34,028 - INFO - STARTING TEST : test_ports_bindings
2025-09-22 02:13:34,028 - 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-22 02:13:35,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.193': '0'}} with
2025-09-22 02:13:35,307 - INFO - Initial checks done. Running the testcase now
2025-09-22 02:13:35,307 - INFO -
2025-09-22 02:13:36,114 - DEBUG - Response for create_network : {'network': {'id': '0c6805e1-2994-40a9-b623-2c2873c4ba72', 'name': 'ctest-vn-36069492', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'project_id': 'dbd3fb650acb4f44b410e27a33a46185', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53495209', 'ctest-vn-36069492'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 02:13:36,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d81cf6b-0f26-4539-b2db-95188bc1c18b', 'name': '', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '0c6805e1-2994-40a9-b623-2c2873c4ba72', 'ip_version': 4, 'cidr': '6.57.128.128/26', 'allocation_pools': [{'start': '6.57.128.130', 'end': '6.57.128.190'}], 'gateway_ip': '6.57.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.57.128.130', 'tags': [], 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:36,406 - INFO - Created VN ctest-vn-36069492
2025-09-22 02:13:36,422 - DEBUG - VN ctest-vn-36069492 UUID is 0c6805e1-2994-40a9-b623-2c2873c4ba72
2025-09-22 02:13:36,500 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53495209', 'ctest-vmi-71640159']}
2025-09-22 02:13:36,802 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71640159', 'id': '71b93e67-b8f5-4dd3-8072-2e480ae62989', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '0c6805e1-2994-40a9-b623-2c2873c4ba72', 'mac_address': '02:71:b9:3e:67:b8', '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': '6.57.128.131', 'subnet_id': '9d81cf6b-0f26-4539-b2db-95188bc1c18b'}], 'security_groups': ['0696cb11-3eec-4309-a22f-b76d6020bd03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:36,802 - DEBUG - Created port 71b93e67-b8f5-4dd3-8072-2e480ae62989
2025-09-22 02:13:36,873 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/71b93e67-b8f5-4dd3-8072-2e480ae62989
2025-09-22 02:13:37,175 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/71b93e67-b8f5-4dd3-8072-2e480ae62989
2025-09-22 02:13:37,214 - INFO - VMI 71b93e67-b8f5-4dd3-8072-2e480ae62989 verification in API Server passed
2025-09-22 02:13:37,368 - DEBUG - Response for delete_port : ()
2025-09-22 02:13:37,368 - INFO - Deleted port 71b93e67-b8f5-4dd3-8072-2e480ae62989
2025-09-22 02:13:37,368 - INFO - Deleting VN ctest-vn-36069492
2025-09-22 02:13:37,531 - DEBUG - Response for deleting network ()
2025-09-22 02:13:38,814 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:13:38,814 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-09-22 02:13:38,814 - INFO - --------------------------------------------------------------------------------
2025-09-22 02:13:38,817 - INFO - ================================================================================
2025-09-22 02:13:38,817 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-22 02:13:38,817 - 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-22 02:13:40,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.193': '0'}} with
2025-09-22 02:13:40,087 - INFO - Initial checks done. Running the testcase now
2025-09-22 02:13:40,087 - INFO -
2025-09-22 02:13:40,392 - DEBUG - Response for create_network : {'network': {'id': '1934908e-1367-4985-9517-ad6a32af2ba9', 'name': 'ctest-vn1-13617156', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'project_id': 'dbd3fb650acb4f44b410e27a33a46185', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53495209', 'ctest-vn1-13617156'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 02:13:40,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ee40902-e5be-49c1-96e6-59253ab92d99', 'name': '', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '1934908e-1367-4985-9517-ad6a32af2ba9', 'ip_version': 4, 'cidr': '82.136.223.192/26', 'allocation_pools': [{'start': '82.136.223.194', 'end': '82.136.223.254'}], 'gateway_ip': '82.136.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.136.223.194', 'tags': [], 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:40,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d8f805-d734-4458-9a8b-4a5f0f7c75a3', 'name': '', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '1934908e-1367-4985-9517-ad6a32af2ba9', 'ip_version': 4, 'cidr': '76.215.209.128/26', 'allocation_pools': [{'start': '76.215.209.130', 'end': '76.215.209.190'}], 'gateway_ip': '76.215.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.215.209.130', 'tags': [], 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:40,962 - INFO - Created VN ctest-vn1-13617156
2025-09-22 02:13:40,972 - DEBUG - VN ctest-vn1-13617156 UUID is 1934908e-1367-4985-9517-ad6a32af2ba9
2025-09-22 02:13:41,356 - DEBUG - Response for create_port : {'port': {'name': '7d0b63a1-8619-4944-bc93-f4b7a4c6c55d', 'id': '7d0b63a1-8619-4944-bc93-f4b7a4c6c55d', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '1934908e-1367-4985-9517-ad6a32af2ba9', 'mac_address': '02:7d:0b:63:a1:86', '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': '82.136.223.197', 'subnet_id': '3ee40902-e5be-49c1-96e6-59253ab92d99'}], 'security_groups': ['0696cb11-3eec-4309-a22f-b76d6020bd03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:41,624 - DEBUG - Response for create_port : {'port': {'name': 'f26a48e5-f090-4d42-94b2-2b3f7753a9af', 'id': 'f26a48e5-f090-4d42-94b2-2b3f7753a9af', 'tenant_id': 'dbd3fb650acb4f44b410e27a33a46185', 'network_id': '1934908e-1367-4985-9517-ad6a32af2ba9', 'mac_address': '02:f2:6a:48:e5:f0', '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': '76.215.209.133', 'subnet_id': '33d8f805-d734-4458-9a8b-4a5f0f7c75a3'}], 'security_groups': ['0696cb11-3eec-4309-a22f-b76d6020bd03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd3fb650acb4f44b410e27a33a46185'}}
2025-09-22 02:13:41,671 - DEBUG - Services list from nova: [, , , ]
2025-09-22 02:13:42,127 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-2)
2025-09-22 02:13:42,561 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-1)
2025-09-22 02:13:42,562 - INFO - Waiting for VM ctest-vn1-vm1-82548951 to be up..
2025-09-22 02:13:42,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 02:13:47,681 - DEBUG - VM is in ACTIVE state now
2025-09-22 02:13:47,681 - INFO - VM name : ctest-vn1-vm1-82548951
2025-09-22 02:13:47,767 - DEBUG - VM ctest-vn1-vm1-82548951 ID is 9f19ffe2-564e-4eae-b868-0d6bf911674f
2025-09-22 02:13:47,789 - DEBUG - VM ctest-vn1-vm1-82548951 launched on Node an-jenkins-deploy-platform-ansible-os-4159-2
2025-09-22 02:13:47,864 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9f19ffe2-564e-4eae-b868-0d6bf911674f
2025-09-22 02:13:48,161 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9f19ffe2-564e-4eae-b868-0d6bf911674f
2025-09-22 02:13:48,191 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7d0b63a1-8619-4944-bc93-f4b7a4c6c55d
2025-09-22 02:13:51,363 - 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 1016ms')
2025-09-22 02:13:51,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82548951 failed!
2025-09-22 02:13:51,378 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53495209:ctest-vn1-13617156 is 82.136.223.193 and allocation pool is NOT set
2025-09-22 02:13:51,379 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53495209:ctest-vn1-13617156 is 76.215.209.129 and allocation pool is NOT set
2025-09-22 02:13:53,444 - 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=3.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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 = 0.544/2.071/3.599/1.527 ms')
2025-09-22 02:13:53,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82548951 passed
2025-09-22 02:13:53,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:13:53,514 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82548951, IP 82.136.223.197, Port 22
2025-09-22 02:13:53,681 - DEBUG - VM ctest-vn1-vm1-82548951 is ready for SSH connections
2025-09-22 02:13:53,682 - INFO - Waiting for VM ctest-vn1-vm2-01153151 to be up..
2025-09-22 02:13:53,771 - DEBUG - VM is in ACTIVE state now
2025-09-22 02:13:53,772 - INFO - VM name : ctest-vn1-vm2-01153151
2025-09-22 02:13:53,852 - DEBUG - VM ctest-vn1-vm2-01153151 ID is 8705b703-2531-4427-b9d9-5104070b754e
2025-09-22 02:13:53,852 - DEBUG - VM ctest-vn1-vm2-01153151 launched on Node an-jenkins-deploy-platform-ansible-os-4159-1
2025-09-22 02:13:53,925 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8705b703-2531-4427-b9d9-5104070b754e
2025-09-22 02:13:53,935 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f26a48e5-f090-4d42-94b2-2b3f7753a9af
2025-09-22 02:13:57,117 - 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=2 ttl=63 time=2.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 2.801/2.801/2.801/0.000 ms')
2025-09-22 02:13:57,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01153151 passed
2025-09-22 02:13:57,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:13:57,184 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01153151, IP 76.215.209.133, Port 22
2025-09-22 02:13:57,343 - DEBUG - VM ctest-vn1-vm2-01153151 is ready for SSH connections
2025-09-22 02:13:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:13:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:13:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 02:13:57,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.136.223.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-22 02:13:57,343 - DEBUG - ping -s 56 -c 3 -W 1 82.136.223.197
2025-09-22 02:14:00,377 - DEBUG - PING 82.136.223.197 (82.136.223.197): 56 data bytes
64 bytes from 82.136.223.197: seq=0 ttl=63 time=5.579 ms
64 bytes from 82.136.223.197: seq=1 ttl=63 time=1.344 ms
64 bytes from 82.136.223.197: seq=2 ttl=63 time=1.236 ms
--- 82.136.223.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.236/2.719/5.579 ms
2025-09-22 02:14:00,377 - INFO - Ping to IP 82.136.223.197 from VM ctest-vn1-vm2-01153151 passed
2025-09-22 02:14:00,377 - INFO - Detaching port f26a48e5-f090-4d42-94b2-2b3f7753a9af from VM ctest-vn1-vm2-01153151
2025-09-22 02:14:00,422 - INFO - Deleting VM ctest-vn1-vm2-01153151
2025-09-22 02:14:00,484 - INFO - Detaching port 7d0b63a1-8619-4944-bc93-f4b7a4c6c55d from VM ctest-vn1-vm1-82548951
2025-09-22 02:14:00,510 - INFO - Deleting VM ctest-vn1-vm1-82548951
2025-09-22 02:14:00,814 - DEBUG - Response for delete_port : ()
2025-09-22 02:14:01,057 - DEBUG - Response for delete_port : ()
2025-09-22 02:14:01,058 - INFO - Deleting VN ctest-vn1-13617156
2025-09-22 02:14:01,292 - DEBUG - Response for deleting network ()
2025-09-22 02:14:02,622 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:14:02,622 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-22 02:14:02,622 - INFO - --------------------------------------------------------------------------------
2025-09-22 02:14:03,325 - INFO - Deleted project: ctest-TestPorts-53495209, ID : dbd3fb65-0acb-4f44-b410-e27a33a46185