2025-09-08 02:10:28,569 - INFO - Domain Default found not creating
2025-09-08 02:10:28,704 - INFO - Project ctest-TestPorts-42766817 not found, creating it
2025-09-08 02:10:29,134 - INFO - Created Project:ctest-TestPorts-42766817, ID : 9a0bcbb2-7644-46ec-a7f6-07235c6639e1
2025-09-08 02:10:30,506 - INFO - ================================================================================
2025-09-08 02:10:30,506 - INFO - STARTING TEST : test_ports_bindings
2025-09-08 02:10:30,506 - 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-09-08 02:10:30,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with
2025-09-08 02:10:30,760 - INFO - Initial checks done. Running the testcase now
2025-09-08 02:10:30,760 - INFO -
2025-09-08 02:10:31,536 - DEBUG - Response for create_network : {'network': {'id': '2d25bf2e-f2a2-4635-86b1-5240c0cc398c', 'name': 'ctest-vn-32858929', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'project_id': '9a0bcbb2764446eca7f607235c6639e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42766817', 'ctest-vn-32858929'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 02:10:31,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '8997e18b-0ddf-4723-9008-84bf7a9e8aed', 'name': '', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': '2d25bf2e-f2a2-4635-86b1-5240c0cc398c', 'ip_version': 4, 'cidr': '89.47.180.128/26', 'allocation_pools': [{'start': '89.47.180.130', 'end': '89.47.180.190'}], 'gateway_ip': '89.47.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.47.180.130', 'tags': [], 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:31,887 - INFO - Created VN ctest-vn-32858929
2025-09-08 02:10:31,946 - DEBUG - VN ctest-vn-32858929 UUID is 2d25bf2e-f2a2-4635-86b1-5240c0cc398c
2025-09-08 02:10:32,051 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42766817', 'ctest-vmi-06786970']}
2025-09-08 02:10:32,361 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06786970', 'id': '2e0c36ce-9615-4e3f-b623-8f87a099e17c', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': '2d25bf2e-f2a2-4635-86b1-5240c0cc398c', 'mac_address': '02:2e:0c:36:ce:96', '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': '89.47.180.131', 'subnet_id': '8997e18b-0ddf-4723-9008-84bf7a9e8aed'}], 'security_groups': ['79797608-f7bd-4d86-929d-ccb7800bb9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:32,361 - DEBUG - Created port 2e0c36ce-9615-4e3f-b623-8f87a099e17c
2025-09-08 02:10:32,466 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2e0c36ce-9615-4e3f-b623-8f87a099e17c
2025-09-08 02:10:32,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2e0c36ce-9615-4e3f-b623-8f87a099e17c
2025-09-08 02:10:32,872 - INFO - VMI 2e0c36ce-9615-4e3f-b623-8f87a099e17c verification in API Server passed
2025-09-08 02:10:32,966 - DEBUG - Response for delete_port : ()
2025-09-08 02:10:32,967 - INFO - Deleted port 2e0c36ce-9615-4e3f-b623-8f87a099e17c
2025-09-08 02:10:32,967 - INFO - Deleting VN ctest-vn-32858929
2025-09-08 02:10:33,066 - DEBUG - Response for deleting network ()
2025-09-08 02:10:33,320 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 02:10:33,320 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-08 02:10:33,321 - INFO - --------------------------------------------------------------------------------
2025-09-08 02:10:33,324 - INFO - ================================================================================
2025-09-08 02:10:33,324 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-08 02:10:33,324 - 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-09-08 02:10:33,606 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with
2025-09-08 02:10:33,606 - INFO - Initial checks done. Running the testcase now
2025-09-08 02:10:33,606 - INFO -
2025-09-08 02:10:33,773 - DEBUG - Response for create_network : {'network': {'id': 'f8b786a1-3af7-4faa-bbe8-c9bfebb79af6', 'name': 'ctest-vn1-71701689', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'project_id': '9a0bcbb2764446eca7f607235c6639e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42766817', 'ctest-vn1-71701689'], 'port_security_enabled': True, 'description': ''}}
2025-09-08 02:10:33,930 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba91de44-628d-4f95-bd4f-bbc8b8c9435a', 'name': '', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': 'f8b786a1-3af7-4faa-bbe8-c9bfebb79af6', 'ip_version': 4, 'cidr': '174.214.57.0/26', 'allocation_pools': [{'start': '174.214.57.2', 'end': '174.214.57.62'}], 'gateway_ip': '174.214.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.214.57.2', 'tags': [], 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:34,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f600f92e-dff5-40bb-ace4-f581586f7adc', 'name': '', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': 'f8b786a1-3af7-4faa-bbe8-c9bfebb79af6', 'ip_version': 4, 'cidr': '55.149.178.192/26', 'allocation_pools': [{'start': '55.149.178.194', 'end': '55.149.178.254'}], 'gateway_ip': '55.149.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.149.178.194', 'tags': [], 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:34,131 - INFO - Created VN ctest-vn1-71701689
2025-09-08 02:10:34,182 - DEBUG - VN ctest-vn1-71701689 UUID is f8b786a1-3af7-4faa-bbe8-c9bfebb79af6
2025-09-08 02:10:34,481 - DEBUG - Response for create_port : {'port': {'name': '56e70114-867b-45b6-a600-0a11a5a3643e', 'id': '56e70114-867b-45b6-a600-0a11a5a3643e', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': 'f8b786a1-3af7-4faa-bbe8-c9bfebb79af6', 'mac_address': '02:56:e7:01:14:86', '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': '174.214.57.5', 'subnet_id': 'ba91de44-628d-4f95-bd4f-bbc8b8c9435a'}], 'security_groups': ['79797608-f7bd-4d86-929d-ccb7800bb9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:34,648 - DEBUG - Response for create_port : {'port': {'name': 'fa57d7dc-0c1e-41d8-a08c-f076dc4f0471', 'id': 'fa57d7dc-0c1e-41d8-a08c-f076dc4f0471', 'tenant_id': '9a0bcbb2764446eca7f607235c6639e1', 'network_id': 'f8b786a1-3af7-4faa-bbe8-c9bfebb79af6', 'mac_address': '02:fa:57:d7:dc:0c', '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': '55.149.178.197', 'subnet_id': 'f600f92e-dff5-40bb-ace4-f581586f7adc'}], 'security_groups': ['79797608-f7bd-4d86-929d-ccb7800bb9f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9a0bcbb2764446eca7f607235c6639e1'}}
2025-09-08 02:10:34,697 - DEBUG - Services list from nova: [, , ]
2025-09-08 02:10:35,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1)
2025-09-08 02:10:35,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1)
2025-09-08 02:10:35,449 - INFO - Waiting for VM ctest-vn1-vm1-61184640 to be up..
2025-09-08 02:10:35,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-08 02:10:40,557 - DEBUG - VM is in ACTIVE state now
2025-09-08 02:10:40,557 - INFO - VM name : ctest-vn1-vm1-61184640
2025-09-08 02:10:40,629 - DEBUG - VM ctest-vn1-vm1-61184640 ID is 84889cd5-a3bb-45e2-bc4b-2794112f003c
2025-09-08 02:10:40,648 - DEBUG - VM ctest-vn1-vm1-61184640 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1
2025-09-08 02:10:40,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/84889cd5-a3bb-45e2-bc4b-2794112f003c
2025-09-08 02:10:40,722 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/56e70114-867b-45b6-a600-0a11a5a3643e
2025-09-08 02:10:43,968 - 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-09-08 02:10:43,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61184640 failed!
2025-09-08 02:10:44,026 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42766817:ctest-vn1-71701689 is 174.214.57.1 and allocation pool is NOT set
2025-09-08 02:10:44,026 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42766817:ctest-vn1-71701689 is 55.149.178.193 and allocation pool is NOT set
2025-09-08 02:10:46,099 - 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=7.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.15 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 = 4.150/5.590/7.031/1.440 ms')
2025-09-08 02:10:46,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61184640 passed
2025-09-08 02:10:46,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:46,250 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61184640, IP 174.214.57.5, Port 22
2025-09-08 02:10:46,320 - 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-09-08 02:10:46,392 - DEBUG - VM ctest-vn1-vm1-61184640 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-08 02:10:51,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:51,393 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61184640, IP 174.214.57.5, Port 22
2025-09-08 02:10:51,550 - DEBUG - VM ctest-vn1-vm1-61184640 is ready for SSH connections
2025-09-08 02:10:51,550 - INFO - Waiting for VM ctest-vn1-vm2-80219472 to be up..
2025-09-08 02:10:51,620 - DEBUG - VM is in ACTIVE state now
2025-09-08 02:10:51,620 - INFO - VM name : ctest-vn1-vm2-80219472
2025-09-08 02:10:51,690 - DEBUG - VM ctest-vn1-vm2-80219472 ID is 20d2051e-3d6d-44ad-8ac0-a7548aa7dd91
2025-09-08 02:10:51,691 - DEBUG - VM ctest-vn1-vm2-80219472 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1
2025-09-08 02:10:51,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/20d2051e-3d6d-44ad-8ac0-a7548aa7dd91
2025-09-08 02:10:51,771 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fa57d7dc-0c1e-41d8-a08c-f076dc4f0471
2025-09-08 02:10:53,010 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.959/3.476/1.517 ms')
2025-09-08 02:10:53,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80219472 passed
2025-09-08 02:10:53,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:53,158 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80219472, IP 55.149.178.197, Port 22
2025-09-08 02:10:53,314 - DEBUG - VM ctest-vn1-vm2-80219472 is ready for SSH connections
2025-09-08 02:10:53,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:53,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:53,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-08 02:10:53,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.214.57.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-08 02:10:53,314 - DEBUG - ping -s 56 -c 3 -W 1 174.214.57.5
2025-09-08 02:10:56,245 - DEBUG - PING 174.214.57.5 (174.214.57.5): 56 data bytes
64 bytes from 174.214.57.5: seq=0 ttl=63 time=3.980 ms
64 bytes from 174.214.57.5: seq=1 ttl=63 time=1.135 ms
64 bytes from 174.214.57.5: seq=2 ttl=63 time=1.150 ms
--- 174.214.57.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.135/2.088/3.980 ms
2025-09-08 02:10:56,245 - INFO - Ping to IP 174.214.57.5 from VM ctest-vn1-vm2-80219472 passed
2025-09-08 02:10:56,245 - INFO - Detaching port fa57d7dc-0c1e-41d8-a08c-f076dc4f0471 from VM ctest-vn1-vm2-80219472
2025-09-08 02:10:56,291 - INFO - Deleting VM ctest-vn1-vm2-80219472
2025-09-08 02:10:56,359 - INFO - Detaching port 56e70114-867b-45b6-a600-0a11a5a3643e from VM ctest-vn1-vm1-61184640
2025-09-08 02:10:56,391 - INFO - Deleting VM ctest-vn1-vm1-61184640
2025-09-08 02:10:56,613 - DEBUG - Response for delete_port : ()
2025-09-08 02:10:56,761 - DEBUG - Response for delete_port : ()
2025-09-08 02:10:56,762 - INFO - Deleting VN ctest-vn1-71701689
2025-09-08 02:10:56,876 - DEBUG - Response for deleting network ()
2025-09-08 02:10:57,134 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 02:10:57,134 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-08 02:10:57,134 - INFO - --------------------------------------------------------------------------------
2025-09-08 02:10:57,825 - INFO - Deleted project: ctest-TestPorts-42766817, ID : 9a0bcbb2-7644-46ec-a7f6-07235c6639e1