2025-08-08 07:13:18,593 - INFO - Domain Default found not creating
2025-08-08 07:13:19,080 - INFO - Project ctest-TestPorts-22990811 not found, creating it
2025-08-08 07:13:19,808 - INFO - Created Project:ctest-TestPorts-22990811, ID : c5dc1369-4258-4632-96ad-719f2011d4b7
2025-08-08 07:13:22,037 - INFO - ================================================================================
2025-08-08 07:13:22,037 - INFO - STARTING TEST : test_ports_bindings
2025-08-08 07:13:22,038 - 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-08-08 07:13:23,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-08 07:13:23,347 - INFO - Initial checks done. Running the testcase now
2025-08-08 07:13:23,347 - INFO -
2025-08-08 07:13:24,061 - DEBUG - Response for create_network : {'network': {'id': '5b16fff0-a1f2-474b-b339-71ed409a6561', 'name': 'ctest-vn-06060852', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'project_id': 'c5dc13694258463296ad719f2011d4b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22990811', 'ctest-vn-06060852'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 07:13:24,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cef14dd-d91c-4a80-8c09-92420eb8a0a2', 'name': '', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': '5b16fff0-a1f2-474b-b339-71ed409a6561', 'ip_version': 4, 'cidr': '41.85.110.128/26', 'allocation_pools': [{'start': '41.85.110.130', 'end': '41.85.110.190'}], 'gateway_ip': '41.85.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.85.110.130', 'tags': [], 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:24,470 - INFO - Created VN ctest-vn-06060852
2025-08-08 07:13:24,491 - DEBUG - VN ctest-vn-06060852 UUID is 5b16fff0-a1f2-474b-b339-71ed409a6561
2025-08-08 07:13:24,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22990811', 'ctest-vmi-99926747']}
2025-08-08 07:13:24,864 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99926747', 'id': '7aab54ed-c472-444d-9262-a6c709a6c13a', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': '5b16fff0-a1f2-474b-b339-71ed409a6561', 'mac_address': '02:7a:ab:54:ed:c4', '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': '41.85.110.131', 'subnet_id': '8cef14dd-d91c-4a80-8c09-92420eb8a0a2'}], 'security_groups': ['a1b2db09-e2ac-44e1-87ca-8f7a8d736ffc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:24,864 - DEBUG - Created port 7aab54ed-c472-444d-9262-a6c709a6c13a
2025-08-08 07:13:24,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7aab54ed-c472-444d-9262-a6c709a6c13a
2025-08-08 07:13:25,240 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7aab54ed-c472-444d-9262-a6c709a6c13a
2025-08-08 07:13:25,292 - INFO - VMI 7aab54ed-c472-444d-9262-a6c709a6c13a verification in API Server passed
2025-08-08 07:13:25,489 - DEBUG - Response for delete_port : ()
2025-08-08 07:13:25,489 - INFO - Deleted port 7aab54ed-c472-444d-9262-a6c709a6c13a
2025-08-08 07:13:25,490 - INFO - Deleting VN ctest-vn-06060852
2025-08-08 07:13:25,717 - DEBUG - Response for deleting network ()
2025-08-08 07:13:27,036 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 07:13:27,036 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-08 07:13:27,036 - INFO - --------------------------------------------------------------------------------
2025-08-08 07:13:27,040 - INFO - ================================================================================
2025-08-08 07:13:27,040 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-08 07:13:27,040 - 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-08-08 07:13:28,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-08 07:13:28,364 - INFO - Initial checks done. Running the testcase now
2025-08-08 07:13:28,364 - INFO -
2025-08-08 07:13:28,717 - DEBUG - Response for create_network : {'network': {'id': 'e6801a0f-0dbe-4be7-8805-9fbf0c096cb3', 'name': 'ctest-vn1-92399883', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'project_id': 'c5dc13694258463296ad719f2011d4b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22990811', 'ctest-vn1-92399883'], 'port_security_enabled': True, 'description': ''}}
2025-08-08 07:13:29,023 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef3f2431-5f7e-4837-819a-686c1418335c', 'name': '', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': 'e6801a0f-0dbe-4be7-8805-9fbf0c096cb3', 'ip_version': 4, 'cidr': '77.126.36.0/26', 'allocation_pools': [{'start': '77.126.36.2', 'end': '77.126.36.62'}], 'gateway_ip': '77.126.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.126.36.2', 'tags': [], 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:29,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '85b2b711-9d0e-40ca-bdad-ddfa38eca7ce', 'name': '', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': 'e6801a0f-0dbe-4be7-8805-9fbf0c096cb3', 'ip_version': 4, 'cidr': '212.226.76.192/26', 'allocation_pools': [{'start': '212.226.76.194', 'end': '212.226.76.254'}], 'gateway_ip': '212.226.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.226.76.194', 'tags': [], 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:29,308 - INFO - Created VN ctest-vn1-92399883
2025-08-08 07:13:29,322 - DEBUG - VN ctest-vn1-92399883 UUID is e6801a0f-0dbe-4be7-8805-9fbf0c096cb3
2025-08-08 07:13:29,770 - DEBUG - Response for create_port : {'port': {'name': 'e8237664-c8c4-4576-8e83-d530f385f7b9', 'id': 'e8237664-c8c4-4576-8e83-d530f385f7b9', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': 'e6801a0f-0dbe-4be7-8805-9fbf0c096cb3', 'mac_address': '02:e8:23:76:64:c8', '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': '77.126.36.5', 'subnet_id': 'ef3f2431-5f7e-4837-819a-686c1418335c'}], 'security_groups': ['a1b2db09-e2ac-44e1-87ca-8f7a8d736ffc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:30,097 - DEBUG - Response for create_port : {'port': {'name': '754ebcad-aa55-440a-9fc8-4e95d7589976', 'id': '754ebcad-aa55-440a-9fc8-4e95d7589976', 'tenant_id': 'c5dc13694258463296ad719f2011d4b7', 'network_id': 'e6801a0f-0dbe-4be7-8805-9fbf0c096cb3', 'mac_address': '02:75:4e:bc:ad:aa', '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': '212.226.76.197', 'subnet_id': '85b2b711-9d0e-40ca-bdad-ddfa38eca7ce'}], 'security_groups': ['a1b2db09-e2ac-44e1-87ca-8f7a8d736ffc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c5dc13694258463296ad719f2011d4b7'}}
2025-08-08 07:13:30,176 - DEBUG - Services list from nova: [, , , ]
2025-08-08 07:13:31,003 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-2)
2025-08-08 07:13:31,843 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-1)
2025-08-08 07:13:31,843 - INFO - Waiting for VM ctest-vn1-vm1-07861278 to be up..
2025-08-08 07:13:31,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-08 07:13:37,076 - DEBUG - VM is in ACTIVE state now
2025-08-08 07:13:37,076 - INFO - VM name : ctest-vn1-vm1-07861278
2025-08-08 07:13:37,193 - DEBUG - VM ctest-vn1-vm1-07861278 ID is 54e65e67-1b4c-4597-bd47-5f639f4db7c4
2025-08-08 07:13:37,224 - DEBUG - VM ctest-vn1-vm1-07861278 launched on Node an-jenkins-deploy-platform-ansible-os-3781-2
2025-08-08 07:13:37,343 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/54e65e67-1b4c-4597-bd47-5f639f4db7c4
2025-08-08 07:13:37,679 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/54e65e67-1b4c-4597-bd47-5f639f4db7c4
2025-08-08 07:13:37,724 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e8237664-c8c4-4576-8e83-d530f385f7b9
2025-08-08 07:13:40,974 - 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 1015ms')
2025-08-08 07:13:40,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07861278 failed!
2025-08-08 07:13:40,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22990811:ctest-vn1-92399883 is 77.126.36.1 and allocation pool is NOT set
2025-08-08 07:13:40,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22990811:ctest-vn1-92399883 is 212.226.76.193 and allocation pool is NOT set
2025-08-08 07:13:45,075 - 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=3.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 3.133/3.133/3.133/0.000 ms')
2025-08-08 07:13:45,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07861278 passed
2025-08-08 07:13:45,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:45,190 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07861278, IP 77.126.36.5, Port 22
2025-08-08 07:13:45,258 - 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-08-08 07:13:45,364 - DEBUG - VM ctest-vn1-vm1-07861278 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-08 07:13:50,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:50,365 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07861278, IP 77.126.36.5, Port 22
2025-08-08 07:13:50,538 - DEBUG - VM ctest-vn1-vm1-07861278 is ready for SSH connections
2025-08-08 07:13:50,539 - INFO - Waiting for VM ctest-vn1-vm2-47432019 to be up..
2025-08-08 07:13:50,659 - DEBUG - VM is in ACTIVE state now
2025-08-08 07:13:50,659 - INFO - VM name : ctest-vn1-vm2-47432019
2025-08-08 07:13:50,766 - DEBUG - VM ctest-vn1-vm2-47432019 ID is ddaa614f-5046-43b2-b7e3-4dae91fbeb67
2025-08-08 07:13:50,766 - DEBUG - VM ctest-vn1-vm2-47432019 launched on Node an-jenkins-deploy-platform-ansible-os-3781-1
2025-08-08 07:13:50,896 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ddaa614f-5046-43b2-b7e3-4dae91fbeb67
2025-08-08 07:13:50,908 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/754ebcad-aa55-440a-9fc8-4e95d7589976
2025-08-08 07:13:52,137 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.687/2.974/1.286 ms')
2025-08-08 07:13:52,137 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-47432019 passed
2025-08-08 07:13:52,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:52,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47432019, IP 212.226.76.197, Port 22
2025-08-08 07:13:52,429 - DEBUG - VM ctest-vn1-vm2-47432019 is ready for SSH connections
2025-08-08 07:13:52,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:52,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:52,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-08 07:13:52,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.126.36.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-08-08 07:13:52,430 - DEBUG - ping -s 56 -c 3 -W 1 77.126.36.5
2025-08-08 07:13:55,426 - DEBUG - PING 77.126.36.5 (77.126.36.5): 56 data bytes
64 bytes from 77.126.36.5: seq=0 ttl=63 time=5.488 ms
64 bytes from 77.126.36.5: seq=1 ttl=63 time=1.459 ms
64 bytes from 77.126.36.5: seq=2 ttl=63 time=1.463 ms
--- 77.126.36.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.459/2.803/5.488 ms
2025-08-08 07:13:55,426 - INFO - Ping to IP 77.126.36.5 from VM ctest-vn1-vm2-47432019 passed
2025-08-08 07:13:55,426 - INFO - Detaching port 754ebcad-aa55-440a-9fc8-4e95d7589976 from VM ctest-vn1-vm2-47432019
2025-08-08 07:13:55,495 - INFO - Deleting VM ctest-vn1-vm2-47432019
2025-08-08 07:13:55,592 - INFO - Detaching port e8237664-c8c4-4576-8e83-d530f385f7b9 from VM ctest-vn1-vm1-07861278
2025-08-08 07:13:55,632 - INFO - Deleting VM ctest-vn1-vm1-07861278
2025-08-08 07:13:56,032 - DEBUG - Response for delete_port : ()
2025-08-08 07:13:56,306 - DEBUG - Response for delete_port : ()
2025-08-08 07:13:56,306 - INFO - Deleting VN ctest-vn1-92399883
2025-08-08 07:13:56,558 - DEBUG - Response for deleting network ()
2025-08-08 07:13:57,877 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 07:13:57,877 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-08-08 07:13:57,877 - INFO - --------------------------------------------------------------------------------
2025-08-08 07:13:58,639 - INFO - Deleted project: ctest-TestPorts-22990811, ID : c5dc1369-4258-4632-96ad-719f2011d4b7