2025-08-28 17:13:07,821 - INFO - Domain Default found not creating
2025-08-28 17:13:07,943 - INFO - Project ctest-TestPorts-94447509 not found, creating it
2025-08-28 17:13:08,384 - INFO - Created Project:ctest-TestPorts-94447509, ID : 78b7a874-643b-4a82-bd62-e3381266de6e
2025-08-28 17:13:09,835 - INFO - ================================================================================
2025-08-28 17:13:09,835 - INFO - STARTING TEST : test_ports_bindings
2025-08-28 17:13:09,835 - 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-28 17:13:10,089 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-28 17:13:10,089 - INFO - Initial checks done. Running the testcase now
2025-08-28 17:13:10,089 - INFO -
2025-08-28 17:13:10,592 - DEBUG - Response for create_network : {'network': {'id': 'b04b172c-efe2-4583-a4af-f1d4f498d353', 'name': 'ctest-vn-52920736', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'project_id': '78b7a874643b4a82bd62e3381266de6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94447509', 'ctest-vn-52920736'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 17:13:10,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4300f4d-3a9c-4c72-8247-18a980827377', 'name': '', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': 'b04b172c-efe2-4583-a4af-f1d4f498d353', 'ip_version': 4, 'cidr': '218.120.103.192/26', 'allocation_pools': [{'start': '218.120.103.194', 'end': '218.120.103.254'}], 'gateway_ip': '218.120.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.120.103.194', 'tags': [], 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:10,814 - INFO - Created VN ctest-vn-52920736
2025-08-28 17:13:10,865 - DEBUG - VN ctest-vn-52920736 UUID is b04b172c-efe2-4583-a4af-f1d4f498d353
2025-08-28 17:13:10,961 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94447509', 'ctest-vmi-14612795']}
2025-08-28 17:13:11,220 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14612795', 'id': 'c9547c79-b1d9-4fa1-b7c6-2e77edd1748d', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': 'b04b172c-efe2-4583-a4af-f1d4f498d353', 'mac_address': '02:c9:54:7c:79:b1', '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': '218.120.103.195', 'subnet_id': 'e4300f4d-3a9c-4c72-8247-18a980827377'}], 'security_groups': ['418e1ee1-fcd3-433a-9af0-bfcfb200c229'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:11,220 - DEBUG - Created port c9547c79-b1d9-4fa1-b7c6-2e77edd1748d
2025-08-28 17:13:11,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c9547c79-b1d9-4fa1-b7c6-2e77edd1748d
2025-08-28 17:13:11,611 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c9547c79-b1d9-4fa1-b7c6-2e77edd1748d
2025-08-28 17:13:11,637 - INFO - VMI c9547c79-b1d9-4fa1-b7c6-2e77edd1748d verification in API Server passed
2025-08-28 17:13:11,705 - DEBUG - Response for delete_port : ()
2025-08-28 17:13:11,705 - INFO - Deleted port c9547c79-b1d9-4fa1-b7c6-2e77edd1748d
2025-08-28 17:13:11,705 - INFO - Deleting VN ctest-vn-52920736
2025-08-28 17:13:11,786 - DEBUG - Response for deleting network ()
2025-08-28 17:13:12,045 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:13:12,045 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-28 17:13:12,045 - INFO - --------------------------------------------------------------------------------
2025-08-28 17:13:12,047 - INFO - ================================================================================
2025-08-28 17:13:12,047 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-28 17:13:12,047 - 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-28 17:13:12,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-28 17:13:12,349 - INFO - Initial checks done. Running the testcase now
2025-08-28 17:13:12,350 - INFO -
2025-08-28 17:13:12,610 - DEBUG - Response for create_network : {'network': {'id': '3ae83229-3a18-4dda-b9f8-89b8c5461529', 'name': 'ctest-vn1-67460259', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'project_id': '78b7a874643b4a82bd62e3381266de6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94447509', 'ctest-vn1-67460259'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 17:13:12,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '4164ff5e-2167-4f03-b72f-df08c4a6d982', 'name': '', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': '3ae83229-3a18-4dda-b9f8-89b8c5461529', 'ip_version': 4, 'cidr': '208.143.5.64/26', 'allocation_pools': [{'start': '208.143.5.66', 'end': '208.143.5.126'}], 'gateway_ip': '208.143.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.143.5.66', 'tags': [], 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:12,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee6547a-0560-45c4-803c-4e073921996b', 'name': '', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': '3ae83229-3a18-4dda-b9f8-89b8c5461529', 'ip_version': 4, 'cidr': '29.218.193.0/26', 'allocation_pools': [{'start': '29.218.193.2', 'end': '29.218.193.62'}], 'gateway_ip': '29.218.193.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.218.193.2', 'tags': [], 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:12,945 - INFO - Created VN ctest-vn1-67460259
2025-08-28 17:13:12,997 - DEBUG - VN ctest-vn1-67460259 UUID is 3ae83229-3a18-4dda-b9f8-89b8c5461529
2025-08-28 17:13:13,256 - DEBUG - Response for create_port : {'port': {'name': 'c89837de-bb08-41e3-8949-a9bea054f6fc', 'id': 'c89837de-bb08-41e3-8949-a9bea054f6fc', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': '3ae83229-3a18-4dda-b9f8-89b8c5461529', 'mac_address': '02:c8:98:37:de:bb', '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': '208.143.5.69', 'subnet_id': '4164ff5e-2167-4f03-b72f-df08c4a6d982'}], 'security_groups': ['418e1ee1-fcd3-433a-9af0-bfcfb200c229'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:13,401 - DEBUG - Response for create_port : {'port': {'name': '85700b26-5513-4ef7-a768-28241124086b', 'id': '85700b26-5513-4ef7-a768-28241124086b', 'tenant_id': '78b7a874643b4a82bd62e3381266de6e', 'network_id': '3ae83229-3a18-4dda-b9f8-89b8c5461529', 'mac_address': '02:85:70:0b:26:55', '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': '29.218.193.5', 'subnet_id': 'cee6547a-0560-45c4-803c-4e073921996b'}], 'security_groups': ['418e1ee1-fcd3-433a-9af0-bfcfb200c229'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78b7a874643b4a82bd62e3381266de6e'}}
2025-08-28 17:13:13,450 - DEBUG - Services list from nova: [, , ]
2025-08-28 17:13:13,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1)
2025-08-28 17:13:14,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1)
2025-08-28 17:13:14,055 - INFO - Waiting for VM ctest-vn1-vm1-75603685 to be up..
2025-08-28 17:13:14,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-28 17:13:19,149 - DEBUG - VM is in ACTIVE state now
2025-08-28 17:13:19,149 - INFO - VM name : ctest-vn1-vm1-75603685
2025-08-28 17:13:19,214 - DEBUG - VM ctest-vn1-vm1-75603685 ID is 3380624f-c091-465f-bef0-dcfbf3803706
2025-08-28 17:13:19,231 - DEBUG - VM ctest-vn1-vm1-75603685 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1
2025-08-28 17:13:19,291 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3380624f-c091-465f-bef0-dcfbf3803706
2025-08-28 17:13:19,298 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c89837de-bb08-41e3-8949-a9bea054f6fc
2025-08-28 17:13:22,545 - 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 1011ms')
2025-08-28 17:13:22,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75603685 failed!
2025-08-28 17:13:22,597 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94447509:ctest-vn1-67460259 is 208.143.5.65 and allocation pool is NOT set
2025-08-28 17:13:22,597 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94447509:ctest-vn1-67460259 is 29.218.193.1 and allocation pool is NOT set
2025-08-28 17:13:24,652 - 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=3.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.171/2.305/3.439/1.134 ms')
2025-08-28 17:13:24,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75603685 passed
2025-08-28 17:13:24,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 17:13:24,797 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75603685, IP 208.143.5.69, Port 22
2025-08-28 17:13:24,948 - DEBUG - VM ctest-vn1-vm1-75603685 is ready for SSH connections
2025-08-28 17:13:24,948 - INFO - Waiting for VM ctest-vn1-vm2-98206461 to be up..
2025-08-28 17:13:25,009 - DEBUG - VM is in ACTIVE state now
2025-08-28 17:13:25,009 - INFO - VM name : ctest-vn1-vm2-98206461
2025-08-28 17:13:25,074 - DEBUG - VM ctest-vn1-vm2-98206461 ID is b789a570-c2da-4165-8754-f6565c4c729b
2025-08-28 17:13:25,075 - DEBUG - VM ctest-vn1-vm2-98206461 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1
2025-08-28 17:13:25,137 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b789a570-c2da-4165-8754-f6565c4c729b
2025-08-28 17:13:25,144 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/85700b26-5513-4ef7-a768-28241124086b
2025-08-28 17:13:26,374 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.933/3.465/1.532 ms')
2025-08-28 17:13:26,374 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98206461 passed
2025-08-28 17:13:26,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 17:13:26,525 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98206461, IP 29.218.193.5, Port 22
2025-08-28 17:13:26,684 - DEBUG - VM ctest-vn1-vm2-98206461 is ready for SSH connections
2025-08-28 17:13:26,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 17:13:26,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 17:13:26,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 17:13:26,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.143.5.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-08-28 17:13:26,684 - DEBUG - ping -s 56 -c 3 -W 1 208.143.5.69
2025-08-28 17:13:29,581 - DEBUG - PING 208.143.5.69 (208.143.5.69): 56 data bytes
64 bytes from 208.143.5.69: seq=0 ttl=63 time=3.535 ms
64 bytes from 208.143.5.69: seq=1 ttl=63 time=0.725 ms
64 bytes from 208.143.5.69: seq=2 ttl=63 time=0.852 ms
--- 208.143.5.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.725/1.704/3.535 ms
2025-08-28 17:13:29,581 - INFO - Ping to IP 208.143.5.69 from VM ctest-vn1-vm2-98206461 passed
2025-08-28 17:13:29,581 - INFO - Detaching port 85700b26-5513-4ef7-a768-28241124086b from VM ctest-vn1-vm2-98206461
2025-08-28 17:13:29,624 - INFO - Deleting VM ctest-vn1-vm2-98206461
2025-08-28 17:13:29,685 - INFO - Detaching port c89837de-bb08-41e3-8949-a9bea054f6fc from VM ctest-vn1-vm1-75603685
2025-08-28 17:13:29,713 - INFO - Deleting VM ctest-vn1-vm1-75603685
2025-08-28 17:13:29,940 - DEBUG - Response for delete_port : ()
2025-08-28 17:13:30,074 - DEBUG - Response for delete_port : ()
2025-08-28 17:13:30,074 - INFO - Deleting VN ctest-vn1-67460259
2025-08-28 17:13:30,178 - DEBUG - Response for deleting network ()
2025-08-28 17:13:30,425 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:13:30,425 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-28 17:13:30,425 - INFO - --------------------------------------------------------------------------------
2025-08-28 17:13:31,050 - INFO - Deleted project: ctest-TestPorts-94447509, ID : 78b7a874-643b-4a82-bd62-e3381266de6e