2025-09-04 12:31:52,275 - INFO - Domain Default found not creating
2025-09-04 12:31:52,414 - INFO - Project ctest-TestPorts-86319328 not found, creating it
2025-09-04 12:31:52,833 - INFO - Created Project:ctest-TestPorts-86319328, ID : 5762d8bd-ab6b-4141-ba26-9c84880b40db
2025-09-04 12:31:54,265 - INFO - ================================================================================
2025-09-04 12:31:54,265 - INFO - STARTING TEST : test_ports_bindings
2025-09-04 12:31:54,265 - 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-04 12:31:54,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-04 12:31:54,522 - INFO - Initial checks done. Running the testcase now
2025-09-04 12:31:54,522 - INFO -
2025-09-04 12:31:55,037 - DEBUG - Response for create_network : {'network': {'id': '8c42edf8-1960-49e9-89d6-7720dc5b712f', 'name': 'ctest-vn-10142841', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'project_id': '5762d8bdab6b4141ba269c84880b40db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86319328', 'ctest-vn-10142841'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 12:31:55,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb0cda2-9a07-45f5-9d87-346a2561f72d', 'name': '', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': '8c42edf8-1960-49e9-89d6-7720dc5b712f', 'ip_version': 4, 'cidr': '116.120.31.0/26', 'allocation_pools': [{'start': '116.120.31.2', 'end': '116.120.31.62'}], 'gateway_ip': '116.120.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.120.31.2', 'tags': [], 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:55,222 - INFO - Created VN ctest-vn-10142841
2025-09-04 12:31:55,274 - DEBUG - VN ctest-vn-10142841 UUID is 8c42edf8-1960-49e9-89d6-7720dc5b712f
2025-09-04 12:31:55,376 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86319328', 'ctest-vmi-81157452']}
2025-09-04 12:31:55,631 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81157452', 'id': '6e300ae7-8197-467a-86a2-2e96c2ae658a', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': '8c42edf8-1960-49e9-89d6-7720dc5b712f', 'mac_address': '02:6e:30:0a:e7:81', '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': '116.120.31.3', 'subnet_id': '0cb0cda2-9a07-45f5-9d87-346a2561f72d'}], 'security_groups': ['5e659b10-5556-436b-bb22-3c5fac1a1af4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:55,631 - DEBUG - Created port 6e300ae7-8197-467a-86a2-2e96c2ae658a
2025-09-04 12:31:55,738 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e300ae7-8197-467a-86a2-2e96c2ae658a
2025-09-04 12:31:56,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e300ae7-8197-467a-86a2-2e96c2ae658a
2025-09-04 12:31:56,054 - INFO - VMI 6e300ae7-8197-467a-86a2-2e96c2ae658a verification in API Server passed
2025-09-04 12:31:56,132 - DEBUG - Response for delete_port : ()
2025-09-04 12:31:56,132 - INFO - Deleted port 6e300ae7-8197-467a-86a2-2e96c2ae658a
2025-09-04 12:31:56,133 - INFO - Deleting VN ctest-vn-10142841
2025-09-04 12:31:56,229 - DEBUG - Response for deleting network ()
2025-09-04 12:31:56,486 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 12:31:56,487 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-04 12:31:56,487 - INFO - --------------------------------------------------------------------------------
2025-09-04 12:31:56,489 - INFO - ================================================================================
2025-09-04 12:31:56,489 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-04 12:31:56,489 - 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-04 12:31:56,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-04 12:31:56,778 - INFO - Initial checks done. Running the testcase now
2025-09-04 12:31:56,778 - INFO -
2025-09-04 12:31:56,942 - DEBUG - Response for create_network : {'network': {'id': 'b224f467-4eaa-4256-8b22-113354464415', 'name': 'ctest-vn1-42079192', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'project_id': '5762d8bdab6b4141ba269c84880b40db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86319328', 'ctest-vn1-42079192'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 12:31:57,136 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a18f278a-b772-4a26-bd4c-eaeedc20fab4', 'name': '', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': 'b224f467-4eaa-4256-8b22-113354464415', 'ip_version': 4, 'cidr': '150.3.30.64/26', 'allocation_pools': [{'start': '150.3.30.66', 'end': '150.3.30.126'}], 'gateway_ip': '150.3.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.3.30.66', 'tags': [], 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:57,293 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd936fd9-3075-4aa7-9337-b44d4137b744', 'name': '', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': 'b224f467-4eaa-4256-8b22-113354464415', 'ip_version': 4, 'cidr': '105.181.27.192/26', 'allocation_pools': [{'start': '105.181.27.194', 'end': '105.181.27.254'}], 'gateway_ip': '105.181.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.181.27.194', 'tags': [], 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:57,311 - INFO - Created VN ctest-vn1-42079192
2025-09-04 12:31:57,362 - DEBUG - VN ctest-vn1-42079192 UUID is b224f467-4eaa-4256-8b22-113354464415
2025-09-04 12:31:57,656 - DEBUG - Response for create_port : {'port': {'name': '6df33513-efd9-4d89-9b16-f0b793ee62a4', 'id': '6df33513-efd9-4d89-9b16-f0b793ee62a4', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': 'b224f467-4eaa-4256-8b22-113354464415', 'mac_address': '02:6d:f3:35:13:ef', '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': '150.3.30.69', 'subnet_id': 'a18f278a-b772-4a26-bd4c-eaeedc20fab4'}], 'security_groups': ['5e659b10-5556-436b-bb22-3c5fac1a1af4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:57,806 - DEBUG - Response for create_port : {'port': {'name': '6f6b9499-f3be-4202-b939-845de6d3360a', 'id': '6f6b9499-f3be-4202-b939-845de6d3360a', 'tenant_id': '5762d8bdab6b4141ba269c84880b40db', 'network_id': 'b224f467-4eaa-4256-8b22-113354464415', 'mac_address': '02:6f:6b:94:99:f3', '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': '105.181.27.197', 'subnet_id': 'fd936fd9-3075-4aa7-9337-b44d4137b744'}], 'security_groups': ['5e659b10-5556-436b-bb22-3c5fac1a1af4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5762d8bdab6b4141ba269c84880b40db'}}
2025-09-04 12:31:57,854 - DEBUG - Services list from nova: [, , ]
2025-09-04 12:31:58,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1)
2025-09-04 12:31:58,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1)
2025-09-04 12:31:58,473 - INFO - Waiting for VM ctest-vn1-vm1-76015175 to be up..
2025-09-04 12:31:58,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 12:32:03,584 - DEBUG - VM is in ACTIVE state now
2025-09-04 12:32:03,584 - INFO - VM name : ctest-vn1-vm1-76015175
2025-09-04 12:32:03,656 - DEBUG - VM ctest-vn1-vm1-76015175 ID is cb10d7f6-5b77-42e1-a57f-ff5881409480
2025-09-04 12:32:03,673 - DEBUG - VM ctest-vn1-vm1-76015175 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1
2025-09-04 12:32:03,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb10d7f6-5b77-42e1-a57f-ff5881409480
2025-09-04 12:32:03,883 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6df33513-efd9-4d89-9b16-f0b793ee62a4
2025-09-04 12:32:07,129 - 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 1011ms')
2025-09-04 12:32:07,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76015175 failed!
2025-09-04 12:32:07,182 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86319328:ctest-vn1-42079192 is 150.3.30.65 and allocation pool is NOT set
2025-09-04 12:32:07,182 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86319328:ctest-vn1-42079192 is 105.181.27.193 and allocation pool is NOT set
2025-09-04 12:32:09,248 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/1.620/2.749/1.129 ms')
2025-09-04 12:32:09,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76015175 passed
2025-09-04 12:32:09,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:09,398 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76015175, IP 150.3.30.69, Port 22
2025-09-04 12:32:09,553 - DEBUG - VM ctest-vn1-vm1-76015175 is ready for SSH connections
2025-09-04 12:32:09,553 - INFO - Waiting for VM ctest-vn1-vm2-40853812 to be up..
2025-09-04 12:32:09,622 - DEBUG - VM is in ACTIVE state now
2025-09-04 12:32:09,622 - INFO - VM name : ctest-vn1-vm2-40853812
2025-09-04 12:32:09,689 - DEBUG - VM ctest-vn1-vm2-40853812 ID is d3512b13-08fe-4151-8e22-124451ef846f
2025-09-04 12:32:09,689 - DEBUG - VM ctest-vn1-vm2-40853812 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1
2025-09-04 12:32:09,757 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d3512b13-08fe-4151-8e22-124451ef846f
2025-09-04 12:32:09,765 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6f6b9499-f3be-4202-b939-845de6d3360a
2025-09-04 12:32:11,002 - 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=4.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.100/3.017/4.934/1.917 ms')
2025-09-04 12:32:11,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40853812 passed
2025-09-04 12:32:11,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:11,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40853812, IP 105.181.27.197, Port 22
2025-09-04 12:32:11,206 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-09-04 12:32:11,273 - DEBUG - VM ctest-vn1-vm2-40853812 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 12:32:16,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:16,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40853812, IP 105.181.27.197, Port 22
2025-09-04 12:32:16,429 - DEBUG - VM ctest-vn1-vm2-40853812 is ready for SSH connections
2025-09-04 12:32:16,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:16,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:16,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 12:32:16,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.3.30.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-04 12:32:16,430 - DEBUG - ping -s 56 -c 3 -W 1 150.3.30.69
2025-09-04 12:32:19,085 - DEBUG - PING 150.3.30.69 (150.3.30.69): 56 data bytes
64 bytes from 150.3.30.69: seq=0 ttl=63 time=3.381 ms
64 bytes from 150.3.30.69: seq=1 ttl=63 time=1.012 ms
64 bytes from 150.3.30.69: seq=2 ttl=63 time=0.783 ms
--- 150.3.30.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.783/1.725/3.381 ms
2025-09-04 12:32:19,085 - INFO - Ping to IP 150.3.30.69 from VM ctest-vn1-vm2-40853812 passed
2025-09-04 12:32:19,085 - INFO - Detaching port 6f6b9499-f3be-4202-b939-845de6d3360a from VM ctest-vn1-vm2-40853812
2025-09-04 12:32:19,130 - INFO - Deleting VM ctest-vn1-vm2-40853812
2025-09-04 12:32:19,190 - INFO - Detaching port 6df33513-efd9-4d89-9b16-f0b793ee62a4 from VM ctest-vn1-vm1-76015175
2025-09-04 12:32:19,219 - INFO - Deleting VM ctest-vn1-vm1-76015175
2025-09-04 12:32:19,412 - DEBUG - Response for delete_port : ()
2025-09-04 12:32:19,588 - DEBUG - Response for delete_port : ()
2025-09-04 12:32:19,588 - INFO - Deleting VN ctest-vn1-42079192
2025-09-04 12:32:19,716 - DEBUG - Response for deleting network ()
2025-09-04 12:32:19,978 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 12:32:19,978 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-04 12:32:19,979 - INFO - --------------------------------------------------------------------------------
2025-09-04 12:32:20,653 - INFO - Deleted project: ctest-TestPorts-86319328, ID : 5762d8bd-ab6b-4141-ba26-9c84880b40db