2025-07-23 13:29:05,013 - INFO - Domain Default found not creating
2025-07-23 13:29:05,185 - INFO - Project ctest-TestPorts-31372101 not found, creating it
2025-07-23 13:29:05,676 - INFO - Created Project:ctest-TestPorts-31372101, ID : 53160180-a13b-4975-8e1a-1f5d6ab5d2a4
2025-07-23 13:29:07,171 - INFO - ================================================================================
2025-07-23 13:29:07,172 - INFO - STARTING TEST : test_ports_bindings
2025-07-23 13:29:07,172 - 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-07-23 13:29:07,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with
2025-07-23 13:29:07,431 - INFO - Initial checks done. Running the testcase now
2025-07-23 13:29:07,431 - INFO -
2025-07-23 13:29:07,986 - DEBUG - Response for create_network : {'network': {'id': '93d1005f-8bbf-4c2a-b23b-4214258cfe62', 'name': 'ctest-vn-62452325', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31372101', 'ctest-vn-62452325'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:29:08,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '595b3aff-b661-45e3-9b7c-09e12e81f488', 'name': '', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': '93d1005f-8bbf-4c2a-b23b-4214258cfe62', 'ip_version': 4, 'cidr': '8.53.223.128/26', 'allocation_pools': [{'start': '8.53.223.130', 'end': '8.53.223.190'}], 'gateway_ip': '8.53.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.53.223.130', 'tags': [], 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:08,175 - INFO - Created VN ctest-vn-62452325
2025-07-23 13:29:08,232 - DEBUG - VN ctest-vn-62452325 UUID is 93d1005f-8bbf-4c2a-b23b-4214258cfe62
2025-07-23 13:29:08,351 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31372101', 'ctest-vmi-58961873']}
2025-07-23 13:29:08,605 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58961873', 'id': '95db315e-f36f-463e-9d61-e0de1f2a5123', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': '93d1005f-8bbf-4c2a-b23b-4214258cfe62', 'mac_address': '02:95:db:31:5e:f3', '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': '8.53.223.131', 'subnet_id': '595b3aff-b661-45e3-9b7c-09e12e81f488'}], 'security_groups': ['eef5ca76-1aa1-4d89-88f8-aeb27908b26f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:08,605 - DEBUG - Created port 95db315e-f36f-463e-9d61-e0de1f2a5123
2025-07-23 13:29:08,712 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/95db315e-f36f-463e-9d61-e0de1f2a5123
2025-07-23 13:29:09,002 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/95db315e-f36f-463e-9d61-e0de1f2a5123
2025-07-23 13:29:09,043 - INFO - VMI 95db315e-f36f-463e-9d61-e0de1f2a5123 verification in API Server passed
2025-07-23 13:29:09,138 - DEBUG - Response for delete_port : ()
2025-07-23 13:29:09,138 - INFO - Deleted port 95db315e-f36f-463e-9d61-e0de1f2a5123
2025-07-23 13:29:09,138 - INFO - Deleting VN ctest-vn-62452325
2025-07-23 13:29:09,250 - DEBUG - Response for deleting network ()
2025-07-23 13:29:09,506 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:29:09,507 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 13:29:09,507 - INFO - --------------------------------------------------------------------------------
2025-07-23 13:29:09,509 - INFO - ================================================================================
2025-07-23 13:29:09,509 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-07-23 13:29:09,509 - 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-07-23 13:29:09,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with
2025-07-23 13:29:09,803 - INFO - Initial checks done. Running the testcase now
2025-07-23 13:29:09,803 - INFO -
2025-07-23 13:29:09,985 - DEBUG - Response for create_network : {'network': {'id': 'fd133da9-8143-4420-84db-86350dd513ed', 'name': 'ctest-vn1-18932107', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31372101', 'ctest-vn1-18932107'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 13:29:10,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb0e3bd3-fa1f-4361-b084-d4be9927b1b8', 'name': '', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': 'fd133da9-8143-4420-84db-86350dd513ed', 'ip_version': 4, 'cidr': '22.234.122.64/26', 'allocation_pools': [{'start': '22.234.122.66', 'end': '22.234.122.126'}], 'gateway_ip': '22.234.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.234.122.66', 'tags': [], 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:10,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c38e5bf-41e6-43e2-89e2-f0e0c05a4968', 'name': '', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': 'fd133da9-8143-4420-84db-86350dd513ed', 'ip_version': 4, 'cidr': '181.31.80.192/26', 'allocation_pools': [{'start': '181.31.80.194', 'end': '181.31.80.254'}], 'gateway_ip': '181.31.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.31.80.194', 'tags': [], 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:10,373 - INFO - Created VN ctest-vn1-18932107
2025-07-23 13:29:10,428 - DEBUG - VN ctest-vn1-18932107 UUID is fd133da9-8143-4420-84db-86350dd513ed
2025-07-23 13:29:10,768 - DEBUG - Response for create_port : {'port': {'name': '6a450ba3-8e84-4dcf-a357-20e73479d9bf', 'id': '6a450ba3-8e84-4dcf-a357-20e73479d9bf', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': 'fd133da9-8143-4420-84db-86350dd513ed', 'mac_address': '02:6a:45:0b:a3:8e', '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.234.122.69', 'subnet_id': 'eb0e3bd3-fa1f-4361-b084-d4be9927b1b8'}], 'security_groups': ['eef5ca76-1aa1-4d89-88f8-aeb27908b26f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:10,951 - DEBUG - Response for create_port : {'port': {'name': 'e2635a36-60f8-4f32-885b-d4e7bb7286a5', 'id': 'e2635a36-60f8-4f32-885b-d4e7bb7286a5', 'tenant_id': '53160180a13b49758e1a1f5d6ab5d2a4', 'network_id': 'fd133da9-8143-4420-84db-86350dd513ed', 'mac_address': '02:e2:63:5a:36:60', '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': '181.31.80.197', 'subnet_id': '9c38e5bf-41e6-43e2-89e2-f0e0c05a4968'}], 'security_groups': ['eef5ca76-1aa1-4d89-88f8-aeb27908b26f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53160180a13b49758e1a1f5d6ab5d2a4'}}
2025-07-23 13:29:11,013 - DEBUG - Services list from nova: [, , ]
2025-07-23 13:29:11,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1)
2025-07-23 13:29:11,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1)
2025-07-23 13:29:11,727 - INFO - Waiting for VM ctest-vn1-vm1-48542608 to be up..
2025-07-23 13:29:11,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 13:29:16,969 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:29:16,969 - INFO - VM name : ctest-vn1-vm1-48542608
2025-07-23 13:29:17,054 - DEBUG - VM ctest-vn1-vm1-48542608 ID is b289c39b-3150-4701-a63a-6b2ff6e2e479
2025-07-23 13:29:17,072 - DEBUG - VM ctest-vn1-vm1-48542608 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1
2025-07-23 13:29:17,150 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b289c39b-3150-4701-a63a-6b2ff6e2e479
2025-07-23 13:29:17,162 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6a450ba3-8e84-4dcf-a357-20e73479d9bf
2025-07-23 13:29:20,429 - 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 1027ms')
2025-07-23 13:29:20,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48542608 failed!
2025-07-23 13:29:20,484 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31372101:ctest-vn1-18932107 is 22.234.122.65 and allocation pool is NOT set
2025-07-23 13:29:20,484 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31372101:ctest-vn1-18932107 is 181.31.80.193 and allocation pool is NOT set
2025-07-23 13:29:22,545 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.418/1.964/3.511/1.546 ms')
2025-07-23 13:29:22,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48542608 passed
2025-07-23 13:29:22,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:22,700 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48542608, IP 22.234.122.69, Port 22
2025-07-23 13:29:22,765 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-07-23 13:29:22,850 - DEBUG - VM ctest-vn1-vm1-48542608 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 13:29:27,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:27,851 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48542608, IP 22.234.122.69, Port 22
2025-07-23 13:29:28,008 - DEBUG - VM ctest-vn1-vm1-48542608 is ready for SSH connections
2025-07-23 13:29:28,008 - INFO - Waiting for VM ctest-vn1-vm2-19354486 to be up..
2025-07-23 13:29:28,083 - DEBUG - VM is in ACTIVE state now
2025-07-23 13:29:28,083 - INFO - VM name : ctest-vn1-vm2-19354486
2025-07-23 13:29:28,154 - DEBUG - VM ctest-vn1-vm2-19354486 ID is 9fecb155-f40b-420f-ba44-9bc265266635
2025-07-23 13:29:28,154 - DEBUG - VM ctest-vn1-vm2-19354486 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1
2025-07-23 13:29:28,227 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/9fecb155-f40b-420f-ba44-9bc265266635
2025-07-23 13:29:28,236 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e2635a36-60f8-4f32-885b-d4e7bb7286a5
2025-07-23 13:29:29,468 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.603/2.828/1.224 ms')
2025-07-23 13:29:29,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19354486 passed
2025-07-23 13:29:29,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:29,620 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19354486, IP 181.31.80.197, Port 22
2025-07-23 13:29:29,776 - DEBUG - VM ctest-vn1-vm2-19354486 is ready for SSH connections
2025-07-23 13:29:29,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:29,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:29,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 13:29:29,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.234.122.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-07-23 13:29:29,776 - DEBUG - ping -s 56 -c 3 -W 1 22.234.122.69
2025-07-23 13:29:32,445 - DEBUG - PING 22.234.122.69 (22.234.122.69): 56 data bytes
64 bytes from 22.234.122.69: seq=0 ttl=63 time=4.168 ms
64 bytes from 22.234.122.69: seq=1 ttl=63 time=0.844 ms
64 bytes from 22.234.122.69: seq=2 ttl=63 time=1.010 ms
--- 22.234.122.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.844/2.007/4.168 ms
2025-07-23 13:29:32,446 - INFO - Ping to IP 22.234.122.69 from VM ctest-vn1-vm2-19354486 passed
2025-07-23 13:29:32,446 - INFO - Detaching port e2635a36-60f8-4f32-885b-d4e7bb7286a5 from VM ctest-vn1-vm2-19354486
2025-07-23 13:29:32,495 - INFO - Deleting VM ctest-vn1-vm2-19354486
2025-07-23 13:29:32,565 - INFO - Detaching port 6a450ba3-8e84-4dcf-a357-20e73479d9bf from VM ctest-vn1-vm1-48542608
2025-07-23 13:29:32,597 - INFO - Deleting VM ctest-vn1-vm1-48542608
2025-07-23 13:29:32,830 - DEBUG - Response for delete_port : ()
2025-07-23 13:29:33,002 - DEBUG - Response for delete_port : ()
2025-07-23 13:29:33,002 - INFO - Deleting VN ctest-vn1-18932107
2025-07-23 13:29:33,146 - DEBUG - Response for deleting network ()
2025-07-23 13:29:33,402 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:29:33,402 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-07-23 13:29:33,402 - INFO - --------------------------------------------------------------------------------
2025-07-23 13:29:34,109 - INFO - Deleted project: ctest-TestPorts-31372101, ID : 53160180-a13b-4975-8e1a-1f5d6ab5d2a4