2025-09-08 15:38:34,901 - INFO - Domain Default found not creating
2025-09-08 15:38:35,046 - INFO - Project ctest-TestPorts-07159745 not found, creating it
2025-09-08 15:38:35,492 - INFO - Created Project:ctest-TestPorts-07159745, ID : f2e69558-b8e3-4b50-82af-f2b38f9f9802
2025-09-08 15:38:36,853 - INFO - ================================================================================
2025-09-08 15:38:36,853 - INFO - STARTING TEST : test_ports_bindings
2025-09-08 15:38:36,853 - 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-08 15:38:37,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2025-09-08 15:38:37,110 - INFO - Initial checks done. Running the testcase now
2025-09-08 15:38:37,110 - INFO -
2025-09-08 15:38:37,769 - DEBUG - Response for create_network : {'network': {'id': '942a152d-cbf2-4c13-98da-f3022660ccf9', 'name': 'ctest-vn-71190601', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07159745', 'ctest-vn-71190601'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 15:38:37,912 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd352f5f0-ded9-4b28-b2d6-56b35091099a', 'name': '', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '942a152d-cbf2-4c13-98da-f3022660ccf9', 'ip_version': 4, 'cidr': '185.64.94.64/26', 'allocation_pools': [{'start': '185.64.94.66', 'end': '185.64.94.126'}], 'gateway_ip': '185.64.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.64.94.66', 'tags': [], 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:37,927 - INFO - Created VN ctest-vn-71190601
2025-09-08 15:38:37,978 - DEBUG - VN ctest-vn-71190601 UUID is 942a152d-cbf2-4c13-98da-f3022660ccf9
2025-09-08 15:38:38,076 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07159745', 'ctest-vmi-82425227']}
2025-09-08 15:38:38,349 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82425227', 'id': '87924c54-0721-4f2f-8d83-0906994367eb', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '942a152d-cbf2-4c13-98da-f3022660ccf9', 'mac_address': '02:87:92:4c:54:07', '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': '185.64.94.67', 'subnet_id': 'd352f5f0-ded9-4b28-b2d6-56b35091099a'}], 'security_groups': ['e81000f9-ae34-432c-a173-acf2baa091cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:38,349 - DEBUG - Created port 87924c54-0721-4f2f-8d83-0906994367eb
2025-09-08 15:38:38,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/87924c54-0721-4f2f-8d83-0906994367eb
2025-09-08 15:38:38,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/87924c54-0721-4f2f-8d83-0906994367eb
2025-09-08 15:38:38,773 - INFO - VMI 87924c54-0721-4f2f-8d83-0906994367eb verification in API Server passed
2025-09-08 15:38:38,853 - DEBUG - Response for delete_port : ()
2025-09-08 15:38:38,854 - INFO - Deleted port 87924c54-0721-4f2f-8d83-0906994367eb
2025-09-08 15:38:38,854 - INFO - Deleting VN ctest-vn-71190601
2025-09-08 15:38:38,952 - DEBUG - Response for deleting network ()
2025-09-08 15:38:39,211 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 15:38:39,211 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-08 15:38:39,211 - INFO - --------------------------------------------------------------------------------
2025-09-08 15:38:39,214 - INFO - ================================================================================
2025-09-08 15:38:39,214 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-08 15:38:39,214 - 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-08 15:38:39,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2025-09-08 15:38:39,499 - INFO - Initial checks done. Running the testcase now
2025-09-08 15:38:39,499 - INFO -
2025-09-08 15:38:39,654 - DEBUG - Response for create_network : {'network': {'id': '1ac3a79a-7b13-430a-a1ba-500f292ec71f', 'name': 'ctest-vn1-61866878', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07159745', 'ctest-vn1-61866878'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 15:38:39,863 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a01913a8-cf5e-46cb-a55f-c3df7b70aa26', 'name': '', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '1ac3a79a-7b13-430a-a1ba-500f292ec71f', 'ip_version': 4, 'cidr': '155.63.219.0/26', 'allocation_pools': [{'start': '155.63.219.2', 'end': '155.63.219.62'}], 'gateway_ip': '155.63.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.63.219.2', 'tags': [], 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:40,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '54797e3d-94a0-418d-8761-55959c13ddae', 'name': '', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '1ac3a79a-7b13-430a-a1ba-500f292ec71f', 'ip_version': 4, 'cidr': '69.45.142.192/26', 'allocation_pools': [{'start': '69.45.142.194', 'end': '69.45.142.254'}], 'gateway_ip': '69.45.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.45.142.194', 'tags': [], 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:40,079 - INFO - Created VN ctest-vn1-61866878
2025-09-08 15:38:40,130 - DEBUG - VN ctest-vn1-61866878 UUID is 1ac3a79a-7b13-430a-a1ba-500f292ec71f
2025-09-08 15:38:40,422 - DEBUG - Response for create_port : {'port': {'name': '51dace83-4b78-4bcc-974d-4e4fd1789c09', 'id': '51dace83-4b78-4bcc-974d-4e4fd1789c09', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '1ac3a79a-7b13-430a-a1ba-500f292ec71f', 'mac_address': '02:51:da:ce:83:4b', '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': '155.63.219.5', 'subnet_id': 'a01913a8-cf5e-46cb-a55f-c3df7b70aa26'}], 'security_groups': ['e81000f9-ae34-432c-a173-acf2baa091cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:40,582 - DEBUG - Response for create_port : {'port': {'name': 'c88966e8-a9de-4970-b940-72bf854bf8bf', 'id': 'c88966e8-a9de-4970-b940-72bf854bf8bf', 'tenant_id': 'f2e69558b8e34b5082aff2b38f9f9802', 'network_id': '1ac3a79a-7b13-430a-a1ba-500f292ec71f', 'mac_address': '02:c8:89:66:e8:a9', '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': '69.45.142.197', 'subnet_id': '54797e3d-94a0-418d-8761-55959c13ddae'}], 'security_groups': ['e81000f9-ae34-432c-a173-acf2baa091cc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2e69558b8e34b5082aff2b38f9f9802'}}
2025-09-08 15:38:40,632 - DEBUG - Services list from nova: [, , ]
2025-09-08 15:38:40,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1)
2025-09-08 15:38:41,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1)
2025-09-08 15:38:41,281 - INFO - Waiting for VM ctest-vn1-vm1-81787984 to be up..
2025-09-08 15:38:41,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 15:38:46,392 - DEBUG - VM is in ACTIVE state now
2025-09-08 15:38:46,392 - INFO - VM name : ctest-vn1-vm1-81787984
2025-09-08 15:38:46,459 - DEBUG - VM ctest-vn1-vm1-81787984 ID is 7d5b6576-4460-43dd-9df1-bf9b2fca1040
2025-09-08 15:38:46,481 - DEBUG - VM ctest-vn1-vm1-81787984 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1
2025-09-08 15:38:46,559 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7d5b6576-4460-43dd-9df1-bf9b2fca1040
2025-09-08 15:38:46,569 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/51dace83-4b78-4bcc-974d-4e4fd1789c09
2025-09-08 15:38:49,816 - 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-09-08 15:38:49,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81787984 failed!
2025-09-08 15:38:49,870 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07159745:ctest-vn1-61866878 is 155.63.219.1 and allocation pool is NOT set
2025-09-08 15:38:49,870 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07159745:ctest-vn1-61866878 is 69.45.142.193 and allocation pool is NOT set
2025-09-08 15:38:51,936 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.901 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.901/2.420/3.939/1.519 ms')
2025-09-08 15:38:51,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81787984 passed
2025-09-08 15:38:52,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:38:52,086 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81787984, IP 155.63.219.5, Port 22
2025-09-08 15:38:52,237 - DEBUG - VM ctest-vn1-vm1-81787984 is ready for SSH connections
2025-09-08 15:38:52,237 - INFO - Waiting for VM ctest-vn1-vm2-34545279 to be up..
2025-09-08 15:38:52,304 - DEBUG - VM is in ACTIVE state now
2025-09-08 15:38:52,304 - INFO - VM name : ctest-vn1-vm2-34545279
2025-09-08 15:38:52,367 - DEBUG - VM ctest-vn1-vm2-34545279 ID is 0f0ecae6-5cf5-46c4-bbc4-8d81e5ac1a34
2025-09-08 15:38:52,368 - DEBUG - VM ctest-vn1-vm2-34545279 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1
2025-09-08 15:38:52,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0f0ecae6-5cf5-46c4-bbc4-8d81e5ac1a34
2025-09-08 15:38:52,438 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c88966e8-a9de-4970-b940-72bf854bf8bf
2025-09-08 15:38:53,673 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.616/2.823/1.206 ms')
2025-09-08 15:38:53,673 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34545279 passed
2025-09-08 15:38:53,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:38:53,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34545279, IP 69.45.142.197, Port 22
2025-09-08 15:38:53,977 - DEBUG - VM ctest-vn1-vm2-34545279 is ready for SSH connections
2025-09-08 15:38:53,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:38:53,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:38:53,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 15:38:53,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.63.219.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-08 15:38:53,977 - DEBUG - ping -s 56 -c 3 -W 1 155.63.219.5
2025-09-08 15:38:56,985 - DEBUG - PING 155.63.219.5 (155.63.219.5): 56 data bytes
64 bytes from 155.63.219.5: seq=0 ttl=63 time=3.611 ms
64 bytes from 155.63.219.5: seq=1 ttl=63 time=0.824 ms
64 bytes from 155.63.219.5: seq=2 ttl=63 time=0.749 ms
--- 155.63.219.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.749/1.728/3.611 ms
2025-09-08 15:38:56,985 - INFO - Ping to IP 155.63.219.5 from VM ctest-vn1-vm2-34545279 passed
2025-09-08 15:38:56,985 - INFO - Detaching port c88966e8-a9de-4970-b940-72bf854bf8bf from VM ctest-vn1-vm2-34545279
2025-09-08 15:38:57,030 - INFO - Deleting VM ctest-vn1-vm2-34545279
2025-09-08 15:38:57,091 - INFO - Detaching port 51dace83-4b78-4bcc-974d-4e4fd1789c09 from VM ctest-vn1-vm1-81787984
2025-09-08 15:38:57,125 - INFO - Deleting VM ctest-vn1-vm1-81787984
2025-09-08 15:38:57,370 - DEBUG - Response for delete_port : ()
2025-09-08 15:38:57,498 - DEBUG - Response for delete_port : ()
2025-09-08 15:38:57,499 - INFO - Deleting VN ctest-vn1-61866878
2025-09-08 15:38:57,612 - DEBUG - Response for deleting network ()
2025-09-08 15:38:57,878 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 15:38:57,878 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-08 15:38:57,879 - INFO - --------------------------------------------------------------------------------
2025-09-08 15:38:58,548 - INFO - Deleted project: ctest-TestPorts-07159745, ID : f2e69558-b8e3-4b50-82af-f2b38f9f9802