2025-08-11 02:03:56,482 - INFO - Domain Default found not creating
2025-08-11 02:03:56,650 - INFO - Project ctest-TestPorts-85823194 not found, creating it
2025-08-11 02:03:57,151 - INFO - Created Project:ctest-TestPorts-85823194, ID : 638dcf9e-e424-40a9-aaa9-23b9c770b826
2025-08-11 02:03:58,625 - INFO - ================================================================================
2025-08-11 02:03:58,625 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 02:03:58,626 - 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 02:03:58,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2025-08-11 02:03:58,898 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:03:58,898 - INFO -
2025-08-11 02:03:59,514 - DEBUG - Response for create_network : {'network': {'id': '3cedfbf8-813f-434d-85fa-bed43978acd2', 'name': 'ctest-vn-43885420', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'project_id': '638dcf9ee42440a9aaa923b9c770b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85823194', 'ctest-vn-43885420'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:03:59,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '457324fc-9d27-49a2-bf2a-f79dd47b419e', 'name': '', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '3cedfbf8-813f-434d-85fa-bed43978acd2', 'ip_version': 4, 'cidr': '73.191.125.128/26', 'allocation_pools': [{'start': '73.191.125.130', 'end': '73.191.125.190'}], 'gateway_ip': '73.191.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.191.125.130', 'tags': [], 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:03:59,728 - INFO - Created VN ctest-vn-43885420
2025-08-11 02:03:59,784 - DEBUG - VN ctest-vn-43885420 UUID is 3cedfbf8-813f-434d-85fa-bed43978acd2
2025-08-11 02:03:59,901 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85823194', 'ctest-vmi-13047117']}
2025-08-11 02:04:00,181 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13047117', 'id': 'ef1d6e79-4305-437c-9e3c-0695a9680421', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '3cedfbf8-813f-434d-85fa-bed43978acd2', 'mac_address': '02:ef:1d:6e:79:43', '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': '73.191.125.131', 'subnet_id': '457324fc-9d27-49a2-bf2a-f79dd47b419e'}], 'security_groups': ['d3ef679a-c00f-4596-8f69-848813147efb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:04:00,181 - DEBUG - Created port ef1d6e79-4305-437c-9e3c-0695a9680421
2025-08-11 02:04:00,292 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ef1d6e79-4305-437c-9e3c-0695a9680421
2025-08-11 02:04:00,588 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ef1d6e79-4305-437c-9e3c-0695a9680421
2025-08-11 02:04:00,627 - INFO - VMI ef1d6e79-4305-437c-9e3c-0695a9680421 verification in API Server passed
2025-08-11 02:04:00,770 - DEBUG - Response for delete_port : ()
2025-08-11 02:04:00,770 - INFO - Deleted port ef1d6e79-4305-437c-9e3c-0695a9680421
2025-08-11 02:04:00,770 - INFO - Deleting VN ctest-vn-43885420
2025-08-11 02:04:00,897 - DEBUG - Response for deleting network ()
2025-08-11 02:04:01,150 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:04:01,150 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-11 02:04:01,150 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:04:01,153 - INFO - ================================================================================
2025-08-11 02:04:01,154 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 02:04:01,154 - 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 02:04:01,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2025-08-11 02:04:01,454 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:04:01,454 - INFO -
2025-08-11 02:04:01,661 - DEBUG - Response for create_network : {'network': {'id': '33e4610d-24d0-4028-87a8-a2a6d00eb01b', 'name': 'ctest-vn1-89282988', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'project_id': '638dcf9ee42440a9aaa923b9c770b826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85823194', 'ctest-vn1-89282988'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:04:01,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e92ddd42-cb04-436f-9105-dbe742e15eef', 'name': '', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '33e4610d-24d0-4028-87a8-a2a6d00eb01b', 'ip_version': 4, 'cidr': '136.50.135.192/26', 'allocation_pools': [{'start': '136.50.135.194', 'end': '136.50.135.254'}], 'gateway_ip': '136.50.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.50.135.194', 'tags': [], 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:04:01,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '8720555a-fc3c-4c34-96eb-1e68aac65614', 'name': '', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '33e4610d-24d0-4028-87a8-a2a6d00eb01b', 'ip_version': 4, 'cidr': '31.152.235.192/26', 'allocation_pools': [{'start': '31.152.235.194', 'end': '31.152.235.254'}], 'gateway_ip': '31.152.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.152.235.194', 'tags': [], 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:04:02,013 - INFO - Created VN ctest-vn1-89282988
2025-08-11 02:04:02,068 - DEBUG - VN ctest-vn1-89282988 UUID is 33e4610d-24d0-4028-87a8-a2a6d00eb01b
2025-08-11 02:04:02,398 - DEBUG - Response for create_port : {'port': {'name': '9cc69195-54ae-4e76-a993-6a51d43d7738', 'id': '9cc69195-54ae-4e76-a993-6a51d43d7738', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '33e4610d-24d0-4028-87a8-a2a6d00eb01b', 'mac_address': '02:9c:c6:91:95:54', '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': '136.50.135.197', 'subnet_id': 'e92ddd42-cb04-436f-9105-dbe742e15eef'}], 'security_groups': ['d3ef679a-c00f-4596-8f69-848813147efb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:04:02,590 - DEBUG - Response for create_port : {'port': {'name': '48fa6573-59fc-4a54-aced-d43b26f0b8d7', 'id': '48fa6573-59fc-4a54-aced-d43b26f0b8d7', 'tenant_id': '638dcf9ee42440a9aaa923b9c770b826', 'network_id': '33e4610d-24d0-4028-87a8-a2a6d00eb01b', 'mac_address': '02:48:fa:65:73:59', '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': '31.152.235.197', 'subnet_id': '8720555a-fc3c-4c34-96eb-1e68aac65614'}], 'security_groups': ['d3ef679a-c00f-4596-8f69-848813147efb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '638dcf9ee42440a9aaa923b9c770b826'}}
2025-08-11 02:04:02,654 - DEBUG - Services list from nova: [, , ]
2025-08-11 02:04:03,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1)
2025-08-11 02:04:03,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3791-1)
2025-08-11 02:04:03,443 - INFO - Waiting for VM ctest-vn1-vm1-85850864 to be up..
2025-08-11 02:04:03,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:04:08,564 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:04:08,564 - INFO - VM name : ctest-vn1-vm1-85850864
2025-08-11 02:04:08,647 - DEBUG - VM ctest-vn1-vm1-85850864 ID is 80eb34c3-299e-4a49-8021-7fa669e08e9a
2025-08-11 02:04:08,667 - DEBUG - VM ctest-vn1-vm1-85850864 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1
2025-08-11 02:04:08,759 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/80eb34c3-299e-4a49-8021-7fa669e08e9a
2025-08-11 02:04:08,769 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9cc69195-54ae-4e76-a993-6a51d43d7738
2025-08-11 02:04:12,042 - 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-08-11 02:04:12,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85850864 failed!
2025-08-11 02:04:12,101 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85823194:ctest-vn1-89282988 is 136.50.135.193 and allocation pool is NOT set
2025-08-11 02:04:12,101 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85823194:ctest-vn1-89282988 is 31.152.235.193 and allocation pool is NOT set
2025-08-11 02:04:14,165 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.717 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.717/6.928/13.140/6.211 ms')
2025-08-11 02:04:14,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85850864 passed
2025-08-11 02:04:14,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:14,332 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85850864, IP 136.50.135.197, Port 22
2025-08-11 02:04:14,392 - 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 02:04:14,478 - DEBUG - VM ctest-vn1-vm1-85850864 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:04:19,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:19,479 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85850864, IP 136.50.135.197, Port 22
2025-08-11 02:04:19,636 - DEBUG - VM ctest-vn1-vm1-85850864 is ready for SSH connections
2025-08-11 02:04:19,636 - INFO - Waiting for VM ctest-vn1-vm2-57361636 to be up..
2025-08-11 02:04:19,713 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:04:19,713 - INFO - VM name : ctest-vn1-vm2-57361636
2025-08-11 02:04:19,788 - DEBUG - VM ctest-vn1-vm2-57361636 ID is 5a48b778-56d4-44c6-83e3-f101edb9fa35
2025-08-11 02:04:19,789 - DEBUG - VM ctest-vn1-vm2-57361636 launched on Node cn-jenkins-deploy-platform-ansible-os-3791-1
2025-08-11 02:04:19,868 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5a48b778-56d4-44c6-83e3-f101edb9fa35
2025-08-11 02:04:19,878 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/48fa6573-59fc-4a54-aced-d43b26f0b8d7
2025-08-11 02:04:21,126 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.381/1.578/2.776/1.197 ms')
2025-08-11 02:04:21,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57361636 passed
2025-08-11 02:04:21,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:21,285 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57361636, IP 31.152.235.197, Port 22
2025-08-11 02:04:21,450 - DEBUG - VM ctest-vn1-vm2-57361636 is ready for SSH connections
2025-08-11 02:04:21,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:21,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:21,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:04:21,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.50.135.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-11 02:04:21,451 - DEBUG - ping -s 56 -c 3 -W 1 136.50.135.197
2025-08-11 02:04:24,096 - DEBUG - PING 136.50.135.197 (136.50.135.197): 56 data bytes
64 bytes from 136.50.135.197: seq=0 ttl=63 time=3.736 ms
64 bytes from 136.50.135.197: seq=1 ttl=63 time=0.870 ms
64 bytes from 136.50.135.197: seq=2 ttl=63 time=0.959 ms
--- 136.50.135.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/1.855/3.736 ms
2025-08-11 02:04:24,096 - INFO - Ping to IP 136.50.135.197 from VM ctest-vn1-vm2-57361636 passed
2025-08-11 02:04:24,096 - INFO - Detaching port 48fa6573-59fc-4a54-aced-d43b26f0b8d7 from VM ctest-vn1-vm2-57361636
2025-08-11 02:04:24,147 - INFO - Deleting VM ctest-vn1-vm2-57361636
2025-08-11 02:04:24,214 - INFO - Detaching port 9cc69195-54ae-4e76-a993-6a51d43d7738 from VM ctest-vn1-vm1-85850864
2025-08-11 02:04:24,252 - INFO - Deleting VM ctest-vn1-vm1-85850864
2025-08-11 02:04:24,522 - DEBUG - Response for delete_port : ()
2025-08-11 02:04:24,715 - DEBUG - Response for delete_port : ()
2025-08-11 02:04:24,715 - INFO - Deleting VN ctest-vn1-89282988
2025-08-11 02:04:24,919 - DEBUG - Response for deleting network ()
2025-08-11 02:04:25,178 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:04:25,178 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-11 02:04:25,179 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:04:25,896 - INFO - Deleted project: ctest-TestPorts-85823194, ID : 638dcf9e-e424-40a9-aaa9-23b9c770b826