2025-08-20 09:12:20,702 - INFO - Domain Default found not creating
2025-08-20 09:12:20,818 - INFO - Project ctest-TestPorts-53671145 not found, creating it
2025-08-20 09:12:21,284 - INFO - Created Project:ctest-TestPorts-53671145, ID : 88d4b028-3d77-46ba-8669-a5f7594b17f7
2025-08-20 09:12:22,641 - INFO - ================================================================================
2025-08-20 09:12:22,641 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 09:12:22,641 - 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-20 09:12:22,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with
2025-08-20 09:12:22,892 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:12:22,892 - INFO -
2025-08-20 09:12:23,461 - DEBUG - Response for create_network : {'network': {'id': 'c7e16da4-b590-4282-a044-6dfb8e880866', 'name': 'ctest-vn-51961105', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'project_id': '88d4b0283d7746ba8669a5f7594b17f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53671145', 'ctest-vn-51961105'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:12:23,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '668bbfb1-ac97-4b6a-900b-05b8a7dc118e', 'name': '', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'c7e16da4-b590-4282-a044-6dfb8e880866', 'ip_version': 4, 'cidr': '86.239.172.128/26', 'allocation_pools': [{'start': '86.239.172.130', 'end': '86.239.172.190'}], 'gateway_ip': '86.239.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.239.172.130', 'tags': [], 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:23,671 - INFO - Created VN ctest-vn-51961105
2025-08-20 09:12:23,724 - DEBUG - VN ctest-vn-51961105 UUID is c7e16da4-b590-4282-a044-6dfb8e880866
2025-08-20 09:12:23,824 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53671145', 'ctest-vmi-21537485']}
2025-08-20 09:12:24,088 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21537485', 'id': '9ab4efb6-e827-42e7-9d8c-0b67dd690142', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'c7e16da4-b590-4282-a044-6dfb8e880866', 'mac_address': '02:9a:b4:ef:b6:e8', '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': '86.239.172.131', 'subnet_id': '668bbfb1-ac97-4b6a-900b-05b8a7dc118e'}], 'security_groups': ['bd5ad74f-81d9-4e6f-bec0-b9fd78dea0e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:24,088 - DEBUG - Created port 9ab4efb6-e827-42e7-9d8c-0b67dd690142
2025-08-20 09:12:24,192 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9ab4efb6-e827-42e7-9d8c-0b67dd690142
2025-08-20 09:12:24,480 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9ab4efb6-e827-42e7-9d8c-0b67dd690142
2025-08-20 09:12:24,507 - INFO - VMI 9ab4efb6-e827-42e7-9d8c-0b67dd690142 verification in API Server passed
2025-08-20 09:12:24,579 - DEBUG - Response for delete_port : ()
2025-08-20 09:12:24,579 - INFO - Deleted port 9ab4efb6-e827-42e7-9d8c-0b67dd690142
2025-08-20 09:12:24,580 - INFO - Deleting VN ctest-vn-51961105
2025-08-20 09:12:24,673 - DEBUG - Response for deleting network ()
2025-08-20 09:12:24,920 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:12:24,920 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 09:12:24,920 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:12:24,922 - INFO - ================================================================================
2025-08-20 09:12:24,923 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 09:12:24,923 - 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-20 09:12:25,204 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with
2025-08-20 09:12:25,204 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:12:25,204 - INFO -
2025-08-20 09:12:25,367 - DEBUG - Response for create_network : {'network': {'id': 'b280fae4-da42-4c1b-9b3a-a1a670946aa0', 'name': 'ctest-vn1-38733698', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'project_id': '88d4b0283d7746ba8669a5f7594b17f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53671145', 'ctest-vn1-38733698'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:12:25,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b05a02b-cb3f-49aa-8371-370b5beda5ca', 'name': '', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'b280fae4-da42-4c1b-9b3a-a1a670946aa0', 'ip_version': 4, 'cidr': '174.131.121.192/26', 'allocation_pools': [{'start': '174.131.121.194', 'end': '174.131.121.254'}], 'gateway_ip': '174.131.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.131.121.194', 'tags': [], 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:25,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aa9255a-0aa4-46ea-9d72-8c26721b2959', 'name': '', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'b280fae4-da42-4c1b-9b3a-a1a670946aa0', 'ip_version': 4, 'cidr': '135.180.127.128/26', 'allocation_pools': [{'start': '135.180.127.130', 'end': '135.180.127.190'}], 'gateway_ip': '135.180.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.180.127.130', 'tags': [], 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:25,763 - INFO - Created VN ctest-vn1-38733698
2025-08-20 09:12:25,816 - DEBUG - VN ctest-vn1-38733698 UUID is b280fae4-da42-4c1b-9b3a-a1a670946aa0
2025-08-20 09:12:26,090 - DEBUG - Response for create_port : {'port': {'name': '328ace1a-c9a7-4c90-bcfa-7f1f637e2945', 'id': '328ace1a-c9a7-4c90-bcfa-7f1f637e2945', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'b280fae4-da42-4c1b-9b3a-a1a670946aa0', 'mac_address': '02:32:8a:ce:1a:c9', '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': '174.131.121.197', 'subnet_id': '2b05a02b-cb3f-49aa-8371-370b5beda5ca'}], 'security_groups': ['bd5ad74f-81d9-4e6f-bec0-b9fd78dea0e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:26,246 - DEBUG - Response for create_port : {'port': {'name': '6bc43da2-c187-469d-8ae0-ae95475c6ddd', 'id': '6bc43da2-c187-469d-8ae0-ae95475c6ddd', 'tenant_id': '88d4b0283d7746ba8669a5f7594b17f7', 'network_id': 'b280fae4-da42-4c1b-9b3a-a1a670946aa0', 'mac_address': '02:6b:c4:3d:a2:c1', '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': '135.180.127.133', 'subnet_id': '6aa9255a-0aa4-46ea-9d72-8c26721b2959'}], 'security_groups': ['bd5ad74f-81d9-4e6f-bec0-b9fd78dea0e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88d4b0283d7746ba8669a5f7594b17f7'}}
2025-08-20 09:12:26,292 - DEBUG - Services list from nova: [, , ]
2025-08-20 09:12:26,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1)
2025-08-20 09:12:26,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1)
2025-08-20 09:12:26,987 - INFO - Waiting for VM ctest-vn1-vm1-93888217 to be up..
2025-08-20 09:12:27,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 09:12:32,132 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:12:32,133 - INFO - VM name : ctest-vn1-vm1-93888217
2025-08-20 09:12:32,255 - DEBUG - VM ctest-vn1-vm1-93888217 ID is 443645fd-7f4c-4fe3-a445-76ae72c8fa26
2025-08-20 09:12:32,277 - DEBUG - VM ctest-vn1-vm1-93888217 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1
2025-08-20 09:12:32,413 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/443645fd-7f4c-4fe3-a445-76ae72c8fa26
2025-08-20 09:12:32,424 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/328ace1a-c9a7-4c90-bcfa-7f1f637e2945
2025-08-20 09:12:35,709 - 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 1020ms')
2025-08-20 09:12:35,709 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93888217 failed!
2025-08-20 09:12:35,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53671145:ctest-vn1-38733698 is 174.131.121.193 and allocation pool is NOT set
2025-08-20 09:12:35,764 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53671145:ctest-vn1-38733698 is 135.180.127.129 and allocation pool is NOT set
2025-08-20 09:12:37,831 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.457/2.666/3.875/1.209 ms')
2025-08-20 09:12:37,831 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93888217 passed
2025-08-20 09:12:37,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:12:37,980 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93888217, IP 174.131.121.197, Port 22
2025-08-20 09:12:38,135 - DEBUG - VM ctest-vn1-vm1-93888217 is ready for SSH connections
2025-08-20 09:12:38,135 - INFO - Waiting for VM ctest-vn1-vm2-21956225 to be up..
2025-08-20 09:12:38,201 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:12:38,201 - INFO - VM name : ctest-vn1-vm2-21956225
2025-08-20 09:12:38,267 - DEBUG - VM ctest-vn1-vm2-21956225 ID is b6ad524f-0db7-4a21-9753-15c7aad2a6a1
2025-08-20 09:12:38,267 - DEBUG - VM ctest-vn1-vm2-21956225 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1
2025-08-20 09:12:38,328 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b6ad524f-0db7-4a21-9753-15c7aad2a6a1
2025-08-20 09:12:38,335 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6bc43da2-c187-469d-8ae0-ae95475c6ddd
2025-08-20 09:12:39,562 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.688/3.046/1.358 ms')
2025-08-20 09:12:39,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-21956225 passed
2025-08-20 09:12:39,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:12:39,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21956225, IP 135.180.127.133, Port 22
2025-08-20 09:12:39,859 - DEBUG - VM ctest-vn1-vm2-21956225 is ready for SSH connections
2025-08-20 09:12:39,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:12:39,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:12:39,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:12:39,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.131.121.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-20 09:12:39,859 - DEBUG - ping -s 56 -c 3 -W 1 174.131.121.197
2025-08-20 09:12:42,751 - DEBUG - PING 174.131.121.197 (174.131.121.197): 56 data bytes
64 bytes from 174.131.121.197: seq=0 ttl=63 time=3.763 ms
64 bytes from 174.131.121.197: seq=1 ttl=63 time=0.666 ms
64 bytes from 174.131.121.197: seq=2 ttl=63 time=0.649 ms
--- 174.131.121.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.649/1.692/3.763 ms
2025-08-20 09:12:42,751 - INFO - Ping to IP 174.131.121.197 from VM ctest-vn1-vm2-21956225 passed
2025-08-20 09:12:42,751 - INFO - Detaching port 6bc43da2-c187-469d-8ae0-ae95475c6ddd from VM ctest-vn1-vm2-21956225
2025-08-20 09:12:42,793 - INFO - Deleting VM ctest-vn1-vm2-21956225
2025-08-20 09:12:42,868 - INFO - Detaching port 328ace1a-c9a7-4c90-bcfa-7f1f637e2945 from VM ctest-vn1-vm1-93888217
2025-08-20 09:12:42,899 - INFO - Deleting VM ctest-vn1-vm1-93888217
2025-08-20 09:12:43,167 - DEBUG - Response for delete_port : ()
2025-08-20 09:12:43,331 - DEBUG - Response for delete_port : ()
2025-08-20 09:12:43,331 - INFO - Deleting VN ctest-vn1-38733698
2025-08-20 09:12:43,486 - DEBUG - Response for deleting network ()
2025-08-20 09:12:43,750 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:12:43,750 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-20 09:12:43,750 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:12:44,454 - INFO - Deleted project: ctest-TestPorts-53671145, ID : 88d4b028-3d77-46ba-8669-a5f7594b17f7