2025-09-04 20:24:03,698 - INFO - Domain Default found not creating
2025-09-04 20:24:03,846 - INFO - Project ctest-TestPorts-17716636 not found, creating it
2025-09-04 20:24:04,307 - INFO - Created Project:ctest-TestPorts-17716636, ID : 497e193b-2649-4c09-8899-e792af13d79f
2025-09-04 20:24:05,865 - INFO - ================================================================================
2025-09-04 20:24:05,865 - INFO - STARTING TEST : test_ports_bindings
2025-09-04 20:24:05,865 - 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 20:24:06,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-04 20:24:06,124 - INFO - Initial checks done. Running the testcase now
2025-09-04 20:24:06,124 - INFO -
2025-09-04 20:24:06,701 - DEBUG - Response for create_network : {'network': {'id': 'f1424bcc-7bb1-46bf-aec3-f9645b3acf08', 'name': 'ctest-vn-93049171', 'tenant_id': '497e193b26494c098899e792af13d79f', 'project_id': '497e193b26494c098899e792af13d79f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17716636', 'ctest-vn-93049171'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 20:24:06,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b60c5be2-f00c-4064-b872-eabc326386ef', 'name': '', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f1424bcc-7bb1-46bf-aec3-f9645b3acf08', 'ip_version': 4, 'cidr': '134.78.220.128/26', 'allocation_pools': [{'start': '134.78.220.130', 'end': '134.78.220.190'}], 'gateway_ip': '134.78.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.78.220.130', 'tags': [], 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:06,880 - INFO - Created VN ctest-vn-93049171
2025-09-04 20:24:06,934 - DEBUG - VN ctest-vn-93049171 UUID is f1424bcc-7bb1-46bf-aec3-f9645b3acf08
2025-09-04 20:24:07,043 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17716636', 'ctest-vmi-70466035']}
2025-09-04 20:24:07,320 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70466035', 'id': 'e1aeec11-65cc-4406-a00f-9ee9c0085a2e', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f1424bcc-7bb1-46bf-aec3-f9645b3acf08', 'mac_address': '02:e1:ae:ec:11:65', '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': '134.78.220.131', 'subnet_id': 'b60c5be2-f00c-4064-b872-eabc326386ef'}], 'security_groups': ['4839b60d-3b28-4811-9da9-609ee930c128'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:07,320 - DEBUG - Created port e1aeec11-65cc-4406-a00f-9ee9c0085a2e
2025-09-04 20:24:07,426 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e1aeec11-65cc-4406-a00f-9ee9c0085a2e
2025-09-04 20:24:07,761 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e1aeec11-65cc-4406-a00f-9ee9c0085a2e
2025-09-04 20:24:07,792 - INFO - VMI e1aeec11-65cc-4406-a00f-9ee9c0085a2e verification in API Server passed
2025-09-04 20:24:07,876 - DEBUG - Response for delete_port : ()
2025-09-04 20:24:07,876 - INFO - Deleted port e1aeec11-65cc-4406-a00f-9ee9c0085a2e
2025-09-04 20:24:07,876 - INFO - Deleting VN ctest-vn-93049171
2025-09-04 20:24:07,976 - DEBUG - Response for deleting network ()
2025-09-04 20:24:08,231 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 20:24:08,231 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-04 20:24:08,231 - INFO - --------------------------------------------------------------------------------
2025-09-04 20:24:08,233 - INFO - ================================================================================
2025-09-04 20:24:08,233 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-04 20:24:08,234 - 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 20:24:08,530 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-04 20:24:08,530 - INFO - Initial checks done. Running the testcase now
2025-09-04 20:24:08,530 - INFO -
2025-09-04 20:24:08,700 - DEBUG - Response for create_network : {'network': {'id': 'f638ef8c-1164-42f2-b939-9570f7ea59b9', 'name': 'ctest-vn1-94420631', 'tenant_id': '497e193b26494c098899e792af13d79f', 'project_id': '497e193b26494c098899e792af13d79f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17716636', 'ctest-vn1-94420631'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 20:24:08,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c527ee53-0376-482e-862a-8dc52de94346', 'name': '', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f638ef8c-1164-42f2-b939-9570f7ea59b9', 'ip_version': 4, 'cidr': '56.179.97.192/26', 'allocation_pools': [{'start': '56.179.97.194', 'end': '56.179.97.254'}], 'gateway_ip': '56.179.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.179.97.194', 'tags': [], 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:09,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '96f9f77c-cce6-4250-ad5a-231fc1476d93', 'name': '', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f638ef8c-1164-42f2-b939-9570f7ea59b9', 'ip_version': 4, 'cidr': '35.132.45.0/26', 'allocation_pools': [{'start': '35.132.45.2', 'end': '35.132.45.62'}], 'gateway_ip': '35.132.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.132.45.2', 'tags': [], 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:09,104 - INFO - Created VN ctest-vn1-94420631
2025-09-04 20:24:09,154 - DEBUG - VN ctest-vn1-94420631 UUID is f638ef8c-1164-42f2-b939-9570f7ea59b9
2025-09-04 20:24:09,449 - DEBUG - Response for create_port : {'port': {'name': '291fc84d-62ac-4ff8-a2c4-bc4e84057b04', 'id': '291fc84d-62ac-4ff8-a2c4-bc4e84057b04', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f638ef8c-1164-42f2-b939-9570f7ea59b9', 'mac_address': '02:29:1f:c8:4d:62', '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': '56.179.97.197', 'subnet_id': 'c527ee53-0376-482e-862a-8dc52de94346'}], 'security_groups': ['4839b60d-3b28-4811-9da9-609ee930c128'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:09,627 - DEBUG - Response for create_port : {'port': {'name': 'bb899a7f-c736-43c0-a705-938adf8d408b', 'id': 'bb899a7f-c736-43c0-a705-938adf8d408b', 'tenant_id': '497e193b26494c098899e792af13d79f', 'network_id': 'f638ef8c-1164-42f2-b939-9570f7ea59b9', 'mac_address': '02:bb:89:9a:7f:c7', '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': '35.132.45.5', 'subnet_id': '96f9f77c-cce6-4250-ad5a-231fc1476d93'}], 'security_groups': ['4839b60d-3b28-4811-9da9-609ee930c128'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '497e193b26494c098899e792af13d79f'}}
2025-09-04 20:24:09,688 - DEBUG - Services list from nova: [, , ]
2025-09-04 20:24:10,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1)
2025-09-04 20:24:10,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1)
2025-09-04 20:24:10,457 - INFO - Waiting for VM ctest-vn1-vm1-01171742 to be up..
2025-09-04 20:24:10,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 20:24:15,574 - DEBUG - VM is in ACTIVE state now
2025-09-04 20:24:15,574 - INFO - VM name : ctest-vn1-vm1-01171742
2025-09-04 20:24:15,652 - DEBUG - VM ctest-vn1-vm1-01171742 ID is 587f9604-da48-4a7a-ad3b-b6dd8d9a7044
2025-09-04 20:24:15,672 - DEBUG - VM ctest-vn1-vm1-01171742 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1
2025-09-04 20:24:15,747 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/587f9604-da48-4a7a-ad3b-b6dd8d9a7044
2025-09-04 20:24:15,755 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/291fc84d-62ac-4ff8-a2c4-bc4e84057b04
2025-09-04 20:24:18,996 - 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 1006ms')
2025-09-04 20:24:18,996 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01171742 failed!
2025-09-04 20:24:19,050 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17716636:ctest-vn1-94420631 is 56.179.97.193 and allocation pool is NOT set
2025-09-04 20:24:19,050 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17716636:ctest-vn1-94420631 is 35.132.45.1 and allocation pool is NOT set
2025-09-04 20:24:23,124 - 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=7.76 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.756/7.756/7.756/0.000 ms')
2025-09-04 20:24:23,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01171742 passed
2025-09-04 20:24:23,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:24:23,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01171742, IP 56.179.97.197, Port 22
2025-09-04 20:24:23,433 - DEBUG - VM ctest-vn1-vm1-01171742 is ready for SSH connections
2025-09-04 20:24:23,434 - INFO - Waiting for VM ctest-vn1-vm2-03294379 to be up..
2025-09-04 20:24:23,510 - DEBUG - VM is in ACTIVE state now
2025-09-04 20:24:23,510 - INFO - VM name : ctest-vn1-vm2-03294379
2025-09-04 20:24:23,589 - DEBUG - VM ctest-vn1-vm2-03294379 ID is af1ff51a-98f3-42af-aba3-77f33664bd93
2025-09-04 20:24:23,589 - DEBUG - VM ctest-vn1-vm2-03294379 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1
2025-09-04 20:24:23,668 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/af1ff51a-98f3-42af-aba3-77f33664bd93
2025-09-04 20:24:23,676 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bb899a7f-c736-43c0-a705-938adf8d408b
2025-09-04 20:24:24,915 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.817/3.270/1.452 ms')
2025-09-04 20:24:24,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03294379 passed
2025-09-04 20:24:25,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:24:25,062 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03294379, IP 35.132.45.5, Port 22
2025-09-04 20:24:25,218 - DEBUG - VM ctest-vn1-vm2-03294379 is ready for SSH connections
2025-09-04 20:24:25,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:24:25,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:24:25,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 20:24:25,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.179.97.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-04 20:24:25,218 - DEBUG - ping -s 56 -c 3 -W 1 56.179.97.197
2025-09-04 20:24:27,922 - DEBUG - PING 56.179.97.197 (56.179.97.197): 56 data bytes
64 bytes from 56.179.97.197: seq=0 ttl=63 time=4.946 ms
64 bytes from 56.179.97.197: seq=1 ttl=63 time=0.918 ms
64 bytes from 56.179.97.197: seq=2 ttl=63 time=0.856 ms
--- 56.179.97.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.856/2.240/4.946 ms
2025-09-04 20:24:27,923 - INFO - Ping to IP 56.179.97.197 from VM ctest-vn1-vm2-03294379 passed
2025-09-04 20:24:27,923 - INFO - Detaching port bb899a7f-c736-43c0-a705-938adf8d408b from VM ctest-vn1-vm2-03294379
2025-09-04 20:24:27,974 - INFO - Deleting VM ctest-vn1-vm2-03294379
2025-09-04 20:24:28,037 - INFO - Detaching port 291fc84d-62ac-4ff8-a2c4-bc4e84057b04 from VM ctest-vn1-vm1-01171742
2025-09-04 20:24:28,072 - INFO - Deleting VM ctest-vn1-vm1-01171742
2025-09-04 20:24:28,306 - DEBUG - Response for delete_port : ()
2025-09-04 20:24:28,482 - DEBUG - Response for delete_port : ()
2025-09-04 20:24:28,482 - INFO - Deleting VN ctest-vn1-94420631
2025-09-04 20:24:28,618 - DEBUG - Response for deleting network ()
2025-09-04 20:24:28,870 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 20:24:28,871 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-04 20:24:28,871 - INFO - --------------------------------------------------------------------------------
2025-09-04 20:24:29,577 - INFO - Deleted project: ctest-TestPorts-17716636, ID : 497e193b-2649-4c09-8899-e792af13d79f