2025-08-20 18:32:50,810 - INFO - Domain Default found not creating
2025-08-20 18:32:50,940 - INFO - Project ctest-TestPorts-56787142 not found, creating it
2025-08-20 18:32:51,410 - INFO - Created Project:ctest-TestPorts-56787142, ID : 2917563c-d8e3-4a97-8936-abb6556836ac
2025-08-20 18:32:52,764 - INFO - ================================================================================
2025-08-20 18:32:52,764 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 18:32:52,764 - 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-08-20 18:32:53,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-20 18:32:53,022 - INFO - Initial checks done. Running the testcase now
2025-08-20 18:32:53,022 - INFO -
2025-08-20 18:32:53,568 - DEBUG - Response for create_network : {'network': {'id': '7c0edbda-11a1-4677-9f50-153feb958731', 'name': 'ctest-vn-24851080', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'project_id': '2917563cd8e34a978936abb6556836ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56787142', 'ctest-vn-24851080'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 18:32:53,804 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e969240-bb74-44c0-b3e0-3ddf7c3ceb97', 'name': '', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': '7c0edbda-11a1-4677-9f50-153feb958731', 'ip_version': 4, 'cidr': '7.148.29.0/26', 'allocation_pools': [{'start': '7.148.29.2', 'end': '7.148.29.62'}], 'gateway_ip': '7.148.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.148.29.2', 'tags': [], 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:53,822 - INFO - Created VN ctest-vn-24851080
2025-08-20 18:32:53,877 - DEBUG - VN ctest-vn-24851080 UUID is 7c0edbda-11a1-4677-9f50-153feb958731
2025-08-20 18:32:53,984 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56787142', 'ctest-vmi-22302148']}
2025-08-20 18:32:54,295 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22302148', 'id': '4556b2dd-d38f-4e4d-99cb-f648d5a00298', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': '7c0edbda-11a1-4677-9f50-153feb958731', 'mac_address': '02:45:56:b2:dd:d3', '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': '7.148.29.3', 'subnet_id': '1e969240-bb74-44c0-b3e0-3ddf7c3ceb97'}], 'security_groups': ['b594fd64-146e-49b5-baa2-9995d01f191f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:54,295 - DEBUG - Created port 4556b2dd-d38f-4e4d-99cb-f648d5a00298
2025-08-20 18:32:54,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4556b2dd-d38f-4e4d-99cb-f648d5a00298
2025-08-20 18:32:54,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4556b2dd-d38f-4e4d-99cb-f648d5a00298
2025-08-20 18:32:54,725 - INFO - VMI 4556b2dd-d38f-4e4d-99cb-f648d5a00298 verification in API Server passed
2025-08-20 18:32:55,030 - DEBUG - Response for delete_port : ()
2025-08-20 18:32:55,030 - INFO - Deleted port 4556b2dd-d38f-4e4d-99cb-f648d5a00298
2025-08-20 18:32:55,031 - INFO - Deleting VN ctest-vn-24851080
2025-08-20 18:32:55,492 - DEBUG - Response for deleting network ()
2025-08-20 18:32:55,751 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 18:32:55,751 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-20 18:32:55,751 - INFO - --------------------------------------------------------------------------------
2025-08-20 18:32:55,753 - INFO - ================================================================================
2025-08-20 18:32:55,753 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 18:32:55,754 - 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-08-20 18:32:56,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-20 18:32:56,046 - INFO - Initial checks done. Running the testcase now
2025-08-20 18:32:56,046 - INFO -
2025-08-20 18:32:56,238 - DEBUG - Response for create_network : {'network': {'id': 'ad45598f-0daa-44bc-bb5f-6db7bdc8987a', 'name': 'ctest-vn1-40129401', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'project_id': '2917563cd8e34a978936abb6556836ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56787142', 'ctest-vn1-40129401'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 18:32:56,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3856558-e310-4b1b-beb5-284d14ee49bd', 'name': '', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': 'ad45598f-0daa-44bc-bb5f-6db7bdc8987a', 'ip_version': 4, 'cidr': '90.134.170.192/26', 'allocation_pools': [{'start': '90.134.170.194', 'end': '90.134.170.254'}], 'gateway_ip': '90.134.170.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.134.170.194', 'tags': [], 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:56,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ef5032b-85f5-433f-8436-c96faa25ca88', 'name': '', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': 'ad45598f-0daa-44bc-bb5f-6db7bdc8987a', 'ip_version': 4, 'cidr': '77.163.187.192/26', 'allocation_pools': [{'start': '77.163.187.194', 'end': '77.163.187.254'}], 'gateway_ip': '77.163.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.163.187.194', 'tags': [], 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:56,665 - INFO - Created VN ctest-vn1-40129401
2025-08-20 18:32:56,717 - DEBUG - VN ctest-vn1-40129401 UUID is ad45598f-0daa-44bc-bb5f-6db7bdc8987a
2025-08-20 18:32:57,014 - DEBUG - Response for create_port : {'port': {'name': '99363a4d-920f-4cc8-b143-49059ca87fa1', 'id': '99363a4d-920f-4cc8-b143-49059ca87fa1', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': 'ad45598f-0daa-44bc-bb5f-6db7bdc8987a', 'mac_address': '02:99:36:3a:4d:92', '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': '90.134.170.197', 'subnet_id': 'e3856558-e310-4b1b-beb5-284d14ee49bd'}], 'security_groups': ['b594fd64-146e-49b5-baa2-9995d01f191f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:57,184 - DEBUG - Response for create_port : {'port': {'name': 'a159ba6a-55f0-4344-b860-f57524b4e714', 'id': 'a159ba6a-55f0-4344-b860-f57524b4e714', 'tenant_id': '2917563cd8e34a978936abb6556836ac', 'network_id': 'ad45598f-0daa-44bc-bb5f-6db7bdc8987a', 'mac_address': '02:a1:59:ba:6a:55', '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': '77.163.187.197', 'subnet_id': '5ef5032b-85f5-433f-8436-c96faa25ca88'}], 'security_groups': ['b594fd64-146e-49b5-baa2-9995d01f191f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2917563cd8e34a978936abb6556836ac'}}
2025-08-20 18:32:57,237 - DEBUG - Services list from nova: [, , ]
2025-08-20 18:32:57,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1)
2025-08-20 18:32:57,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1)
2025-08-20 18:32:57,880 - INFO - Waiting for VM ctest-vn1-vm1-32622153 to be up..
2025-08-20 18:32:58,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 18:33:03,136 - DEBUG - VM is in ACTIVE state now
2025-08-20 18:33:03,136 - INFO - VM name : ctest-vn1-vm1-32622153
2025-08-20 18:33:03,229 - DEBUG - VM ctest-vn1-vm1-32622153 ID is e7250a98-78f4-4363-9667-7dd103c20af4
2025-08-20 18:33:03,251 - DEBUG - VM ctest-vn1-vm1-32622153 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1
2025-08-20 18:33:03,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e7250a98-78f4-4363-9667-7dd103c20af4
2025-08-20 18:33:03,337 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/99363a4d-920f-4cc8-b143-49059ca87fa1
2025-08-20 18:33:06,587 - 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 1003ms')
2025-08-20 18:33:06,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32622153 failed!
2025-08-20 18:33:06,645 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56787142:ctest-vn1-40129401 is 90.134.170.193 and allocation pool is NOT set
2025-08-20 18:33:06,645 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56787142:ctest-vn1-40129401 is 77.163.187.193 and allocation pool is NOT set
2025-08-20 18:33:08,708 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 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 = 2.020/3.044/4.068/1.024 ms')
2025-08-20 18:33:08,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32622153 passed
2025-08-20 18:33:08,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:33:08,873 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32622153, IP 90.134.170.197, Port 22
2025-08-20 18:33:09,028 - DEBUG - VM ctest-vn1-vm1-32622153 is ready for SSH connections
2025-08-20 18:33:09,028 - INFO - Waiting for VM ctest-vn1-vm2-46676141 to be up..
2025-08-20 18:33:09,097 - DEBUG - VM is in ACTIVE state now
2025-08-20 18:33:09,097 - INFO - VM name : ctest-vn1-vm2-46676141
2025-08-20 18:33:09,162 - DEBUG - VM ctest-vn1-vm2-46676141 ID is 36bcc4a9-ee2d-440b-a0a1-a705ed95ff30
2025-08-20 18:33:09,162 - DEBUG - VM ctest-vn1-vm2-46676141 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1
2025-08-20 18:33:09,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/36bcc4a9-ee2d-440b-a0a1-a705ed95ff30
2025-08-20 18:33:09,236 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a159ba6a-55f0-4344-b860-f57524b4e714
2025-08-20 18:33:10,471 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/2.135/3.894/1.759 ms')
2025-08-20 18:33:10,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46676141 passed
2025-08-20 18:33:10,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:33:10,621 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46676141, IP 77.163.187.197, Port 22
2025-08-20 18:33:10,784 - DEBUG - VM ctest-vn1-vm2-46676141 is ready for SSH connections
2025-08-20 18:33:10,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:33:10,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:33:10,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 18:33:10,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.134.170.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-20 18:33:10,785 - DEBUG - ping -s 56 -c 3 -W 1 90.134.170.197
2025-08-20 18:33:13,421 - DEBUG - PING 90.134.170.197 (90.134.170.197): 56 data bytes
64 bytes from 90.134.170.197: seq=0 ttl=63 time=3.539 ms
64 bytes from 90.134.170.197: seq=1 ttl=63 time=0.681 ms
64 bytes from 90.134.170.197: seq=2 ttl=63 time=0.687 ms
--- 90.134.170.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.681/1.635/3.539 ms
2025-08-20 18:33:13,422 - INFO - Ping to IP 90.134.170.197 from VM ctest-vn1-vm2-46676141 passed
2025-08-20 18:33:13,422 - INFO - Detaching port a159ba6a-55f0-4344-b860-f57524b4e714 from VM ctest-vn1-vm2-46676141
2025-08-20 18:33:13,468 - INFO - Deleting VM ctest-vn1-vm2-46676141
2025-08-20 18:33:13,538 - INFO - Detaching port 99363a4d-920f-4cc8-b143-49059ca87fa1 from VM ctest-vn1-vm1-32622153
2025-08-20 18:33:13,571 - INFO - Deleting VM ctest-vn1-vm1-32622153
2025-08-20 18:33:13,845 - DEBUG - Response for delete_port : ()
2025-08-20 18:33:14,028 - DEBUG - Response for delete_port : ()
2025-08-20 18:33:14,028 - INFO - Deleting VN ctest-vn1-40129401
2025-08-20 18:33:14,230 - DEBUG - Response for deleting network ()
2025-08-20 18:33:14,502 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 18:33:14,502 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-20 18:33:14,502 - INFO - --------------------------------------------------------------------------------
2025-08-20 18:33:15,182 - INFO - Deleted project: ctest-TestPorts-56787142, ID : 2917563c-d8e3-4a97-8936-abb6556836ac