2025-10-31 08:59:37,399 - INFO - Domain Default found not creating
2025-10-31 08:59:37,567 - INFO - Project ctest-TestPorts-57035401 not found, creating it
2025-10-31 08:59:38,041 - INFO - Created Project:ctest-TestPorts-57035401, ID : 10b6a0fe-c9c9-4f0f-8d9d-23f9163e9cd1
2025-10-31 08:59:39,589 - INFO - ================================================================================
2025-10-31 08:59:39,589 - INFO - STARTING TEST : test_ports_bindings
2025-10-31 08:59:39,589 - 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-31 08:59:39,857 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-31 08:59:39,857 - INFO - Initial checks done. Running the testcase now
2025-10-31 08:59:39,857 - INFO -
2025-10-31 08:59:40,452 - DEBUG - Response for create_network : {'network': {'id': '98ec3264-0f46-4e29-ba51-85547b42cc5e', 'name': 'ctest-vn-39895930', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57035401', 'ctest-vn-39895930'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 08:59:40,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c771f904-cec7-4a32-a103-30551ecec66e', 'name': '', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '98ec3264-0f46-4e29-ba51-85547b42cc5e', 'ip_version': 4, 'cidr': '132.94.203.128/26', 'allocation_pools': [{'start': '132.94.203.130', 'end': '132.94.203.190'}], 'gateway_ip': '132.94.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.94.203.130', 'tags': [], 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:40,658 - INFO - Created VN ctest-vn-39895930
2025-10-31 08:59:40,708 - DEBUG - VN ctest-vn-39895930 UUID is 98ec3264-0f46-4e29-ba51-85547b42cc5e
2025-10-31 08:59:40,816 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57035401', 'ctest-vmi-29545602']}
2025-10-31 08:59:41,073 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29545602', 'id': '640d8dd4-077c-4a4b-a83d-1e6b1854a095', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '98ec3264-0f46-4e29-ba51-85547b42cc5e', 'mac_address': '02:64:0d:8d:d4:07', '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': '132.94.203.131', 'subnet_id': 'c771f904-cec7-4a32-a103-30551ecec66e'}], 'security_groups': ['f54aec35-0482-4ede-ae8a-c39c0a0b0a94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:41,073 - DEBUG - Created port 640d8dd4-077c-4a4b-a83d-1e6b1854a095
2025-10-31 08:59:41,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/640d8dd4-077c-4a4b-a83d-1e6b1854a095
2025-10-31 08:59:41,478 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/640d8dd4-077c-4a4b-a83d-1e6b1854a095
2025-10-31 08:59:41,515 - INFO - VMI 640d8dd4-077c-4a4b-a83d-1e6b1854a095 verification in API Server passed
2025-10-31 08:59:41,616 - DEBUG - Response for delete_port : ()
2025-10-31 08:59:41,616 - INFO - Deleted port 640d8dd4-077c-4a4b-a83d-1e6b1854a095
2025-10-31 08:59:41,616 - INFO - Deleting VN ctest-vn-39895930
2025-10-31 08:59:41,738 - DEBUG - Response for deleting network ()
2025-10-31 08:59:42,009 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 08:59:42,009 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 08:59:42,009 - INFO - --------------------------------------------------------------------------------
2025-10-31 08:59:42,012 - INFO - ================================================================================
2025-10-31 08:59:42,012 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-31 08:59:42,012 - 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-31 08:59:42,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-31 08:59:42,294 - INFO - Initial checks done. Running the testcase now
2025-10-31 08:59:42,295 - INFO -
2025-10-31 08:59:42,494 - DEBUG - Response for create_network : {'network': {'id': '82027bb2-e7ba-4ce8-a322-8523368f844e', 'name': 'ctest-vn1-12178917', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57035401', 'ctest-vn1-12178917'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 08:59:42,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab302482-d39f-4ae7-91b2-82eda6a7490b', 'name': '', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '82027bb2-e7ba-4ce8-a322-8523368f844e', 'ip_version': 4, 'cidr': '122.62.203.128/26', 'allocation_pools': [{'start': '122.62.203.130', 'end': '122.62.203.190'}], 'gateway_ip': '122.62.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.62.203.130', 'tags': [], 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:42,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '54fcc4c6-0b99-4872-a980-0c0fc1baafcd', 'name': '', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '82027bb2-e7ba-4ce8-a322-8523368f844e', 'ip_version': 4, 'cidr': '73.199.151.192/26', 'allocation_pools': [{'start': '73.199.151.194', 'end': '73.199.151.254'}], 'gateway_ip': '73.199.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.199.151.194', 'tags': [], 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:42,936 - INFO - Created VN ctest-vn1-12178917
2025-10-31 08:59:42,992 - DEBUG - VN ctest-vn1-12178917 UUID is 82027bb2-e7ba-4ce8-a322-8523368f844e
2025-10-31 08:59:43,299 - DEBUG - Response for create_port : {'port': {'name': 'bf9d0247-20eb-4900-af18-12a4c39fc6bd', 'id': 'bf9d0247-20eb-4900-af18-12a4c39fc6bd', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '82027bb2-e7ba-4ce8-a322-8523368f844e', 'mac_address': '02:bf:9d:02:47:20', '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': '122.62.203.133', 'subnet_id': 'ab302482-d39f-4ae7-91b2-82eda6a7490b'}], 'security_groups': ['f54aec35-0482-4ede-ae8a-c39c0a0b0a94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:43,475 - DEBUG - Response for create_port : {'port': {'name': 'fc1bfe8d-f0b4-4486-ba3a-563fbe1d2e1b', 'id': 'fc1bfe8d-f0b4-4486-ba3a-563fbe1d2e1b', 'tenant_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1', 'network_id': '82027bb2-e7ba-4ce8-a322-8523368f844e', 'mac_address': '02:fc:1b:fe:8d:f0', '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.199.151.197', 'subnet_id': '54fcc4c6-0b99-4872-a980-0c0fc1baafcd'}], 'security_groups': ['f54aec35-0482-4ede-ae8a-c39c0a0b0a94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '10b6a0fec9c94f0f8d9d23f9163e9cd1'}}
2025-10-31 08:59:43,539 - DEBUG - Services list from nova: [, , ]
2025-10-31 08:59:43,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1)
2025-10-31 08:59:44,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1)
2025-10-31 08:59:44,349 - INFO - Waiting for VM ctest-vn1-vm1-86813280 to be up..
2025-10-31 08:59:44,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 08:59:49,476 - DEBUG - VM is in ACTIVE state now
2025-10-31 08:59:49,476 - INFO - VM name : ctest-vn1-vm1-86813280
2025-10-31 08:59:49,563 - DEBUG - VM ctest-vn1-vm1-86813280 ID is 6eff3023-d1e9-41ce-bb72-8597414d905b
2025-10-31 08:59:49,587 - DEBUG - VM ctest-vn1-vm1-86813280 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1
2025-10-31 08:59:49,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6eff3023-d1e9-41ce-bb72-8597414d905b
2025-10-31 08:59:49,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bf9d0247-20eb-4900-af18-12a4c39fc6bd
2025-10-31 08:59:52,973 - 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-10-31 08:59:52,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86813280 failed!
2025-10-31 08:59:53,028 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57035401:ctest-vn1-12178917 is 122.62.203.129 and allocation pool is NOT set
2025-10-31 08:59:53,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57035401:ctest-vn1-12178917 is 73.199.151.193 and allocation pool is NOT set
2025-10-31 08:59:57,102 - 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=4.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 4.112/4.112/4.112/0.000 ms')
2025-10-31 08:59:57,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86813280 passed
2025-10-31 08:59:57,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 08:59:57,261 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86813280, IP 122.62.203.133, Port 22
2025-10-31 08:59:57,416 - DEBUG - VM ctest-vn1-vm1-86813280 is ready for SSH connections
2025-10-31 08:59:57,416 - INFO - Waiting for VM ctest-vn1-vm2-07433452 to be up..
2025-10-31 08:59:57,512 - DEBUG - VM is in ACTIVE state now
2025-10-31 08:59:57,513 - INFO - VM name : ctest-vn1-vm2-07433452
2025-10-31 08:59:57,612 - DEBUG - VM ctest-vn1-vm2-07433452 ID is d3ad0e0c-dbf5-4766-9eb4-e3e7abd2fd9c
2025-10-31 08:59:57,612 - DEBUG - VM ctest-vn1-vm2-07433452 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1
2025-10-31 08:59:57,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d3ad0e0c-dbf5-4766-9eb4-e3e7abd2fd9c
2025-10-31 08:59:57,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc1bfe8d-f0b4-4486-ba3a-563fbe1d2e1b
2025-10-31 08:59:58,955 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.622/2.150/3.679/1.528 ms')
2025-10-31 08:59:58,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07433452 passed
2025-10-31 08:59:59,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 08:59:59,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07433452, IP 73.199.151.197, Port 22
2025-10-31 08:59:59,264 - DEBUG - VM ctest-vn1-vm2-07433452 is ready for SSH connections
2025-10-31 08:59:59,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 08:59:59,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 08:59:59,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 08:59:59,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.62.203.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-31 08:59:59,265 - DEBUG - ping -s 56 -c 3 -W 1 122.62.203.133
2025-10-31 09:00:01,974 - DEBUG - PING 122.62.203.133 (122.62.203.133): 56 data bytes
64 bytes from 122.62.203.133: seq=0 ttl=63 time=4.571 ms
64 bytes from 122.62.203.133: seq=1 ttl=63 time=1.033 ms
64 bytes from 122.62.203.133: seq=2 ttl=63 time=2.102 ms
--- 122.62.203.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.033/2.568/4.571 ms
2025-10-31 09:00:01,974 - INFO - Ping to IP 122.62.203.133 from VM ctest-vn1-vm2-07433452 passed
2025-10-31 09:00:01,974 - INFO - Detaching port fc1bfe8d-f0b4-4486-ba3a-563fbe1d2e1b from VM ctest-vn1-vm2-07433452
2025-10-31 09:00:02,050 - INFO - Deleting VM ctest-vn1-vm2-07433452
2025-10-31 09:00:02,144 - INFO - Detaching port bf9d0247-20eb-4900-af18-12a4c39fc6bd from VM ctest-vn1-vm1-86813280
2025-10-31 09:00:02,185 - INFO - Deleting VM ctest-vn1-vm1-86813280
2025-10-31 09:00:02,455 - DEBUG - Response for delete_port : ()
2025-10-31 09:00:02,675 - DEBUG - Response for delete_port : ()
2025-10-31 09:00:02,675 - INFO - Deleting VN ctest-vn1-12178917
2025-10-31 09:00:02,828 - DEBUG - Response for deleting network ()
2025-10-31 09:00:03,103 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 09:00:03,103 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-31 09:00:03,104 - INFO - --------------------------------------------------------------------------------
2025-10-31 09:00:03,829 - INFO - Deleted project: ctest-TestPorts-57035401, ID : 10b6a0fe-c9c9-4f0f-8d9d-23f9163e9cd1