2026-05-07 02:42:50,004 - INFO - Domain Default found not creating
2026-05-07 02:42:50,226 - INFO - Project ctest-TestPorts-16997300 not found, creating it
2026-05-07 02:42:50,798 - INFO - Created Project:ctest-TestPorts-16997300, ID : 3d03061c-7719-4c46-b54b-6e41ac2423b1
2026-05-07 02:42:52,493 - INFO - ================================================================================
2026-05-07 02:42:52,493 - INFO - STARTING TEST : test_ports_bindings
2026-05-07 02:42:52,493 - 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
2026-05-07 02:42:53,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.193': '0'}} with
2026-05-07 02:42:53,784 - INFO - Initial checks done. Running the testcase now
2026-05-07 02:42:53,784 - INFO -
2026-05-07 02:42:54,556 - DEBUG - Response for create_network : {'network': {'id': '3dd61bab-ca75-4e2d-8276-0a66894ab5d2', 'name': 'ctest-vn-71661826', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'project_id': '3d03061c77194c46b54b6e41ac2423b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16997300', 'ctest-vn-71661826'], 'port_security_enabled': True, 'description': ''}}
2026-05-07 02:42:54,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '03684fc5-c6ab-4e5c-a564-1df5017b0c7c', 'name': '', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3dd61bab-ca75-4e2d-8276-0a66894ab5d2', 'ip_version': 4, 'cidr': '158.124.145.0/26', 'allocation_pools': [{'start': '158.124.145.2', 'end': '158.124.145.62'}], 'gateway_ip': '158.124.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.124.145.2', 'tags': [], 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:42:54,941 - INFO - Created VN ctest-vn-71661826
2026-05-07 02:42:54,958 - DEBUG - VN ctest-vn-71661826 UUID is 3dd61bab-ca75-4e2d-8276-0a66894ab5d2
2026-05-07 02:42:55,046 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16997300', 'ctest-vmi-56306957']}
2026-05-07 02:42:55,370 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56306957', 'id': '05d74ebf-014d-41c8-85e9-c07e5f9e560a', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3dd61bab-ca75-4e2d-8276-0a66894ab5d2', 'mac_address': '02:05:d7:4e:bf:01', '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': '158.124.145.3', 'subnet_id': '03684fc5-c6ab-4e5c-a564-1df5017b0c7c'}], 'security_groups': ['348062a4-9c98-4374-a526-23895854a29b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:42:55,370 - DEBUG - Created port 05d74ebf-014d-41c8-85e9-c07e5f9e560a
2026-05-07 02:42:55,447 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/05d74ebf-014d-41c8-85e9-c07e5f9e560a
2026-05-07 02:42:55,745 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/05d74ebf-014d-41c8-85e9-c07e5f9e560a
2026-05-07 02:42:55,797 - INFO - VMI 05d74ebf-014d-41c8-85e9-c07e5f9e560a verification in API Server passed
2026-05-07 02:42:55,984 - DEBUG - Response for delete_port : ()
2026-05-07 02:42:55,984 - INFO - Deleted port 05d74ebf-014d-41c8-85e9-c07e5f9e560a
2026-05-07 02:42:55,985 - INFO - Deleting VN ctest-vn-71661826
2026-05-07 02:42:56,174 - DEBUG - Response for deleting network ()
2026-05-07 02:42:57,477 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:42:57,477 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-05-07 02:42:57,477 - INFO - --------------------------------------------------------------------------------
2026-05-07 02:42:57,481 - INFO - ================================================================================
2026-05-07 02:42:57,481 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-07 02:42:57,481 - 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
2026-05-07 02:42:58,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.240': {'10.20.0.129': '0', '10.20.0.193': '0'}} with
2026-05-07 02:42:58,794 - INFO - Initial checks done. Running the testcase now
2026-05-07 02:42:58,794 - INFO -
2026-05-07 02:42:59,173 - DEBUG - Response for create_network : {'network': {'id': '3f590ed0-5f79-4526-bd11-09ea9c22b84b', 'name': 'ctest-vn1-22069609', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'project_id': '3d03061c77194c46b54b6e41ac2423b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16997300', 'ctest-vn1-22069609'], 'port_security_enabled': True, 'description': ''}}
2026-05-07 02:42:59,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6b94703-da78-4599-935c-cbb6eb43215b', 'name': '', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3f590ed0-5f79-4526-bd11-09ea9c22b84b', 'ip_version': 4, 'cidr': '61.190.79.128/26', 'allocation_pools': [{'start': '61.190.79.130', 'end': '61.190.79.190'}], 'gateway_ip': '61.190.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.190.79.130', 'tags': [], 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:42:59,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2e9888f-2315-4da0-b9f1-e6d1d4c53e55', 'name': '', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3f590ed0-5f79-4526-bd11-09ea9c22b84b', 'ip_version': 4, 'cidr': '144.250.121.128/26', 'allocation_pools': [{'start': '144.250.121.130', 'end': '144.250.121.190'}], 'gateway_ip': '144.250.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.250.121.130', 'tags': [], 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:42:59,714 - INFO - Created VN ctest-vn1-22069609
2026-05-07 02:42:59,736 - DEBUG - VN ctest-vn1-22069609 UUID is 3f590ed0-5f79-4526-bd11-09ea9c22b84b
2026-05-07 02:43:00,302 - DEBUG - Response for create_port : {'port': {'name': 'f2c85b5b-04c0-4006-9544-9a9bd496485e', 'id': 'f2c85b5b-04c0-4006-9544-9a9bd496485e', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3f590ed0-5f79-4526-bd11-09ea9c22b84b', 'mac_address': '02:f2:c8:5b:5b:04', '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': '61.190.79.133', 'subnet_id': 'f6b94703-da78-4599-935c-cbb6eb43215b'}], 'security_groups': ['348062a4-9c98-4374-a526-23895854a29b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:43:00,674 - DEBUG - Response for create_port : {'port': {'name': '9d974c0d-0710-4472-9173-6ae54f27d706', 'id': '9d974c0d-0710-4472-9173-6ae54f27d706', 'tenant_id': '3d03061c77194c46b54b6e41ac2423b1', 'network_id': '3f590ed0-5f79-4526-bd11-09ea9c22b84b', 'mac_address': '02:9d:97:4c:0d:07', '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.250.121.133', 'subnet_id': 'e2e9888f-2315-4da0-b9f1-e6d1d4c53e55'}], 'security_groups': ['348062a4-9c98-4374-a526-23895854a29b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3d03061c77194c46b54b6e41ac2423b1'}}
2026-05-07 02:43:00,758 - DEBUG - Services list from nova: [, , , ]
2026-05-07 02:43:01,680 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-2)
2026-05-07 02:43:02,402 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5754-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5754-1)
2026-05-07 02:43:02,402 - INFO - Waiting for VM ctest-vn1-vm1-15578707 to be up..
2026-05-07 02:43:02,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-07 02:43:07,587 - DEBUG - VM is in ACTIVE state now
2026-05-07 02:43:07,587 - INFO - VM name : ctest-vn1-vm1-15578707
2026-05-07 02:43:07,682 - DEBUG - VM ctest-vn1-vm1-15578707 ID is 364bb677-7631-460c-bf07-43be9bbac3e8
2026-05-07 02:43:07,714 - DEBUG - VM ctest-vn1-vm1-15578707 launched on Node an-jenkins-deploy-platform-ansible-os-5754-2
2026-05-07 02:43:07,807 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/364bb677-7631-460c-bf07-43be9bbac3e8
2026-05-07 02:43:08,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/364bb677-7631-460c-bf07-43be9bbac3e8
2026-05-07 02:43:08,190 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f2c85b5b-04c0-4006-9544-9a9bd496485e
2026-05-07 02:43:11,402 - 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 1004ms')
2026-05-07 02:43:11,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15578707 failed!
2026-05-07 02:43:11,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16997300:ctest-vn1-22069609 is 61.190.79.129 and allocation pool is NOT set
2026-05-07 02:43:11,419 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16997300:ctest-vn1-22069609 is 144.250.121.129 and allocation pool is NOT set
2026-05-07 02:43:15,494 - 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 1005ms')
2026-05-07 02:43:15,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15578707 failed!
2026-05-07 02:43:15,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16997300:ctest-vn1-22069609 is 61.190.79.129 and allocation pool is NOT set
2026-05-07 02:43:15,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16997300:ctest-vn1-22069609 is 144.250.121.129 and allocation pool is NOT set
2026-05-07 02:43:17,581 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.664 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.664/3.316/5.969/2.652 ms')
2026-05-07 02:43:17,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15578707 passed
2026-05-07 02:43:17,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-07 02:43:17,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15578707, IP 61.190.79.133, Port 22
2026-05-07 02:43:17,836 - DEBUG - VM ctest-vn1-vm1-15578707 is ready for SSH connections
2026-05-07 02:43:17,836 - INFO - Waiting for VM ctest-vn1-vm2-32161319 to be up..
2026-05-07 02:43:17,952 - DEBUG - VM is in ACTIVE state now
2026-05-07 02:43:17,952 - INFO - VM name : ctest-vn1-vm2-32161319
2026-05-07 02:43:18,079 - DEBUG - VM ctest-vn1-vm2-32161319 ID is 7f016225-b65c-48d0-a460-1e49ae0df4d9
2026-05-07 02:43:18,079 - DEBUG - VM ctest-vn1-vm2-32161319 launched on Node an-jenkins-deploy-platform-ansible-os-5754-1
2026-05-07 02:43:18,199 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7f016225-b65c-48d0-a460-1e49ae0df4d9
2026-05-07 02:43:18,213 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9d974c0d-0710-4472-9173-6ae54f27d706
2026-05-07 02:43:19,400 - 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=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/2.226/3.895/1.669 ms')
2026-05-07 02:43:19,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-32161319 passed
2026-05-07 02:43:19,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-07 02:43:19,477 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32161319, IP 144.250.121.133, Port 22
2026-05-07 02:43:19,649 - DEBUG - VM ctest-vn1-vm2-32161319 is ready for SSH connections
2026-05-07 02:43:19,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-07 02:43:19,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-07 02:43:19,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-07 02:43:19,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.190.79.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-05-07 02:43:19,650 - DEBUG - ping -s 56 -c 3 -W 1 61.190.79.133
2026-05-07 02:43:22,630 - DEBUG - PING 61.190.79.133 (61.190.79.133): 56 data bytes
64 bytes from 61.190.79.133: seq=0 ttl=63 time=5.124 ms
64 bytes from 61.190.79.133: seq=1 ttl=63 time=1.614 ms
64 bytes from 61.190.79.133: seq=2 ttl=63 time=1.305 ms
--- 61.190.79.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.305/2.681/5.124 ms
2026-05-07 02:43:22,630 - INFO - Ping to IP 61.190.79.133 from VM ctest-vn1-vm2-32161319 passed
2026-05-07 02:43:22,630 - INFO - Detaching port 9d974c0d-0710-4472-9173-6ae54f27d706 from VM ctest-vn1-vm2-32161319
2026-05-07 02:43:22,688 - INFO - Deleting VM ctest-vn1-vm2-32161319
2026-05-07 02:43:22,782 - INFO - Detaching port f2c85b5b-04c0-4006-9544-9a9bd496485e from VM ctest-vn1-vm1-15578707
2026-05-07 02:43:22,820 - INFO - Deleting VM ctest-vn1-vm1-15578707
2026-05-07 02:43:23,169 - DEBUG - Response for delete_port : ()
2026-05-07 02:43:23,535 - DEBUG - Response for delete_port : ()
2026-05-07 02:43:23,535 - INFO - Deleting VN ctest-vn1-22069609
2026-05-07 02:43:23,773 - DEBUG - Response for deleting network ()
2026-05-07 02:43:25,075 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:43:25,075 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-05-07 02:43:25,075 - INFO - --------------------------------------------------------------------------------
2026-05-07 02:43:25,883 - INFO - Deleted project: ctest-TestPorts-16997300, ID : 3d03061c-7719-4c46-b54b-6e41ac2423b1