2025-12-09 22:10:42,354 - INFO - Domain Default found not creating 2025-12-09 22:10:42,520 - INFO - Project ctest-TestPorts-99713129 not found, creating it 2025-12-09 22:10:42,978 - INFO - Created Project:ctest-TestPorts-99713129, ID : 936c0ced-b3cc-4858-b9b5-4e5a7566b71c 2025-12-09 22:10:44,549 - INFO - ================================================================================ 2025-12-09 22:10:44,549 - INFO - STARTING TEST : test_ports_bindings 2025-12-09 22:10:44,549 - 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 22:10:44,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 22:10:44,812 - INFO - Initial checks done. Running the testcase now 2025-12-09 22:10:44,812 - INFO - 2025-12-09 22:10:45,369 - DEBUG - Response for create_network : {'network': {'id': 'b27e2bcc-9ea2-4b5b-a3cd-e456d9520dcf', 'name': 'ctest-vn-46702132', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99713129', 'ctest-vn-46702132'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:10:45,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '6700c6a7-7f83-4f20-beef-a167e33360a2', 'name': '', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'b27e2bcc-9ea2-4b5b-a3cd-e456d9520dcf', 'ip_version': 4, 'cidr': '62.44.148.64/26', 'allocation_pools': [{'start': '62.44.148.66', 'end': '62.44.148.126'}], 'gateway_ip': '62.44.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.44.148.66', 'tags': [], 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:45,550 - INFO - Created VN ctest-vn-46702132 2025-12-09 22:10:45,605 - DEBUG - VN ctest-vn-46702132 UUID is b27e2bcc-9ea2-4b5b-a3cd-e456d9520dcf 2025-12-09 22:10:45,711 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99713129', 'ctest-vmi-14065540']} 2025-12-09 22:10:45,954 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14065540', 'id': '5d4eb42e-c292-45d1-b1c0-154844d63f11', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'b27e2bcc-9ea2-4b5b-a3cd-e456d9520dcf', 'mac_address': '02:5d:4e:b4:2e:c2', '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': '62.44.148.67', 'subnet_id': '6700c6a7-7f83-4f20-beef-a167e33360a2'}], 'security_groups': ['bc370297-2f55-40b4-bad7-59138d5fe064'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:45,954 - DEBUG - Created port 5d4eb42e-c292-45d1-b1c0-154844d63f11 2025-12-09 22:10:46,057 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5d4eb42e-c292-45d1-b1c0-154844d63f11 2025-12-09 22:10:46,352 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5d4eb42e-c292-45d1-b1c0-154844d63f11 2025-12-09 22:10:46,389 - INFO - VMI 5d4eb42e-c292-45d1-b1c0-154844d63f11 verification in API Server passed 2025-12-09 22:10:46,481 - DEBUG - Response for delete_port : () 2025-12-09 22:10:46,481 - INFO - Deleted port 5d4eb42e-c292-45d1-b1c0-154844d63f11 2025-12-09 22:10:46,481 - INFO - Deleting VN ctest-vn-46702132 2025-12-09 22:10:46,600 - DEBUG - Response for deleting network () 2025-12-09 22:10:46,868 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 22:10:46,869 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 22:10:46,869 - INFO - -------------------------------------------------------------------------------- 2025-12-09 22:10:46,872 - INFO - ================================================================================ 2025-12-09 22:10:46,872 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-09 22:10:46,872 - 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 22:10:47,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 22:10:47,162 - INFO - Initial checks done. Running the testcase now 2025-12-09 22:10:47,162 - INFO - 2025-12-09 22:10:47,319 - DEBUG - Response for create_network : {'network': {'id': 'f2ea06ac-dd01-441a-804a-3307ba79b4f3', 'name': 'ctest-vn1-73524640', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99713129', 'ctest-vn1-73524640'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:10:47,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc8e34e9-4f7c-430a-9346-cd72edf562d0', 'name': '', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'f2ea06ac-dd01-441a-804a-3307ba79b4f3', 'ip_version': 4, 'cidr': '93.185.172.64/26', 'allocation_pools': [{'start': '93.185.172.66', 'end': '93.185.172.126'}], 'gateway_ip': '93.185.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.185.172.66', 'tags': [], 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:47,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c08d89f6-f032-47bb-a7d2-1dd758685617', 'name': '', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'f2ea06ac-dd01-441a-804a-3307ba79b4f3', 'ip_version': 4, 'cidr': '71.205.239.128/26', 'allocation_pools': [{'start': '71.205.239.130', 'end': '71.205.239.190'}], 'gateway_ip': '71.205.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.205.239.130', 'tags': [], 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:47,659 - INFO - Created VN ctest-vn1-73524640 2025-12-09 22:10:47,709 - DEBUG - VN ctest-vn1-73524640 UUID is f2ea06ac-dd01-441a-804a-3307ba79b4f3 2025-12-09 22:10:47,998 - DEBUG - Response for create_port : {'port': {'name': '84a20934-ab4c-4770-9177-771bc9933abd', 'id': '84a20934-ab4c-4770-9177-771bc9933abd', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'f2ea06ac-dd01-441a-804a-3307ba79b4f3', 'mac_address': '02:84:a2:09:34:ab', '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': '93.185.172.69', 'subnet_id': 'fc8e34e9-4f7c-430a-9346-cd72edf562d0'}], 'security_groups': ['bc370297-2f55-40b4-bad7-59138d5fe064'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:48,166 - DEBUG - Response for create_port : {'port': {'name': '0c11091b-54ca-4631-acb7-98379632cf67', 'id': '0c11091b-54ca-4631-acb7-98379632cf67', 'tenant_id': '936c0cedb3cc4858b9b54e5a7566b71c', 'network_id': 'f2ea06ac-dd01-441a-804a-3307ba79b4f3', 'mac_address': '02:0c:11:09:1b:54', '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': '71.205.239.133', 'subnet_id': 'c08d89f6-f032-47bb-a7d2-1dd758685617'}], 'security_groups': ['bc370297-2f55-40b4-bad7-59138d5fe064'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '936c0cedb3cc4858b9b54e5a7566b71c'}} 2025-12-09 22:10:48,223 - DEBUG - Services list from nova: [, , ] 2025-12-09 22:10:48,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:10:48,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:10:48,988 - INFO - Waiting for VM ctest-vn1-vm1-31918304 to be up.. 2025-12-09 22:10:49,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 22:10:54,102 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:10:54,102 - INFO - VM name : ctest-vn1-vm1-31918304 2025-12-09 22:10:54,179 - DEBUG - VM ctest-vn1-vm1-31918304 ID is b9ce4735-e49e-409c-9a0a-b2ee90c2038a 2025-12-09 22:10:54,199 - DEBUG - VM ctest-vn1-vm1-31918304 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:10:54,272 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b9ce4735-e49e-409c-9a0a-b2ee90c2038a 2025-12-09 22:10:54,281 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/84a20934-ab4c-4770-9177-771bc9933abd 2025-12-09 22:10:57,539 - 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 1027ms') 2025-12-09 22:10:57,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31918304 failed! 2025-12-09 22:10:57,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99713129:ctest-vn1-73524640 is 93.185.172.65 and allocation pool is NOT set 2025-12-09 22:10:57,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99713129:ctest-vn1-73524640 is 71.205.239.129 and allocation pool is NOT set 2025-12-09 22:10:59,660 - 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=9.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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.834/5.136/9.438/4.302 ms') 2025-12-09 22:10:59,660 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31918304 passed 2025-12-09 22:10:59,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:10:59,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31918304, IP 93.185.172.69, Port 22 2025-12-09 22:10:59,968 - DEBUG - VM ctest-vn1-vm1-31918304 is ready for SSH connections 2025-12-09 22:10:59,969 - INFO - Waiting for VM ctest-vn1-vm2-57720996 to be up.. 2025-12-09 22:11:00,047 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:11:00,047 - INFO - VM name : ctest-vn1-vm2-57720996 2025-12-09 22:11:00,119 - DEBUG - VM ctest-vn1-vm2-57720996 ID is 6d585cca-769d-4780-8df6-717bc7168398 2025-12-09 22:11:00,119 - DEBUG - VM ctest-vn1-vm2-57720996 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:11:00,189 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6d585cca-769d-4780-8df6-717bc7168398 2025-12-09 22:11:00,198 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0c11091b-54ca-4631-acb7-98379632cf67 2025-12-09 22:11:01,441 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/2.013/3.562/1.549 ms') 2025-12-09 22:11:01,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57720996 passed 2025-12-09 22:11:01,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:11:01,589 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57720996, IP 71.205.239.133, Port 22 2025-12-09 22:11:01,744 - DEBUG - VM ctest-vn1-vm2-57720996 is ready for SSH connections 2025-12-09 22:11:01,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:11:01,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:11:01,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:11:01,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.185.172.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 22:11:01,745 - DEBUG - ping -s 56 -c 3 -W 1 93.185.172.69 2025-12-09 22:11:04,386 - DEBUG - PING 93.185.172.69 (93.185.172.69): 56 data bytes 64 bytes from 93.185.172.69: seq=0 ttl=63 time=5.015 ms 64 bytes from 93.185.172.69: seq=1 ttl=63 time=0.913 ms 64 bytes from 93.185.172.69: seq=2 ttl=63 time=0.732 ms --- 93.185.172.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.732/2.220/5.015 ms 2025-12-09 22:11:04,386 - INFO - Ping to IP 93.185.172.69 from VM ctest-vn1-vm2-57720996 passed 2025-12-09 22:11:04,386 - INFO - Detaching port 0c11091b-54ca-4631-acb7-98379632cf67 from VM ctest-vn1-vm2-57720996 2025-12-09 22:11:04,439 - INFO - Deleting VM ctest-vn1-vm2-57720996 2025-12-09 22:11:04,511 - INFO - Detaching port 84a20934-ab4c-4770-9177-771bc9933abd from VM ctest-vn1-vm1-31918304 2025-12-09 22:11:04,542 - INFO - Deleting VM ctest-vn1-vm1-31918304 2025-12-09 22:11:04,751 - DEBUG - Response for delete_port : () 2025-12-09 22:11:04,931 - DEBUG - Response for delete_port : () 2025-12-09 22:11:04,931 - INFO - Deleting VN ctest-vn1-73524640 2025-12-09 22:11:05,065 - DEBUG - Response for deleting network () 2025-12-09 22:11:05,322 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 22:11:05,322 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-09 22:11:05,322 - INFO - -------------------------------------------------------------------------------- 2025-12-09 22:11:06,020 - INFO - Deleted project: ctest-TestPorts-99713129, ID : 936c0ced-b3cc-4858-b9b5-4e5a7566b71c