2025-09-04 20:01:01,830 - INFO - Domain Default found not creating 2025-09-04 20:01:02,028 - INFO - Project ctest-TestPorts-76741805 not found, creating it 2025-09-04 20:01:02,568 - INFO - Created Project:ctest-TestPorts-76741805, ID : 52421649-8bfa-4ac4-adf2-4e52d0785951 2025-09-04 20:01:04,387 - INFO - ================================================================================ 2025-09-04 20:01:04,387 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 20:01:04,387 - 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-09-04 20:01:04,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 20:01:04,678 - INFO - Initial checks done. Running the testcase now 2025-09-04 20:01:04,678 - INFO - 2025-09-04 20:01:05,404 - DEBUG - Response for create_network : {'network': {'id': '8d6aa986-a98c-4bac-8f2a-7ce3c6f77981', 'name': 'ctest-vn-84133388', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'project_id': '524216498bfa4ac4adf24e52d0785951', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76741805', 'ctest-vn-84133388'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:01:05,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bcedf5b-5cf7-4866-a831-5801bc8c399c', 'name': '', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '8d6aa986-a98c-4bac-8f2a-7ce3c6f77981', 'ip_version': 4, 'cidr': '176.34.19.0/26', 'allocation_pools': [{'start': '176.34.19.2', 'end': '176.34.19.62'}], 'gateway_ip': '176.34.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.34.19.2', 'tags': [], 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:05,595 - INFO - Created VN ctest-vn-84133388 2025-09-04 20:01:05,648 - DEBUG - VN ctest-vn-84133388 UUID is 8d6aa986-a98c-4bac-8f2a-7ce3c6f77981 2025-09-04 20:01:05,783 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76741805', 'ctest-vmi-65198555']} 2025-09-04 20:01:06,050 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65198555', 'id': 'a0413a5e-7a8c-464b-ad21-b810a0cc8d60', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '8d6aa986-a98c-4bac-8f2a-7ce3c6f77981', 'mac_address': '02:a0:41:3a:5e:7a', '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': '176.34.19.3', 'subnet_id': '7bcedf5b-5cf7-4866-a831-5801bc8c399c'}], 'security_groups': ['2008233f-ccb6-4475-ab34-2ddc055b366b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:06,050 - DEBUG - Created port a0413a5e-7a8c-464b-ad21-b810a0cc8d60 2025-09-04 20:01:06,156 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a0413a5e-7a8c-464b-ad21-b810a0cc8d60 2025-09-04 20:01:06,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a0413a5e-7a8c-464b-ad21-b810a0cc8d60 2025-09-04 20:01:06,513 - INFO - VMI a0413a5e-7a8c-464b-ad21-b810a0cc8d60 verification in API Server passed 2025-09-04 20:01:06,720 - DEBUG - Response for delete_port : () 2025-09-04 20:01:06,720 - INFO - Deleted port a0413a5e-7a8c-464b-ad21-b810a0cc8d60 2025-09-04 20:01:06,721 - INFO - Deleting VN ctest-vn-84133388 2025-09-04 20:01:06,864 - DEBUG - Response for deleting network () 2025-09-04 20:01:07,166 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 20:01:07,166 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-04 20:01:07,166 - INFO - -------------------------------------------------------------------------------- 2025-09-04 20:01:07,174 - INFO - ================================================================================ 2025-09-04 20:01:07,174 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 20:01:07,174 - 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-09-04 20:01:07,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 20:01:07,518 - INFO - Initial checks done. Running the testcase now 2025-09-04 20:01:07,518 - INFO - 2025-09-04 20:01:07,743 - DEBUG - Response for create_network : {'network': {'id': '71a1dd5a-c527-4e50-9eff-91c1317848b6', 'name': 'ctest-vn1-01137189', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'project_id': '524216498bfa4ac4adf24e52d0785951', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76741805', 'ctest-vn1-01137189'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:01:07,897 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de4f2c44-6e18-4e41-9ebf-1b0bb825756b', 'name': '', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '71a1dd5a-c527-4e50-9eff-91c1317848b6', 'ip_version': 4, 'cidr': '155.19.116.192/26', 'allocation_pools': [{'start': '155.19.116.194', 'end': '155.19.116.254'}], 'gateway_ip': '155.19.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.19.116.194', 'tags': [], 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:08,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '917fb5fa-c600-4023-9e1b-3599e8bb3ba0', 'name': '', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '71a1dd5a-c527-4e50-9eff-91c1317848b6', 'ip_version': 4, 'cidr': '18.90.153.0/26', 'allocation_pools': [{'start': '18.90.153.2', 'end': '18.90.153.62'}], 'gateway_ip': '18.90.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.90.153.2', 'tags': [], 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:08,127 - INFO - Created VN ctest-vn1-01137189 2025-09-04 20:01:08,180 - DEBUG - VN ctest-vn1-01137189 UUID is 71a1dd5a-c527-4e50-9eff-91c1317848b6 2025-09-04 20:01:08,545 - DEBUG - Response for create_port : {'port': {'name': '4f7287bb-9792-4386-ac7c-40a00a66d966', 'id': '4f7287bb-9792-4386-ac7c-40a00a66d966', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '71a1dd5a-c527-4e50-9eff-91c1317848b6', 'mac_address': '02:4f:72:87:bb:97', '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': '155.19.116.197', 'subnet_id': 'de4f2c44-6e18-4e41-9ebf-1b0bb825756b'}], 'security_groups': ['2008233f-ccb6-4475-ab34-2ddc055b366b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:08,714 - DEBUG - Response for create_port : {'port': {'name': '2e81e346-753e-4679-8819-e9057a1b9f9e', 'id': '2e81e346-753e-4679-8819-e9057a1b9f9e', 'tenant_id': '524216498bfa4ac4adf24e52d0785951', 'network_id': '71a1dd5a-c527-4e50-9eff-91c1317848b6', 'mac_address': '02:2e:81:e3:46:75', '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': '18.90.153.5', 'subnet_id': '917fb5fa-c600-4023-9e1b-3599e8bb3ba0'}], 'security_groups': ['2008233f-ccb6-4475-ab34-2ddc055b366b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '524216498bfa4ac4adf24e52d0785951'}} 2025-09-04 20:01:08,777 - DEBUG - Services list from nova: [, , ] 2025-09-04 20:01:09,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1) 2025-09-04 20:01:10,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1) 2025-09-04 20:01:10,294 - INFO - Waiting for VM ctest-vn1-vm1-42374874 to be up.. 2025-09-04 20:01:10,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 20:01:15,532 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:01:15,532 - INFO - VM name : ctest-vn1-vm1-42374874 2025-09-04 20:01:15,673 - DEBUG - VM ctest-vn1-vm1-42374874 ID is 1d723a6c-a933-49b0-be49-8b3e9565e768 2025-09-04 20:01:15,700 - DEBUG - VM ctest-vn1-vm1-42374874 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1 2025-09-04 20:01:15,819 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1d723a6c-a933-49b0-be49-8b3e9565e768 2025-09-04 20:01:15,830 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4f7287bb-9792-4386-ac7c-40a00a66d966 2025-09-04 20:01:19,117 - 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 1016ms') 2025-09-04 20:01:19,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42374874 failed! 2025-09-04 20:01:19,176 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76741805:ctest-vn1-01137189 is 155.19.116.193 and allocation pool is NOT set 2025-09-04 20:01:19,176 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76741805:ctest-vn1-01137189 is 18.90.153.1 and allocation pool is NOT set 2025-09-04 20:01:23,279 - 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=13.1 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 = 13.119/13.119/13.119/0.000 ms') 2025-09-04 20:01:23,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42374874 passed 2025-09-04 20:01:23,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:23,438 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42374874, IP 155.19.116.197, Port 22 2025-09-04 20:01:23,620 - DEBUG - VM ctest-vn1-vm1-42374874 is ready for SSH connections 2025-09-04 20:01:23,620 - INFO - Waiting for VM ctest-vn1-vm2-13777236 to be up.. 2025-09-04 20:01:23,785 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:01:23,785 - INFO - VM name : ctest-vn1-vm2-13777236 2025-09-04 20:01:23,987 - DEBUG - VM ctest-vn1-vm2-13777236 ID is eb7bf291-3089-4c4c-a99d-6bcea97c10a0 2025-09-04 20:01:23,987 - DEBUG - VM ctest-vn1-vm2-13777236 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1 2025-09-04 20:01:24,178 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eb7bf291-3089-4c4c-a99d-6bcea97c10a0 2025-09-04 20:01:24,198 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2e81e346-753e-4679-8819-e9057a1b9f9e 2025-09-04 20:01:25,516 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.777/3.115/1.338 ms') 2025-09-04 20:01:25,516 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13777236 passed 2025-09-04 20:01:25,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:25,685 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13777236, IP 18.90.153.5, Port 22 2025-09-04 20:01:25,883 - DEBUG - VM ctest-vn1-vm2-13777236 is ready for SSH connections 2025-09-04 20:01:25,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:25,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:25,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:25,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.19.116.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 20:01:25,884 - DEBUG - ping -s 56 -c 3 -W 1 155.19.116.197 2025-09-04 20:01:28,796 - DEBUG - PING 155.19.116.197 (155.19.116.197): 56 data bytes 64 bytes from 155.19.116.197: seq=0 ttl=63 time=4.098 ms 64 bytes from 155.19.116.197: seq=1 ttl=63 time=2.116 ms 64 bytes from 155.19.116.197: seq=2 ttl=63 time=1.621 ms --- 155.19.116.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.621/2.611/4.098 ms 2025-09-04 20:01:28,797 - INFO - Ping to IP 155.19.116.197 from VM ctest-vn1-vm2-13777236 passed 2025-09-04 20:01:28,797 - INFO - Detaching port 2e81e346-753e-4679-8819-e9057a1b9f9e from VM ctest-vn1-vm2-13777236 2025-09-04 20:01:28,862 - INFO - Deleting VM ctest-vn1-vm2-13777236 2025-09-04 20:01:28,969 - INFO - Detaching port 4f7287bb-9792-4386-ac7c-40a00a66d966 from VM ctest-vn1-vm1-42374874 2025-09-04 20:01:29,021 - INFO - Deleting VM ctest-vn1-vm1-42374874 2025-09-04 20:01:29,357 - DEBUG - Response for delete_port : () 2025-09-04 20:01:29,525 - DEBUG - Response for delete_port : () 2025-09-04 20:01:29,525 - INFO - Deleting VN ctest-vn1-01137189 2025-09-04 20:01:29,666 - DEBUG - Response for deleting network () 2025-09-04 20:01:29,967 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 20:01:29,967 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-09-04 20:01:29,967 - INFO - -------------------------------------------------------------------------------- 2025-09-04 20:01:30,671 - INFO - Deleted project: ctest-TestPorts-76741805, ID : 52421649-8bfa-4ac4-adf2-4e52d0785951