2025-10-16 16:35:41,397 - INFO - Domain Default found not creating
2025-10-16 16:35:41,609 - INFO - Project ctest-TestPorts-41110723 not found, creating it
2025-10-16 16:35:42,138 - INFO - Created Project:ctest-TestPorts-41110723, ID : 302f1cae-c8f3-4b4b-a1aa-4cfc40026b36
2025-10-16 16:35:43,867 - INFO - ================================================================================
2025-10-16 16:35:43,867 - INFO - STARTING TEST : test_ports_bindings
2025-10-16 16:35:43,867 - 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-16 16:35:44,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-10-16 16:35:44,015 - INFO - Initial checks done. Running the testcase now
2025-10-16 16:35:44,015 - INFO -
2025-10-16 16:35:44,657 - DEBUG - Response for create_network : {'network': {'id': '672bcff8-8507-408b-ae0a-f4ff60b198a8', 'name': 'ctest-vn-91247880', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41110723', 'ctest-vn-91247880'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 16:35:44,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d7c4741-a202-4d15-a77e-1d0b35aebe7b', 'name': '', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '672bcff8-8507-408b-ae0a-f4ff60b198a8', 'ip_version': 4, 'cidr': '94.174.239.64/26', 'allocation_pools': [{'start': '94.174.239.66', 'end': '94.174.239.126'}], 'gateway_ip': '94.174.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.174.239.66', 'tags': [], 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:44,902 - INFO - Created VN ctest-vn-91247880
2025-10-16 16:35:44,959 - DEBUG - VN ctest-vn-91247880 UUID is 672bcff8-8507-408b-ae0a-f4ff60b198a8
2025-10-16 16:35:45,096 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41110723', 'ctest-vmi-70506270']}
2025-10-16 16:35:45,428 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70506270', 'id': 'ab2acdc2-3600-4d84-a075-5dace7fe9e59', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '672bcff8-8507-408b-ae0a-f4ff60b198a8', 'mac_address': '02:ab:2a:cd:c2:36', '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': '94.174.239.67', 'subnet_id': '9d7c4741-a202-4d15-a77e-1d0b35aebe7b'}], 'security_groups': ['3f88008c-59e2-406a-b122-7ad9cf34fb59'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:45,428 - DEBUG - Created port ab2acdc2-3600-4d84-a075-5dace7fe9e59
2025-10-16 16:35:45,543 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ab2acdc2-3600-4d84-a075-5dace7fe9e59
2025-10-16 16:35:45,842 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ab2acdc2-3600-4d84-a075-5dace7fe9e59
2025-10-16 16:35:45,892 - INFO - VMI ab2acdc2-3600-4d84-a075-5dace7fe9e59 verification in API Server passed
2025-10-16 16:35:46,044 - DEBUG - Response for delete_port : ()
2025-10-16 16:35:46,045 - INFO - Deleted port ab2acdc2-3600-4d84-a075-5dace7fe9e59
2025-10-16 16:35:46,045 - INFO - Deleting VN ctest-vn-91247880
2025-10-16 16:35:46,188 - DEBUG - Response for deleting network ()
2025-10-16 16:35:46,330 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 16:35:46,330 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-16 16:35:46,331 - INFO - --------------------------------------------------------------------------------
2025-10-16 16:35:46,333 - INFO - ================================================================================
2025-10-16 16:35:46,333 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-16 16:35:46,333 - 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-16 16:35:46,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-10-16 16:35:46,519 - INFO - Initial checks done. Running the testcase now
2025-10-16 16:35:46,519 - INFO -
2025-10-16 16:35:46,764 - DEBUG - Response for create_network : {'network': {'id': '5a006a71-6aa8-4c8f-9029-daf966c53dc8', 'name': 'ctest-vn1-97212172', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41110723', 'ctest-vn1-97212172'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 16:35:46,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bea489e5-f4a7-4fa4-8b2f-11d5b57278e5', 'name': '', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '5a006a71-6aa8-4c8f-9029-daf966c53dc8', 'ip_version': 4, 'cidr': '139.228.151.0/26', 'allocation_pools': [{'start': '139.228.151.2', 'end': '139.228.151.62'}], 'gateway_ip': '139.228.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.228.151.2', 'tags': [], 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:47,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d7f51f5-0442-47fb-89bf-dd5b03f85e53', 'name': '', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '5a006a71-6aa8-4c8f-9029-daf966c53dc8', 'ip_version': 4, 'cidr': '144.101.248.192/26', 'allocation_pools': [{'start': '144.101.248.194', 'end': '144.101.248.254'}], 'gateway_ip': '144.101.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.101.248.194', 'tags': [], 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:47,243 - INFO - Created VN ctest-vn1-97212172
2025-10-16 16:35:47,303 - DEBUG - VN ctest-vn1-97212172 UUID is 5a006a71-6aa8-4c8f-9029-daf966c53dc8
2025-10-16 16:35:47,712 - DEBUG - Response for create_port : {'port': {'name': 'ea570111-29ba-4482-953f-1eee29196049', 'id': 'ea570111-29ba-4482-953f-1eee29196049', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '5a006a71-6aa8-4c8f-9029-daf966c53dc8', 'mac_address': '02:ea:57:01:11:29', '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': '139.228.151.5', 'subnet_id': 'bea489e5-f4a7-4fa4-8b2f-11d5b57278e5'}], 'security_groups': ['3f88008c-59e2-406a-b122-7ad9cf34fb59'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:47,944 - DEBUG - Response for create_port : {'port': {'name': '565fed63-eb69-4d9e-88c6-217b9786c2ad', 'id': '565fed63-eb69-4d9e-88c6-217b9786c2ad', 'tenant_id': '302f1caec8f34b4ba1aa4cfc40026b36', 'network_id': '5a006a71-6aa8-4c8f-9029-daf966c53dc8', 'mac_address': '02:56:5f:ed:63:eb', '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.101.248.197', 'subnet_id': '0d7f51f5-0442-47fb-89bf-dd5b03f85e53'}], 'security_groups': ['3f88008c-59e2-406a-b122-7ad9cf34fb59'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '302f1caec8f34b4ba1aa4cfc40026b36'}}
2025-10-16 16:35:48,034 - DEBUG - Services list from nova: [, , ]
2025-10-16 16:35:48,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4347-1)
2025-10-16 16:35:49,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4347-1)
2025-10-16 16:35:49,241 - INFO - Waiting for VM ctest-vn1-vm1-83282524 to be up..
2025-10-16 16:35:49,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 16:35:54,400 - DEBUG - VM is in ACTIVE state now
2025-10-16 16:35:54,401 - INFO - VM name : ctest-vn1-vm1-83282524
2025-10-16 16:35:54,543 - DEBUG - VM ctest-vn1-vm1-83282524 ID is 3c6add0a-11c3-4d87-848c-8392487ae779
2025-10-16 16:35:54,577 - DEBUG - VM ctest-vn1-vm1-83282524 launched on Node cn-jenkins-deploy-platform-ansible-os-4347-1
2025-10-16 16:35:54,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3c6add0a-11c3-4d87-848c-8392487ae779
2025-10-16 16:35:54,710 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ea570111-29ba-4482-953f-1eee29196049
2025-10-16 16:35:57,975 - 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-16 16:35:57,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83282524 failed!
2025-10-16 16:35:58,039 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41110723:ctest-vn1-97212172 is 139.228.151.1 and allocation pool is NOT set
2025-10-16 16:35:58,040 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41110723:ctest-vn1-97212172 is 144.101.248.193 and allocation pool is NOT set
2025-10-16 16:36:02,094 - 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=2 ttl=63 time=14.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 14.612/14.612/14.612/0.000 ms')
2025-10-16 16:36:02,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83282524 passed
2025-10-16 16:36:02,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:02,259 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83282524, IP 139.228.151.5, Port 22
2025-10-16 16:36:02,283 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-16 16:36:02,419 - DEBUG - VM ctest-vn1-vm1-83282524 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 16:36:07,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:07,420 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83282524, IP 139.228.151.5, Port 22
2025-10-16 16:36:07,507 - DEBUG - VM ctest-vn1-vm1-83282524 is ready for SSH connections
2025-10-16 16:36:07,508 - INFO - Waiting for VM ctest-vn1-vm2-02873515 to be up..
2025-10-16 16:36:07,650 - DEBUG - VM is in ACTIVE state now
2025-10-16 16:36:07,650 - INFO - VM name : ctest-vn1-vm2-02873515
2025-10-16 16:36:07,772 - DEBUG - VM ctest-vn1-vm2-02873515 ID is 08747f39-cb17-4118-92d9-8031e027c898
2025-10-16 16:36:07,772 - DEBUG - VM ctest-vn1-vm2-02873515 launched on Node cn-jenkins-deploy-platform-ansible-os-4347-1
2025-10-16 16:36:07,902 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/08747f39-cb17-4118-92d9-8031e027c898
2025-10-16 16:36:07,917 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/565fed63-eb69-4d9e-88c6-217b9786c2ad
2025-10-16 16:36:09,139 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/1.985/3.396/1.410 ms')
2025-10-16 16:36:09,139 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02873515 passed
2025-10-16 16:36:09,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:09,295 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02873515, IP 144.101.248.197, Port 22
2025-10-16 16:36:09,383 - DEBUG - VM ctest-vn1-vm2-02873515 is ready for SSH connections
2025-10-16 16:36:09,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:09,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:09,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 16:36:09,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.228.151.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-10-16 16:36:09,384 - DEBUG - ping -s 56 -c 3 -W 1 139.228.151.5
2025-10-16 16:36:12,505 - DEBUG - PING 139.228.151.5 (139.228.151.5): 56 data bytes
64 bytes from 139.228.151.5: seq=0 ttl=63 time=4.058 ms
64 bytes from 139.228.151.5: seq=1 ttl=63 time=1.810 ms
64 bytes from 139.228.151.5: seq=2 ttl=63 time=1.686 ms
--- 139.228.151.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.686/2.518/4.058 ms
2025-10-16 16:36:12,505 - INFO - Ping to IP 139.228.151.5 from VM ctest-vn1-vm2-02873515 passed
2025-10-16 16:36:12,505 - INFO - Detaching port 565fed63-eb69-4d9e-88c6-217b9786c2ad from VM ctest-vn1-vm2-02873515
2025-10-16 16:36:12,574 - INFO - Deleting VM ctest-vn1-vm2-02873515
2025-10-16 16:36:12,668 - INFO - Detaching port ea570111-29ba-4482-953f-1eee29196049 from VM ctest-vn1-vm1-83282524
2025-10-16 16:36:12,715 - INFO - Deleting VM ctest-vn1-vm1-83282524
2025-10-16 16:36:13,070 - DEBUG - Response for delete_port : ()
2025-10-16 16:36:13,343 - DEBUG - Response for delete_port : ()
2025-10-16 16:36:13,343 - INFO - Deleting VN ctest-vn1-97212172
2025-10-16 16:36:13,605 - DEBUG - Response for deleting network ()
2025-10-16 16:36:13,894 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 16:36:13,895 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-16 16:36:13,895 - INFO - --------------------------------------------------------------------------------
2025-10-16 16:36:14,851 - INFO - Deleted project: ctest-TestPorts-41110723, ID : 302f1cae-c8f3-4b4b-a1aa-4cfc40026b36