2025-10-13 12:50:38,042 - INFO - Domain Default found not creating
2025-10-13 12:50:38,176 - INFO - Project ctest-TestPorts-82012698 not found, creating it
2025-10-13 12:50:38,606 - INFO - Created Project:ctest-TestPorts-82012698, ID : d261aa50-3e57-4cc0-8480-fb68d420983d
2025-10-13 12:50:40,554 - INFO - ================================================================================
2025-10-13 12:50:40,554 - INFO - STARTING TEST : test_ports_bindings
2025-10-13 12:50:40,554 - 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-10-13 12:50:40,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with
2025-10-13 12:50:40,810 - INFO - Initial checks done. Running the testcase now
2025-10-13 12:50:40,810 - INFO -
2025-10-13 12:50:41,307 - DEBUG - Response for create_network : {'network': {'id': 'ddf59aeb-2251-40a7-99a6-381a992518d0', 'name': 'ctest-vn-75207643', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'project_id': 'd261aa503e574cc08480fb68d420983d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82012698', 'ctest-vn-75207643'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 12:50:41,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dee46d80-cce1-496f-90f2-943ff70e457e', 'name': '', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': 'ddf59aeb-2251-40a7-99a6-381a992518d0', 'ip_version': 4, 'cidr': '141.24.33.128/26', 'allocation_pools': [{'start': '141.24.33.130', 'end': '141.24.33.190'}], 'gateway_ip': '141.24.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.24.33.130', 'tags': [], 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:41,506 - INFO - Created VN ctest-vn-75207643
2025-10-13 12:50:41,557 - DEBUG - VN ctest-vn-75207643 UUID is ddf59aeb-2251-40a7-99a6-381a992518d0
2025-10-13 12:50:41,666 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82012698', 'ctest-vmi-34245204']}
2025-10-13 12:50:41,891 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34245204', 'id': 'a1924797-a49b-47f7-a11d-99ec0b01efe4', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': 'ddf59aeb-2251-40a7-99a6-381a992518d0', 'mac_address': '02:a1:92:47:97:a4', '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': '141.24.33.131', 'subnet_id': 'dee46d80-cce1-496f-90f2-943ff70e457e'}], 'security_groups': ['c75f317c-f272-40f2-82ae-e6d6458975b7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:41,891 - DEBUG - Created port a1924797-a49b-47f7-a11d-99ec0b01efe4
2025-10-13 12:50:41,997 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/a1924797-a49b-47f7-a11d-99ec0b01efe4
2025-10-13 12:50:42,287 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/a1924797-a49b-47f7-a11d-99ec0b01efe4
2025-10-13 12:50:42,318 - INFO - VMI a1924797-a49b-47f7-a11d-99ec0b01efe4 verification in API Server passed
2025-10-13 12:50:42,403 - DEBUG - Response for delete_port : ()
2025-10-13 12:50:42,403 - INFO - Deleted port a1924797-a49b-47f7-a11d-99ec0b01efe4
2025-10-13 12:50:42,403 - INFO - Deleting VN ctest-vn-75207643
2025-10-13 12:50:42,497 - DEBUG - Response for deleting network ()
2025-10-13 12:50:42,755 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 12:50:42,755 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-13 12:50:42,755 - INFO - --------------------------------------------------------------------------------
2025-10-13 12:50:42,758 - INFO - ================================================================================
2025-10-13 12:50:42,758 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-13 12:50:42,758 - 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-10-13 12:50:43,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with
2025-10-13 12:50:43,042 - INFO - Initial checks done. Running the testcase now
2025-10-13 12:50:43,042 - INFO -
2025-10-13 12:50:43,207 - DEBUG - Response for create_network : {'network': {'id': '5e33649e-94bd-4c97-8d6a-55e2d2bb338d', 'name': 'ctest-vn1-57465056', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'project_id': 'd261aa503e574cc08480fb68d420983d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82012698', 'ctest-vn1-57465056'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 12:50:43,390 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd422c160-116a-4317-bfb4-40203bc2d01d', 'name': '', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': '5e33649e-94bd-4c97-8d6a-55e2d2bb338d', 'ip_version': 4, 'cidr': '183.202.226.0/26', 'allocation_pools': [{'start': '183.202.226.2', 'end': '183.202.226.62'}], 'gateway_ip': '183.202.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.202.226.2', 'tags': [], 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:43,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ef653f0-79db-4eaf-8c4c-bd2af3f6bb93', 'name': '', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': '5e33649e-94bd-4c97-8d6a-55e2d2bb338d', 'ip_version': 4, 'cidr': '164.31.247.192/26', 'allocation_pools': [{'start': '164.31.247.194', 'end': '164.31.247.254'}], 'gateway_ip': '164.31.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.31.247.194', 'tags': [], 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:43,548 - INFO - Created VN ctest-vn1-57465056
2025-10-13 12:50:43,601 - DEBUG - VN ctest-vn1-57465056 UUID is 5e33649e-94bd-4c97-8d6a-55e2d2bb338d
2025-10-13 12:50:43,897 - DEBUG - Response for create_port : {'port': {'name': '924a5cfb-b711-4ab2-b2f7-3ae92379dadc', 'id': '924a5cfb-b711-4ab2-b2f7-3ae92379dadc', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': '5e33649e-94bd-4c97-8d6a-55e2d2bb338d', 'mac_address': '02:92:4a:5c:fb:b7', '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': '183.202.226.5', 'subnet_id': 'd422c160-116a-4317-bfb4-40203bc2d01d'}], 'security_groups': ['c75f317c-f272-40f2-82ae-e6d6458975b7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:44,072 - DEBUG - Response for create_port : {'port': {'name': '3aa8add3-0688-43d2-95e8-755b73ff44f2', 'id': '3aa8add3-0688-43d2-95e8-755b73ff44f2', 'tenant_id': 'd261aa503e574cc08480fb68d420983d', 'network_id': '5e33649e-94bd-4c97-8d6a-55e2d2bb338d', 'mac_address': '02:3a:a8:ad:d3:06', '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': '164.31.247.197', 'subnet_id': '4ef653f0-79db-4eaf-8c4c-bd2af3f6bb93'}], 'security_groups': ['c75f317c-f272-40f2-82ae-e6d6458975b7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd261aa503e574cc08480fb68d420983d'}}
2025-10-13 12:50:44,130 - DEBUG - Services list from nova: [, , ]
2025-10-13 12:50:44,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1)
2025-10-13 12:50:44,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1)
2025-10-13 12:50:44,808 - INFO - Waiting for VM ctest-vn1-vm1-47395081 to be up..
2025-10-13 12:50:44,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 12:50:49,917 - DEBUG - VM is in ACTIVE state now
2025-10-13 12:50:49,917 - INFO - VM name : ctest-vn1-vm1-47395081
2025-10-13 12:50:50,106 - DEBUG - VM ctest-vn1-vm1-47395081 ID is df44619b-286e-408b-8295-be582003bcb0
2025-10-13 12:50:50,123 - DEBUG - VM ctest-vn1-vm1-47395081 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1
2025-10-13 12:50:50,186 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/df44619b-286e-408b-8295-be582003bcb0
2025-10-13 12:50:50,195 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/924a5cfb-b711-4ab2-b2f7-3ae92379dadc
2025-10-13 12:50:53,462 - 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-10-13 12:50:53,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47395081 failed!
2025-10-13 12:50:53,517 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82012698:ctest-vn1-57465056 is 183.202.226.1 and allocation pool is NOT set
2025-10-13 12:50:53,517 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82012698:ctest-vn1-57465056 is 164.31.247.193 and allocation pool is NOT set
2025-10-13 12:50:55,574 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.772 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.772/2.684/4.597/1.912 ms')
2025-10-13 12:50:55,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47395081 passed
2025-10-13 12:50:55,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:50:55,725 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47395081, IP 183.202.226.5, Port 22
2025-10-13 12:50:55,888 - DEBUG - VM ctest-vn1-vm1-47395081 is ready for SSH connections
2025-10-13 12:50:55,888 - INFO - Waiting for VM ctest-vn1-vm2-34505615 to be up..
2025-10-13 12:50:55,959 - DEBUG - VM is in ACTIVE state now
2025-10-13 12:50:55,959 - INFO - VM name : ctest-vn1-vm2-34505615
2025-10-13 12:50:56,028 - DEBUG - VM ctest-vn1-vm2-34505615 ID is 482dee0f-186b-4a0a-8cf4-da2558d910d2
2025-10-13 12:50:56,028 - DEBUG - VM ctest-vn1-vm2-34505615 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1
2025-10-13 12:50:56,104 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/482dee0f-186b-4a0a-8cf4-da2558d910d2
2025-10-13 12:50:56,113 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3aa8add3-0688-43d2-95e8-755b73ff44f2
2025-10-13 12:50:57,356 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.581/2.706/1.125 ms')
2025-10-13 12:50:57,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34505615 passed
2025-10-13 12:50:57,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:50:57,509 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34505615, IP 164.31.247.197, Port 22
2025-10-13 12:50:57,660 - DEBUG - VM ctest-vn1-vm2-34505615 is ready for SSH connections
2025-10-13 12:50:57,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:50:57,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:50:57,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 12:50:57,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.202.226.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-10-13 12:50:57,661 - DEBUG - ping -s 56 -c 3 -W 1 183.202.226.5
2025-10-13 12:51:00,310 - DEBUG - PING 183.202.226.5 (183.202.226.5): 56 data bytes
64 bytes from 183.202.226.5: seq=0 ttl=63 time=3.407 ms
64 bytes from 183.202.226.5: seq=1 ttl=63 time=0.741 ms
64 bytes from 183.202.226.5: seq=2 ttl=63 time=0.770 ms
--- 183.202.226.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.741/1.639/3.407 ms
2025-10-13 12:51:00,310 - INFO - Ping to IP 183.202.226.5 from VM ctest-vn1-vm2-34505615 passed
2025-10-13 12:51:00,310 - INFO - Detaching port 3aa8add3-0688-43d2-95e8-755b73ff44f2 from VM ctest-vn1-vm2-34505615
2025-10-13 12:51:00,356 - INFO - Deleting VM ctest-vn1-vm2-34505615
2025-10-13 12:51:00,417 - INFO - Detaching port 924a5cfb-b711-4ab2-b2f7-3ae92379dadc from VM ctest-vn1-vm1-47395081
2025-10-13 12:51:00,450 - INFO - Deleting VM ctest-vn1-vm1-47395081
2025-10-13 12:51:00,660 - DEBUG - Response for delete_port : ()
2025-10-13 12:51:00,862 - DEBUG - Response for delete_port : ()
2025-10-13 12:51:00,863 - INFO - Deleting VN ctest-vn1-57465056
2025-10-13 12:51:01,019 - DEBUG - Response for deleting network ()
2025-10-13 12:51:01,274 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 12:51:01,274 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-13 12:51:01,274 - INFO - --------------------------------------------------------------------------------
2025-10-13 12:51:01,959 - INFO - Deleted project: ctest-TestPorts-82012698, ID : d261aa50-3e57-4cc0-8480-fb68d420983d