2025-09-10 16:47:03,975 - INFO - Domain Default found not creating 2025-09-10 16:47:04,123 - INFO - Project ctest-TestPorts-49330332 not found, creating it 2025-09-10 16:47:04,573 - INFO - Created Project:ctest-TestPorts-49330332, ID : a73b7192-611a-472a-8639-213b89a4e7b4 2025-09-10 16:47:06,593 - INFO - ================================================================================ 2025-09-10 16:47:06,593 - INFO - STARTING TEST : test_ports_bindings 2025-09-10 16:47:06,594 - 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-10 16:47:06,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-10 16:47:06,854 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:47:06,854 - INFO - 2025-09-10 16:47:07,381 - DEBUG - Response for create_network : {'network': {'id': 'b852401f-13d8-4df6-b595-50db941165ad', 'name': 'ctest-vn-01864005', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'project_id': 'a73b7192611a472a8639213b89a4e7b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49330332', 'ctest-vn-01864005'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:47:07,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '82cbd3ec-489d-4d25-9aec-eafb3be11bcb', 'name': '', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': 'b852401f-13d8-4df6-b595-50db941165ad', 'ip_version': 4, 'cidr': '134.232.236.192/26', 'allocation_pools': [{'start': '134.232.236.194', 'end': '134.232.236.254'}], 'gateway_ip': '134.232.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.232.236.194', 'tags': [], 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:07,576 - INFO - Created VN ctest-vn-01864005 2025-09-10 16:47:07,627 - DEBUG - VN ctest-vn-01864005 UUID is b852401f-13d8-4df6-b595-50db941165ad 2025-09-10 16:47:07,738 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49330332', 'ctest-vmi-36985071']} 2025-09-10 16:47:07,974 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36985071', 'id': 'fec1ef7e-ed00-4b6c-a3b0-9f70e1736564', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': 'b852401f-13d8-4df6-b595-50db941165ad', 'mac_address': '02:fe:c1:ef:7e:ed', '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': '134.232.236.195', 'subnet_id': '82cbd3ec-489d-4d25-9aec-eafb3be11bcb'}], 'security_groups': ['c0d60b92-c3b4-46c4-97fc-799d1ec7bf73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:07,974 - DEBUG - Created port fec1ef7e-ed00-4b6c-a3b0-9f70e1736564 2025-09-10 16:47:08,087 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fec1ef7e-ed00-4b6c-a3b0-9f70e1736564 2025-09-10 16:47:08,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fec1ef7e-ed00-4b6c-a3b0-9f70e1736564 2025-09-10 16:47:08,420 - INFO - VMI fec1ef7e-ed00-4b6c-a3b0-9f70e1736564 verification in API Server passed 2025-09-10 16:47:08,508 - DEBUG - Response for delete_port : () 2025-09-10 16:47:08,508 - INFO - Deleted port fec1ef7e-ed00-4b6c-a3b0-9f70e1736564 2025-09-10 16:47:08,508 - INFO - Deleting VN ctest-vn-01864005 2025-09-10 16:47:08,601 - DEBUG - Response for deleting network () 2025-09-10 16:47:08,856 - DEBUG - No XMPP flaps were noticed during the test
2025-09-10 16:47:08,857 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-10 16:47:08,857 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:47:08,859 - INFO - ================================================================================ 2025-09-10 16:47:08,859 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-10 16:47:08,859 - 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-10 16:47:09,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-10 16:47:09,155 - INFO - Initial checks done. Running the testcase now 2025-09-10 16:47:09,155 - INFO - 2025-09-10 16:47:09,330 - DEBUG - Response for create_network : {'network': {'id': '0f4b68af-a88f-40ef-afc5-3b09329ddda6', 'name': 'ctest-vn1-29873184', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'project_id': 'a73b7192611a472a8639213b89a4e7b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49330332', 'ctest-vn1-29873184'], 'port_security_enabled': True, 'description': ''}} 2025-09-10 16:47:09,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7c6d742-306a-4024-ba58-eeab39e73cb5', 'name': '', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': '0f4b68af-a88f-40ef-afc5-3b09329ddda6', 'ip_version': 4, 'cidr': '47.178.32.128/26', 'allocation_pools': [{'start': '47.178.32.130', 'end': '47.178.32.190'}], 'gateway_ip': '47.178.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.178.32.130', 'tags': [], 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:09,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '76b29e48-39c7-42e4-abb3-2c782ee8d212', 'name': '', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': '0f4b68af-a88f-40ef-afc5-3b09329ddda6', 'ip_version': 4, 'cidr': '144.59.35.192/26', 'allocation_pools': [{'start': '144.59.35.194', 'end': '144.59.35.254'}], 'gateway_ip': '144.59.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.59.35.194', 'tags': [], 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:09,697 - INFO - Created VN ctest-vn1-29873184 2025-09-10 16:47:09,747 - DEBUG - VN ctest-vn1-29873184 UUID is 0f4b68af-a88f-40ef-afc5-3b09329ddda6 2025-09-10 16:47:10,048 - DEBUG - Response for create_port : {'port': {'name': '7ad4e776-9d7d-4e95-a88a-efe530d982f2', 'id': '7ad4e776-9d7d-4e95-a88a-efe530d982f2', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': '0f4b68af-a88f-40ef-afc5-3b09329ddda6', 'mac_address': '02:7a:d4:e7:76:9d', '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': '47.178.32.133', 'subnet_id': 'f7c6d742-306a-4024-ba58-eeab39e73cb5'}], 'security_groups': ['c0d60b92-c3b4-46c4-97fc-799d1ec7bf73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:10,222 - DEBUG - Response for create_port : {'port': {'name': 'd90d3303-47bd-445a-a8f7-97ccf97e2336', 'id': 'd90d3303-47bd-445a-a8f7-97ccf97e2336', 'tenant_id': 'a73b7192611a472a8639213b89a4e7b4', 'network_id': '0f4b68af-a88f-40ef-afc5-3b09329ddda6', 'mac_address': '02:d9:0d:33:03:47', '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': '144.59.35.197', 'subnet_id': '76b29e48-39c7-42e4-abb3-2c782ee8d212'}], 'security_groups': ['c0d60b92-c3b4-46c4-97fc-799d1ec7bf73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a73b7192611a472a8639213b89a4e7b4'}} 2025-09-10 16:47:10,279 - DEBUG - Services list from nova: [, , ] 2025-09-10 16:47:10,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4073-1) 2025-09-10 16:47:11,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4073-1) 2025-09-10 16:47:11,020 - INFO - Waiting for VM ctest-vn1-vm1-15184528 to be up.. 2025-09-10 16:47:11,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-10 16:47:16,138 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:47:16,138 - INFO - VM name : ctest-vn1-vm1-15184528 2025-09-10 16:47:16,214 - DEBUG - VM ctest-vn1-vm1-15184528 ID is 1da2a8d0-ca8a-4d77-9a08-91d778418c0f 2025-09-10 16:47:16,233 - DEBUG - VM ctest-vn1-vm1-15184528 launched on Node cn-jenkins-deploy-platform-ansible-os-4073-1 2025-09-10 16:47:16,310 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1da2a8d0-ca8a-4d77-9a08-91d778418c0f 2025-09-10 16:47:16,317 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7ad4e776-9d7d-4e95-a88a-efe530d982f2 2025-09-10 16:47:19,546 - 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 1002ms') 2025-09-10 16:47:19,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15184528 failed! 2025-09-10 16:47:19,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49330332:ctest-vn1-29873184 is 47.178.32.129 and allocation pool is NOT set 2025-09-10 16:47:19,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49330332:ctest-vn1-29873184 is 144.59.35.193 and allocation pool is NOT set 2025-09-10 16:47:23,676 - 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=6.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 6.888/6.888/6.888/0.000 ms') 2025-09-10 16:47:23,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15184528 passed 2025-09-10 16:47:23,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:47:23,831 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15184528, IP 47.178.32.133, Port 22 2025-09-10 16:47:24,001 - DEBUG - VM ctest-vn1-vm1-15184528 is ready for SSH connections 2025-09-10 16:47:24,001 - INFO - Waiting for VM ctest-vn1-vm2-31594211 to be up.. 2025-09-10 16:47:24,073 - DEBUG - VM is in ACTIVE state now 2025-09-10 16:47:24,073 - INFO - VM name : ctest-vn1-vm2-31594211 2025-09-10 16:47:24,146 - DEBUG - VM ctest-vn1-vm2-31594211 ID is f500b0e7-99e8-43be-b782-c0b2cb06dc2a 2025-09-10 16:47:24,146 - DEBUG - VM ctest-vn1-vm2-31594211 launched on Node cn-jenkins-deploy-platform-ansible-os-4073-1 2025-09-10 16:47:24,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f500b0e7-99e8-43be-b782-c0b2cb06dc2a 2025-09-10 16:47:24,224 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d90d3303-47bd-445a-a8f7-97ccf97e2336 2025-09-10 16:47:25,462 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.502/2.613/1.110 ms') 2025-09-10 16:47:25,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31594211 passed 2025-09-10 16:47:25,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:47:25,619 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31594211, IP 144.59.35.197, Port 22 2025-09-10 16:47:25,778 - DEBUG - VM ctest-vn1-vm2-31594211 is ready for SSH connections 2025-09-10 16:47:25,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:47:25,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:47:25,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-10 16:47:25,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.178.32.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-10 16:47:25,779 - DEBUG - ping -s 56 -c 3 -W 1 47.178.32.133 2025-09-10 16:47:28,434 - DEBUG - PING 47.178.32.133 (47.178.32.133): 56 data bytes 64 bytes from 47.178.32.133: seq=0 ttl=63 time=3.538 ms 64 bytes from 47.178.32.133: seq=1 ttl=63 time=0.812 ms 64 bytes from 47.178.32.133: seq=2 ttl=63 time=1.086 ms --- 47.178.32.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.812/3.538 ms 2025-09-10 16:47:28,434 - INFO - Ping to IP 47.178.32.133 from VM ctest-vn1-vm2-31594211 passed 2025-09-10 16:47:28,434 - INFO - Detaching port d90d3303-47bd-445a-a8f7-97ccf97e2336 from VM ctest-vn1-vm2-31594211 2025-09-10 16:47:28,492 - INFO - Deleting VM ctest-vn1-vm2-31594211 2025-09-10 16:47:28,571 - INFO - Detaching port 7ad4e776-9d7d-4e95-a88a-efe530d982f2 from VM ctest-vn1-vm1-15184528 2025-09-10 16:47:28,604 - INFO - Deleting VM ctest-vn1-vm1-15184528 2025-09-10 16:47:28,825 - DEBUG - Response for delete_port : () 2025-09-10 16:47:28,982 - DEBUG - Response for delete_port : () 2025-09-10 16:47:28,982 - INFO - Deleting VN ctest-vn1-29873184 2025-09-10 16:47:29,100 - DEBUG - Response for deleting network () 2025-09-10 16:47:29,352 - DEBUG - No XMPP flaps were noticed during the test
2025-09-10 16:47:29,352 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-10 16:47:29,352 - INFO - -------------------------------------------------------------------------------- 2025-09-10 16:47:30,036 - INFO - Deleted project: ctest-TestPorts-49330332, ID : a73b7192-611a-472a-8639-213b89a4e7b4