2025-08-27 09:34:34,520 - INFO - Domain Default found not creating
2025-08-27 09:34:34,679 - INFO - Project ctest-TestPorts-76947842 not found, creating it
2025-08-27 09:34:35,138 - INFO - Created Project:ctest-TestPorts-76947842, ID : b110125a-5529-458e-af5b-1172d3da714e
2025-08-27 09:34:36,716 - INFO - ================================================================================
2025-08-27 09:34:36,717 - INFO - STARTING TEST : test_ports_bindings
2025-08-27 09:34:36,717 - 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-27 09:34:36,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-27 09:34:36,992 - INFO - Initial checks done. Running the testcase now
2025-08-27 09:34:36,992 - INFO -
2025-08-27 09:34:37,567 - DEBUG - Response for create_network : {'network': {'id': '685a8c18-4f3b-46e2-9db6-8d1d060831b2', 'name': 'ctest-vn-41788108', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'project_id': 'b110125a5529458eaf5b1172d3da714e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76947842', 'ctest-vn-41788108'], 'port_security_enabled': True, 'description': ''}}
2025-08-27 09:34:37,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '43e201fc-945a-4cef-aab8-de4795c33331', 'name': '', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '685a8c18-4f3b-46e2-9db6-8d1d060831b2', 'ip_version': 4, 'cidr': '72.220.137.128/26', 'allocation_pools': [{'start': '72.220.137.130', 'end': '72.220.137.190'}], 'gateway_ip': '72.220.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.220.137.130', 'tags': [], 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:37,773 - INFO - Created VN ctest-vn-41788108
2025-08-27 09:34:37,828 - DEBUG - VN ctest-vn-41788108 UUID is 685a8c18-4f3b-46e2-9db6-8d1d060831b2
2025-08-27 09:34:37,940 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76947842', 'ctest-vmi-40701728']}
2025-08-27 09:34:38,199 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40701728', 'id': 'c10a865c-7511-4757-9463-f0aa88a2bb7c', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '685a8c18-4f3b-46e2-9db6-8d1d060831b2', 'mac_address': '02:c1:0a:86:5c:75', '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': '72.220.137.131', 'subnet_id': '43e201fc-945a-4cef-aab8-de4795c33331'}], 'security_groups': ['7ae3da48-5043-4ccb-8973-6fa896ba2e61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:38,199 - DEBUG - Created port c10a865c-7511-4757-9463-f0aa88a2bb7c
2025-08-27 09:34:38,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c10a865c-7511-4757-9463-f0aa88a2bb7c
2025-08-27 09:34:38,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c10a865c-7511-4757-9463-f0aa88a2bb7c
2025-08-27 09:34:38,636 - INFO - VMI c10a865c-7511-4757-9463-f0aa88a2bb7c verification in API Server passed
2025-08-27 09:34:38,725 - DEBUG - Response for delete_port : ()
2025-08-27 09:34:38,725 - INFO - Deleted port c10a865c-7511-4757-9463-f0aa88a2bb7c
2025-08-27 09:34:38,725 - INFO - Deleting VN ctest-vn-41788108
2025-08-27 09:34:38,828 - DEBUG - Response for deleting network ()
2025-08-27 09:34:39,085 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 09:34:39,085 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-27 09:34:39,085 - INFO - --------------------------------------------------------------------------------
2025-08-27 09:34:39,088 - INFO - ================================================================================
2025-08-27 09:34:39,088 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-27 09:34:39,088 - 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-27 09:34:39,373 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-27 09:34:39,374 - INFO - Initial checks done. Running the testcase now
2025-08-27 09:34:39,374 - INFO -
2025-08-27 09:34:39,554 - DEBUG - Response for create_network : {'network': {'id': '79a3f4f6-dd59-4c56-b735-ba368d1c9533', 'name': 'ctest-vn1-64037057', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'project_id': 'b110125a5529458eaf5b1172d3da714e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76947842', 'ctest-vn1-64037057'], 'port_security_enabled': True, 'description': ''}}
2025-08-27 09:34:39,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '75767383-9cc7-4f06-bad9-83c060dffb63', 'name': '', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '79a3f4f6-dd59-4c56-b735-ba368d1c9533', 'ip_version': 4, 'cidr': '129.231.190.192/26', 'allocation_pools': [{'start': '129.231.190.194', 'end': '129.231.190.254'}], 'gateway_ip': '129.231.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.231.190.194', 'tags': [], 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:39,960 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a55d7e95-f9c7-40dc-973a-583b0c4b08ab', 'name': '', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '79a3f4f6-dd59-4c56-b735-ba368d1c9533', 'ip_version': 4, 'cidr': '185.113.95.64/26', 'allocation_pools': [{'start': '185.113.95.66', 'end': '185.113.95.126'}], 'gateway_ip': '185.113.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.113.95.66', 'tags': [], 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:39,980 - INFO - Created VN ctest-vn1-64037057
2025-08-27 09:34:40,032 - DEBUG - VN ctest-vn1-64037057 UUID is 79a3f4f6-dd59-4c56-b735-ba368d1c9533
2025-08-27 09:34:40,355 - DEBUG - Response for create_port : {'port': {'name': 'd4c64aa4-a6e3-4274-b82d-96491301f330', 'id': 'd4c64aa4-a6e3-4274-b82d-96491301f330', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '79a3f4f6-dd59-4c56-b735-ba368d1c9533', 'mac_address': '02:d4:c6:4a:a4:a6', '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': '129.231.190.197', 'subnet_id': '75767383-9cc7-4f06-bad9-83c060dffb63'}], 'security_groups': ['7ae3da48-5043-4ccb-8973-6fa896ba2e61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:40,530 - DEBUG - Response for create_port : {'port': {'name': 'bdd8a56e-41df-44b2-9e6d-f0ceeb16cf88', 'id': 'bdd8a56e-41df-44b2-9e6d-f0ceeb16cf88', 'tenant_id': 'b110125a5529458eaf5b1172d3da714e', 'network_id': '79a3f4f6-dd59-4c56-b735-ba368d1c9533', 'mac_address': '02:bd:d8:a5:6e:41', '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': '185.113.95.69', 'subnet_id': 'a55d7e95-f9c7-40dc-973a-583b0c4b08ab'}], 'security_groups': ['7ae3da48-5043-4ccb-8973-6fa896ba2e61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b110125a5529458eaf5b1172d3da714e'}}
2025-08-27 09:34:40,589 - DEBUG - Services list from nova: [, , ]
2025-08-27 09:34:40,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1)
2025-08-27 09:34:41,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3947-1)
2025-08-27 09:34:41,382 - INFO - Waiting for VM ctest-vn1-vm1-77246744 to be up..
2025-08-27 09:34:41,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-27 09:34:46,523 - DEBUG - VM is in ACTIVE state now
2025-08-27 09:34:46,523 - INFO - VM name : ctest-vn1-vm1-77246744
2025-08-27 09:34:46,607 - DEBUG - VM ctest-vn1-vm1-77246744 ID is baf3a50e-4278-428a-8782-1f104f5666b8
2025-08-27 09:34:46,628 - DEBUG - VM ctest-vn1-vm1-77246744 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1
2025-08-27 09:34:46,708 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/baf3a50e-4278-428a-8782-1f104f5666b8
2025-08-27 09:34:46,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d4c64aa4-a6e3-4274-b82d-96491301f330
2025-08-27 09:34:49,970 - 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 1021ms')
2025-08-27 09:34:49,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77246744 failed!
2025-08-27 09:34:50,028 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76947842:ctest-vn1-64037057 is 129.231.190.193 and allocation pool is NOT set
2025-08-27 09:34:50,028 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76947842:ctest-vn1-64037057 is 185.113.95.65 and allocation pool is NOT set
2025-08-27 09:34:54,106 - 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=2 ttl=63 time=8.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 8.941/8.941/8.941/0.000 ms')
2025-08-27 09:34:54,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77246744 passed
2025-08-27 09:34:54,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:34:54,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77246744, IP 129.231.190.197, Port 22
2025-08-27 09:34:54,326 - 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-27 09:34:54,412 - DEBUG - VM ctest-vn1-vm1-77246744 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-27 09:34:59,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:34:59,414 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77246744, IP 129.231.190.197, Port 22
2025-08-27 09:34:59,571 - DEBUG - VM ctest-vn1-vm1-77246744 is ready for SSH connections
2025-08-27 09:34:59,571 - INFO - Waiting for VM ctest-vn1-vm2-78739938 to be up..
2025-08-27 09:34:59,643 - DEBUG - VM is in ACTIVE state now
2025-08-27 09:34:59,644 - INFO - VM name : ctest-vn1-vm2-78739938
2025-08-27 09:34:59,730 - DEBUG - VM ctest-vn1-vm2-78739938 ID is ad5d3817-4b4d-4f19-b6fd-b3e481bc4a1b
2025-08-27 09:34:59,730 - DEBUG - VM ctest-vn1-vm2-78739938 launched on Node cn-jenkins-deploy-platform-ansible-os-3947-1
2025-08-27 09:34:59,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ad5d3817-4b4d-4f19-b6fd-b3e481bc4a1b
2025-08-27 09:34:59,968 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bdd8a56e-41df-44b2-9e6d-f0ceeb16cf88
2025-08-27 09:35:01,230 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.781/3.084/1.303 ms')
2025-08-27 09:35:01,230 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78739938 passed
2025-08-27 09:35:01,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:35:01,380 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78739938, IP 185.113.95.69, Port 22
2025-08-27 09:35:01,535 - DEBUG - VM ctest-vn1-vm2-78739938 is ready for SSH connections
2025-08-27 09:35:01,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:35:01,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:35:01,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-27 09:35:01,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.231.190.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-27 09:35:01,536 - DEBUG - ping -s 56 -c 3 -W 1 129.231.190.197
2025-08-27 09:35:04,234 - DEBUG - PING 129.231.190.197 (129.231.190.197): 56 data bytes
64 bytes from 129.231.190.197: seq=0 ttl=63 time=4.117 ms
64 bytes from 129.231.190.197: seq=1 ttl=63 time=1.118 ms
64 bytes from 129.231.190.197: seq=2 ttl=63 time=0.970 ms
--- 129.231.190.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.970/2.068/4.117 ms
2025-08-27 09:35:04,234 - INFO - Ping to IP 129.231.190.197 from VM ctest-vn1-vm2-78739938 passed
2025-08-27 09:35:04,234 - INFO - Detaching port bdd8a56e-41df-44b2-9e6d-f0ceeb16cf88 from VM ctest-vn1-vm2-78739938
2025-08-27 09:35:04,315 - INFO - Deleting VM ctest-vn1-vm2-78739938
2025-08-27 09:35:04,402 - INFO - Detaching port d4c64aa4-a6e3-4274-b82d-96491301f330 from VM ctest-vn1-vm1-77246744
2025-08-27 09:35:04,446 - INFO - Deleting VM ctest-vn1-vm1-77246744
2025-08-27 09:35:04,732 - DEBUG - Response for delete_port : ()
2025-08-27 09:35:04,950 - DEBUG - Response for delete_port : ()
2025-08-27 09:35:04,950 - INFO - Deleting VN ctest-vn1-64037057
2025-08-27 09:35:05,113 - DEBUG - Response for deleting network ()
2025-08-27 09:35:05,380 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 09:35:05,380 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-27 09:35:05,380 - INFO - --------------------------------------------------------------------------------
2025-08-27 09:35:06,097 - INFO - Deleted project: ctest-TestPorts-76947842, ID : b110125a-5529-458e-af5b-1172d3da714e