2025-12-09 12:06:47,102 - INFO - Domain Default found not creating 2025-12-09 12:06:47,248 - INFO - Project ctest-TestPorts-02932932 not found, creating it 2025-12-09 12:06:47,705 - INFO - Created Project:ctest-TestPorts-02932932, ID : 15dbb91f-60ea-4685-9e5c-cea36f4229af 2025-12-09 12:06:49,123 - INFO - ================================================================================ 2025-12-09 12:06:49,123 - INFO - STARTING TEST : test_ports_bindings 2025-12-09 12:06:49,123 - 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-12-09 12:06:49,378 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 12:06:49,378 - INFO - Initial checks done. Running the testcase now 2025-12-09 12:06:49,378 - INFO - 2025-12-09 12:06:49,863 - DEBUG - Response for create_network : {'network': {'id': 'c22034de-7942-4fa0-a7df-d9ec4cf400c1', 'name': 'ctest-vn-25026206', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'project_id': '15dbb91f60ea46859e5ccea36f4229af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02932932', 'ctest-vn-25026206'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:06:50,056 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a385b8db-1405-40cb-a2b6-04608b9fb8ef', 'name': '', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c22034de-7942-4fa0-a7df-d9ec4cf400c1', 'ip_version': 4, 'cidr': '190.74.192.192/26', 'allocation_pools': [{'start': '190.74.192.194', 'end': '190.74.192.254'}], 'gateway_ip': '190.74.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.74.192.194', 'tags': [], 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:50,072 - INFO - Created VN ctest-vn-25026206 2025-12-09 12:06:50,124 - DEBUG - VN ctest-vn-25026206 UUID is c22034de-7942-4fa0-a7df-d9ec4cf400c1 2025-12-09 12:06:50,229 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02932932', 'ctest-vmi-16170344']} 2025-12-09 12:06:50,488 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16170344', 'id': '8eba83ba-9a12-42c7-bdab-b10d4064f422', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c22034de-7942-4fa0-a7df-d9ec4cf400c1', 'mac_address': '02:8e:ba:83:ba:9a', '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': '190.74.192.195', 'subnet_id': 'a385b8db-1405-40cb-a2b6-04608b9fb8ef'}], 'security_groups': ['7ac41b67-d7d6-4522-916f-dfde8ff6df25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:50,488 - DEBUG - Created port 8eba83ba-9a12-42c7-bdab-b10d4064f422 2025-12-09 12:06:50,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8eba83ba-9a12-42c7-bdab-b10d4064f422 2025-12-09 12:06:50,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8eba83ba-9a12-42c7-bdab-b10d4064f422 2025-12-09 12:06:50,884 - INFO - VMI 8eba83ba-9a12-42c7-bdab-b10d4064f422 verification in API Server passed 2025-12-09 12:06:50,956 - DEBUG - Response for delete_port : () 2025-12-09 12:06:50,956 - INFO - Deleted port 8eba83ba-9a12-42c7-bdab-b10d4064f422 2025-12-09 12:06:50,956 - INFO - Deleting VN ctest-vn-25026206 2025-12-09 12:06:51,039 - DEBUG - Response for deleting network () 2025-12-09 12:06:51,302 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 12:06:51,302 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 12:06:51,302 - INFO - -------------------------------------------------------------------------------- 2025-12-09 12:06:51,304 - INFO - ================================================================================ 2025-12-09 12:06:51,304 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-09 12:06:51,304 - 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-12-09 12:06:51,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 12:06:51,589 - INFO - Initial checks done. Running the testcase now 2025-12-09 12:06:51,589 - INFO - 2025-12-09 12:06:51,752 - DEBUG - Response for create_network : {'network': {'id': 'c7213c23-2926-4f48-8cf9-526b961de724', 'name': 'ctest-vn1-60198105', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'project_id': '15dbb91f60ea46859e5ccea36f4229af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02932932', 'ctest-vn1-60198105'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 12:06:51,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '7faccfd4-04bc-4aa7-bcae-21f5b1cadd7b', 'name': '', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c7213c23-2926-4f48-8cf9-526b961de724', 'ip_version': 4, 'cidr': '84.158.151.0/26', 'allocation_pools': [{'start': '84.158.151.2', 'end': '84.158.151.62'}], 'gateway_ip': '84.158.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.158.151.2', 'tags': [], 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:52,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5ab8fbd-328b-443c-8211-883bc57289c9', 'name': '', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c7213c23-2926-4f48-8cf9-526b961de724', 'ip_version': 4, 'cidr': '82.208.150.128/26', 'allocation_pools': [{'start': '82.208.150.130', 'end': '82.208.150.190'}], 'gateway_ip': '82.208.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.208.150.130', 'tags': [], 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:52,164 - INFO - Created VN ctest-vn1-60198105 2025-12-09 12:06:52,212 - DEBUG - VN ctest-vn1-60198105 UUID is c7213c23-2926-4f48-8cf9-526b961de724 2025-12-09 12:06:52,480 - DEBUG - Response for create_port : {'port': {'name': '43ba573e-c13e-43e2-8248-032ddde1b518', 'id': '43ba573e-c13e-43e2-8248-032ddde1b518', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c7213c23-2926-4f48-8cf9-526b961de724', 'mac_address': '02:43:ba:57:3e: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': '84.158.151.5', 'subnet_id': '7faccfd4-04bc-4aa7-bcae-21f5b1cadd7b'}], 'security_groups': ['7ac41b67-d7d6-4522-916f-dfde8ff6df25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:52,625 - DEBUG - Response for create_port : {'port': {'name': '5ee5d4b0-1f49-4ac7-aa67-3527b14bf75b', 'id': '5ee5d4b0-1f49-4ac7-aa67-3527b14bf75b', 'tenant_id': '15dbb91f60ea46859e5ccea36f4229af', 'network_id': 'c7213c23-2926-4f48-8cf9-526b961de724', 'mac_address': '02:5e:e5:d4:b0:1f', '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': '82.208.150.133', 'subnet_id': 'c5ab8fbd-328b-443c-8211-883bc57289c9'}], 'security_groups': ['7ac41b67-d7d6-4522-916f-dfde8ff6df25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '15dbb91f60ea46859e5ccea36f4229af'}} 2025-12-09 12:06:52,675 - DEBUG - Services list from nova: [, , ] 2025-12-09 12:06:52,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:06:53,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4869-1) 2025-12-09 12:06:53,317 - INFO - Waiting for VM ctest-vn1-vm1-76440328 to be up.. 2025-12-09 12:06:53,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 12:06:58,440 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:06:58,440 - INFO - VM name : ctest-vn1-vm1-76440328 2025-12-09 12:06:58,521 - DEBUG - VM ctest-vn1-vm1-76440328 ID is 8fdbe25b-e070-4fed-a07c-ef1770ab732f 2025-12-09 12:06:58,540 - DEBUG - VM ctest-vn1-vm1-76440328 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:06:58,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fdbe25b-e070-4fed-a07c-ef1770ab732f 2025-12-09 12:06:58,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/43ba573e-c13e-43e2-8248-032ddde1b518 2025-12-09 12:07:01,880 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-12-09 12:07:01,880 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-76440328 failed! 2025-12-09 12:07:01,941 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02932932:ctest-vn1-60198105 is 84.158.151.1 and allocation pool is NOT set 2025-12-09 12:07:01,941 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02932932:ctest-vn1-60198105 is 82.208.150.129 and allocation pool is NOT set 2025-12-09 12:07:03,999 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.89 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 = 1.885/3.213/4.541/1.328 ms') 2025-12-09 12:07:03,999 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-76440328 passed 2025-12-09 12:07:04,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:04,148 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76440328, IP 84.158.151.5, Port 22 2025-12-09 12:07:04,304 - DEBUG - VM ctest-vn1-vm1-76440328 is ready for SSH connections 2025-12-09 12:07:04,304 - INFO - Waiting for VM ctest-vn1-vm2-26553015 to be up.. 2025-12-09 12:07:04,376 - DEBUG - VM is in ACTIVE state now 2025-12-09 12:07:04,376 - INFO - VM name : ctest-vn1-vm2-26553015 2025-12-09 12:07:04,451 - DEBUG - VM ctest-vn1-vm2-26553015 ID is 9b9f9990-1a07-4935-85b2-1cf966b2608d 2025-12-09 12:07:04,451 - DEBUG - VM ctest-vn1-vm2-26553015 launched on Node cn-jenkins-deploy-platform-ansible-os-4869-1 2025-12-09 12:07:04,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b9f9990-1a07-4935-85b2-1cf966b2608d 2025-12-09 12:07:04,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ee5d4b0-1f49-4ac7-aa67-3527b14bf75b 2025-12-09 12:07:05,759 - 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=4.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.843 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.843/2.781/4.720/1.938 ms') 2025-12-09 12:07:05,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26553015 passed 2025-12-09 12:07:05,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:05,912 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26553015, IP 82.208.150.133, Port 22 2025-12-09 12:07:06,064 - DEBUG - VM ctest-vn1-vm2-26553015 is ready for SSH connections 2025-12-09 12:07:06,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:06,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:06,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 12:07:06,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.158.151.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 12:07:06,065 - DEBUG - ping -s 56 -c 3 -W 1 84.158.151.5 2025-12-09 12:07:09,730 - DEBUG - PING 84.158.151.5 (84.158.151.5): 56 data bytes 64 bytes from 84.158.151.5: seq=0 ttl=63 time=4.302 ms 64 bytes from 84.158.151.5: seq=1 ttl=63 time=1.312 ms 64 bytes from 84.158.151.5: seq=2 ttl=63 time=0.911 ms --- 84.158.151.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.175/4.302 ms 2025-12-09 12:07:09,730 - INFO - Ping to IP 84.158.151.5 from VM ctest-vn1-vm2-26553015 passed 2025-12-09 12:07:09,730 - INFO - Detaching port 5ee5d4b0-1f49-4ac7-aa67-3527b14bf75b from VM ctest-vn1-vm2-26553015 2025-12-09 12:07:09,788 - INFO - Deleting VM ctest-vn1-vm2-26553015 2025-12-09 12:07:09,875 - INFO - Detaching port 43ba573e-c13e-43e2-8248-032ddde1b518 from VM ctest-vn1-vm1-76440328 2025-12-09 12:07:09,913 - INFO - Deleting VM ctest-vn1-vm1-76440328 2025-12-09 12:07:10,146 - DEBUG - Response for delete_port : () 2025-12-09 12:07:10,280 - DEBUG - Response for delete_port : () 2025-12-09 12:07:10,281 - INFO - Deleting VN ctest-vn1-60198105 2025-12-09 12:07:10,437 - DEBUG - Response for deleting network () 2025-12-09 12:07:10,700 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 12:07:10,700 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-09 12:07:10,700 - INFO - -------------------------------------------------------------------------------- 2025-12-09 12:07:11,389 - INFO - Deleted project: ctest-TestPorts-02932932, ID : 15dbb91f-60ea-4685-9e5c-cea36f4229af