2025-08-06 14:15:39,906 - INFO - Domain Default found not creating 2025-08-06 14:15:40,101 - INFO - Project ctest-TestPorts-21473770 not found, creating it 2025-08-06 14:15:40,613 - INFO - Created Project:ctest-TestPorts-21473770, ID : ebb1ef43-523f-4227-8779-0c74cd821d33 2025-08-06 14:15:42,304 - INFO - ================================================================================ 2025-08-06 14:15:42,304 - INFO - STARTING TEST : test_ports_bindings 2025-08-06 14:15:42,304 - 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-06 14:15:42,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 14:15:42,578 - INFO - Initial checks done. Running the testcase now 2025-08-06 14:15:42,578 - INFO - 2025-08-06 14:15:43,192 - DEBUG - Response for create_network : {'network': {'id': 'adf8a405-05dd-463f-9d3f-da19c79f3626', 'name': 'ctest-vn-16152115', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'project_id': 'ebb1ef43523f422787790c74cd821d33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21473770', 'ctest-vn-16152115'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:15:43,368 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7faa56e-0d26-45d7-ace4-e187a615e766', 'name': '', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': 'adf8a405-05dd-463f-9d3f-da19c79f3626', 'ip_version': 4, 'cidr': '94.206.158.64/26', 'allocation_pools': [{'start': '94.206.158.66', 'end': '94.206.158.126'}], 'gateway_ip': '94.206.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.206.158.66', 'tags': [], 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:43,391 - INFO - Created VN ctest-vn-16152115 2025-08-06 14:15:43,448 - DEBUG - VN ctest-vn-16152115 UUID is adf8a405-05dd-463f-9d3f-da19c79f3626 2025-08-06 14:15:43,580 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21473770', 'ctest-vmi-53452110']} 2025-08-06 14:15:43,845 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53452110', 'id': 'f809741c-4831-48b8-b680-1e0563dfd14c', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': 'adf8a405-05dd-463f-9d3f-da19c79f3626', 'mac_address': '02:f8:09:74:1c:48', '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': '94.206.158.67', 'subnet_id': 'e7faa56e-0d26-45d7-ace4-e187a615e766'}], 'security_groups': ['ebe4fe7f-668e-470d-a78b-df623ab1f3f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:43,845 - DEBUG - Created port f809741c-4831-48b8-b680-1e0563dfd14c 2025-08-06 14:15:43,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f809741c-4831-48b8-b680-1e0563dfd14c 2025-08-06 14:15:44,291 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f809741c-4831-48b8-b680-1e0563dfd14c 2025-08-06 14:15:44,327 - INFO - VMI f809741c-4831-48b8-b680-1e0563dfd14c verification in API Server passed 2025-08-06 14:15:44,436 - DEBUG - Response for delete_port : () 2025-08-06 14:15:44,437 - INFO - Deleted port f809741c-4831-48b8-b680-1e0563dfd14c 2025-08-06 14:15:44,437 - INFO - Deleting VN ctest-vn-16152115 2025-08-06 14:15:44,561 - DEBUG - Response for deleting network () 2025-08-06 14:15:44,825 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 14:15:44,825 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-06 14:15:44,825 - INFO - -------------------------------------------------------------------------------- 2025-08-06 14:15:44,828 - INFO - ================================================================================ 2025-08-06 14:15:44,828 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-06 14:15:44,829 - 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-06 14:15:45,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 14:15:45,129 - INFO - Initial checks done. Running the testcase now 2025-08-06 14:15:45,129 - INFO - 2025-08-06 14:15:45,337 - DEBUG - Response for create_network : {'network': {'id': '80d27c23-4d82-4860-9946-e041af735bef', 'name': 'ctest-vn1-78086263', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'project_id': 'ebb1ef43523f422787790c74cd821d33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21473770', 'ctest-vn1-78086263'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:15:45,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '252794b2-bc52-4c14-85d7-f1965399833a', 'name': '', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': '80d27c23-4d82-4860-9946-e041af735bef', 'ip_version': 4, 'cidr': '126.167.221.64/26', 'allocation_pools': [{'start': '126.167.221.66', 'end': '126.167.221.126'}], 'gateway_ip': '126.167.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.167.221.66', 'tags': [], 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:45,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '1971dabc-0753-4661-9e06-75d241f8f446', 'name': '', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': '80d27c23-4d82-4860-9946-e041af735bef', 'ip_version': 4, 'cidr': '57.225.38.64/26', 'allocation_pools': [{'start': '57.225.38.66', 'end': '57.225.38.126'}], 'gateway_ip': '57.225.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.225.38.66', 'tags': [], 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:45,733 - INFO - Created VN ctest-vn1-78086263 2025-08-06 14:15:45,789 - DEBUG - VN ctest-vn1-78086263 UUID is 80d27c23-4d82-4860-9946-e041af735bef 2025-08-06 14:15:46,140 - DEBUG - Response for create_port : {'port': {'name': '80813b12-1d15-4bd5-826d-cb26318aadb9', 'id': '80813b12-1d15-4bd5-826d-cb26318aadb9', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': '80d27c23-4d82-4860-9946-e041af735bef', 'mac_address': '02:80:81:3b:12:1d', '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': '126.167.221.69', 'subnet_id': '252794b2-bc52-4c14-85d7-f1965399833a'}], 'security_groups': ['ebe4fe7f-668e-470d-a78b-df623ab1f3f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:46,351 - DEBUG - Response for create_port : {'port': {'name': 'e19c36d8-6d4c-441b-9eda-8f995eaa8686', 'id': 'e19c36d8-6d4c-441b-9eda-8f995eaa8686', 'tenant_id': 'ebb1ef43523f422787790c74cd821d33', 'network_id': '80d27c23-4d82-4860-9946-e041af735bef', 'mac_address': '02:e1:9c:36:d8:6d', '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': '57.225.38.69', 'subnet_id': '1971dabc-0753-4661-9e06-75d241f8f446'}], 'security_groups': ['ebe4fe7f-668e-470d-a78b-df623ab1f3f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebb1ef43523f422787790c74cd821d33'}} 2025-08-06 14:15:46,428 - DEBUG - Services list from nova: [, , ] 2025-08-06 14:15:46,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:15:47,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:15:47,338 - INFO - Waiting for VM ctest-vn1-vm1-66482399 to be up.. 2025-08-06 14:15:47,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 14:15:52,475 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:15:52,475 - INFO - VM name : ctest-vn1-vm1-66482399 2025-08-06 14:15:52,556 - DEBUG - VM ctest-vn1-vm1-66482399 ID is 587a02b3-a862-4721-ac5a-bb88f5ed1db3 2025-08-06 14:15:52,577 - DEBUG - VM ctest-vn1-vm1-66482399 launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:15:52,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/587a02b3-a862-4721-ac5a-bb88f5ed1db3 2025-08-06 14:15:52,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/80813b12-1d15-4bd5-826d-cb26318aadb9 2025-08-06 14:15:55,948 - 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 1006ms') 2025-08-06 14:15:55,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66482399 failed! 2025-08-06 14:15:56,008 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21473770:ctest-vn1-78086263 is 126.167.221.65 and allocation pool is NOT set 2025-08-06 14:15:56,009 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21473770:ctest-vn1-78086263 is 57.225.38.65 and allocation pool is NOT set 2025-08-06 14:16:00,076 - 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=12.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 12.696/12.696/12.696/0.000 ms') 2025-08-06 14:16:00,076 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66482399 passed 2025-08-06 14:16:00,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:00,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66482399, IP 126.167.221.69, Port 22 2025-08-06 14:16:00,458 - DEBUG - VM ctest-vn1-vm1-66482399 is ready for SSH connections 2025-08-06 14:16:00,459 - INFO - Waiting for VM ctest-vn1-vm2-19230821 to be up.. 2025-08-06 14:16:00,565 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:16:00,565 - INFO - VM name : ctest-vn1-vm2-19230821 2025-08-06 14:16:00,651 - DEBUG - VM ctest-vn1-vm2-19230821 ID is aa5edfb5-31ce-48b3-a65c-6db2b6c0b678 2025-08-06 14:16:00,651 - DEBUG - VM ctest-vn1-vm2-19230821 launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:16:00,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa5edfb5-31ce-48b3-a65c-6db2b6c0b678 2025-08-06 14:16:00,753 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e19c36d8-6d4c-441b-9eda-8f995eaa8686 2025-08-06 14:16:02,024 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.505/2.169/3.834/1.664 ms') 2025-08-06 14:16:02,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19230821 passed 2025-08-06 14:16:02,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:02,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19230821, IP 57.225.38.69, Port 22 2025-08-06 14:16:02,363 - DEBUG - VM ctest-vn1-vm2-19230821 is ready for SSH connections 2025-08-06 14:16:02,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:02,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:02,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:02,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.167.221.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:02,363 - DEBUG - ping -s 56 -c 3 -W 1 126.167.221.69 2025-08-06 14:16:05,092 - DEBUG - PING 126.167.221.69 (126.167.221.69): 56 data bytes 64 bytes from 126.167.221.69: seq=0 ttl=63 time=5.031 ms 64 bytes from 126.167.221.69: seq=1 ttl=63 time=1.001 ms 64 bytes from 126.167.221.69: seq=2 ttl=63 time=0.959 ms --- 126.167.221.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.330/5.031 ms 2025-08-06 14:16:05,092 - INFO - Ping to IP 126.167.221.69 from VM ctest-vn1-vm2-19230821 passed 2025-08-06 14:16:05,092 - INFO - Detaching port e19c36d8-6d4c-441b-9eda-8f995eaa8686 from VM ctest-vn1-vm2-19230821 2025-08-06 14:16:05,152 - INFO - Deleting VM ctest-vn1-vm2-19230821 2025-08-06 14:16:05,239 - INFO - Detaching port 80813b12-1d15-4bd5-826d-cb26318aadb9 from VM ctest-vn1-vm1-66482399 2025-08-06 14:16:05,282 - INFO - Deleting VM ctest-vn1-vm1-66482399 2025-08-06 14:16:05,607 - DEBUG - Response for delete_port : () 2025-08-06 14:16:05,803 - DEBUG - Response for delete_port : () 2025-08-06 14:16:05,803 - INFO - Deleting VN ctest-vn1-78086263 2025-08-06 14:16:05,983 - DEBUG - Response for deleting network () 2025-08-06 14:16:06,247 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 14:16:06,247 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-08-06 14:16:06,248 - INFO - -------------------------------------------------------------------------------- 2025-08-06 14:16:07,030 - INFO - Deleted project: ctest-TestPorts-21473770, ID : ebb1ef43-523f-4227-8779-0c74cd821d33