2025-10-30 02:14:50,699 - INFO - Domain Default found not creating 2025-10-30 02:14:50,839 - INFO - Project ctest-TestPorts-82020063 not found, creating it 2025-10-30 02:14:51,278 - INFO - Created Project:ctest-TestPorts-82020063, ID : d11996bf-18a0-4aa0-af96-b452d0b41f84 2025-10-30 02:14:52,661 - INFO - ================================================================================ 2025-10-30 02:14:52,661 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 02:14:52,662 - 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-30 02:14:52,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-30 02:14:52,921 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:14:52,921 - INFO - 2025-10-30 02:14:53,502 - DEBUG - Response for create_network : {'network': {'id': 'df765964-6a0d-45d9-8b74-ba4d7844b8ab', 'name': 'ctest-vn-19212474', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'project_id': 'd11996bf18a04aa0af96b452d0b41f84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82020063', 'ctest-vn-19212474'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:14:53,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff51461f-b7a7-4a49-95f3-cc983afec3f6', 'name': '', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'df765964-6a0d-45d9-8b74-ba4d7844b8ab', 'ip_version': 4, 'cidr': '26.75.170.64/26', 'allocation_pools': [{'start': '26.75.170.66', 'end': '26.75.170.126'}], 'gateway_ip': '26.75.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.75.170.66', 'tags': [], 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:53,666 - INFO - Created VN ctest-vn-19212474 2025-10-30 02:14:53,715 - DEBUG - VN ctest-vn-19212474 UUID is df765964-6a0d-45d9-8b74-ba4d7844b8ab 2025-10-30 02:14:53,814 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82020063', 'ctest-vmi-29469755']} 2025-10-30 02:14:54,083 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29469755', 'id': '803b16a0-79ac-4946-addd-ef65771ed7d0', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'df765964-6a0d-45d9-8b74-ba4d7844b8ab', 'mac_address': '02:80:3b:16:a0:79', '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': '26.75.170.67', 'subnet_id': 'ff51461f-b7a7-4a49-95f3-cc983afec3f6'}], 'security_groups': ['1e675bc1-bcd8-46c6-bf90-6a9aa84f6524'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:54,083 - DEBUG - Created port 803b16a0-79ac-4946-addd-ef65771ed7d0 2025-10-30 02:14:54,183 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/803b16a0-79ac-4946-addd-ef65771ed7d0 2025-10-30 02:14:54,480 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/803b16a0-79ac-4946-addd-ef65771ed7d0 2025-10-30 02:14:54,514 - INFO - VMI 803b16a0-79ac-4946-addd-ef65771ed7d0 verification in API Server passed 2025-10-30 02:14:54,594 - DEBUG - Response for delete_port : () 2025-10-30 02:14:54,594 - INFO - Deleted port 803b16a0-79ac-4946-addd-ef65771ed7d0 2025-10-30 02:14:54,595 - INFO - Deleting VN ctest-vn-19212474 2025-10-30 02:14:54,682 - DEBUG - Response for deleting network () 2025-10-30 02:14:54,941 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:14:54,941 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 02:14:54,941 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:14:54,943 - INFO - ================================================================================ 2025-10-30 02:14:54,944 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 02:14:54,944 - 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-30 02:14:55,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-30 02:14:55,229 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:14:55,229 - INFO - 2025-10-30 02:14:55,414 - DEBUG - Response for create_network : {'network': {'id': 'dc0e40ef-12bf-4eda-82a5-7ee339abd5c7', 'name': 'ctest-vn1-65539372', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'project_id': 'd11996bf18a04aa0af96b452d0b41f84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82020063', 'ctest-vn1-65539372'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:14:55,573 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0337339-2220-4ab4-b990-409a96eb40c4', 'name': '', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'dc0e40ef-12bf-4eda-82a5-7ee339abd5c7', 'ip_version': 4, 'cidr': '213.167.34.128/26', 'allocation_pools': [{'start': '213.167.34.130', 'end': '213.167.34.190'}], 'gateway_ip': '213.167.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.167.34.130', 'tags': [], 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:55,747 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc3ea142-8fff-4008-a44f-d1f0e1a80c48', 'name': '', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'dc0e40ef-12bf-4eda-82a5-7ee339abd5c7', 'ip_version': 4, 'cidr': '149.58.88.64/26', 'allocation_pools': [{'start': '149.58.88.66', 'end': '149.58.88.126'}], 'gateway_ip': '149.58.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.58.88.66', 'tags': [], 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:55,765 - INFO - Created VN ctest-vn1-65539372 2025-10-30 02:14:55,815 - DEBUG - VN ctest-vn1-65539372 UUID is dc0e40ef-12bf-4eda-82a5-7ee339abd5c7 2025-10-30 02:14:56,094 - DEBUG - Response for create_port : {'port': {'name': '1f01dd0d-235c-4473-be19-a9a88ea1669f', 'id': '1f01dd0d-235c-4473-be19-a9a88ea1669f', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'dc0e40ef-12bf-4eda-82a5-7ee339abd5c7', 'mac_address': '02:1f:01:dd:0d:23', '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': '213.167.34.133', 'subnet_id': 'e0337339-2220-4ab4-b990-409a96eb40c4'}], 'security_groups': ['1e675bc1-bcd8-46c6-bf90-6a9aa84f6524'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:56,257 - DEBUG - Response for create_port : {'port': {'name': '2fbbb67d-9d96-4c18-8ead-d51dcc9d73a1', 'id': '2fbbb67d-9d96-4c18-8ead-d51dcc9d73a1', 'tenant_id': 'd11996bf18a04aa0af96b452d0b41f84', 'network_id': 'dc0e40ef-12bf-4eda-82a5-7ee339abd5c7', 'mac_address': '02:2f:bb:b6:7d:9d', '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': '149.58.88.69', 'subnet_id': 'dc3ea142-8fff-4008-a44f-d1f0e1a80c48'}], 'security_groups': ['1e675bc1-bcd8-46c6-bf90-6a9aa84f6524'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd11996bf18a04aa0af96b452d0b41f84'}} 2025-10-30 02:14:56,311 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:14:56,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:14:56,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:14:56,996 - INFO - Waiting for VM ctest-vn1-vm1-84954883 to be up.. 2025-10-30 02:14:57,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:15:02,230 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:15:02,230 - INFO - VM name : ctest-vn1-vm1-84954883 2025-10-30 02:15:02,304 - DEBUG - VM ctest-vn1-vm1-84954883 ID is a2c81b76-02ea-403a-9a07-25e7b2dce632 2025-10-30 02:15:02,323 - DEBUG - VM ctest-vn1-vm1-84954883 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:15:02,396 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a2c81b76-02ea-403a-9a07-25e7b2dce632 2025-10-30 02:15:02,406 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1f01dd0d-235c-4473-be19-a9a88ea1669f 2025-10-30 02:15:05,664 - 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 1027ms') 2025-10-30 02:15:05,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84954883 failed! 2025-10-30 02:15:05,719 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82020063:ctest-vn1-65539372 is 213.167.34.129 and allocation pool is NOT set 2025-10-30 02:15:05,719 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82020063:ctest-vn1-65539372 is 149.58.88.65 and allocation pool is NOT set 2025-10-30 02:15:07,774 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.352/2.796/5.241/2.444 ms') 2025-10-30 02:15:07,774 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84954883 passed 2025-10-30 02:15:07,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:15:07,923 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84954883, IP 213.167.34.133, Port 22 2025-10-30 02:15:08,079 - DEBUG - VM ctest-vn1-vm1-84954883 is ready for SSH connections 2025-10-30 02:15:08,079 - INFO - Waiting for VM ctest-vn1-vm2-30864510 to be up.. 2025-10-30 02:15:08,156 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:15:08,156 - INFO - VM name : ctest-vn1-vm2-30864510 2025-10-30 02:15:08,231 - DEBUG - VM ctest-vn1-vm2-30864510 ID is a9b8567f-0fed-47f1-8505-442c98801db4 2025-10-30 02:15:08,232 - DEBUG - VM ctest-vn1-vm2-30864510 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:15:08,304 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a9b8567f-0fed-47f1-8505-442c98801db4 2025-10-30 02:15:08,311 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2fbbb67d-9d96-4c18-8ead-d51dcc9d73a1 2025-10-30 02:15:09,547 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.444/1.572/2.701/1.128 ms') 2025-10-30 02:15:09,547 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30864510 passed 2025-10-30 02:15:09,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:15:09,695 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30864510, IP 149.58.88.69, Port 22 2025-10-30 02:15:09,851 - DEBUG - VM ctest-vn1-vm2-30864510 is ready for SSH connections 2025-10-30 02:15:09,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:15:09,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:15:09,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:15:09,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.167.34.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-30 02:15:09,851 - DEBUG - ping -s 56 -c 3 -W 1 213.167.34.133 2025-10-30 02:15:12,884 - DEBUG - PING 213.167.34.133 (213.167.34.133): 56 data bytes 64 bytes from 213.167.34.133: seq=0 ttl=63 time=3.875 ms 64 bytes from 213.167.34.133: seq=1 ttl=63 time=0.774 ms 64 bytes from 213.167.34.133: seq=2 ttl=63 time=1.109 ms --- 213.167.34.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.919/3.875 ms 2025-10-30 02:15:12,885 - INFO - Ping to IP 213.167.34.133 from VM ctest-vn1-vm2-30864510 passed 2025-10-30 02:15:12,885 - INFO - Detaching port 2fbbb67d-9d96-4c18-8ead-d51dcc9d73a1 from VM ctest-vn1-vm2-30864510 2025-10-30 02:15:12,930 - INFO - Deleting VM ctest-vn1-vm2-30864510 2025-10-30 02:15:13,000 - INFO - Detaching port 1f01dd0d-235c-4473-be19-a9a88ea1669f from VM ctest-vn1-vm1-84954883 2025-10-30 02:15:13,035 - INFO - Deleting VM ctest-vn1-vm1-84954883 2025-10-30 02:15:13,236 - DEBUG - Response for delete_port : () 2025-10-30 02:15:13,379 - DEBUG - Response for delete_port : () 2025-10-30 02:15:13,379 - INFO - Deleting VN ctest-vn1-65539372 2025-10-30 02:15:13,517 - DEBUG - Response for deleting network () 2025-10-30 02:15:13,776 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:15:13,776 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-30 02:15:13,776 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:15:14,429 - INFO - Deleted project: ctest-TestPorts-82020063, ID : d11996bf-18a0-4aa0-af96-b452d0b41f84