2025-08-05 19:58:45,321 - INFO - Domain Default found not creating
2025-08-05 19:58:45,693 - INFO - Project ctest-TestPorts-30879489 not found, creating it
2025-08-05 19:58:46,528 - INFO - Created Project:ctest-TestPorts-30879489, ID : 00c18a6c-527e-4a64-a5a2-31d29ebacede
2025-08-05 19:58:48,636 - INFO - ================================================================================
2025-08-05 19:58:48,636 - INFO - STARTING TEST : test_ports_bindings
2025-08-05 19:58:48,636 - 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-05 19:58:48,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-08-05 19:58:48,959 - INFO - Initial checks done. Running the testcase now
2025-08-05 19:58:48,960 - INFO -
2025-08-05 19:58:49,810 - DEBUG - Response for create_network : {'network': {'id': 'c2315ed8-2db0-4273-b132-765550bd29df', 'name': 'ctest-vn-34490575', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'project_id': '00c18a6c527e4a64a5a231d29ebacede', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30879489', 'ctest-vn-34490575'], 'port_security_enabled': True, 'description': ''}}
2025-08-05 19:58:50,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd0b0416-4ea1-4e8a-acd4-bbb4b8edb5ac', 'name': '', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': 'c2315ed8-2db0-4273-b132-765550bd29df', 'ip_version': 4, 'cidr': '172.234.55.64/26', 'allocation_pools': [{'start': '172.234.55.66', 'end': '172.234.55.126'}], 'gateway_ip': '172.234.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.234.55.66', 'tags': [], 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:50,111 - INFO - Created VN ctest-vn-34490575
2025-08-05 19:58:50,185 - DEBUG - VN ctest-vn-34490575 UUID is c2315ed8-2db0-4273-b132-765550bd29df
2025-08-05 19:58:50,387 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30879489', 'ctest-vmi-14903281']}
2025-08-05 19:58:50,798 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14903281', 'id': 'a1418b6a-fa86-4549-8e35-6e673c8f2bd5', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': 'c2315ed8-2db0-4273-b132-765550bd29df', 'mac_address': '02:a1:41:8b:6a:fa', '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': '172.234.55.67', 'subnet_id': 'fd0b0416-4ea1-4e8a-acd4-bbb4b8edb5ac'}], 'security_groups': ['7151a1db-36c7-4c83-8000-8dc0cda07bb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:50,798 - DEBUG - Created port a1418b6a-fa86-4549-8e35-6e673c8f2bd5
2025-08-05 19:58:50,925 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a1418b6a-fa86-4549-8e35-6e673c8f2bd5
2025-08-05 19:58:51,298 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a1418b6a-fa86-4549-8e35-6e673c8f2bd5
2025-08-05 19:58:51,379 - INFO - VMI a1418b6a-fa86-4549-8e35-6e673c8f2bd5 verification in API Server passed
2025-08-05 19:58:51,586 - DEBUG - Response for delete_port : ()
2025-08-05 19:58:51,586 - INFO - Deleted port a1418b6a-fa86-4549-8e35-6e673c8f2bd5
2025-08-05 19:58:51,586 - INFO - Deleting VN ctest-vn-34490575
2025-08-05 19:58:51,767 - DEBUG - Response for deleting network ()
2025-08-05 19:58:52,068 - DEBUG - No XMPP flaps were noticed during the test
2025-08-05 19:58:52,068 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-05 19:58:52,068 - INFO - --------------------------------------------------------------------------------
2025-08-05 19:58:52,071 - INFO - ================================================================================
2025-08-05 19:58:52,071 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-05 19:58:52,071 - 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-05 19:58:52,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-08-05 19:58:52,396 - INFO - Initial checks done. Running the testcase now
2025-08-05 19:58:52,396 - INFO -
2025-08-05 19:58:52,760 - DEBUG - Response for create_network : {'network': {'id': '4882b7a8-373f-4fb4-9973-f84ae455c3e2', 'name': 'ctest-vn1-94457447', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'project_id': '00c18a6c527e4a64a5a231d29ebacede', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30879489', 'ctest-vn1-94457447'], 'port_security_enabled': True, 'description': ''}}
2025-08-05 19:58:53,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '174fc838-f420-40ed-8f43-aa4f81bccf0d', 'name': '', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': '4882b7a8-373f-4fb4-9973-f84ae455c3e2', 'ip_version': 4, 'cidr': '124.18.180.128/26', 'allocation_pools': [{'start': '124.18.180.130', 'end': '124.18.180.190'}], 'gateway_ip': '124.18.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.18.180.130', 'tags': [], 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:53,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '639878c8-4af0-4f94-b401-2c341325cc6c', 'name': '', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': '4882b7a8-373f-4fb4-9973-f84ae455c3e2', 'ip_version': 4, 'cidr': '217.77.151.64/26', 'allocation_pools': [{'start': '217.77.151.66', 'end': '217.77.151.126'}], 'gateway_ip': '217.77.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.77.151.66', 'tags': [], 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:53,363 - INFO - Created VN ctest-vn1-94457447
2025-08-05 19:58:53,441 - DEBUG - VN ctest-vn1-94457447 UUID is 4882b7a8-373f-4fb4-9973-f84ae455c3e2
2025-08-05 19:58:54,073 - DEBUG - Response for create_port : {'port': {'name': '4dbfb762-d00e-4fef-98b5-f6cfc1301105', 'id': '4dbfb762-d00e-4fef-98b5-f6cfc1301105', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': '4882b7a8-373f-4fb4-9973-f84ae455c3e2', 'mac_address': '02:4d:bf:b7:62:d0', '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': '124.18.180.133', 'subnet_id': '174fc838-f420-40ed-8f43-aa4f81bccf0d'}], 'security_groups': ['7151a1db-36c7-4c83-8000-8dc0cda07bb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:54,392 - DEBUG - Response for create_port : {'port': {'name': '5e7cef8f-5aba-4ea2-b487-6fb0c7d4db82', 'id': '5e7cef8f-5aba-4ea2-b487-6fb0c7d4db82', 'tenant_id': '00c18a6c527e4a64a5a231d29ebacede', 'network_id': '4882b7a8-373f-4fb4-9973-f84ae455c3e2', 'mac_address': '02:5e:7c:ef:8f:5a', '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': '217.77.151.69', 'subnet_id': '639878c8-4af0-4f94-b401-2c341325cc6c'}], 'security_groups': ['7151a1db-36c7-4c83-8000-8dc0cda07bb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00c18a6c527e4a64a5a231d29ebacede'}}
2025-08-05 19:58:54,537 - DEBUG - Services list from nova: [, , ]
2025-08-05 19:58:55,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1)
2025-08-05 19:58:56,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1)
2025-08-05 19:58:56,395 - INFO - Waiting for VM ctest-vn1-vm1-99436588 to be up..
2025-08-05 19:58:56,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-05 19:59:01,691 - DEBUG - VM is in ACTIVE state now
2025-08-05 19:59:01,692 - INFO - VM name : ctest-vn1-vm1-99436588
2025-08-05 19:59:01,820 - DEBUG - VM ctest-vn1-vm1-99436588 ID is 2746bd5f-d6d1-4001-ad78-6ece4104a04f
2025-08-05 19:59:01,851 - DEBUG - VM ctest-vn1-vm1-99436588 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1
2025-08-05 19:59:02,054 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2746bd5f-d6d1-4001-ad78-6ece4104a04f
2025-08-05 19:59:02,096 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4dbfb762-d00e-4fef-98b5-f6cfc1301105
2025-08-05 19:59:05,455 - 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 1019ms')
2025-08-05 19:59:05,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99436588 failed!
2025-08-05 19:59:05,536 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30879489:ctest-vn1-94457447 is 124.18.180.129 and allocation pool is NOT set
2025-08-05 19:59:05,537 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30879489:ctest-vn1-94457447 is 217.77.151.65 and allocation pool is NOT set
2025-08-05 19:59:09,641 - 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 1026ms')
2025-08-05 19:59:09,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99436588 failed!
2025-08-05 19:59:09,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30879489:ctest-vn1-94457447 is 124.18.180.129 and allocation pool is NOT set
2025-08-05 19:59:09,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30879489:ctest-vn1-94457447 is 217.77.151.65 and allocation pool is NOT set
2025-08-05 19:59:11,807 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.289/6.409/11.530/5.120 ms')
2025-08-05 19:59:11,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99436588 passed
2025-08-05 19:59:11,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-05 19:59:11,993 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99436588, IP 124.18.180.133, Port 22
2025-08-05 19:59:12,200 - DEBUG - VM ctest-vn1-vm1-99436588 is ready for SSH connections
2025-08-05 19:59:12,200 - INFO - Waiting for VM ctest-vn1-vm2-87762488 to be up..
2025-08-05 19:59:12,403 - DEBUG - VM is in ACTIVE state now
2025-08-05 19:59:12,404 - INFO - VM name : ctest-vn1-vm2-87762488
2025-08-05 19:59:12,545 - DEBUG - VM ctest-vn1-vm2-87762488 ID is 50a1e970-37ee-4740-b5f0-ddfad148c244
2025-08-05 19:59:12,545 - DEBUG - VM ctest-vn1-vm2-87762488 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1
2025-08-05 19:59:12,726 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/50a1e970-37ee-4740-b5f0-ddfad148c244
2025-08-05 19:59:12,748 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5e7cef8f-5aba-4ea2-b487-6fb0c7d4db82
2025-08-05 19:59:14,081 - 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=9.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.756 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.756/5.277/9.799/4.521 ms')
2025-08-05 19:59:14,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87762488 passed
2025-08-05 19:59:14,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-05 19:59:14,277 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87762488, IP 217.77.151.69, Port 22
2025-08-05 19:59:14,479 - DEBUG - VM ctest-vn1-vm2-87762488 is ready for SSH connections
2025-08-05 19:59:14,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-05 19:59:14,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-05 19:59:14,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-05 19:59:14,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.18.180.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-05 19:59:14,481 - DEBUG - ping -s 56 -c 3 -W 1 124.18.180.133
2025-08-05 19:59:17,760 - DEBUG - PING 124.18.180.133 (124.18.180.133): 56 data bytes
64 bytes from 124.18.180.133: seq=0 ttl=63 time=3.985 ms
64 bytes from 124.18.180.133: seq=1 ttl=63 time=1.273 ms
64 bytes from 124.18.180.133: seq=2 ttl=63 time=1.816 ms
--- 124.18.180.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.273/2.358/3.985 ms
2025-08-05 19:59:17,761 - INFO - Ping to IP 124.18.180.133 from VM ctest-vn1-vm2-87762488 passed
2025-08-05 19:59:17,761 - INFO - Detaching port 5e7cef8f-5aba-4ea2-b487-6fb0c7d4db82 from VM ctest-vn1-vm2-87762488
2025-08-05 19:59:17,841 - INFO - Deleting VM ctest-vn1-vm2-87762488
2025-08-05 19:59:18,008 - INFO - Detaching port 4dbfb762-d00e-4fef-98b5-f6cfc1301105 from VM ctest-vn1-vm1-99436588
2025-08-05 19:59:18,096 - INFO - Deleting VM ctest-vn1-vm1-99436588
2025-08-05 19:59:18,383 - DEBUG - Response for delete_port : ()
2025-08-05 19:59:18,536 - DEBUG - Response for delete_port : ()
2025-08-05 19:59:18,536 - INFO - Deleting VN ctest-vn1-94457447
2025-08-05 19:59:18,657 - DEBUG - Response for deleting network ()
2025-08-05 19:59:18,929 - DEBUG - No XMPP flaps were noticed during the test
2025-08-05 19:59:18,929 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-05 19:59:18,929 - INFO - --------------------------------------------------------------------------------
2025-08-05 19:59:19,645 - INFO - Deleted project: ctest-TestPorts-30879489, ID : 00c18a6c-527e-4a64-a5a2-31d29ebacede