2025-10-06 01:52:15,096 - INFO - Domain Default found not creating
2025-10-06 01:52:15,258 - INFO - Project ctest-TestPorts-38433696 not found, creating it
2025-10-06 01:52:15,719 - INFO - Created Project:ctest-TestPorts-38433696, ID : 8fd9cd6a-54a1-4361-b68e-182d6d38f6e9
2025-10-06 01:52:17,225 - INFO - ================================================================================
2025-10-06 01:52:17,225 - INFO - STARTING TEST : test_ports_bindings
2025-10-06 01:52:17,225 - 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-10-06 01:52:17,485 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with
2025-10-06 01:52:17,485 - INFO - Initial checks done. Running the testcase now
2025-10-06 01:52:17,485 - INFO -
2025-10-06 01:52:18,081 - DEBUG - Response for create_network : {'network': {'id': 'cace117b-fc52-4888-80ad-831b801f27fa', 'name': 'ctest-vn-61826946', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38433696', 'ctest-vn-61826946'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:52:18,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '87e81c5f-e940-4e05-bc00-bf8864e3444c', 'name': '', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': 'cace117b-fc52-4888-80ad-831b801f27fa', 'ip_version': 4, 'cidr': '189.243.203.64/26', 'allocation_pools': [{'start': '189.243.203.66', 'end': '189.243.203.126'}], 'gateway_ip': '189.243.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.243.203.66', 'tags': [], 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:18,259 - INFO - Created VN ctest-vn-61826946
2025-10-06 01:52:18,311 - DEBUG - VN ctest-vn-61826946 UUID is cace117b-fc52-4888-80ad-831b801f27fa
2025-10-06 01:52:18,422 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38433696', 'ctest-vmi-98458736']}
2025-10-06 01:52:18,664 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98458736', 'id': 'f9e631a2-6b8f-4bb9-a106-20ea3017bf7a', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': 'cace117b-fc52-4888-80ad-831b801f27fa', 'mac_address': '02:f9:e6:31:a2:6b', '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': '189.243.203.67', 'subnet_id': '87e81c5f-e940-4e05-bc00-bf8864e3444c'}], 'security_groups': ['c8722349-66d5-43a5-bc10-8d894290eaa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:18,665 - DEBUG - Created port f9e631a2-6b8f-4bb9-a106-20ea3017bf7a
2025-10-06 01:52:18,771 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f9e631a2-6b8f-4bb9-a106-20ea3017bf7a
2025-10-06 01:52:19,104 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f9e631a2-6b8f-4bb9-a106-20ea3017bf7a
2025-10-06 01:52:19,137 - INFO - VMI f9e631a2-6b8f-4bb9-a106-20ea3017bf7a verification in API Server passed
2025-10-06 01:52:19,226 - DEBUG - Response for delete_port : ()
2025-10-06 01:52:19,226 - INFO - Deleted port f9e631a2-6b8f-4bb9-a106-20ea3017bf7a
2025-10-06 01:52:19,227 - INFO - Deleting VN ctest-vn-61826946
2025-10-06 01:52:19,349 - DEBUG - Response for deleting network ()
2025-10-06 01:52:19,612 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 01:52:19,612 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-06 01:52:19,612 - INFO - --------------------------------------------------------------------------------
2025-10-06 01:52:19,615 - INFO - ================================================================================
2025-10-06 01:52:19,615 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-06 01:52:19,615 - 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-10-06 01:52:19,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with
2025-10-06 01:52:19,904 - INFO - Initial checks done. Running the testcase now
2025-10-06 01:52:19,904 - INFO -
2025-10-06 01:52:20,084 - DEBUG - Response for create_network : {'network': {'id': '20e3bc53-2d1c-452a-a950-4f6a442356b0', 'name': 'ctest-vn1-21302676', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38433696', 'ctest-vn1-21302676'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:52:20,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '84bb4f02-f093-4db4-96d7-6985cadf5c76', 'name': '', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': '20e3bc53-2d1c-452a-a950-4f6a442356b0', 'ip_version': 4, 'cidr': '190.124.74.192/26', 'allocation_pools': [{'start': '190.124.74.194', 'end': '190.124.74.254'}], 'gateway_ip': '190.124.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.124.74.194', 'tags': [], 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:20,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '6530b1be-cb34-4459-b1a9-2efcea34d472', 'name': '', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': '20e3bc53-2d1c-452a-a950-4f6a442356b0', 'ip_version': 4, 'cidr': '72.116.0.128/26', 'allocation_pools': [{'start': '72.116.0.130', 'end': '72.116.0.190'}], 'gateway_ip': '72.116.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.116.0.130', 'tags': [], 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:20,501 - INFO - Created VN ctest-vn1-21302676
2025-10-06 01:52:20,551 - DEBUG - VN ctest-vn1-21302676 UUID is 20e3bc53-2d1c-452a-a950-4f6a442356b0
2025-10-06 01:52:20,853 - DEBUG - Response for create_port : {'port': {'name': 'e5c3a107-9979-4b26-be80-7a13487ce6fa', 'id': 'e5c3a107-9979-4b26-be80-7a13487ce6fa', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': '20e3bc53-2d1c-452a-a950-4f6a442356b0', 'mac_address': '02:e5:c3:a1:07:99', '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': '190.124.74.197', 'subnet_id': '84bb4f02-f093-4db4-96d7-6985cadf5c76'}], 'security_groups': ['c8722349-66d5-43a5-bc10-8d894290eaa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:21,022 - DEBUG - Response for create_port : {'port': {'name': '99be1184-cc3b-46e0-9d34-f77b80c3d3ee', 'id': '99be1184-cc3b-46e0-9d34-f77b80c3d3ee', 'tenant_id': '8fd9cd6a54a14361b68e182d6d38f6e9', 'network_id': '20e3bc53-2d1c-452a-a950-4f6a442356b0', 'mac_address': '02:99:be:11:84:cc', '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': '72.116.0.133', 'subnet_id': '6530b1be-cb34-4459-b1a9-2efcea34d472'}], 'security_groups': ['c8722349-66d5-43a5-bc10-8d894290eaa4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fd9cd6a54a14361b68e182d6d38f6e9'}}
2025-10-06 01:52:21,079 - DEBUG - Services list from nova: [, , ]
2025-10-06 01:52:21,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1)
2025-10-06 01:52:21,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4216-1)
2025-10-06 01:52:21,834 - INFO - Waiting for VM ctest-vn1-vm1-10783652 to be up..
2025-10-06 01:52:21,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 01:52:26,946 - DEBUG - VM is in ACTIVE state now
2025-10-06 01:52:26,947 - INFO - VM name : ctest-vn1-vm1-10783652
2025-10-06 01:52:27,020 - DEBUG - VM ctest-vn1-vm1-10783652 ID is 5d6d4d02-5560-4aa1-a182-286280bfb842
2025-10-06 01:52:27,040 - DEBUG - VM ctest-vn1-vm1-10783652 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1
2025-10-06 01:52:27,111 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/5d6d4d02-5560-4aa1-a182-286280bfb842
2025-10-06 01:52:27,120 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e5c3a107-9979-4b26-be80-7a13487ce6fa
2025-10-06 01:52:30,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 1009ms')
2025-10-06 01:52:30,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10783652 failed!
2025-10-06 01:52:30,424 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38433696:ctest-vn1-21302676 is 190.124.74.193 and allocation pool is NOT set
2025-10-06 01:52:30,424 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38433696:ctest-vn1-21302676 is 72.116.0.129 and allocation pool is NOT set
2025-10-06 01:52:34,489 - 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=9.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 9.369/9.369/9.369/0.000 ms')
2025-10-06 01:52:34,490 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10783652 passed
2025-10-06 01:52:34,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 01:52:34,640 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10783652, IP 190.124.74.197, Port 22
2025-10-06 01:52:34,795 - DEBUG - VM ctest-vn1-vm1-10783652 is ready for SSH connections
2025-10-06 01:52:34,795 - INFO - Waiting for VM ctest-vn1-vm2-64276507 to be up..
2025-10-06 01:52:34,874 - DEBUG - VM is in ACTIVE state now
2025-10-06 01:52:34,874 - INFO - VM name : ctest-vn1-vm2-64276507
2025-10-06 01:52:34,956 - DEBUG - VM ctest-vn1-vm2-64276507 ID is f859bc60-4e6c-4088-a12d-375961293d54
2025-10-06 01:52:34,956 - DEBUG - VM ctest-vn1-vm2-64276507 launched on Node cn-jenkins-deploy-platform-ansible-os-4216-1
2025-10-06 01:52:35,033 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f859bc60-4e6c-4088-a12d-375961293d54
2025-10-06 01:52:35,042 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/99be1184-cc3b-46e0-9d34-f77b80c3d3ee
2025-10-06 01:52:36,284 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/2.018/3.626/1.607 ms')
2025-10-06 01:52:36,284 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-64276507 passed
2025-10-06 01:52:36,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 01:52:36,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64276507, IP 72.116.0.133, Port 22
2025-10-06 01:52:36,591 - DEBUG - VM ctest-vn1-vm2-64276507 is ready for SSH connections
2025-10-06 01:52:36,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 01:52:36,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 01:52:36,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 01:52:36,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.124.74.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-06 01:52:36,591 - DEBUG - ping -s 56 -c 3 -W 1 190.124.74.197
2025-10-06 01:52:39,294 - DEBUG - PING 190.124.74.197 (190.124.74.197): 56 data bytes
64 bytes from 190.124.74.197: seq=0 ttl=63 time=4.387 ms
64 bytes from 190.124.74.197: seq=1 ttl=63 time=0.793 ms
64 bytes from 190.124.74.197: seq=2 ttl=63 time=0.939 ms
--- 190.124.74.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.793/2.039/4.387 ms
2025-10-06 01:52:39,294 - INFO - Ping to IP 190.124.74.197 from VM ctest-vn1-vm2-64276507 passed
2025-10-06 01:52:39,294 - INFO - Detaching port 99be1184-cc3b-46e0-9d34-f77b80c3d3ee from VM ctest-vn1-vm2-64276507
2025-10-06 01:52:39,344 - INFO - Deleting VM ctest-vn1-vm2-64276507
2025-10-06 01:52:39,412 - INFO - Detaching port e5c3a107-9979-4b26-be80-7a13487ce6fa from VM ctest-vn1-vm1-10783652
2025-10-06 01:52:39,448 - INFO - Deleting VM ctest-vn1-vm1-10783652
2025-10-06 01:52:39,696 - DEBUG - Response for delete_port : ()
2025-10-06 01:52:39,856 - DEBUG - Response for delete_port : ()
2025-10-06 01:52:39,856 - INFO - Deleting VN ctest-vn1-21302676
2025-10-06 01:52:39,994 - DEBUG - Response for deleting network ()
2025-10-06 01:52:40,261 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 01:52:40,261 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-06 01:52:40,261 - INFO - --------------------------------------------------------------------------------
2025-10-06 01:52:41,282 - INFO - Deleted project: ctest-TestPorts-38433696, ID : 8fd9cd6a-54a1-4361-b68e-182d6d38f6e9