2025-11-27 02:10:32,936 - INFO - Domain Default found not creating
2025-11-27 02:10:33,163 - INFO - Project ctest-TestPorts-95259302 not found, creating it
2025-11-27 02:10:33,745 - INFO - Created Project:ctest-TestPorts-95259302, ID : 43dfdaf4-fac4-4d8d-8b2e-be192cf7e08f
2025-11-27 02:10:35,510 - INFO - ================================================================================
2025-11-27 02:10:35,510 - INFO - STARTING TEST : test_ports_bindings
2025-11-27 02:10:35,510 - 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-27 02:10:35,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with
2025-11-27 02:10:35,793 - INFO - Initial checks done. Running the testcase now
2025-11-27 02:10:35,793 - INFO -
2025-11-27 02:10:36,476 - DEBUG - Response for create_network : {'network': {'id': '64a8b265-e037-4be6-a766-5c85263d989c', 'name': 'ctest-vn-90219844', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95259302', 'ctest-vn-90219844'], 'port_security_enabled': True, 'description': ''}}
2025-11-27 02:10:36,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '4448f776-170c-4187-8c3b-5f9784be00ab', 'name': '', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '64a8b265-e037-4be6-a766-5c85263d989c', 'ip_version': 4, 'cidr': '96.54.5.64/26', 'allocation_pools': [{'start': '96.54.5.66', 'end': '96.54.5.126'}], 'gateway_ip': '96.54.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.54.5.66', 'tags': [], 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:36,758 - INFO - Created VN ctest-vn-90219844
2025-11-27 02:10:36,815 - DEBUG - VN ctest-vn-90219844 UUID is 64a8b265-e037-4be6-a766-5c85263d989c
2025-11-27 02:10:36,937 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95259302', 'ctest-vmi-45465412']}
2025-11-27 02:10:37,191 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45465412', 'id': '59e1421f-bde9-4ae7-ad37-8058fbc1acb0', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '64a8b265-e037-4be6-a766-5c85263d989c', 'mac_address': '02:59:e1:42:1f:bd', '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': '96.54.5.67', 'subnet_id': '4448f776-170c-4187-8c3b-5f9784be00ab'}], 'security_groups': ['754eabae-1fd8-449d-8afc-8472626f0285'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:37,191 - DEBUG - Created port 59e1421f-bde9-4ae7-ad37-8058fbc1acb0
2025-11-27 02:10:37,295 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/59e1421f-bde9-4ae7-ad37-8058fbc1acb0
2025-11-27 02:10:37,653 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/59e1421f-bde9-4ae7-ad37-8058fbc1acb0
2025-11-27 02:10:37,695 - INFO - VMI 59e1421f-bde9-4ae7-ad37-8058fbc1acb0 verification in API Server passed
2025-11-27 02:10:37,817 - DEBUG - Response for delete_port : ()
2025-11-27 02:10:37,817 - INFO - Deleted port 59e1421f-bde9-4ae7-ad37-8058fbc1acb0
2025-11-27 02:10:37,817 - INFO - Deleting VN ctest-vn-90219844
2025-11-27 02:10:38,202 - DEBUG - Response for deleting network ()
2025-11-27 02:10:38,492 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:10:38,492 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-27 02:10:38,492 - INFO - --------------------------------------------------------------------------------
2025-11-27 02:10:38,497 - INFO - ================================================================================
2025-11-27 02:10:38,497 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-27 02:10:38,497 - 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-27 02:10:38,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with
2025-11-27 02:10:38,782 - INFO - Initial checks done. Running the testcase now
2025-11-27 02:10:38,782 - INFO -
2025-11-27 02:10:38,982 - DEBUG - Response for create_network : {'network': {'id': '9d5033ca-d8f4-40fa-a936-da758eff5fa5', 'name': 'ctest-vn1-50754329', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95259302', 'ctest-vn1-50754329'], 'port_security_enabled': True, 'description': ''}}
2025-11-27 02:10:39,191 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8376fe4-5458-417f-9aee-d3079813f035', 'name': '', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '9d5033ca-d8f4-40fa-a936-da758eff5fa5', 'ip_version': 4, 'cidr': '125.93.116.128/26', 'allocation_pools': [{'start': '125.93.116.130', 'end': '125.93.116.190'}], 'gateway_ip': '125.93.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.93.116.130', 'tags': [], 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:39,381 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcc3011c-6ea3-456e-8e74-bb79e6cf4045', 'name': '', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '9d5033ca-d8f4-40fa-a936-da758eff5fa5', 'ip_version': 4, 'cidr': '71.227.33.128/26', 'allocation_pools': [{'start': '71.227.33.130', 'end': '71.227.33.190'}], 'gateway_ip': '71.227.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.227.33.130', 'tags': [], 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:39,405 - INFO - Created VN ctest-vn1-50754329
2025-11-27 02:10:39,459 - DEBUG - VN ctest-vn1-50754329 UUID is 9d5033ca-d8f4-40fa-a936-da758eff5fa5
2025-11-27 02:10:39,788 - DEBUG - Response for create_port : {'port': {'name': '16534a57-44ea-4446-b5b9-b0a5b8972bd6', 'id': '16534a57-44ea-4446-b5b9-b0a5b8972bd6', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '9d5033ca-d8f4-40fa-a936-da758eff5fa5', 'mac_address': '02:16:53:4a:57:44', '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': '125.93.116.133', 'subnet_id': 'b8376fe4-5458-417f-9aee-d3079813f035'}], 'security_groups': ['754eabae-1fd8-449d-8afc-8472626f0285'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:39,985 - DEBUG - Response for create_port : {'port': {'name': '064a2d16-ee7f-4e02-a42d-8c4b26a1347c', 'id': '064a2d16-ee7f-4e02-a42d-8c4b26a1347c', 'tenant_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f', 'network_id': '9d5033ca-d8f4-40fa-a936-da758eff5fa5', 'mac_address': '02:06:4a:2d:16:ee', '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': '71.227.33.133', 'subnet_id': 'fcc3011c-6ea3-456e-8e74-bb79e6cf4045'}], 'security_groups': ['754eabae-1fd8-449d-8afc-8472626f0285'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43dfdaf4fac44d8d8b2ebe192cf7e08f'}}
2025-11-27 02:10:40,058 - DEBUG - Services list from nova: [, , ]
2025-11-27 02:10:40,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1)
2025-11-27 02:10:40,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1)
2025-11-27 02:10:40,954 - INFO - Waiting for VM ctest-vn1-vm1-57988284 to be up..
2025-11-27 02:10:41,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-27 02:10:46,088 - DEBUG - VM is in ACTIVE state now
2025-11-27 02:10:46,088 - INFO - VM name : ctest-vn1-vm1-57988284
2025-11-27 02:10:46,171 - DEBUG - VM ctest-vn1-vm1-57988284 ID is b6593dcb-4bd9-4d1f-bcbe-d2c484f0cdde
2025-11-27 02:10:46,194 - DEBUG - VM ctest-vn1-vm1-57988284 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1
2025-11-27 02:10:46,295 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b6593dcb-4bd9-4d1f-bcbe-d2c484f0cdde
2025-11-27 02:10:46,304 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/16534a57-44ea-4446-b5b9-b0a5b8972bd6
2025-11-27 02:10:49,547 - 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 1000ms')
2025-11-27 02:10:49,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57988284 failed!
2025-11-27 02:10:49,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95259302:ctest-vn1-50754329 is 125.93.116.129 and allocation pool is NOT set
2025-11-27 02:10:49,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95259302:ctest-vn1-50754329 is 71.227.33.129 and allocation pool is NOT set
2025-11-27 02:10:53,679 - 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 1008ms')
2025-11-27 02:10:53,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57988284 failed!
2025-11-27 02:10:53,735 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95259302:ctest-vn1-50754329 is 125.93.116.129 and allocation pool is NOT set
2025-11-27 02:10:53,735 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95259302:ctest-vn1-50754329 is 71.227.33.129 and allocation pool is NOT set
2025-11-27 02:10:55,795 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/1.964/3.385/1.420 ms')
2025-11-27 02:10:55,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57988284 passed
2025-11-27 02:10:55,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:10:55,947 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57988284, IP 125.93.116.133, Port 22
2025-11-27 02:10:56,113 - DEBUG - VM ctest-vn1-vm1-57988284 is ready for SSH connections
2025-11-27 02:10:56,113 - INFO - Waiting for VM ctest-vn1-vm2-53973846 to be up..
2025-11-27 02:10:56,202 - DEBUG - VM is in ACTIVE state now
2025-11-27 02:10:56,202 - INFO - VM name : ctest-vn1-vm2-53973846
2025-11-27 02:10:56,284 - DEBUG - VM ctest-vn1-vm2-53973846 ID is 52717b36-0474-4b0c-83cb-c4753f4c63e7
2025-11-27 02:10:56,284 - DEBUG - VM ctest-vn1-vm2-53973846 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1
2025-11-27 02:10:56,362 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/52717b36-0474-4b0c-83cb-c4753f4c63e7
2025-11-27 02:10:56,371 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/064a2d16-ee7f-4e02-a42d-8c4b26a1347c
2025-11-27 02:10:57,619 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.986/3.592/1.605 ms')
2025-11-27 02:10:57,619 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53973846 passed
2025-11-27 02:10:57,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:10:57,779 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53973846, IP 71.227.33.133, Port 22
2025-11-27 02:10:57,957 - DEBUG - VM ctest-vn1-vm2-53973846 is ready for SSH connections
2025-11-27 02:10:57,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:10:57,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:10:57,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-27 02:10:57,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.93.116.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-11-27 02:10:57,958 - DEBUG - ping -s 56 -c 3 -W 1 125.93.116.133
2025-11-27 02:11:00,707 - DEBUG - PING 125.93.116.133 (125.93.116.133): 56 data bytes
64 bytes from 125.93.116.133: seq=0 ttl=63 time=4.292 ms
64 bytes from 125.93.116.133: seq=1 ttl=63 time=0.865 ms
64 bytes from 125.93.116.133: seq=2 ttl=63 time=0.932 ms
--- 125.93.116.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/2.029/4.292 ms
2025-11-27 02:11:00,707 - INFO - Ping to IP 125.93.116.133 from VM ctest-vn1-vm2-53973846 passed
2025-11-27 02:11:00,707 - INFO - Detaching port 064a2d16-ee7f-4e02-a42d-8c4b26a1347c from VM ctest-vn1-vm2-53973846
2025-11-27 02:11:00,769 - INFO - Deleting VM ctest-vn1-vm2-53973846
2025-11-27 02:11:00,852 - INFO - Detaching port 16534a57-44ea-4446-b5b9-b0a5b8972bd6 from VM ctest-vn1-vm1-57988284
2025-11-27 02:11:00,890 - INFO - Deleting VM ctest-vn1-vm1-57988284
2025-11-27 02:11:01,161 - DEBUG - Response for delete_port : ()
2025-11-27 02:11:01,373 - DEBUG - Response for delete_port : ()
2025-11-27 02:11:01,373 - INFO - Deleting VN ctest-vn1-50754329
2025-11-27 02:11:01,552 - DEBUG - Response for deleting network ()
2025-11-27 02:11:01,828 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:11:01,828 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-27 02:11:01,828 - INFO - --------------------------------------------------------------------------------
2025-11-27 02:11:02,619 - INFO - Deleted project: ctest-TestPorts-95259302, ID : 43dfdaf4-fac4-4d8d-8b2e-be192cf7e08f