2025-08-28 16:46:45,334 - INFO - Domain Default found not creating
2025-08-28 16:46:45,486 - INFO - Project ctest-TestPorts-71988431 not found, creating it
2025-08-28 16:46:45,925 - INFO - Created Project:ctest-TestPorts-71988431, ID : 1431a720-cd0f-423a-a773-64ae5fde822d
2025-08-28 16:46:47,421 - INFO - ================================================================================
2025-08-28 16:46:47,421 - INFO - STARTING TEST : test_ports_bindings
2025-08-28 16:46:47,421 - 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-28 16:46:47,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-08-28 16:46:47,674 - INFO - Initial checks done. Running the testcase now
2025-08-28 16:46:47,674 - INFO -
2025-08-28 16:46:48,244 - DEBUG - Response for create_network : {'network': {'id': 'ff614d09-ec7d-4da1-aae5-31045c3a82a5', 'name': 'ctest-vn-98658094', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'project_id': '1431a720cd0f423aa77364ae5fde822d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71988431', 'ctest-vn-98658094'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 16:46:48,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdf121ed-66e3-4a4a-b20f-10e5650aaade', 'name': '', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': 'ff614d09-ec7d-4da1-aae5-31045c3a82a5', 'ip_version': 4, 'cidr': '40.30.16.0/26', 'allocation_pools': [{'start': '40.30.16.2', 'end': '40.30.16.62'}], 'gateway_ip': '40.30.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.30.16.2', 'tags': [], 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:48,436 - INFO - Created VN ctest-vn-98658094
2025-08-28 16:46:48,488 - DEBUG - VN ctest-vn-98658094 UUID is ff614d09-ec7d-4da1-aae5-31045c3a82a5
2025-08-28 16:46:48,609 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71988431', 'ctest-vmi-95427248']}
2025-08-28 16:46:48,854 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95427248', 'id': '4666562c-358c-45b6-824c-2c6409d73a20', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': 'ff614d09-ec7d-4da1-aae5-31045c3a82a5', 'mac_address': '02:46:66:56:2c:35', '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': '40.30.16.3', 'subnet_id': 'fdf121ed-66e3-4a4a-b20f-10e5650aaade'}], 'security_groups': ['6b7dd4c7-b778-4d1c-ab7f-bbeac96c1c9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:48,855 - DEBUG - Created port 4666562c-358c-45b6-824c-2c6409d73a20
2025-08-28 16:46:48,972 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4666562c-358c-45b6-824c-2c6409d73a20
2025-08-28 16:46:49,280 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4666562c-358c-45b6-824c-2c6409d73a20
2025-08-28 16:46:49,316 - INFO - VMI 4666562c-358c-45b6-824c-2c6409d73a20 verification in API Server passed
2025-08-28 16:46:49,408 - DEBUG - Response for delete_port : ()
2025-08-28 16:46:49,408 - INFO - Deleted port 4666562c-358c-45b6-824c-2c6409d73a20
2025-08-28 16:46:49,408 - INFO - Deleting VN ctest-vn-98658094
2025-08-28 16:46:49,507 - DEBUG - Response for deleting network ()
2025-08-28 16:46:49,761 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 16:46:49,761 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-28 16:46:49,761 - INFO - --------------------------------------------------------------------------------
2025-08-28 16:46:49,763 - INFO - ================================================================================
2025-08-28 16:46:49,763 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-28 16:46:49,764 - 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-28 16:46:50,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-08-28 16:46:50,050 - INFO - Initial checks done. Running the testcase now
2025-08-28 16:46:50,050 - INFO -
2025-08-28 16:46:50,220 - DEBUG - Response for create_network : {'network': {'id': '6c852821-a517-4828-8894-bf94380c0310', 'name': 'ctest-vn1-44934646', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'project_id': '1431a720cd0f423aa77364ae5fde822d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71988431', 'ctest-vn1-44934646'], 'port_security_enabled': True, 'description': ''}}
2025-08-28 16:46:50,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '94fc70b3-f006-4bec-bb34-47ef0969dc6a', 'name': '', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': '6c852821-a517-4828-8894-bf94380c0310', 'ip_version': 4, 'cidr': '174.155.236.0/26', 'allocation_pools': [{'start': '174.155.236.2', 'end': '174.155.236.62'}], 'gateway_ip': '174.155.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.155.236.2', 'tags': [], 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:50,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd439aece-bd84-44f9-ab89-6b0a2abcf006', 'name': '', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': '6c852821-a517-4828-8894-bf94380c0310', 'ip_version': 4, 'cidr': '167.249.37.0/26', 'allocation_pools': [{'start': '167.249.37.2', 'end': '167.249.37.62'}], 'gateway_ip': '167.249.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.249.37.2', 'tags': [], 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:50,617 - INFO - Created VN ctest-vn1-44934646
2025-08-28 16:46:50,672 - DEBUG - VN ctest-vn1-44934646 UUID is 6c852821-a517-4828-8894-bf94380c0310
2025-08-28 16:46:50,958 - DEBUG - Response for create_port : {'port': {'name': '91fb5949-555e-40fe-91b9-f2e0ab1b0fe3', 'id': '91fb5949-555e-40fe-91b9-f2e0ab1b0fe3', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': '6c852821-a517-4828-8894-bf94380c0310', 'mac_address': '02:91:fb:59:49: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': '174.155.236.5', 'subnet_id': '94fc70b3-f006-4bec-bb34-47ef0969dc6a'}], 'security_groups': ['6b7dd4c7-b778-4d1c-ab7f-bbeac96c1c9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:51,123 - DEBUG - Response for create_port : {'port': {'name': '043acedf-59e2-49e5-a2e0-a36482d5d90e', 'id': '043acedf-59e2-49e5-a2e0-a36482d5d90e', 'tenant_id': '1431a720cd0f423aa77364ae5fde822d', 'network_id': '6c852821-a517-4828-8894-bf94380c0310', 'mac_address': '02:04:3a:ce:df:59', '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': '167.249.37.5', 'subnet_id': 'd439aece-bd84-44f9-ab89-6b0a2abcf006'}], 'security_groups': ['6b7dd4c7-b778-4d1c-ab7f-bbeac96c1c9e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1431a720cd0f423aa77364ae5fde822d'}}
2025-08-28 16:46:51,178 - DEBUG - Services list from nova: [, , ]
2025-08-28 16:46:51,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1)
2025-08-28 16:46:51,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1)
2025-08-28 16:46:51,881 - INFO - Waiting for VM ctest-vn1-vm1-86735426 to be up..
2025-08-28 16:46:51,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-28 16:46:56,991 - DEBUG - VM is in ACTIVE state now
2025-08-28 16:46:56,991 - INFO - VM name : ctest-vn1-vm1-86735426
2025-08-28 16:46:57,066 - DEBUG - VM ctest-vn1-vm1-86735426 ID is 64e0cc43-6897-4598-8e64-816eb83ca949
2025-08-28 16:46:57,088 - DEBUG - VM ctest-vn1-vm1-86735426 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1
2025-08-28 16:46:57,162 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/64e0cc43-6897-4598-8e64-816eb83ca949
2025-08-28 16:46:57,170 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/91fb5949-555e-40fe-91b9-f2e0ab1b0fe3
2025-08-28 16:47:00,411 - 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-08-28 16:47:00,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86735426 failed!
2025-08-28 16:47:00,464 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71988431:ctest-vn1-44934646 is 174.155.236.1 and allocation pool is NOT set
2025-08-28 16:47:00,464 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71988431:ctest-vn1-44934646 is 167.249.37.1 and allocation pool is NOT set
2025-08-28 16:47:02,531 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.902 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 = 0.902/2.630/4.359/1.728 ms')
2025-08-28 16:47:02,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86735426 passed
2025-08-28 16:47:02,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:02,681 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86735426, IP 174.155.236.5, Port 22
2025-08-28 16:47:02,746 - 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-08-28 16:47:02,818 - DEBUG - VM ctest-vn1-vm1-86735426 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-28 16:47:07,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:07,819 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86735426, IP 174.155.236.5, Port 22
2025-08-28 16:47:07,976 - DEBUG - VM ctest-vn1-vm1-86735426 is ready for SSH connections
2025-08-28 16:47:07,976 - INFO - Waiting for VM ctest-vn1-vm2-57044082 to be up..
2025-08-28 16:47:08,054 - DEBUG - VM is in ACTIVE state now
2025-08-28 16:47:08,054 - INFO - VM name : ctest-vn1-vm2-57044082
2025-08-28 16:47:08,133 - DEBUG - VM ctest-vn1-vm2-57044082 ID is 66414c8c-a51e-4065-b550-019513b5a3ed
2025-08-28 16:47:08,133 - DEBUG - VM ctest-vn1-vm2-57044082 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1
2025-08-28 16:47:08,201 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/66414c8c-a51e-4065-b550-019513b5a3ed
2025-08-28 16:47:08,210 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/043acedf-59e2-49e5-a2e0-a36482d5d90e
2025-08-28 16:47:09,446 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.733/2.990/1.256 ms')
2025-08-28 16:47:09,446 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57044082 passed
2025-08-28 16:47:09,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:09,592 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57044082, IP 167.249.37.5, Port 22
2025-08-28 16:47:09,752 - DEBUG - VM ctest-vn1-vm2-57044082 is ready for SSH connections
2025-08-28 16:47:09,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:09,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:09,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-28 16:47:09,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.155.236.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-28 16:47:09,752 - DEBUG - ping -s 56 -c 3 -W 1 174.155.236.5
2025-08-28 16:47:12,427 - DEBUG - PING 174.155.236.5 (174.155.236.5): 56 data bytes
64 bytes from 174.155.236.5: seq=0 ttl=63 time=4.064 ms
64 bytes from 174.155.236.5: seq=1 ttl=63 time=0.839 ms
64 bytes from 174.155.236.5: seq=2 ttl=63 time=1.174 ms
--- 174.155.236.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.839/2.025/4.064 ms
2025-08-28 16:47:12,427 - INFO - Ping to IP 174.155.236.5 from VM ctest-vn1-vm2-57044082 passed
2025-08-28 16:47:12,427 - INFO - Detaching port 043acedf-59e2-49e5-a2e0-a36482d5d90e from VM ctest-vn1-vm2-57044082
2025-08-28 16:47:12,480 - INFO - Deleting VM ctest-vn1-vm2-57044082
2025-08-28 16:47:12,547 - INFO - Detaching port 91fb5949-555e-40fe-91b9-f2e0ab1b0fe3 from VM ctest-vn1-vm1-86735426
2025-08-28 16:47:12,586 - INFO - Deleting VM ctest-vn1-vm1-86735426
2025-08-28 16:47:12,821 - DEBUG - Response for delete_port : ()
2025-08-28 16:47:12,981 - DEBUG - Response for delete_port : ()
2025-08-28 16:47:12,981 - INFO - Deleting VN ctest-vn1-44934646
2025-08-28 16:47:13,130 - DEBUG - Response for deleting network ()
2025-08-28 16:47:13,386 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 16:47:13,386 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-28 16:47:13,386 - INFO - --------------------------------------------------------------------------------
2025-08-28 16:47:14,192 - INFO - Deleted project: ctest-TestPorts-71988431, ID : 1431a720-cd0f-423a-a773-64ae5fde822d