2025-11-17 10:07:49,276 - INFO - Domain Default found not creating
2025-11-17 10:07:49,458 - INFO - Project ctest-TestPorts-82026799 not found, creating it
2025-11-17 10:07:49,936 - INFO - Created Project:ctest-TestPorts-82026799, ID : 5b9d0a9b-0340-4077-aee3-4353d4d303dd
2025-11-17 10:07:51,496 - INFO - ================================================================================
2025-11-17 10:07:51,496 - INFO - STARTING TEST : test_ports_bindings
2025-11-17 10:07:51,496 - 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-17 10:07:51,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-11-17 10:07:51,765 - INFO - Initial checks done. Running the testcase now
2025-11-17 10:07:51,765 - INFO -
2025-11-17 10:07:52,437 - DEBUG - Response for create_network : {'network': {'id': 'a2d1f36e-3faf-46ec-9585-5626a88504ed', 'name': 'ctest-vn-96954818', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'project_id': '5b9d0a9b03404077aee34353d4d303dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82026799', 'ctest-vn-96954818'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 10:07:52,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '163dfbd4-1a61-41e5-b684-7ca86864ad77', 'name': '', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': 'a2d1f36e-3faf-46ec-9585-5626a88504ed', 'ip_version': 4, 'cidr': '207.77.226.192/26', 'allocation_pools': [{'start': '207.77.226.194', 'end': '207.77.226.254'}], 'gateway_ip': '207.77.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.77.226.194', 'tags': [], 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:52,683 - INFO - Created VN ctest-vn-96954818
2025-11-17 10:07:52,737 - DEBUG - VN ctest-vn-96954818 UUID is a2d1f36e-3faf-46ec-9585-5626a88504ed
2025-11-17 10:07:52,847 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82026799', 'ctest-vmi-85735734']}
2025-11-17 10:07:53,088 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85735734', 'id': '2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': 'a2d1f36e-3faf-46ec-9585-5626a88504ed', 'mac_address': '02:2e:a3:ff:3b:b6', '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': '207.77.226.195', 'subnet_id': '163dfbd4-1a61-41e5-b684-7ca86864ad77'}], 'security_groups': ['4308d5c6-fcee-47a0-aa6d-fefd230c7367'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:53,088 - DEBUG - Created port 2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f
2025-11-17 10:07:53,193 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f
2025-11-17 10:07:53,510 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f
2025-11-17 10:07:53,554 - INFO - VMI 2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f verification in API Server passed
2025-11-17 10:07:53,654 - DEBUG - Response for delete_port : ()
2025-11-17 10:07:53,654 - INFO - Deleted port 2ea3ff3b-b693-4013-8c59-7e9e4a6bd48f
2025-11-17 10:07:53,654 - INFO - Deleting VN ctest-vn-96954818
2025-11-17 10:07:53,766 - DEBUG - Response for deleting network ()
2025-11-17 10:07:54,022 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 10:07:54,022 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-17 10:07:54,023 - INFO - --------------------------------------------------------------------------------
2025-11-17 10:07:54,025 - INFO - ================================================================================
2025-11-17 10:07:54,025 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-17 10:07:54,025 - 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-17 10:07:54,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-11-17 10:07:54,314 - INFO - Initial checks done. Running the testcase now
2025-11-17 10:07:54,314 - INFO -
2025-11-17 10:07:54,498 - DEBUG - Response for create_network : {'network': {'id': '29161aef-539e-4689-878f-2e33e5b525a2', 'name': 'ctest-vn1-96966507', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'project_id': '5b9d0a9b03404077aee34353d4d303dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82026799', 'ctest-vn1-96966507'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 10:07:54,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '276841aa-6408-4d97-a9a4-dfb84bdb186a', 'name': '', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': '29161aef-539e-4689-878f-2e33e5b525a2', 'ip_version': 4, 'cidr': '98.90.175.128/26', 'allocation_pools': [{'start': '98.90.175.130', 'end': '98.90.175.190'}], 'gateway_ip': '98.90.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.90.175.130', 'tags': [], 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:54,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc9d330b-9acc-43ad-836f-c9a071278882', 'name': '', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': '29161aef-539e-4689-878f-2e33e5b525a2', 'ip_version': 4, 'cidr': '140.207.26.192/26', 'allocation_pools': [{'start': '140.207.26.194', 'end': '140.207.26.254'}], 'gateway_ip': '140.207.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.207.26.194', 'tags': [], 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:54,891 - INFO - Created VN ctest-vn1-96966507
2025-11-17 10:07:54,945 - DEBUG - VN ctest-vn1-96966507 UUID is 29161aef-539e-4689-878f-2e33e5b525a2
2025-11-17 10:07:55,266 - DEBUG - Response for create_port : {'port': {'name': 'd04aed3b-c89c-4b5c-afdd-25fa675ff722', 'id': 'd04aed3b-c89c-4b5c-afdd-25fa675ff722', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': '29161aef-539e-4689-878f-2e33e5b525a2', 'mac_address': '02:d0:4a:ed:3b:c8', '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': '98.90.175.133', 'subnet_id': '276841aa-6408-4d97-a9a4-dfb84bdb186a'}], 'security_groups': ['4308d5c6-fcee-47a0-aa6d-fefd230c7367'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:55,452 - DEBUG - Response for create_port : {'port': {'name': '28f2ef85-2ace-4a0d-869c-681b86b588e5', 'id': '28f2ef85-2ace-4a0d-869c-681b86b588e5', 'tenant_id': '5b9d0a9b03404077aee34353d4d303dd', 'network_id': '29161aef-539e-4689-878f-2e33e5b525a2', 'mac_address': '02:28:f2:ef:85:2a', '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': '140.207.26.197', 'subnet_id': 'dc9d330b-9acc-43ad-836f-c9a071278882'}], 'security_groups': ['4308d5c6-fcee-47a0-aa6d-fefd230c7367'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b9d0a9b03404077aee34353d4d303dd'}}
2025-11-17 10:07:55,518 - DEBUG - Services list from nova: [, , ]
2025-11-17 10:07:55,878 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1)
2025-11-17 10:07:56,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1)
2025-11-17 10:07:56,325 - INFO - Waiting for VM ctest-vn1-vm1-61441508 to be up..
2025-11-17 10:07:56,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 10:08:01,466 - DEBUG - VM is in ACTIVE state now
2025-11-17 10:08:01,466 - INFO - VM name : ctest-vn1-vm1-61441508
2025-11-17 10:08:01,541 - DEBUG - VM ctest-vn1-vm1-61441508 ID is b27127f1-79a0-40aa-bbad-e90e5db03084
2025-11-17 10:08:01,567 - DEBUG - VM ctest-vn1-vm1-61441508 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1
2025-11-17 10:08:01,651 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b27127f1-79a0-40aa-bbad-e90e5db03084
2025-11-17 10:08:01,660 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d04aed3b-c89c-4b5c-afdd-25fa675ff722
2025-11-17 10:08:04,902 - 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 1007ms')
2025-11-17 10:08:04,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61441508 failed!
2025-11-17 10:08:04,957 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82026799:ctest-vn1-96966507 is 98.90.175.129 and allocation pool is NOT set
2025-11-17 10:08:04,957 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82026799:ctest-vn1-96966507 is 140.207.26.193 and allocation pool is NOT set
2025-11-17 10:08:09,031 - 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=9.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.373/9.373/9.373/0.000 ms')
2025-11-17 10:08:09,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61441508 passed
2025-11-17 10:08:09,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 10:08:09,185 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61441508, IP 98.90.175.133, Port 22
2025-11-17 10:08:09,345 - DEBUG - VM ctest-vn1-vm1-61441508 is ready for SSH connections
2025-11-17 10:08:09,345 - INFO - Waiting for VM ctest-vn1-vm2-52706329 to be up..
2025-11-17 10:08:09,427 - DEBUG - VM is in ACTIVE state now
2025-11-17 10:08:09,428 - INFO - VM name : ctest-vn1-vm2-52706329
2025-11-17 10:08:09,502 - DEBUG - VM ctest-vn1-vm2-52706329 ID is 9de89225-9c2b-4ed2-9662-b3b108c26895
2025-11-17 10:08:09,502 - DEBUG - VM ctest-vn1-vm2-52706329 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1
2025-11-17 10:08:09,584 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9de89225-9c2b-4ed2-9662-b3b108c26895
2025-11-17 10:08:09,594 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/28f2ef85-2ace-4a0d-869c-681b86b588e5
2025-11-17 10:08:10,843 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/2.035/3.569/1.533 ms')
2025-11-17 10:08:10,843 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52706329 passed
2025-11-17 10:08:10,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 10:08:10,997 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52706329, IP 140.207.26.197, Port 22
2025-11-17 10:08:11,156 - DEBUG - VM ctest-vn1-vm2-52706329 is ready for SSH connections
2025-11-17 10:08:11,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 10:08:11,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 10:08:11,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 10:08:11,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.90.175.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-17 10:08:11,157 - DEBUG - ping -s 56 -c 3 -W 1 98.90.175.133
2025-11-17 10:08:13,851 - DEBUG - PING 98.90.175.133 (98.90.175.133): 56 data bytes
64 bytes from 98.90.175.133: seq=0 ttl=63 time=5.639 ms
64 bytes from 98.90.175.133: seq=1 ttl=63 time=1.037 ms
64 bytes from 98.90.175.133: seq=2 ttl=63 time=0.826 ms
--- 98.90.175.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.826/2.500/5.639 ms
2025-11-17 10:08:13,851 - INFO - Ping to IP 98.90.175.133 from VM ctest-vn1-vm2-52706329 passed
2025-11-17 10:08:13,851 - INFO - Detaching port 28f2ef85-2ace-4a0d-869c-681b86b588e5 from VM ctest-vn1-vm2-52706329
2025-11-17 10:08:13,920 - INFO - Deleting VM ctest-vn1-vm2-52706329
2025-11-17 10:08:14,001 - INFO - Detaching port d04aed3b-c89c-4b5c-afdd-25fa675ff722 from VM ctest-vn1-vm1-61441508
2025-11-17 10:08:14,036 - INFO - Deleting VM ctest-vn1-vm1-61441508
2025-11-17 10:08:14,276 - DEBUG - Response for delete_port : ()
2025-11-17 10:08:14,447 - DEBUG - Response for delete_port : ()
2025-11-17 10:08:14,447 - INFO - Deleting VN ctest-vn1-96966507
2025-11-17 10:08:14,586 - DEBUG - Response for deleting network ()
2025-11-17 10:08:14,851 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 10:08:14,851 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-11-17 10:08:14,851 - INFO - --------------------------------------------------------------------------------
2025-11-17 10:08:15,547 - INFO - Deleted project: ctest-TestPorts-82026799, ID : 5b9d0a9b-0340-4077-aee3-4353d4d303dd