2025-11-12 03:12:29,086 - INFO - Domain Default found not creating
2025-11-12 03:12:29,235 - INFO - Project ctest-TestPorts-20455170 not found, creating it
2025-11-12 03:12:29,696 - INFO - Created Project:ctest-TestPorts-20455170, ID : 2231be7f-297d-4d50-bf3a-ce374276f8c8
2025-11-12 03:12:31,237 - INFO - ================================================================================
2025-11-12 03:12:31,237 - INFO - STARTING TEST : test_ports_bindings
2025-11-12 03:12:31,238 - 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-11-12 03:12:31,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-11-12 03:12:31,492 - INFO - Initial checks done. Running the testcase now
2025-11-12 03:12:31,492 - INFO -
2025-11-12 03:12:32,079 - DEBUG - Response for create_network : {'network': {'id': 'acab4320-c4ed-4e4b-aa1a-c2b64a6ccde6', 'name': 'ctest-vn-77794842', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'project_id': '2231be7f297d4d50bf3ace374276f8c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20455170', 'ctest-vn-77794842'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 03:12:32,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '5aeec876-5df3-48bc-84d6-7396155b81ad', 'name': '', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'acab4320-c4ed-4e4b-aa1a-c2b64a6ccde6', 'ip_version': 4, 'cidr': '69.211.203.128/26', 'allocation_pools': [{'start': '69.211.203.130', 'end': '69.211.203.190'}], 'gateway_ip': '69.211.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.211.203.130', 'tags': [], 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:32,280 - INFO - Created VN ctest-vn-77794842
2025-11-12 03:12:32,334 - DEBUG - VN ctest-vn-77794842 UUID is acab4320-c4ed-4e4b-aa1a-c2b64a6ccde6
2025-11-12 03:12:32,447 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20455170', 'ctest-vmi-65913642']}
2025-11-12 03:12:32,682 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65913642', 'id': '4e8c07c3-74db-4027-be69-485714b09c2a', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'acab4320-c4ed-4e4b-aa1a-c2b64a6ccde6', 'mac_address': '02:4e:8c:07:c3:74', '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': '69.211.203.131', 'subnet_id': '5aeec876-5df3-48bc-84d6-7396155b81ad'}], 'security_groups': ['9b246041-86d2-41c3-85a5-d3f52f21e383'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:32,682 - DEBUG - Created port 4e8c07c3-74db-4027-be69-485714b09c2a
2025-11-12 03:12:32,786 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4e8c07c3-74db-4027-be69-485714b09c2a
2025-11-12 03:12:33,123 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4e8c07c3-74db-4027-be69-485714b09c2a
2025-11-12 03:12:33,156 - INFO - VMI 4e8c07c3-74db-4027-be69-485714b09c2a verification in API Server passed
2025-11-12 03:12:33,240 - DEBUG - Response for delete_port : ()
2025-11-12 03:12:33,240 - INFO - Deleted port 4e8c07c3-74db-4027-be69-485714b09c2a
2025-11-12 03:12:33,241 - INFO - Deleting VN ctest-vn-77794842
2025-11-12 03:12:33,337 - DEBUG - Response for deleting network ()
2025-11-12 03:12:33,592 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:12:33,592 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 03:12:33,592 - INFO - --------------------------------------------------------------------------------
2025-11-12 03:12:33,594 - INFO - ================================================================================
2025-11-12 03:12:33,594 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-12 03:12:33,594 - 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-11-12 03:12:33,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-11-12 03:12:33,879 - INFO - Initial checks done. Running the testcase now
2025-11-12 03:12:33,879 - INFO -
2025-11-12 03:12:34,063 - DEBUG - Response for create_network : {'network': {'id': 'e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1', 'name': 'ctest-vn1-64587393', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'project_id': '2231be7f297d4d50bf3ace374276f8c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20455170', 'ctest-vn1-64587393'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 03:12:34,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd133aca-a4a3-49a4-8584-42df11e141bf', 'name': '', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1', 'ip_version': 4, 'cidr': '22.98.60.128/26', 'allocation_pools': [{'start': '22.98.60.130', 'end': '22.98.60.190'}], 'gateway_ip': '22.98.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.98.60.130', 'tags': [], 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:34,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '57d934f5-f078-432a-844e-9503d421719e', 'name': '', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1', 'ip_version': 4, 'cidr': '101.180.86.192/26', 'allocation_pools': [{'start': '101.180.86.194', 'end': '101.180.86.254'}], 'gateway_ip': '101.180.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.180.86.194', 'tags': [], 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:34,481 - INFO - Created VN ctest-vn1-64587393
2025-11-12 03:12:34,534 - DEBUG - VN ctest-vn1-64587393 UUID is e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1
2025-11-12 03:12:34,845 - DEBUG - Response for create_port : {'port': {'name': 'dfa17f76-5317-4acc-8b35-e8e1e4349404', 'id': 'dfa17f76-5317-4acc-8b35-e8e1e4349404', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1', 'mac_address': '02:df:a1:7f:76:53', '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': '22.98.60.133', 'subnet_id': 'cd133aca-a4a3-49a4-8584-42df11e141bf'}], 'security_groups': ['9b246041-86d2-41c3-85a5-d3f52f21e383'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:35,012 - DEBUG - Response for create_port : {'port': {'name': '45be199d-a35f-49a6-81ef-f4d5bc156a35', 'id': '45be199d-a35f-49a6-81ef-f4d5bc156a35', 'tenant_id': '2231be7f297d4d50bf3ace374276f8c8', 'network_id': 'e1a75e88-f6f1-4fcb-9cee-cdfa2e15faa1', 'mac_address': '02:45:be:19:9d:a3', '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': '101.180.86.197', 'subnet_id': '57d934f5-f078-432a-844e-9503d421719e'}], 'security_groups': ['9b246041-86d2-41c3-85a5-d3f52f21e383'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2231be7f297d4d50bf3ace374276f8c8'}}
2025-11-12 03:12:35,073 - DEBUG - Services list from nova: [, , ]
2025-11-12 03:12:35,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1)
2025-11-12 03:12:35,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1)
2025-11-12 03:12:35,828 - INFO - Waiting for VM ctest-vn1-vm1-48161317 to be up..
2025-11-12 03:12:35,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 03:12:40,947 - DEBUG - VM is in ACTIVE state now
2025-11-12 03:12:40,947 - INFO - VM name : ctest-vn1-vm1-48161317
2025-11-12 03:12:41,023 - DEBUG - VM ctest-vn1-vm1-48161317 ID is 2f80d74d-5153-4035-8b60-bb86a06478bc
2025-11-12 03:12:41,043 - DEBUG - VM ctest-vn1-vm1-48161317 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1
2025-11-12 03:12:41,122 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2f80d74d-5153-4035-8b60-bb86a06478bc
2025-11-12 03:12:41,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/dfa17f76-5317-4acc-8b35-e8e1e4349404
2025-11-12 03:12:44,377 - 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-11-12 03:12:44,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48161317 failed!
2025-11-12 03:12:44,430 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20455170:ctest-vn1-64587393 is 22.98.60.129 and allocation pool is NOT set
2025-11-12 03:12:44,430 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20455170:ctest-vn1-64587393 is 101.180.86.193 and allocation pool is NOT set
2025-11-12 03:12:48,502 - 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=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 10.319/10.319/10.319/0.000 ms')
2025-11-12 03:12:48,502 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48161317 passed
2025-11-12 03:12:48,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 03:12:48,658 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48161317, IP 22.98.60.133, Port 22
2025-11-12 03:12:48,814 - DEBUG - VM ctest-vn1-vm1-48161317 is ready for SSH connections
2025-11-12 03:12:48,814 - INFO - Waiting for VM ctest-vn1-vm2-28047710 to be up..
2025-11-12 03:12:48,892 - DEBUG - VM is in ACTIVE state now
2025-11-12 03:12:48,892 - INFO - VM name : ctest-vn1-vm2-28047710
2025-11-12 03:12:48,966 - DEBUG - VM ctest-vn1-vm2-28047710 ID is 0bd3bc1a-1345-466a-81e5-2f0556065efc
2025-11-12 03:12:48,966 - DEBUG - VM ctest-vn1-vm2-28047710 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1
2025-11-12 03:12:49,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0bd3bc1a-1345-466a-81e5-2f0556065efc
2025-11-12 03:12:49,053 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/45be199d-a35f-49a6-81ef-f4d5bc156a35
2025-11-12 03:12:50,288 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 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.556/2.035/3.515/1.479 ms')
2025-11-12 03:12:50,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28047710 passed
2025-11-12 03:12:50,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 03:12:50,442 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28047710, IP 101.180.86.197, Port 22
2025-11-12 03:12:50,608 - DEBUG - VM ctest-vn1-vm2-28047710 is ready for SSH connections
2025-11-12 03:12:50,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 03:12:50,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 03:12:50,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 03:12:50,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.98.60.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-12 03:12:50,609 - DEBUG - ping -s 56 -c 3 -W 1 22.98.60.133
2025-11-12 03:12:53,322 - DEBUG - PING 22.98.60.133 (22.98.60.133): 56 data bytes
64 bytes from 22.98.60.133: seq=0 ttl=63 time=4.105 ms
64 bytes from 22.98.60.133: seq=1 ttl=63 time=0.885 ms
64 bytes from 22.98.60.133: seq=2 ttl=63 time=0.823 ms
--- 22.98.60.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.823/1.937/4.105 ms
2025-11-12 03:12:53,323 - INFO - Ping to IP 22.98.60.133 from VM ctest-vn1-vm2-28047710 passed
2025-11-12 03:12:53,323 - INFO - Detaching port 45be199d-a35f-49a6-81ef-f4d5bc156a35 from VM ctest-vn1-vm2-28047710
2025-11-12 03:12:53,375 - INFO - Deleting VM ctest-vn1-vm2-28047710
2025-11-12 03:12:53,446 - INFO - Detaching port dfa17f76-5317-4acc-8b35-e8e1e4349404 from VM ctest-vn1-vm1-48161317
2025-11-12 03:12:53,490 - INFO - Deleting VM ctest-vn1-vm1-48161317
2025-11-12 03:12:53,742 - DEBUG - Response for delete_port : ()
2025-11-12 03:12:53,881 - DEBUG - Response for delete_port : ()
2025-11-12 03:12:53,881 - INFO - Deleting VN ctest-vn1-64587393
2025-11-12 03:12:54,009 - DEBUG - Response for deleting network ()
2025-11-12 03:12:54,271 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:12:54,271 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-12 03:12:54,271 - INFO - --------------------------------------------------------------------------------
2025-11-12 03:12:55,007 - INFO - Deleted project: ctest-TestPorts-20455170, ID : 2231be7f-297d-4d50-bf3a-ce374276f8c8