2025-10-13 10:34:59,300 - INFO - Domain Default found not creating
2025-10-13 10:34:59,494 - INFO - Project ctest-TestPorts-34765931 not found, creating it
2025-10-13 10:34:59,968 - INFO - Created Project:ctest-TestPorts-34765931, ID : fa7d58a4-252b-4d1b-9e01-dc970f550199
2025-10-13 10:35:01,377 - INFO - ================================================================================
2025-10-13 10:35:01,377 - INFO - STARTING TEST : test_ports_bindings
2025-10-13 10:35:01,377 - 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-13 10:35:01,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with
2025-10-13 10:35:01,634 - INFO - Initial checks done. Running the testcase now
2025-10-13 10:35:01,634 - INFO -
2025-10-13 10:35:02,209 - DEBUG - Response for create_network : {'network': {'id': '31d3a2bb-f0ce-4d28-8b5d-81d9da82bbe2', 'name': 'ctest-vn-60844644', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34765931', 'ctest-vn-60844644'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:35:02,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '63152029-b3b5-4732-bbfd-a89414c1ff1d', 'name': '', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': '31d3a2bb-f0ce-4d28-8b5d-81d9da82bbe2', 'ip_version': 4, 'cidr': '125.129.253.64/26', 'allocation_pools': [{'start': '125.129.253.66', 'end': '125.129.253.126'}], 'gateway_ip': '125.129.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.129.253.66', 'tags': [], 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:02,447 - INFO - Created VN ctest-vn-60844644
2025-10-13 10:35:02,504 - DEBUG - VN ctest-vn-60844644 UUID is 31d3a2bb-f0ce-4d28-8b5d-81d9da82bbe2
2025-10-13 10:35:02,613 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34765931', 'ctest-vmi-72154943']}
2025-10-13 10:35:02,934 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72154943', 'id': '8bdad271-9a27-4605-ae68-5d0591ba5408', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': '31d3a2bb-f0ce-4d28-8b5d-81d9da82bbe2', 'mac_address': '02:8b:da:d2:71: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': '125.129.253.67', 'subnet_id': '63152029-b3b5-4732-bbfd-a89414c1ff1d'}], 'security_groups': ['4edcbd0d-fb70-43c3-b2aa-29f8e6228657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:02,935 - DEBUG - Created port 8bdad271-9a27-4605-ae68-5d0591ba5408
2025-10-13 10:35:03,048 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8bdad271-9a27-4605-ae68-5d0591ba5408
2025-10-13 10:35:03,340 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8bdad271-9a27-4605-ae68-5d0591ba5408
2025-10-13 10:35:03,372 - INFO - VMI 8bdad271-9a27-4605-ae68-5d0591ba5408 verification in API Server passed
2025-10-13 10:35:03,460 - DEBUG - Response for delete_port : ()
2025-10-13 10:35:03,460 - INFO - Deleted port 8bdad271-9a27-4605-ae68-5d0591ba5408
2025-10-13 10:35:03,460 - INFO - Deleting VN ctest-vn-60844644
2025-10-13 10:35:03,570 - DEBUG - Response for deleting network ()
2025-10-13 10:35:03,825 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 10:35:03,825 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-13 10:35:03,825 - INFO - --------------------------------------------------------------------------------
2025-10-13 10:35:03,828 - INFO - ================================================================================
2025-10-13 10:35:03,828 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-13 10:35:03,829 - 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-13 10:35:04,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with
2025-10-13 10:35:04,113 - INFO - Initial checks done. Running the testcase now
2025-10-13 10:35:04,113 - INFO -
2025-10-13 10:35:04,280 - DEBUG - Response for create_network : {'network': {'id': 'a7f9ed24-0792-4d85-bedb-dcb32200daed', 'name': 'ctest-vn1-92456153', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34765931', 'ctest-vn1-92456153'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 10:35:04,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bad7936-5aa7-4081-8a6e-0a86a69193f9', 'name': '', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': 'a7f9ed24-0792-4d85-bedb-dcb32200daed', 'ip_version': 4, 'cidr': '99.193.209.64/26', 'allocation_pools': [{'start': '99.193.209.66', 'end': '99.193.209.126'}], 'gateway_ip': '99.193.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.193.209.66', 'tags': [], 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:04,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2a12140-e878-441a-9d18-2de15585637d', 'name': '', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': 'a7f9ed24-0792-4d85-bedb-dcb32200daed', 'ip_version': 4, 'cidr': '104.79.115.64/26', 'allocation_pools': [{'start': '104.79.115.66', 'end': '104.79.115.126'}], 'gateway_ip': '104.79.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.79.115.66', 'tags': [], 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:04,721 - INFO - Created VN ctest-vn1-92456153
2025-10-13 10:35:04,772 - DEBUG - VN ctest-vn1-92456153 UUID is a7f9ed24-0792-4d85-bedb-dcb32200daed
2025-10-13 10:35:05,063 - DEBUG - Response for create_port : {'port': {'name': 'ca63e180-b18d-4af8-b39f-3739831e5fa3', 'id': 'ca63e180-b18d-4af8-b39f-3739831e5fa3', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': 'a7f9ed24-0792-4d85-bedb-dcb32200daed', 'mac_address': '02:ca:63:e1:80:b1', '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': '99.193.209.69', 'subnet_id': '2bad7936-5aa7-4081-8a6e-0a86a69193f9'}], 'security_groups': ['4edcbd0d-fb70-43c3-b2aa-29f8e6228657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:05,226 - DEBUG - Response for create_port : {'port': {'name': '3b82b7d9-b630-4062-8a47-e601286a475c', 'id': '3b82b7d9-b630-4062-8a47-e601286a475c', 'tenant_id': 'fa7d58a4252b4d1b9e01dc970f550199', 'network_id': 'a7f9ed24-0792-4d85-bedb-dcb32200daed', 'mac_address': '02:3b:82:b7:d9:b6', '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': '104.79.115.69', 'subnet_id': 'b2a12140-e878-441a-9d18-2de15585637d'}], 'security_groups': ['4edcbd0d-fb70-43c3-b2aa-29f8e6228657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa7d58a4252b4d1b9e01dc970f550199'}}
2025-10-13 10:35:05,278 - DEBUG - Services list from nova: [, , ]
2025-10-13 10:35:05,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1)
2025-10-13 10:35:05,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1)
2025-10-13 10:35:05,972 - INFO - Waiting for VM ctest-vn1-vm1-03265077 to be up..
2025-10-13 10:35:06,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 10:35:11,204 - DEBUG - VM is in ACTIVE state now
2025-10-13 10:35:11,204 - INFO - VM name : ctest-vn1-vm1-03265077
2025-10-13 10:35:11,273 - DEBUG - VM ctest-vn1-vm1-03265077 ID is a5c9ad02-4a32-4752-855f-fab60400f9d6
2025-10-13 10:35:11,290 - DEBUG - VM ctest-vn1-vm1-03265077 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1
2025-10-13 10:35:11,362 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a5c9ad02-4a32-4752-855f-fab60400f9d6
2025-10-13 10:35:11,370 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ca63e180-b18d-4af8-b39f-3739831e5fa3
2025-10-13 10:35:14,623 - 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 1023ms')
2025-10-13 10:35:14,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03265077 failed!
2025-10-13 10:35:14,676 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34765931:ctest-vn1-92456153 is 99.193.209.65 and allocation pool is NOT set
2025-10-13 10:35:14,676 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34765931:ctest-vn1-92456153 is 104.79.115.65 and allocation pool is NOT set
2025-10-13 10:35:16,745 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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 = 1.548/7.481/13.415/5.933 ms')
2025-10-13 10:35:16,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03265077 passed
2025-10-13 10:35:16,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 10:35:16,896 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03265077, IP 99.193.209.69, Port 22
2025-10-13 10:35:17,064 - DEBUG - VM ctest-vn1-vm1-03265077 is ready for SSH connections
2025-10-13 10:35:17,064 - INFO - Waiting for VM ctest-vn1-vm2-63379183 to be up..
2025-10-13 10:35:17,171 - DEBUG - VM is in ACTIVE state now
2025-10-13 10:35:17,171 - INFO - VM name : ctest-vn1-vm2-63379183
2025-10-13 10:35:17,249 - DEBUG - VM ctest-vn1-vm2-63379183 ID is b4f4700d-f011-4c06-abec-a93f4b98d53a
2025-10-13 10:35:17,249 - DEBUG - VM ctest-vn1-vm2-63379183 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1
2025-10-13 10:35:17,316 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b4f4700d-f011-4c06-abec-a93f4b98d53a
2025-10-13 10:35:17,325 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3b82b7d9-b630-4062-8a47-e601286a475c
2025-10-13 10:35:18,564 - 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.73 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 1002ms\r\nrtt min/avg/max/mdev = 0.392/1.561/2.731/1.169 ms')
2025-10-13 10:35:18,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63379183 passed
2025-10-13 10:35:18,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 10:35:18,712 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63379183, IP 104.79.115.69, Port 22
2025-10-13 10:35:18,868 - DEBUG - VM ctest-vn1-vm2-63379183 is ready for SSH connections
2025-10-13 10:35:18,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 10:35:18,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 10:35:18,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 10:35:18,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.193.209.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-13 10:35:18,869 - DEBUG - ping -s 56 -c 3 -W 1 99.193.209.69
2025-10-13 10:35:21,524 - DEBUG - PING 99.193.209.69 (99.193.209.69): 56 data bytes
64 bytes from 99.193.209.69: seq=0 ttl=63 time=4.329 ms
64 bytes from 99.193.209.69: seq=1 ttl=63 time=0.825 ms
64 bytes from 99.193.209.69: seq=2 ttl=63 time=0.995 ms
--- 99.193.209.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.825/2.049/4.329 ms
2025-10-13 10:35:21,524 - INFO - Ping to IP 99.193.209.69 from VM ctest-vn1-vm2-63379183 passed
2025-10-13 10:35:21,524 - INFO - Detaching port 3b82b7d9-b630-4062-8a47-e601286a475c from VM ctest-vn1-vm2-63379183
2025-10-13 10:35:21,574 - INFO - Deleting VM ctest-vn1-vm2-63379183
2025-10-13 10:35:21,648 - INFO - Detaching port ca63e180-b18d-4af8-b39f-3739831e5fa3 from VM ctest-vn1-vm1-03265077
2025-10-13 10:35:21,682 - INFO - Deleting VM ctest-vn1-vm1-03265077
2025-10-13 10:35:21,888 - DEBUG - Response for delete_port : ()
2025-10-13 10:35:22,041 - DEBUG - Response for delete_port : ()
2025-10-13 10:35:22,042 - INFO - Deleting VN ctest-vn1-92456153
2025-10-13 10:35:22,169 - DEBUG - Response for deleting network ()
2025-10-13 10:35:22,425 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 10:35:22,425 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-13 10:35:22,425 - INFO - --------------------------------------------------------------------------------
2025-10-13 10:35:23,084 - INFO - Deleted project: ctest-TestPorts-34765931, ID : fa7d58a4-252b-4d1b-9e01-dc970f550199