2025-09-04 15:17:57,482 - INFO - Domain Default found not creating
2025-09-04 15:17:57,634 - INFO - Project ctest-TestPorts-46224313 not found, creating it
2025-09-04 15:17:58,099 - INFO - Created Project:ctest-TestPorts-46224313, ID : bdfec155-cf2a-498a-be26-878090bf600a
2025-09-04 15:17:59,641 - INFO - ================================================================================
2025-09-04 15:17:59,641 - INFO - STARTING TEST : test_ports_bindings
2025-09-04 15:17:59,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-09-04 15:17:59,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-04 15:17:59,915 - INFO - Initial checks done. Running the testcase now
2025-09-04 15:17:59,915 - INFO -
2025-09-04 15:18:00,521 - DEBUG - Response for create_network : {'network': {'id': '0746b824-8898-49c5-94f1-0d4cd60a2c41', 'name': 'ctest-vn-45315314', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'project_id': 'bdfec155cf2a498abe26878090bf600a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46224313', 'ctest-vn-45315314'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 15:18:00,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '638735ec-1fdb-4a4b-8381-0e5e608c3594', 'name': '', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '0746b824-8898-49c5-94f1-0d4cd60a2c41', 'ip_version': 4, 'cidr': '81.63.150.128/26', 'allocation_pools': [{'start': '81.63.150.130', 'end': '81.63.150.190'}], 'gateway_ip': '81.63.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.63.150.130', 'tags': [], 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:00,752 - INFO - Created VN ctest-vn-45315314
2025-09-04 15:18:00,804 - DEBUG - VN ctest-vn-45315314 UUID is 0746b824-8898-49c5-94f1-0d4cd60a2c41
2025-09-04 15:18:00,910 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46224313', 'ctest-vmi-68349429']}
2025-09-04 15:18:01,198 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68349429', 'id': '123e9541-7d60-4cff-b2f6-6fdb4fe687df', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '0746b824-8898-49c5-94f1-0d4cd60a2c41', 'mac_address': '02:12:3e:95:41:7d', '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': '81.63.150.131', 'subnet_id': '638735ec-1fdb-4a4b-8381-0e5e608c3594'}], 'security_groups': ['ba7161a7-5aa1-49ab-8dc9-085d73071826'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:01,198 - DEBUG - Created port 123e9541-7d60-4cff-b2f6-6fdb4fe687df
2025-09-04 15:18:01,305 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/123e9541-7d60-4cff-b2f6-6fdb4fe687df
2025-09-04 15:18:01,638 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/123e9541-7d60-4cff-b2f6-6fdb4fe687df
2025-09-04 15:18:01,670 - INFO - VMI 123e9541-7d60-4cff-b2f6-6fdb4fe687df verification in API Server passed
2025-09-04 15:18:01,760 - DEBUG - Response for delete_port : ()
2025-09-04 15:18:01,760 - INFO - Deleted port 123e9541-7d60-4cff-b2f6-6fdb4fe687df
2025-09-04 15:18:01,760 - INFO - Deleting VN ctest-vn-45315314
2025-09-04 15:18:01,857 - DEBUG - Response for deleting network ()
2025-09-04 15:18:02,109 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 15:18:02,110 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-04 15:18:02,110 - INFO - --------------------------------------------------------------------------------
2025-09-04 15:18:02,112 - INFO - ================================================================================
2025-09-04 15:18:02,112 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-04 15:18:02,112 - 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-04 15:18:02,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-04 15:18:02,412 - INFO - Initial checks done. Running the testcase now
2025-09-04 15:18:02,412 - INFO -
2025-09-04 15:18:02,588 - DEBUG - Response for create_network : {'network': {'id': '1ae846ed-0a10-412b-b393-d0f12b0cc106', 'name': 'ctest-vn1-67644373', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'project_id': 'bdfec155cf2a498abe26878090bf600a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46224313', 'ctest-vn1-67644373'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 15:18:02,787 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b34caeea-53a8-4cf3-99b4-6f07ca1cb730', 'name': '', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '1ae846ed-0a10-412b-b393-d0f12b0cc106', 'ip_version': 4, 'cidr': '146.165.42.0/26', 'allocation_pools': [{'start': '146.165.42.2', 'end': '146.165.42.62'}], 'gateway_ip': '146.165.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.165.42.2', 'tags': [], 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:02,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e005ae5b-fd0c-4c42-b2e5-adf498710d3e', 'name': '', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '1ae846ed-0a10-412b-b393-d0f12b0cc106', 'ip_version': 4, 'cidr': '182.178.69.64/26', 'allocation_pools': [{'start': '182.178.69.66', 'end': '182.178.69.126'}], 'gateway_ip': '182.178.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.178.69.66', 'tags': [], 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:02,974 - INFO - Created VN ctest-vn1-67644373
2025-09-04 15:18:03,029 - DEBUG - VN ctest-vn1-67644373 UUID is 1ae846ed-0a10-412b-b393-d0f12b0cc106
2025-09-04 15:18:03,353 - DEBUG - Response for create_port : {'port': {'name': '45c1908a-f205-43fe-a4b2-fc886d255b87', 'id': '45c1908a-f205-43fe-a4b2-fc886d255b87', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '1ae846ed-0a10-412b-b393-d0f12b0cc106', 'mac_address': '02:45:c1:90:8a:f2', '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': '146.165.42.5', 'subnet_id': 'b34caeea-53a8-4cf3-99b4-6f07ca1cb730'}], 'security_groups': ['ba7161a7-5aa1-49ab-8dc9-085d73071826'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:03,549 - DEBUG - Response for create_port : {'port': {'name': 'b414ec99-39e0-44f6-8b38-c1d12c748814', 'id': 'b414ec99-39e0-44f6-8b38-c1d12c748814', 'tenant_id': 'bdfec155cf2a498abe26878090bf600a', 'network_id': '1ae846ed-0a10-412b-b393-d0f12b0cc106', 'mac_address': '02:b4:14:ec:99:39', '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.178.69.69', 'subnet_id': 'e005ae5b-fd0c-4c42-b2e5-adf498710d3e'}], 'security_groups': ['ba7161a7-5aa1-49ab-8dc9-085d73071826'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdfec155cf2a498abe26878090bf600a'}}
2025-09-04 15:18:03,607 - DEBUG - Services list from nova: [, , ]
2025-09-04 15:18:03,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1)
2025-09-04 15:18:04,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4016-1)
2025-09-04 15:18:04,350 - INFO - Waiting for VM ctest-vn1-vm1-10972476 to be up..
2025-09-04 15:18:04,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 15:18:09,463 - DEBUG - VM is in ACTIVE state now
2025-09-04 15:18:09,463 - INFO - VM name : ctest-vn1-vm1-10972476
2025-09-04 15:18:09,533 - DEBUG - VM ctest-vn1-vm1-10972476 ID is ea64f330-a301-4999-b2fb-ca938b6ae45f
2025-09-04 15:18:09,551 - DEBUG - VM ctest-vn1-vm1-10972476 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1
2025-09-04 15:18:09,619 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ea64f330-a301-4999-b2fb-ca938b6ae45f
2025-09-04 15:18:09,628 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/45c1908a-f205-43fe-a4b2-fc886d255b87
2025-09-04 15:18:12,890 - 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 1026ms')
2025-09-04 15:18:12,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10972476 failed!
2025-09-04 15:18:12,945 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46224313:ctest-vn1-67644373 is 146.165.42.1 and allocation pool is NOT set
2025-09-04 15:18:12,945 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46224313:ctest-vn1-67644373 is 182.178.69.65 and allocation pool is NOT set
2025-09-04 15:18:17,021 - 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=8.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.314/8.314/8.314/0.000 ms')
2025-09-04 15:18:17,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10972476 passed
2025-09-04 15:18:17,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:17,169 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10972476, IP 146.165.42.5, Port 22
2025-09-04 15:18:17,332 - DEBUG - VM ctest-vn1-vm1-10972476 is ready for SSH connections
2025-09-04 15:18:17,333 - INFO - Waiting for VM ctest-vn1-vm2-34458428 to be up..
2025-09-04 15:18:17,408 - DEBUG - VM is in ACTIVE state now
2025-09-04 15:18:17,408 - INFO - VM name : ctest-vn1-vm2-34458428
2025-09-04 15:18:17,480 - DEBUG - VM ctest-vn1-vm2-34458428 ID is fcc61c40-9fb5-416c-b3b8-24d0de30b95e
2025-09-04 15:18:17,480 - DEBUG - VM ctest-vn1-vm2-34458428 launched on Node cn-jenkins-deploy-platform-ansible-os-4016-1
2025-09-04 15:18:17,549 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fcc61c40-9fb5-416c-b3b8-24d0de30b95e
2025-09-04 15:18:17,557 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b414ec99-39e0-44f6-8b38-c1d12c748814
2025-09-04 15:18:18,792 - 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=4.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.888 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.888/2.899/4.910/2.011 ms')
2025-09-04 15:18:18,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34458428 passed
2025-09-04 15:18:18,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:18,945 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34458428, IP 182.178.69.69, Port 22
2025-09-04 15:18:19,015 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-04 15:18:19,092 - DEBUG - VM ctest-vn1-vm2-34458428 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 15:18:24,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:24,093 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34458428, IP 182.178.69.69, Port 22
2025-09-04 15:18:24,252 - DEBUG - VM ctest-vn1-vm2-34458428 is ready for SSH connections
2025-09-04 15:18:24,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:24,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:24,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 15:18:24,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.165.42.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-04 15:18:24,253 - DEBUG - ping -s 56 -c 3 -W 1 146.165.42.5
2025-09-04 15:18:26,964 - DEBUG - PING 146.165.42.5 (146.165.42.5): 56 data bytes
64 bytes from 146.165.42.5: seq=0 ttl=63 time=4.182 ms
64 bytes from 146.165.42.5: seq=1 ttl=63 time=1.057 ms
64 bytes from 146.165.42.5: seq=2 ttl=63 time=1.400 ms
--- 146.165.42.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.057/2.213/4.182 ms
2025-09-04 15:18:26,966 - INFO - Ping to IP 146.165.42.5 from VM ctest-vn1-vm2-34458428 passed
2025-09-04 15:18:26,966 - INFO - Detaching port b414ec99-39e0-44f6-8b38-c1d12c748814 from VM ctest-vn1-vm2-34458428
2025-09-04 15:18:27,031 - INFO - Deleting VM ctest-vn1-vm2-34458428
2025-09-04 15:18:27,117 - INFO - Detaching port 45c1908a-f205-43fe-a4b2-fc886d255b87 from VM ctest-vn1-vm1-10972476
2025-09-04 15:18:27,150 - INFO - Deleting VM ctest-vn1-vm1-10972476
2025-09-04 15:18:27,364 - DEBUG - Response for delete_port : ()
2025-09-04 15:18:27,528 - DEBUG - Response for delete_port : ()
2025-09-04 15:18:27,528 - INFO - Deleting VN ctest-vn1-67644373
2025-09-04 15:18:27,665 - DEBUG - Response for deleting network ()
2025-09-04 15:18:27,928 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 15:18:27,928 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-09-04 15:18:27,928 - INFO - --------------------------------------------------------------------------------
2025-09-04 15:18:28,922 - INFO - Deleted project: ctest-TestPorts-46224313, ID : bdfec155-cf2a-498a-be26-878090bf600a