2025-10-09 22:59:34,766 - INFO - Domain Default found not creating
2025-10-09 22:59:34,882 - INFO - Project ctest-TestPorts-15132421 not found, creating it
2025-10-09 22:59:35,302 - INFO - Created Project:ctest-TestPorts-15132421, ID : 50f64794-b5dc-420d-99db-31879b78064c
2025-10-09 22:59:36,613 - INFO - ================================================================================
2025-10-09 22:59:36,614 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 22:59:36,614 - 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-09 22:59:36,861 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-09 22:59:36,861 - INFO - Initial checks done. Running the testcase now
2025-10-09 22:59:36,861 - INFO -
2025-10-09 22:59:37,351 - DEBUG - Response for create_network : {'network': {'id': 'd41c55d2-0181-42c7-9291-fe7efa4621c7', 'name': 'ctest-vn-87014492', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'project_id': '50f64794b5dc420d99db31879b78064c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15132421', 'ctest-vn-87014492'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 22:59:37,520 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd7e307e-2405-47d6-ba4e-1038b87670e7', 'name': '', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': 'd41c55d2-0181-42c7-9291-fe7efa4621c7', 'ip_version': 4, 'cidr': '30.136.124.64/26', 'allocation_pools': [{'start': '30.136.124.66', 'end': '30.136.124.126'}], 'gateway_ip': '30.136.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.136.124.66', 'tags': [], 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:37,533 - INFO - Created VN ctest-vn-87014492
2025-10-09 22:59:37,584 - DEBUG - VN ctest-vn-87014492 UUID is d41c55d2-0181-42c7-9291-fe7efa4621c7
2025-10-09 22:59:37,684 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15132421', 'ctest-vmi-19101008']}
2025-10-09 22:59:37,929 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19101008', 'id': '6ea5296c-12fb-4c58-ba4e-fa8eade459c8', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': 'd41c55d2-0181-42c7-9291-fe7efa4621c7', 'mac_address': '02:6e:a5:29:6c:12', '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': '30.136.124.67', 'subnet_id': 'dd7e307e-2405-47d6-ba4e-1038b87670e7'}], 'security_groups': ['4a00d435-f871-454b-9209-1132c1af4484'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:37,929 - DEBUG - Created port 6ea5296c-12fb-4c58-ba4e-fa8eade459c8
2025-10-09 22:59:38,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ea5296c-12fb-4c58-ba4e-fa8eade459c8
2025-10-09 22:59:38,319 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ea5296c-12fb-4c58-ba4e-fa8eade459c8
2025-10-09 22:59:38,346 - INFO - VMI 6ea5296c-12fb-4c58-ba4e-fa8eade459c8 verification in API Server passed
2025-10-09 22:59:38,416 - DEBUG - Response for delete_port : ()
2025-10-09 22:59:38,416 - INFO - Deleted port 6ea5296c-12fb-4c58-ba4e-fa8eade459c8
2025-10-09 22:59:38,416 - INFO - Deleting VN ctest-vn-87014492
2025-10-09 22:59:38,514 - DEBUG - Response for deleting network ()
2025-10-09 22:59:38,773 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 22:59:38,773 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-09 22:59:38,773 - INFO - --------------------------------------------------------------------------------
2025-10-09 22:59:38,775 - INFO - ================================================================================
2025-10-09 22:59:38,775 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 22:59:38,775 - 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-09 22:59:39,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-09 22:59:39,061 - INFO - Initial checks done. Running the testcase now
2025-10-09 22:59:39,061 - INFO -
2025-10-09 22:59:39,215 - DEBUG - Response for create_network : {'network': {'id': '157391a0-d6d6-44b0-ac8d-b6381c4f4b53', 'name': 'ctest-vn1-19996105', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'project_id': '50f64794b5dc420d99db31879b78064c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15132421', 'ctest-vn1-19996105'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 22:59:39,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f083ad17-b3a2-4336-a74d-dc3cb41d90fd', 'name': '', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': '157391a0-d6d6-44b0-ac8d-b6381c4f4b53', 'ip_version': 4, 'cidr': '53.63.10.192/26', 'allocation_pools': [{'start': '53.63.10.194', 'end': '53.63.10.254'}], 'gateway_ip': '53.63.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.63.10.194', 'tags': [], 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:39,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c712fa49-ae5b-475a-a043-a346d1b9689d', 'name': '', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': '157391a0-d6d6-44b0-ac8d-b6381c4f4b53', 'ip_version': 4, 'cidr': '44.2.119.128/26', 'allocation_pools': [{'start': '44.2.119.130', 'end': '44.2.119.190'}], 'gateway_ip': '44.2.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.2.119.130', 'tags': [], 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:39,555 - INFO - Created VN ctest-vn1-19996105
2025-10-09 22:59:39,604 - DEBUG - VN ctest-vn1-19996105 UUID is 157391a0-d6d6-44b0-ac8d-b6381c4f4b53
2025-10-09 22:59:39,876 - DEBUG - Response for create_port : {'port': {'name': 'f983c0ab-7a99-41e7-846c-2d5a96cce1be', 'id': 'f983c0ab-7a99-41e7-846c-2d5a96cce1be', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': '157391a0-d6d6-44b0-ac8d-b6381c4f4b53', 'mac_address': '02:f9:83:c0:ab:7a', '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': '53.63.10.197', 'subnet_id': 'f083ad17-b3a2-4336-a74d-dc3cb41d90fd'}], 'security_groups': ['4a00d435-f871-454b-9209-1132c1af4484'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:40,039 - DEBUG - Response for create_port : {'port': {'name': 'ea310a34-fd87-4246-896c-7b25cc983d09', 'id': 'ea310a34-fd87-4246-896c-7b25cc983d09', 'tenant_id': '50f64794b5dc420d99db31879b78064c', 'network_id': '157391a0-d6d6-44b0-ac8d-b6381c4f4b53', 'mac_address': '02:ea:31:0a:34:fd', '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': '44.2.119.133', 'subnet_id': 'c712fa49-ae5b-475a-a043-a346d1b9689d'}], 'security_groups': ['4a00d435-f871-454b-9209-1132c1af4484'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f64794b5dc420d99db31879b78064c'}}
2025-10-09 22:59:40,086 - DEBUG - Services list from nova: [, , ]
2025-10-09 22:59:40,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1)
2025-10-09 22:59:40,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1)
2025-10-09 22:59:40,667 - INFO - Waiting for VM ctest-vn1-vm1-50278160 to be up..
2025-10-09 22:59:40,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 22:59:45,760 - DEBUG - VM is in ACTIVE state now
2025-10-09 22:59:45,760 - INFO - VM name : ctest-vn1-vm1-50278160
2025-10-09 22:59:45,817 - DEBUG - VM ctest-vn1-vm1-50278160 ID is e41e23d1-ef1c-46e6-bcd3-b5472ee32912
2025-10-09 22:59:45,832 - DEBUG - VM ctest-vn1-vm1-50278160 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1
2025-10-09 22:59:45,889 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e41e23d1-ef1c-46e6-bcd3-b5472ee32912
2025-10-09 22:59:45,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f983c0ab-7a99-41e7-846c-2d5a96cce1be
2025-10-09 22:59:49,142 - 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 1024ms')
2025-10-09 22:59:49,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50278160 failed!
2025-10-09 22:59:49,196 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15132421:ctest-vn1-19996105 is 53.63.10.193 and allocation pool is NOT set
2025-10-09 22:59:49,197 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15132421:ctest-vn1-19996105 is 44.2.119.129 and allocation pool is NOT set
2025-10-09 22:59:51,263 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 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 = 2.146/3.418/4.691/1.272 ms')
2025-10-09 22:59:51,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50278160 passed
2025-10-09 22:59:51,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 22:59:51,413 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50278160, IP 53.63.10.197, Port 22
2025-10-09 22:59:51,563 - DEBUG - VM ctest-vn1-vm1-50278160 is ready for SSH connections
2025-10-09 22:59:51,563 - INFO - Waiting for VM ctest-vn1-vm2-75657990 to be up..
2025-10-09 22:59:51,625 - DEBUG - VM is in ACTIVE state now
2025-10-09 22:59:51,625 - INFO - VM name : ctest-vn1-vm2-75657990
2025-10-09 22:59:51,682 - DEBUG - VM ctest-vn1-vm2-75657990 ID is 0360ed60-43eb-4e65-9ad6-c5f2f0a513d8
2025-10-09 22:59:51,682 - DEBUG - VM ctest-vn1-vm2-75657990 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1
2025-10-09 22:59:51,738 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0360ed60-43eb-4e65-9ad6-c5f2f0a513d8
2025-10-09 22:59:51,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ea310a34-fd87-4246-896c-7b25cc983d09
2025-10-09 22:59:52,978 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.445/2.541/1.095 ms')
2025-10-09 22:59:52,978 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75657990 passed
2025-10-09 22:59:53,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 22:59:53,129 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75657990, IP 44.2.119.133, Port 22
2025-10-09 22:59:53,284 - DEBUG - VM ctest-vn1-vm2-75657990 is ready for SSH connections
2025-10-09 22:59:53,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 22:59:53,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 22:59:53,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 22:59:53,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.63.10.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-09 22:59:53,285 - DEBUG - ping -s 56 -c 3 -W 1 53.63.10.197
2025-10-09 22:59:56,200 - DEBUG - PING 53.63.10.197 (53.63.10.197): 56 data bytes
64 bytes from 53.63.10.197: seq=0 ttl=63 time=3.278 ms
64 bytes from 53.63.10.197: seq=1 ttl=63 time=0.898 ms
64 bytes from 53.63.10.197: seq=2 ttl=63 time=0.927 ms
--- 53.63.10.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.898/1.701/3.278 ms
2025-10-09 22:59:56,200 - INFO - Ping to IP 53.63.10.197 from VM ctest-vn1-vm2-75657990 passed
2025-10-09 22:59:56,200 - INFO - Detaching port ea310a34-fd87-4246-896c-7b25cc983d09 from VM ctest-vn1-vm2-75657990
2025-10-09 22:59:56,241 - INFO - Deleting VM ctest-vn1-vm2-75657990
2025-10-09 22:59:56,302 - INFO - Detaching port f983c0ab-7a99-41e7-846c-2d5a96cce1be from VM ctest-vn1-vm1-50278160
2025-10-09 22:59:56,330 - INFO - Deleting VM ctest-vn1-vm1-50278160
2025-10-09 22:59:56,515 - DEBUG - Response for delete_port : ()
2025-10-09 22:59:56,664 - DEBUG - Response for delete_port : ()
2025-10-09 22:59:56,664 - INFO - Deleting VN ctest-vn1-19996105
2025-10-09 22:59:56,769 - DEBUG - Response for deleting network ()
2025-10-09 22:59:57,024 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 22:59:57,024 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-09 22:59:57,025 - INFO - --------------------------------------------------------------------------------
2025-10-09 22:59:57,681 - INFO - Deleted project: ctest-TestPorts-15132421, ID : 50f64794-b5dc-420d-99db-31879b78064c