2025-08-18 09:44:32,928 - INFO - Domain Default found not creating
2025-08-18 09:44:33,042 - INFO - Project ctest-TestPorts-09140338 not found, creating it
2025-08-18 09:44:33,546 - INFO - Created Project:ctest-TestPorts-09140338, ID : 67c2e0c4-7f67-4c8e-b515-35dd4249ff15
2025-08-18 09:44:34,960 - INFO - ================================================================================
2025-08-18 09:44:34,960 - INFO - STARTING TEST : test_ports_bindings
2025-08-18 09:44:34,961 - 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-18 09:44:35,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-18 09:44:35,218 - INFO - Initial checks done. Running the testcase now
2025-08-18 09:44:35,219 - INFO -
2025-08-18 09:44:35,747 - DEBUG - Response for create_network : {'network': {'id': '065e3ecc-6198-4256-b1ed-91e1edd65ef5', 'name': 'ctest-vn-86520196', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'project_id': '67c2e0c47f674c8eb51535dd4249ff15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09140338', 'ctest-vn-86520196'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 09:44:35,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a56fefa-05d7-4adf-9f7e-2a963e39e4f1', 'name': '', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '065e3ecc-6198-4256-b1ed-91e1edd65ef5', 'ip_version': 4, 'cidr': '142.98.145.192/26', 'allocation_pools': [{'start': '142.98.145.194', 'end': '142.98.145.254'}], 'gateway_ip': '142.98.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.98.145.194', 'tags': [], 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:35,961 - INFO - Created VN ctest-vn-86520196
2025-08-18 09:44:36,010 - DEBUG - VN ctest-vn-86520196 UUID is 065e3ecc-6198-4256-b1ed-91e1edd65ef5
2025-08-18 09:44:36,104 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09140338', 'ctest-vmi-68385311']}
2025-08-18 09:44:36,353 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68385311', 'id': 'e9afdce4-256b-4890-8300-6cc669a40a92', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '065e3ecc-6198-4256-b1ed-91e1edd65ef5', 'mac_address': '02:e9:af:dc:e4:25', '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': '142.98.145.195', 'subnet_id': '8a56fefa-05d7-4adf-9f7e-2a963e39e4f1'}], 'security_groups': ['70e2d4c3-531b-4c41-be1e-af32589ec23e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:36,353 - DEBUG - Created port e9afdce4-256b-4890-8300-6cc669a40a92
2025-08-18 09:44:36,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9afdce4-256b-4890-8300-6cc669a40a92
2025-08-18 09:44:36,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9afdce4-256b-4890-8300-6cc669a40a92
2025-08-18 09:44:36,768 - INFO - VMI e9afdce4-256b-4890-8300-6cc669a40a92 verification in API Server passed
2025-08-18 09:44:36,842 - DEBUG - Response for delete_port : ()
2025-08-18 09:44:36,843 - INFO - Deleted port e9afdce4-256b-4890-8300-6cc669a40a92
2025-08-18 09:44:36,843 - INFO - Deleting VN ctest-vn-86520196
2025-08-18 09:44:36,930 - DEBUG - Response for deleting network ()
2025-08-18 09:44:37,183 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:44:37,183 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-18 09:44:37,183 - INFO - --------------------------------------------------------------------------------
2025-08-18 09:44:37,185 - INFO - ================================================================================
2025-08-18 09:44:37,185 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-18 09:44:37,185 - 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-18 09:44:37,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-18 09:44:37,475 - INFO - Initial checks done. Running the testcase now
2025-08-18 09:44:37,475 - INFO -
2025-08-18 09:44:37,647 - DEBUG - Response for create_network : {'network': {'id': '209be87a-cccd-47bd-8bc7-ad6531013f84', 'name': 'ctest-vn1-57535766', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'project_id': '67c2e0c47f674c8eb51535dd4249ff15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09140338', 'ctest-vn1-57535766'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 09:44:37,817 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b101a1c-9390-4b76-b7d6-9f3b5a2d1c03', 'name': '', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '209be87a-cccd-47bd-8bc7-ad6531013f84', 'ip_version': 4, 'cidr': '163.52.32.128/26', 'allocation_pools': [{'start': '163.52.32.130', 'end': '163.52.32.190'}], 'gateway_ip': '163.52.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.52.32.130', 'tags': [], 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:37,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff4296d3-b8c4-413a-a20c-894cbbc6241b', 'name': '', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '209be87a-cccd-47bd-8bc7-ad6531013f84', 'ip_version': 4, 'cidr': '179.34.39.192/26', 'allocation_pools': [{'start': '179.34.39.194', 'end': '179.34.39.254'}], 'gateway_ip': '179.34.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.34.39.194', 'tags': [], 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:37,974 - INFO - Created VN ctest-vn1-57535766
2025-08-18 09:44:38,026 - DEBUG - VN ctest-vn1-57535766 UUID is 209be87a-cccd-47bd-8bc7-ad6531013f84
2025-08-18 09:44:38,285 - DEBUG - Response for create_port : {'port': {'name': '86c11120-d896-4c42-9f88-e0c19e0a664c', 'id': '86c11120-d896-4c42-9f88-e0c19e0a664c', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '209be87a-cccd-47bd-8bc7-ad6531013f84', 'mac_address': '02:86:c1:11:20:d8', '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': '163.52.32.133', 'subnet_id': '1b101a1c-9390-4b76-b7d6-9f3b5a2d1c03'}], 'security_groups': ['70e2d4c3-531b-4c41-be1e-af32589ec23e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:38,451 - DEBUG - Response for create_port : {'port': {'name': '52938004-c502-47b1-b0bb-8c7aecc94911', 'id': '52938004-c502-47b1-b0bb-8c7aecc94911', 'tenant_id': '67c2e0c47f674c8eb51535dd4249ff15', 'network_id': '209be87a-cccd-47bd-8bc7-ad6531013f84', 'mac_address': '02:52:93:80:04:c5', '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': '179.34.39.197', 'subnet_id': 'ff4296d3-b8c4-413a-a20c-894cbbc6241b'}], 'security_groups': ['70e2d4c3-531b-4c41-be1e-af32589ec23e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67c2e0c47f674c8eb51535dd4249ff15'}}
2025-08-18 09:44:38,497 - DEBUG - Services list from nova: [, , ]
2025-08-18 09:44:38,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1)
2025-08-18 09:44:39,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3876-1)
2025-08-18 09:44:39,061 - INFO - Waiting for VM ctest-vn1-vm1-56011762 to be up..
2025-08-18 09:44:39,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 09:44:44,151 - DEBUG - VM is in ACTIVE state now
2025-08-18 09:44:44,151 - INFO - VM name : ctest-vn1-vm1-56011762
2025-08-18 09:44:44,209 - DEBUG - VM ctest-vn1-vm1-56011762 ID is 9d3c9dc7-f65c-49c8-af98-fd824c6ff947
2025-08-18 09:44:44,225 - DEBUG - VM ctest-vn1-vm1-56011762 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1
2025-08-18 09:44:44,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d3c9dc7-f65c-49c8-af98-fd824c6ff947
2025-08-18 09:44:44,291 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/86c11120-d896-4c42-9f88-e0c19e0a664c
2025-08-18 09:44:47,551 - 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 1027ms')
2025-08-18 09:44:47,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56011762 failed!
2025-08-18 09:44:47,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09140338:ctest-vn1-57535766 is 163.52.32.129 and allocation pool is NOT set
2025-08-18 09:44:47,606 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09140338:ctest-vn1-57535766 is 179.34.39.193 and allocation pool is NOT set
2025-08-18 09:44:49,674 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.054/2.416/3.778/1.362 ms')
2025-08-18 09:44:49,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56011762 passed
2025-08-18 09:44:49,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:49,830 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56011762, IP 163.52.32.133, Port 22
2025-08-18 09:44:49,885 - 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-18 09:44:49,952 - DEBUG - VM ctest-vn1-vm1-56011762 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-18 09:44:54,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:54,953 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56011762, IP 163.52.32.133, Port 22
2025-08-18 09:44:55,106 - DEBUG - VM ctest-vn1-vm1-56011762 is ready for SSH connections
2025-08-18 09:44:55,106 - INFO - Waiting for VM ctest-vn1-vm2-94118708 to be up..
2025-08-18 09:44:55,165 - DEBUG - VM is in ACTIVE state now
2025-08-18 09:44:55,165 - INFO - VM name : ctest-vn1-vm2-94118708
2025-08-18 09:44:55,223 - DEBUG - VM ctest-vn1-vm2-94118708 ID is 187cb884-7450-4857-94e5-a93a5a0e4b98
2025-08-18 09:44:55,223 - DEBUG - VM ctest-vn1-vm2-94118708 launched on Node cn-jenkins-deploy-platform-ansible-os-3876-1
2025-08-18 09:44:55,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/187cb884-7450-4857-94e5-a93a5a0e4b98
2025-08-18 09:44:55,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/52938004-c502-47b1-b0bb-8c7aecc94911
2025-08-18 09:44:56,523 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.296 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.296/1.394/2.492/1.098 ms')
2025-08-18 09:44:56,523 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94118708 passed
2025-08-18 09:44:56,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:56,670 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94118708, IP 179.34.39.197, Port 22
2025-08-18 09:44:56,836 - DEBUG - VM ctest-vn1-vm2-94118708 is ready for SSH connections
2025-08-18 09:44:56,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:56,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:56,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 09:44:56,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.52.32.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-18 09:44:56,836 - DEBUG - ping -s 56 -c 3 -W 1 163.52.32.133
2025-08-18 09:44:59,722 - DEBUG - PING 163.52.32.133 (163.52.32.133): 56 data bytes
64 bytes from 163.52.32.133: seq=0 ttl=63 time=4.233 ms
64 bytes from 163.52.32.133: seq=1 ttl=63 time=0.753 ms
64 bytes from 163.52.32.133: seq=2 ttl=63 time=0.734 ms
--- 163.52.32.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.734/1.906/4.233 ms
2025-08-18 09:44:59,722 - INFO - Ping to IP 163.52.32.133 from VM ctest-vn1-vm2-94118708 passed
2025-08-18 09:44:59,723 - INFO - Detaching port 52938004-c502-47b1-b0bb-8c7aecc94911 from VM ctest-vn1-vm2-94118708
2025-08-18 09:44:59,768 - INFO - Deleting VM ctest-vn1-vm2-94118708
2025-08-18 09:44:59,823 - INFO - Detaching port 86c11120-d896-4c42-9f88-e0c19e0a664c from VM ctest-vn1-vm1-56011762
2025-08-18 09:44:59,852 - INFO - Deleting VM ctest-vn1-vm1-56011762
2025-08-18 09:45:00,066 - DEBUG - Response for delete_port : ()
2025-08-18 09:45:00,216 - DEBUG - Response for delete_port : ()
2025-08-18 09:45:00,216 - INFO - Deleting VN ctest-vn1-57535766
2025-08-18 09:45:00,362 - DEBUG - Response for deleting network ()
2025-08-18 09:45:00,611 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:45:00,611 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-18 09:45:00,611 - INFO - --------------------------------------------------------------------------------
2025-08-18 09:45:01,254 - INFO - Deleted project: ctest-TestPorts-09140338, ID : 67c2e0c4-7f67-4c8e-b515-35dd4249ff15