2025-08-14 02:16:30,828 - INFO - Domain Default found not creating 2025-08-14 02:16:31,002 - INFO - Project ctest-TestPorts-11050148 not found, creating it 2025-08-14 02:16:31,506 - INFO - Created Project:ctest-TestPorts-11050148, ID : 9362f18a-c3ba-4778-9599-137ca6c234fd 2025-08-14 02:16:32,889 - INFO - ================================================================================ 2025-08-14 02:16:32,890 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 02:16:32,890 - 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-14 02:16:34,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-08-14 02:16:34,134 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:16:34,134 - INFO - 2025-08-14 02:16:34,843 - DEBUG - Response for create_network : {'network': {'id': 'fd46adb4-b234-4a39-9d21-96a628449491', 'name': 'ctest-vn-98329832', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'project_id': '9362f18ac3ba47789599137ca6c234fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11050148', 'ctest-vn-98329832'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:16:35,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '5286cdd6-cb4f-45c7-b5a3-f8d472f5e061', 'name': '', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': 'fd46adb4-b234-4a39-9d21-96a628449491', 'ip_version': 4, 'cidr': '34.185.129.192/26', 'allocation_pools': [{'start': '34.185.129.194', 'end': '34.185.129.254'}], 'gateway_ip': '34.185.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.185.129.194', 'tags': [], 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:35,110 - INFO - Created VN ctest-vn-98329832 2025-08-14 02:16:35,121 - DEBUG - VN ctest-vn-98329832 UUID is fd46adb4-b234-4a39-9d21-96a628449491 2025-08-14 02:16:35,185 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11050148', 'ctest-vmi-03034073']} 2025-08-14 02:16:35,505 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03034073', 'id': '887c9369-5d17-4374-8a82-c61930bfae34', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': 'fd46adb4-b234-4a39-9d21-96a628449491', 'mac_address': '02:88:7c:93:69:5d', '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': '34.185.129.195', 'subnet_id': '5286cdd6-cb4f-45c7-b5a3-f8d472f5e061'}], 'security_groups': ['05d62d54-1a99-476f-aa09-cec9f8d75da7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:35,505 - DEBUG - Created port 887c9369-5d17-4374-8a82-c61930bfae34 2025-08-14 02:16:35,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/887c9369-5d17-4374-8a82-c61930bfae34 2025-08-14 02:16:35,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/887c9369-5d17-4374-8a82-c61930bfae34 2025-08-14 02:16:35,895 - INFO - VMI 887c9369-5d17-4374-8a82-c61930bfae34 verification in API Server passed 2025-08-14 02:16:36,010 - DEBUG - Response for delete_port : () 2025-08-14 02:16:36,011 - INFO - Deleted port 887c9369-5d17-4374-8a82-c61930bfae34 2025-08-14 02:16:36,011 - INFO - Deleting VN ctest-vn-98329832 2025-08-14 02:16:36,158 - DEBUG - Response for deleting network () 2025-08-14 02:16:37,411 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:16:37,411 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-08-14 02:16:37,411 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:16:37,413 - INFO - ================================================================================ 2025-08-14 02:16:37,413 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 02:16:37,413 - 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-14 02:16:38,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-08-14 02:16:38,685 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:16:38,685 - INFO - 2025-08-14 02:16:38,980 - DEBUG - Response for create_network : {'network': {'id': '75799d00-3224-4ba0-9245-feffa2afce37', 'name': 'ctest-vn1-38164693', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'project_id': '9362f18ac3ba47789599137ca6c234fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11050148', 'ctest-vn1-38164693'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:16:39,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '936578e6-3dbc-4088-85bc-b0f31b06ad64', 'name': '', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': '75799d00-3224-4ba0-9245-feffa2afce37', 'ip_version': 4, 'cidr': '41.238.222.0/26', 'allocation_pools': [{'start': '41.238.222.2', 'end': '41.238.222.62'}], 'gateway_ip': '41.238.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.238.222.2', 'tags': [], 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:39,417 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4906d15-7df7-4b14-b538-19fa7c6d877f', 'name': '', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': '75799d00-3224-4ba0-9245-feffa2afce37', 'ip_version': 4, 'cidr': '1.131.107.0/26', 'allocation_pools': [{'start': '1.131.107.2', 'end': '1.131.107.62'}], 'gateway_ip': '1.131.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.131.107.2', 'tags': [], 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:39,442 - INFO - Created VN ctest-vn1-38164693 2025-08-14 02:16:39,456 - DEBUG - VN ctest-vn1-38164693 UUID is 75799d00-3224-4ba0-9245-feffa2afce37 2025-08-14 02:16:39,773 - DEBUG - Response for create_port : {'port': {'name': '93637865-022c-4645-8835-2f111f037e1e', 'id': '93637865-022c-4645-8835-2f111f037e1e', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': '75799d00-3224-4ba0-9245-feffa2afce37', 'mac_address': '02:93:63:78:65:02', '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': '41.238.222.5', 'subnet_id': '936578e6-3dbc-4088-85bc-b0f31b06ad64'}], 'security_groups': ['05d62d54-1a99-476f-aa09-cec9f8d75da7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:40,019 - DEBUG - Response for create_port : {'port': {'name': '8a92459d-978e-485b-aef2-b9c3d6f0619b', 'id': '8a92459d-978e-485b-aef2-b9c3d6f0619b', 'tenant_id': '9362f18ac3ba47789599137ca6c234fd', 'network_id': '75799d00-3224-4ba0-9245-feffa2afce37', 'mac_address': '02:8a:92:45:9d:97', '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': '1.131.107.5', 'subnet_id': 'c4906d15-7df7-4b14-b538-19fa7c6d877f'}], 'security_groups': ['05d62d54-1a99-476f-aa09-cec9f8d75da7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9362f18ac3ba47789599137ca6c234fd'}} 2025-08-14 02:16:40,069 - DEBUG - Services list from nova: [, , , ] 2025-08-14 02:16:40,482 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-2) 2025-08-14 02:16:40,963 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-1) 2025-08-14 02:16:40,963 - INFO - Waiting for VM ctest-vn1-vm1-80974300 to be up.. 2025-08-14 02:16:41,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:16:46,084 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:16:46,084 - INFO - VM name : ctest-vn1-vm1-80974300 2025-08-14 02:16:46,165 - DEBUG - VM ctest-vn1-vm1-80974300 ID is 1d2222c6-7b84-45af-9a9e-25ee9bbee687 2025-08-14 02:16:46,187 - DEBUG - VM ctest-vn1-vm1-80974300 launched on Node an-jenkins-deploy-platform-ansible-os-3851-2 2025-08-14 02:16:46,258 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1d2222c6-7b84-45af-9a9e-25ee9bbee687 2025-08-14 02:16:46,549 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1d2222c6-7b84-45af-9a9e-25ee9bbee687 2025-08-14 02:16:46,581 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/93637865-022c-4645-8835-2f111f037e1e 2025-08-14 02:16:49,770 - 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 1029ms') 2025-08-14 02:16:49,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80974300 failed! 2025-08-14 02:16:49,784 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11050148:ctest-vn1-38164693 is 41.238.222.1 and allocation pool is NOT set 2025-08-14 02:16:49,784 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11050148:ctest-vn1-38164693 is 1.131.107.1 and allocation pool is NOT set 2025-08-14 02:16:51,847 - 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=3.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/2.242/3.949/1.707 ms') 2025-08-14 02:16:51,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80974300 passed 2025-08-14 02:16:51,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:16:51,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80974300, IP 41.238.222.5, Port 22 2025-08-14 02:16:52,094 - DEBUG - VM ctest-vn1-vm1-80974300 is ready for SSH connections 2025-08-14 02:16:52,094 - INFO - Waiting for VM ctest-vn1-vm2-82156820 to be up.. 2025-08-14 02:16:52,175 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:16:52,175 - INFO - VM name : ctest-vn1-vm2-82156820 2025-08-14 02:16:52,254 - DEBUG - VM ctest-vn1-vm2-82156820 ID is 31deef67-9ebf-48ff-8696-5879215493cb 2025-08-14 02:16:52,254 - DEBUG - VM ctest-vn1-vm2-82156820 launched on Node an-jenkins-deploy-platform-ansible-os-3851-1 2025-08-14 02:16:52,332 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/31deef67-9ebf-48ff-8696-5879215493cb 2025-08-14 02:16:52,342 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8a92459d-978e-485b-aef2-b9c3d6f0619b 2025-08-14 02:16:53,502 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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.387/1.682/2.977/1.295 ms') 2025-08-14 02:16:53,502 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-82156820 passed 2025-08-14 02:16:53,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:16:53,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82156820, IP 1.131.107.5, Port 22 2025-08-14 02:16:53,723 - DEBUG - VM ctest-vn1-vm2-82156820 is ready for SSH connections 2025-08-14 02:16:53,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:16:53,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:16:53,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:16:53,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.238.222.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-14 02:16:53,723 - DEBUG - ping -s 56 -c 3 -W 1 41.238.222.5 2025-08-14 02:16:56,561 - DEBUG - PING 41.238.222.5 (41.238.222.5): 56 data bytes 64 bytes from 41.238.222.5: seq=0 ttl=63 time=5.274 ms 64 bytes from 41.238.222.5: seq=1 ttl=63 time=1.035 ms 64 bytes from 41.238.222.5: seq=2 ttl=63 time=1.037 ms --- 41.238.222.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/2.448/5.274 ms 2025-08-14 02:16:56,562 - INFO - Ping to IP 41.238.222.5 from VM ctest-vn1-vm2-82156820 passed 2025-08-14 02:16:56,562 - INFO - Detaching port 8a92459d-978e-485b-aef2-b9c3d6f0619b from VM ctest-vn1-vm2-82156820 2025-08-14 02:16:56,669 - INFO - Deleting VM ctest-vn1-vm2-82156820 2025-08-14 02:16:56,800 - INFO - Detaching port 93637865-022c-4645-8835-2f111f037e1e from VM ctest-vn1-vm1-80974300 2025-08-14 02:16:56,858 - INFO - Deleting VM ctest-vn1-vm1-80974300 2025-08-14 02:16:57,574 - DEBUG - Response for delete_port : () 2025-08-14 02:16:57,898 - DEBUG - Response for delete_port : () 2025-08-14 02:16:57,898 - INFO - Deleting VN ctest-vn1-38164693 2025-08-14 02:16:58,114 - DEBUG - Response for deleting network () 2025-08-14 02:16:59,401 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:16:59,401 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-14 02:16:59,401 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:17:00,099 - INFO - Deleted project: ctest-TestPorts-11050148, ID : 9362f18a-c3ba-4778-9599-137ca6c234fd