2025-08-11 11:00:10,612 - INFO - Domain Default found not creating
2025-08-11 11:00:10,761 - INFO - Project ctest-TestPorts-12340912 not found, creating it
2025-08-11 11:00:11,229 - INFO - Created Project:ctest-TestPorts-12340912, ID : 1563c474-6125-4069-816b-79626a1fca4e
2025-08-11 11:00:12,684 - INFO - ================================================================================
2025-08-11 11:00:12,684 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 11:00:12,684 - 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-11 11:00:13,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-11 11:00:13,950 - INFO - Initial checks done. Running the testcase now
2025-08-11 11:00:13,950 - INFO -
2025-08-11 11:00:14,844 - DEBUG - Response for create_network : {'network': {'id': 'ce16c4eb-5dc6-4ee3-8c9e-d67b7f5797d7', 'name': 'ctest-vn-19527633', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'project_id': '1563c47461254069816b79626a1fca4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12340912', 'ctest-vn-19527633'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 11:00:15,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '079a5dd7-8a1f-4b26-a0ae-66454364931f', 'name': '', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': 'ce16c4eb-5dc6-4ee3-8c9e-d67b7f5797d7', 'ip_version': 4, 'cidr': '16.146.253.0/26', 'allocation_pools': [{'start': '16.146.253.2', 'end': '16.146.253.62'}], 'gateway_ip': '16.146.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.146.253.2', 'tags': [], 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:15,078 - INFO - Created VN ctest-vn-19527633
2025-08-11 11:00:15,089 - DEBUG - VN ctest-vn-19527633 UUID is ce16c4eb-5dc6-4ee3-8c9e-d67b7f5797d7
2025-08-11 11:00:15,148 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12340912', 'ctest-vmi-61546381']}
2025-08-11 11:00:15,462 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61546381', 'id': 'c76e535a-47d1-4d29-81f9-7acbdbe03b0b', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': 'ce16c4eb-5dc6-4ee3-8c9e-d67b7f5797d7', 'mac_address': '02:c7:6e:53:5a:47', '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': '16.146.253.3', 'subnet_id': '079a5dd7-8a1f-4b26-a0ae-66454364931f'}], 'security_groups': ['317c0029-15b3-4c1d-ab98-ee3fc3f6b17a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:15,463 - DEBUG - Created port c76e535a-47d1-4d29-81f9-7acbdbe03b0b
2025-08-11 11:00:15,576 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c76e535a-47d1-4d29-81f9-7acbdbe03b0b
2025-08-11 11:00:15,869 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c76e535a-47d1-4d29-81f9-7acbdbe03b0b
2025-08-11 11:00:15,902 - INFO - VMI c76e535a-47d1-4d29-81f9-7acbdbe03b0b verification in API Server passed
2025-08-11 11:00:16,018 - DEBUG - Response for delete_port : ()
2025-08-11 11:00:16,018 - INFO - Deleted port c76e535a-47d1-4d29-81f9-7acbdbe03b0b
2025-08-11 11:00:16,019 - INFO - Deleting VN ctest-vn-19527633
2025-08-11 11:00:16,181 - DEBUG - Response for deleting network ()
2025-08-11 11:00:17,447 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:00:17,448 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-11 11:00:17,448 - INFO - --------------------------------------------------------------------------------
2025-08-11 11:00:17,452 - INFO - ================================================================================
2025-08-11 11:00:17,452 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 11:00:17,452 - 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-11 11:00:18,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2025-08-11 11:00:18,702 - INFO - Initial checks done. Running the testcase now
2025-08-11 11:00:18,703 - INFO -
2025-08-11 11:00:18,976 - DEBUG - Response for create_network : {'network': {'id': '802387e7-e250-4f3b-afad-980ba785eae8', 'name': 'ctest-vn1-00326668', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'project_id': '1563c47461254069816b79626a1fca4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12340912', 'ctest-vn1-00326668'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 11:00:19,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '62f8b605-9888-463c-8048-5f9db1708f9c', 'name': '', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': '802387e7-e250-4f3b-afad-980ba785eae8', 'ip_version': 4, 'cidr': '11.23.126.64/26', 'allocation_pools': [{'start': '11.23.126.66', 'end': '11.23.126.126'}], 'gateway_ip': '11.23.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.23.126.66', 'tags': [], 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:19,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '8022533f-ad8b-419e-bfb7-9cb10ce11c26', 'name': '', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': '802387e7-e250-4f3b-afad-980ba785eae8', 'ip_version': 4, 'cidr': '111.99.244.192/26', 'allocation_pools': [{'start': '111.99.244.194', 'end': '111.99.244.254'}], 'gateway_ip': '111.99.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.99.244.194', 'tags': [], 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:19,424 - INFO - Created VN ctest-vn1-00326668
2025-08-11 11:00:19,436 - DEBUG - VN ctest-vn1-00326668 UUID is 802387e7-e250-4f3b-afad-980ba785eae8
2025-08-11 11:00:19,761 - DEBUG - Response for create_port : {'port': {'name': '7a7246df-f91a-4bab-8d0d-317deacdc33d', 'id': '7a7246df-f91a-4bab-8d0d-317deacdc33d', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': '802387e7-e250-4f3b-afad-980ba785eae8', 'mac_address': '02:7a:72:46:df:f9', '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': '11.23.126.69', 'subnet_id': '62f8b605-9888-463c-8048-5f9db1708f9c'}], 'security_groups': ['317c0029-15b3-4c1d-ab98-ee3fc3f6b17a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:20,002 - DEBUG - Response for create_port : {'port': {'name': '941b2989-bc5d-42a0-bc69-bd9f53f4d4ff', 'id': '941b2989-bc5d-42a0-bc69-bd9f53f4d4ff', 'tenant_id': '1563c47461254069816b79626a1fca4e', 'network_id': '802387e7-e250-4f3b-afad-980ba785eae8', 'mac_address': '02:94:1b:29:89:bc', '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': '111.99.244.197', 'subnet_id': '8022533f-ad8b-419e-bfb7-9cb10ce11c26'}], 'security_groups': ['317c0029-15b3-4c1d-ab98-ee3fc3f6b17a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1563c47461254069816b79626a1fca4e'}}
2025-08-11 11:00:20,056 - DEBUG - Services list from nova: [, , , ]
2025-08-11 11:00:20,495 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-2)
2025-08-11 11:00:21,052 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3803-1)
2025-08-11 11:00:21,053 - INFO - Waiting for VM ctest-vn1-vm1-51124328 to be up..
2025-08-11 11:00:21,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 11:00:26,164 - DEBUG - VM is in ACTIVE state now
2025-08-11 11:00:26,165 - INFO - VM name : ctest-vn1-vm1-51124328
2025-08-11 11:00:26,228 - DEBUG - VM ctest-vn1-vm1-51124328 ID is 7f11bc72-0dbe-45a6-9eae-309d97f8428e
2025-08-11 11:00:26,249 - DEBUG - VM ctest-vn1-vm1-51124328 launched on Node an-jenkins-deploy-platform-ansible-os-3803-2
2025-08-11 11:00:26,319 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7f11bc72-0dbe-45a6-9eae-309d97f8428e
2025-08-11 11:00:26,627 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7f11bc72-0dbe-45a6-9eae-309d97f8428e
2025-08-11 11:00:26,659 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7a7246df-f91a-4bab-8d0d-317deacdc33d
2025-08-11 11:00:29,863 - 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 1012ms')
2025-08-11 11:00:29,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51124328 failed!
2025-08-11 11:00:29,876 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12340912:ctest-vn1-00326668 is 11.23.126.65 and allocation pool is NOT set
2025-08-11 11:00:29,876 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12340912:ctest-vn1-00326668 is 111.99.244.193 and allocation pool is NOT set
2025-08-11 11:00:31,945 - 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=4.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.184/3.186/4.188/1.002 ms')
2025-08-11 11:00:31,945 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51124328 passed
2025-08-11 11:00:32,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:32,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51124328, IP 11.23.126.69, Port 22
2025-08-11 11:00:32,116 - 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-11 11:00:32,265 - DEBUG - VM ctest-vn1-vm1-51124328 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 11:00:37,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:37,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51124328, IP 11.23.126.69, Port 22
2025-08-11 11:00:37,426 - DEBUG - VM ctest-vn1-vm1-51124328 is ready for SSH connections
2025-08-11 11:00:37,426 - INFO - Waiting for VM ctest-vn1-vm2-93565035 to be up..
2025-08-11 11:00:37,499 - DEBUG - VM is in ACTIVE state now
2025-08-11 11:00:37,499 - INFO - VM name : ctest-vn1-vm2-93565035
2025-08-11 11:00:37,564 - DEBUG - VM ctest-vn1-vm2-93565035 ID is 99f7d510-d5c5-4446-9263-7008e69a56a9
2025-08-11 11:00:37,564 - DEBUG - VM ctest-vn1-vm2-93565035 launched on Node an-jenkins-deploy-platform-ansible-os-3803-1
2025-08-11 11:00:37,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/99f7d510-d5c5-4446-9263-7008e69a56a9
2025-08-11 11:00:37,640 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/941b2989-bc5d-42a0-bc69-bd9f53f4d4ff
2025-08-11 11:00:38,826 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.286 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.286/1.414/2.542/1.128 ms')
2025-08-11 11:00:38,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-93565035 passed
2025-08-11 11:00:38,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:38,937 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93565035, IP 111.99.244.197, Port 22
2025-08-11 11:00:39,093 - DEBUG - VM ctest-vn1-vm2-93565035 is ready for SSH connections
2025-08-11 11:00:39,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:39,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:39,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 11:00:39,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.23.126.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-11 11:00:39,094 - DEBUG - ping -s 56 -c 3 -W 1 11.23.126.69
2025-08-11 11:00:41,929 - DEBUG - PING 11.23.126.69 (11.23.126.69): 56 data bytes
64 bytes from 11.23.126.69: seq=0 ttl=63 time=4.683 ms
64 bytes from 11.23.126.69: seq=1 ttl=63 time=0.900 ms
64 bytes from 11.23.126.69: seq=2 ttl=63 time=1.022 ms
--- 11.23.126.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.900/2.201/4.683 ms
2025-08-11 11:00:41,929 - INFO - Ping to IP 11.23.126.69 from VM ctest-vn1-vm2-93565035 passed
2025-08-11 11:00:41,929 - INFO - Detaching port 941b2989-bc5d-42a0-bc69-bd9f53f4d4ff from VM ctest-vn1-vm2-93565035
2025-08-11 11:00:41,972 - INFO - Deleting VM ctest-vn1-vm2-93565035
2025-08-11 11:00:42,038 - INFO - Detaching port 7a7246df-f91a-4bab-8d0d-317deacdc33d from VM ctest-vn1-vm1-51124328
2025-08-11 11:00:42,065 - INFO - Deleting VM ctest-vn1-vm1-51124328
2025-08-11 11:00:42,347 - DEBUG - Response for delete_port : ()
2025-08-11 11:00:42,577 - DEBUG - Response for delete_port : ()
2025-08-11 11:00:42,577 - INFO - Deleting VN ctest-vn1-00326668
2025-08-11 11:00:42,802 - DEBUG - Response for deleting network ()
2025-08-11 11:00:44,065 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:00:44,065 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-08-11 11:00:44,065 - INFO - --------------------------------------------------------------------------------
2025-08-11 11:00:44,733 - INFO - Deleted project: ctest-TestPorts-12340912, ID : 1563c474-6125-4069-816b-79626a1fca4e