2025-10-05 21:07:54,277 - INFO - Domain Default found not creating
2025-10-05 21:07:54,409 - INFO - Project ctest-TestPorts-74553080 not found, creating it
2025-10-05 21:07:54,834 - INFO - Created Project:ctest-TestPorts-74553080, ID : 387a231b-0da4-485e-9ac9-f61d23881b83
2025-10-05 21:07:56,153 - INFO - ================================================================================
2025-10-05 21:07:56,154 - INFO - STARTING TEST : test_ports_bindings
2025-10-05 21:07:56,154 - 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-05 21:07:56,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-05 21:07:56,403 - INFO - Initial checks done. Running the testcase now
2025-10-05 21:07:56,403 - INFO -
2025-10-05 21:07:56,906 - DEBUG - Response for create_network : {'network': {'id': '91e8748e-8e91-43f3-917a-79bf3355d67f', 'name': 'ctest-vn-17783922', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'project_id': '387a231b0da4485e9ac9f61d23881b83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74553080', 'ctest-vn-17783922'], 'port_security_enabled': True, 'description': ''}}
2025-10-05 21:07:57,083 - DEBUG - Response for create_subnet : {'subnet': {'id': '930ffea1-fb6d-4f4d-9533-54e9eefa0ab1', 'name': '', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '91e8748e-8e91-43f3-917a-79bf3355d67f', 'ip_version': 4, 'cidr': '215.31.8.0/26', 'allocation_pools': [{'start': '215.31.8.2', 'end': '215.31.8.62'}], 'gateway_ip': '215.31.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.31.8.2', 'tags': [], 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:57,097 - INFO - Created VN ctest-vn-17783922
2025-10-05 21:07:57,146 - DEBUG - VN ctest-vn-17783922 UUID is 91e8748e-8e91-43f3-917a-79bf3355d67f
2025-10-05 21:07:57,245 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74553080', 'ctest-vmi-57060916']}
2025-10-05 21:07:57,543 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57060916', 'id': '5f9e3560-6980-45dc-a702-a80882d6f468', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '91e8748e-8e91-43f3-917a-79bf3355d67f', 'mac_address': '02:5f:9e:35:60:69', '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': '215.31.8.3', 'subnet_id': '930ffea1-fb6d-4f4d-9533-54e9eefa0ab1'}], 'security_groups': ['2903a3b0-c200-4afb-84bc-7e54ee5bab31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:57,543 - DEBUG - Created port 5f9e3560-6980-45dc-a702-a80882d6f468
2025-10-05 21:07:57,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f9e3560-6980-45dc-a702-a80882d6f468
2025-10-05 21:07:57,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f9e3560-6980-45dc-a702-a80882d6f468
2025-10-05 21:07:57,964 - INFO - VMI 5f9e3560-6980-45dc-a702-a80882d6f468 verification in API Server passed
2025-10-05 21:07:58,039 - DEBUG - Response for delete_port : ()
2025-10-05 21:07:58,039 - INFO - Deleted port 5f9e3560-6980-45dc-a702-a80882d6f468
2025-10-05 21:07:58,039 - INFO - Deleting VN ctest-vn-17783922
2025-10-05 21:07:58,131 - DEBUG - Response for deleting network ()
2025-10-05 21:07:58,394 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 21:07:58,394 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-05 21:07:58,394 - INFO - --------------------------------------------------------------------------------
2025-10-05 21:07:58,396 - INFO - ================================================================================
2025-10-05 21:07:58,396 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-05 21:07:58,397 - 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-05 21:07:58,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-05 21:07:58,687 - INFO - Initial checks done. Running the testcase now
2025-10-05 21:07:58,687 - INFO -
2025-10-05 21:07:58,852 - DEBUG - Response for create_network : {'network': {'id': '30ca5185-c7e9-46eb-af09-024cbde71cf3', 'name': 'ctest-vn1-83458744', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'project_id': '387a231b0da4485e9ac9f61d23881b83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74553080', 'ctest-vn1-83458744'], 'port_security_enabled': True, 'description': ''}}
2025-10-05 21:07:59,054 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e991089f-f26c-4c7c-9fd5-680cf260dae6', 'name': '', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '30ca5185-c7e9-46eb-af09-024cbde71cf3', 'ip_version': 4, 'cidr': '56.44.35.128/26', 'allocation_pools': [{'start': '56.44.35.130', 'end': '56.44.35.190'}], 'gateway_ip': '56.44.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.44.35.130', 'tags': [], 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:59,180 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9b0b7d2-08c4-4fd6-a55d-b69b82ca33d8', 'name': '', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '30ca5185-c7e9-46eb-af09-024cbde71cf3', 'ip_version': 4, 'cidr': '110.195.229.0/26', 'allocation_pools': [{'start': '110.195.229.2', 'end': '110.195.229.62'}], 'gateway_ip': '110.195.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.195.229.2', 'tags': [], 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:59,199 - INFO - Created VN ctest-vn1-83458744
2025-10-05 21:07:59,250 - DEBUG - VN ctest-vn1-83458744 UUID is 30ca5185-c7e9-46eb-af09-024cbde71cf3
2025-10-05 21:07:59,543 - DEBUG - Response for create_port : {'port': {'name': 'a088b8ac-ae9d-4cf0-9752-c0381b8f7ffd', 'id': 'a088b8ac-ae9d-4cf0-9752-c0381b8f7ffd', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '30ca5185-c7e9-46eb-af09-024cbde71cf3', 'mac_address': '02:a0:88:b8:ac:ae', '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': '56.44.35.133', 'subnet_id': 'e991089f-f26c-4c7c-9fd5-680cf260dae6'}], 'security_groups': ['2903a3b0-c200-4afb-84bc-7e54ee5bab31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:59,696 - DEBUG - Response for create_port : {'port': {'name': 'c4a5a564-ceee-4f03-a2f2-da3de10da99f', 'id': 'c4a5a564-ceee-4f03-a2f2-da3de10da99f', 'tenant_id': '387a231b0da4485e9ac9f61d23881b83', 'network_id': '30ca5185-c7e9-46eb-af09-024cbde71cf3', 'mac_address': '02:c4:a5:a5:64:ce', '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': '110.195.229.5', 'subnet_id': 'f9b0b7d2-08c4-4fd6-a55d-b69b82ca33d8'}], 'security_groups': ['2903a3b0-c200-4afb-84bc-7e54ee5bab31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '387a231b0da4485e9ac9f61d23881b83'}}
2025-10-05 21:07:59,748 - DEBUG - Services list from nova: [, , ]
2025-10-05 21:08:00,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1)
2025-10-05 21:08:00,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1)
2025-10-05 21:08:00,747 - INFO - Waiting for VM ctest-vn1-vm1-36091339 to be up..
2025-10-05 21:08:00,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-05 21:08:05,860 - DEBUG - VM is in ACTIVE state now
2025-10-05 21:08:05,860 - INFO - VM name : ctest-vn1-vm1-36091339
2025-10-05 21:08:05,928 - DEBUG - VM ctest-vn1-vm1-36091339 ID is 0ce20a54-ce6e-4d0f-b18d-e84cedd3bbe3
2025-10-05 21:08:05,945 - DEBUG - VM ctest-vn1-vm1-36091339 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1
2025-10-05 21:08:06,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0ce20a54-ce6e-4d0f-b18d-e84cedd3bbe3
2025-10-05 21:08:06,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a088b8ac-ae9d-4cf0-9752-c0381b8f7ffd
2025-10-05 21:08:09,274 - 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 1028ms')
2025-10-05 21:08:09,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36091339 failed!
2025-10-05 21:08:09,334 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74553080:ctest-vn1-83458744 is 56.44.35.129 and allocation pool is NOT set
2025-10-05 21:08:09,334 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74553080:ctest-vn1-83458744 is 110.195.229.1 and allocation pool is NOT set
2025-10-05 21:08:11,395 - 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=2.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.309 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 = 0.309/1.356/2.403/1.047 ms')
2025-10-05 21:08:11,396 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36091339 passed
2025-10-05 21:08:11,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:08:11,542 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36091339, IP 56.44.35.133, Port 22
2025-10-05 21:08:11,702 - DEBUG - VM ctest-vn1-vm1-36091339 is ready for SSH connections
2025-10-05 21:08:11,702 - INFO - Waiting for VM ctest-vn1-vm2-39188373 to be up..
2025-10-05 21:08:11,772 - DEBUG - VM is in ACTIVE state now
2025-10-05 21:08:11,772 - INFO - VM name : ctest-vn1-vm2-39188373
2025-10-05 21:08:11,834 - DEBUG - VM ctest-vn1-vm2-39188373 ID is cac9ad74-7f81-4b0a-b0be-f5e21dca9ffe
2025-10-05 21:08:11,835 - DEBUG - VM ctest-vn1-vm2-39188373 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1
2025-10-05 21:08:11,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cac9ad74-7f81-4b0a-b0be-f5e21dca9ffe
2025-10-05 21:08:11,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4a5a564-ceee-4f03-a2f2-da3de10da99f
2025-10-05 21:08:13,137 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.335 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.335/1.496/2.658/1.161 ms')
2025-10-05 21:08:13,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-39188373 passed
2025-10-05 21:08:13,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:08:13,286 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39188373, IP 110.195.229.5, Port 22
2025-10-05 21:08:13,442 - DEBUG - VM ctest-vn1-vm2-39188373 is ready for SSH connections
2025-10-05 21:08:13,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:08:13,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:08:13,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:08:13,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.44.35.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-05 21:08:13,442 - DEBUG - ping -s 56 -c 3 -W 1 56.44.35.133
2025-10-05 21:08:16,073 - DEBUG - PING 56.44.35.133 (56.44.35.133): 56 data bytes
64 bytes from 56.44.35.133: seq=0 ttl=63 time=3.178 ms
64 bytes from 56.44.35.133: seq=1 ttl=63 time=0.777 ms
64 bytes from 56.44.35.133: seq=2 ttl=63 time=0.701 ms
--- 56.44.35.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.701/1.552/3.178 ms
2025-10-05 21:08:16,073 - INFO - Ping to IP 56.44.35.133 from VM ctest-vn1-vm2-39188373 passed
2025-10-05 21:08:16,073 - INFO - Detaching port c4a5a564-ceee-4f03-a2f2-da3de10da99f from VM ctest-vn1-vm2-39188373
2025-10-05 21:08:16,119 - INFO - Deleting VM ctest-vn1-vm2-39188373
2025-10-05 21:08:16,182 - INFO - Detaching port a088b8ac-ae9d-4cf0-9752-c0381b8f7ffd from VM ctest-vn1-vm1-36091339
2025-10-05 21:08:16,211 - INFO - Deleting VM ctest-vn1-vm1-36091339
2025-10-05 21:08:16,444 - DEBUG - Response for delete_port : ()
2025-10-05 21:08:16,579 - DEBUG - Response for delete_port : ()
2025-10-05 21:08:16,579 - INFO - Deleting VN ctest-vn1-83458744
2025-10-05 21:08:16,717 - DEBUG - Response for deleting network ()
2025-10-05 21:08:16,982 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 21:08:16,982 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-05 21:08:16,982 - INFO - --------------------------------------------------------------------------------
2025-10-05 21:08:17,639 - INFO - Deleted project: ctest-TestPorts-74553080, ID : 387a231b-0da4-485e-9ac9-f61d23881b83