2025-10-16 02:27:27,211 - INFO - Domain Default found not creating 2025-10-16 02:27:27,373 - INFO - Project ctest-TestPorts-81468848 not found, creating it 2025-10-16 02:27:27,927 - INFO - Created Project:ctest-TestPorts-81468848, ID : 38e4d70b-3405-4739-ba95-a3d32359d3e9 2025-10-16 02:27:29,452 - INFO - ================================================================================ 2025-10-16 02:27:29,452 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 02:27:29,452 - 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 02:27:30,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0', '10.20.0.5': '0'}, '10.0.0.129': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2025-10-16 02:27:30,720 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:27:30,720 - INFO - 2025-10-16 02:27:31,406 - DEBUG - Response for create_network : {'network': {'id': '375cde1b-ba5e-4ffd-b0f8-e7eab1bb869c', 'name': 'ctest-vn-92218896', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'project_id': '38e4d70b34054739ba95a3d32359d3e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81468848', 'ctest-vn-92218896'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:27:31,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f50c0025-c818-4eb6-9c07-44a76c3049a3', 'name': '', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '375cde1b-ba5e-4ffd-b0f8-e7eab1bb869c', 'ip_version': 4, 'cidr': '37.139.21.64/26', 'allocation_pools': [{'start': '37.139.21.66', 'end': '37.139.21.126'}], 'gateway_ip': '37.139.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.139.21.66', 'tags': [], 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:31,687 - INFO - Created VN ctest-vn-92218896 2025-10-16 02:27:31,699 - DEBUG - VN ctest-vn-92218896 UUID is 375cde1b-ba5e-4ffd-b0f8-e7eab1bb869c 2025-10-16 02:27:31,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81468848', 'ctest-vmi-74645027']} 2025-10-16 02:27:32,071 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74645027', 'id': 'f4ec6747-53a8-437b-8646-6f29fc63e28e', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '375cde1b-ba5e-4ffd-b0f8-e7eab1bb869c', 'mac_address': '02:f4:ec:67:47:53', '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': '37.139.21.67', 'subnet_id': 'f50c0025-c818-4eb6-9c07-44a76c3049a3'}], 'security_groups': ['39f7da4a-05e5-45d1-8cea-209742323bc8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:32,071 - DEBUG - Created port f4ec6747-53a8-437b-8646-6f29fc63e28e 2025-10-16 02:27:32,133 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f4ec6747-53a8-437b-8646-6f29fc63e28e 2025-10-16 02:27:32,431 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f4ec6747-53a8-437b-8646-6f29fc63e28e 2025-10-16 02:27:32,464 - INFO - VMI f4ec6747-53a8-437b-8646-6f29fc63e28e verification in API Server passed 2025-10-16 02:27:32,596 - DEBUG - Response for delete_port : () 2025-10-16 02:27:32,597 - INFO - Deleted port f4ec6747-53a8-437b-8646-6f29fc63e28e 2025-10-16 02:27:32,597 - INFO - Deleting VN ctest-vn-92218896 2025-10-16 02:27:32,756 - DEBUG - Response for deleting network () 2025-10-16 02:27:34,028 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:27:34,029 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-16 02:27:34,029 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:27:34,032 - INFO - ================================================================================ 2025-10-16 02:27:34,032 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 02:27:34,032 - 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 02:27:35,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0', '10.20.0.5': '0'}, '10.0.0.129': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2025-10-16 02:27:35,296 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:27:35,296 - INFO - 2025-10-16 02:27:35,595 - DEBUG - Response for create_network : {'network': {'id': '3d198d84-be12-4195-ac30-9e8fef6a6d82', 'name': 'ctest-vn1-53025105', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'project_id': '38e4d70b34054739ba95a3d32359d3e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81468848', 'ctest-vn1-53025105'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:27:35,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd35aec6-c173-47db-a243-b354e7802b57', 'name': '', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '3d198d84-be12-4195-ac30-9e8fef6a6d82', 'ip_version': 4, 'cidr': '121.88.12.128/26', 'allocation_pools': [{'start': '121.88.12.130', 'end': '121.88.12.190'}], 'gateway_ip': '121.88.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.88.12.130', 'tags': [], 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:36,038 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a689222b-4c8b-485f-bf17-79b820befc3e', 'name': '', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '3d198d84-be12-4195-ac30-9e8fef6a6d82', 'ip_version': 4, 'cidr': '100.157.222.64/26', 'allocation_pools': [{'start': '100.157.222.66', 'end': '100.157.222.126'}], 'gateway_ip': '100.157.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.157.222.66', 'tags': [], 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:36,060 - INFO - Created VN ctest-vn1-53025105 2025-10-16 02:27:36,069 - DEBUG - VN ctest-vn1-53025105 UUID is 3d198d84-be12-4195-ac30-9e8fef6a6d82 2025-10-16 02:27:36,411 - DEBUG - Response for create_port : {'port': {'name': '62d9f618-9858-4e0f-bf51-936396a013c6', 'id': '62d9f618-9858-4e0f-bf51-936396a013c6', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '3d198d84-be12-4195-ac30-9e8fef6a6d82', 'mac_address': '02:62:d9:f6:18:98', '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': '121.88.12.133', 'subnet_id': 'bd35aec6-c173-47db-a243-b354e7802b57'}], 'security_groups': ['39f7da4a-05e5-45d1-8cea-209742323bc8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:36,640 - DEBUG - Response for create_port : {'port': {'name': 'da2e4bc1-381f-48ce-8123-ea20aaee2c4c', 'id': 'da2e4bc1-381f-48ce-8123-ea20aaee2c4c', 'tenant_id': '38e4d70b34054739ba95a3d32359d3e9', 'network_id': '3d198d84-be12-4195-ac30-9e8fef6a6d82', 'mac_address': '02:da:2e:4b:c1:38', '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': '100.157.222.69', 'subnet_id': 'a689222b-4c8b-485f-bf17-79b820befc3e'}], 'security_groups': ['39f7da4a-05e5-45d1-8cea-209742323bc8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '38e4d70b34054739ba95a3d32359d3e9'}} 2025-10-16 02:27:36,694 - DEBUG - Services list from nova: [, , , ] 2025-10-16 02:27:37,096 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1) 2025-10-16 02:27:37,674 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-2) 2025-10-16 02:27:37,674 - INFO - Waiting for VM ctest-vn1-vm1-62959917 to be up.. 2025-10-16 02:27:37,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:27:42,808 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:27:42,809 - INFO - VM name : ctest-vn1-vm1-62959917 2025-10-16 02:27:42,882 - DEBUG - VM ctest-vn1-vm1-62959917 ID is 89dacef8-cbe0-4ee1-9d7b-0646b72e0e53 2025-10-16 02:27:42,906 - DEBUG - VM ctest-vn1-vm1-62959917 launched on Node an-jenkins-deploy-platform-ansible-os-4339-1 2025-10-16 02:27:42,985 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/89dacef8-cbe0-4ee1-9d7b-0646b72e0e53 2025-10-16 02:27:43,279 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/89dacef8-cbe0-4ee1-9d7b-0646b72e0e53 2025-10-16 02:27:43,314 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/62d9f618-9858-4e0f-bf51-936396a013c6 2025-10-16 02:27:46,502 - 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 1022ms') 2025-10-16 02:27:46,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62959917 failed! 2025-10-16 02:27:46,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81468848:ctest-vn1-53025105 is 121.88.12.129 and allocation pool is NOT set 2025-10-16 02:27:46,516 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81468848:ctest-vn1-53025105 is 100.157.222.65 and allocation pool is NOT set 2025-10-16 02:27:48,582 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.026/2.926/4.826/1.900 ms') 2025-10-16 02:27:48,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62959917 passed 2025-10-16 02:27:48,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:48,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62959917, IP 121.88.12.133, Port 22 2025-10-16 02:27:48,806 - DEBUG - VM ctest-vn1-vm1-62959917 is ready for SSH connections 2025-10-16 02:27:48,806 - INFO - Waiting for VM ctest-vn1-vm2-06826217 to be up.. 2025-10-16 02:27:48,925 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:27:48,925 - INFO - VM name : ctest-vn1-vm2-06826217 2025-10-16 02:27:49,007 - DEBUG - VM ctest-vn1-vm2-06826217 ID is 42891576-3d25-49b8-8668-a7765a7a008d 2025-10-16 02:27:49,007 - DEBUG - VM ctest-vn1-vm2-06826217 launched on Node an-jenkins-deploy-platform-ansible-os-4339-2 2025-10-16 02:27:49,082 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/42891576-3d25-49b8-8668-a7765a7a008d 2025-10-16 02:27:49,092 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/da2e4bc1-381f-48ce-8123-ea20aaee2c4c 2025-10-16 02:27:50,258 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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.343/3.327/4.312/0.984 ms') 2025-10-16 02:27:50,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06826217 passed 2025-10-16 02:27:50,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:50,328 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06826217, IP 100.157.222.69, Port 22 2025-10-16 02:27:50,395 - 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 02:27:50,481 - DEBUG - VM ctest-vn1-vm2-06826217 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 02:27:55,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:55,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06826217, IP 100.157.222.69, Port 22 2025-10-16 02:27:55,651 - DEBUG - VM ctest-vn1-vm2-06826217 is ready for SSH connections 2025-10-16 02:27:55,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:55,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:55,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:27:55,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.88.12.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-16 02:27:55,652 - DEBUG - ping -s 56 -c 3 -W 1 121.88.12.133 2025-10-16 02:27:58,732 - DEBUG - PING 121.88.12.133 (121.88.12.133): 56 data bytes 64 bytes from 121.88.12.133: seq=0 ttl=63 time=8.494 ms 64 bytes from 121.88.12.133: seq=1 ttl=63 time=1.191 ms 64 bytes from 121.88.12.133: seq=2 ttl=63 time=1.525 ms --- 121.88.12.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.191/3.736/8.494 ms 2025-10-16 02:27:58,732 - INFO - Ping to IP 121.88.12.133 from VM ctest-vn1-vm2-06826217 passed 2025-10-16 02:27:58,732 - INFO - Detaching port da2e4bc1-381f-48ce-8123-ea20aaee2c4c from VM ctest-vn1-vm2-06826217 2025-10-16 02:27:58,788 - INFO - Deleting VM ctest-vn1-vm2-06826217 2025-10-16 02:27:58,852 - INFO - Detaching port 62d9f618-9858-4e0f-bf51-936396a013c6 from VM ctest-vn1-vm1-62959917 2025-10-16 02:27:58,880 - INFO - Deleting VM ctest-vn1-vm1-62959917 2025-10-16 02:27:59,200 - DEBUG - Response for delete_port : () 2025-10-16 02:27:59,439 - DEBUG - Response for delete_port : () 2025-10-16 02:27:59,439 - INFO - Deleting VN ctest-vn1-53025105 2025-10-16 02:27:59,638 - DEBUG - Response for deleting network () 2025-10-16 02:28:00,932 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:28:00,932 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-16 02:28:00,932 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:28:01,677 - INFO - Deleted project: ctest-TestPorts-81468848, ID : 38e4d70b-3405-4739-ba95-a3d32359d3e9