2025-09-23 20:33:56,100 - INFO - Domain Default found not creating 2025-09-23 20:33:56,381 - INFO - Project ctest-TestPorts-17332972 not found, creating it 2025-09-23 20:33:57,055 - INFO - Created Project:ctest-TestPorts-17332972, ID : 0fd38f5e-c061-4c25-a523-bc7b6548d761 2025-09-23 20:33:59,110 - INFO - ================================================================================ 2025-09-23 20:33:59,111 - INFO - STARTING TEST : test_ports_bindings 2025-09-23 20:33:59,111 - 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-23 20:33:59,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 20:33:59,433 - INFO - Initial checks done. Running the testcase now 2025-09-23 20:33:59,433 - INFO - 2025-09-23 20:34:00,175 - DEBUG - Response for create_network : {'network': {'id': '538ff54d-68d2-46a6-94c8-ee0aeeb44156', 'name': 'ctest-vn-82972365', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'project_id': '0fd38f5ec0614c25a523bc7b6548d761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17332972', 'ctest-vn-82972365'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:34:00,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc61e94d-5499-4959-9234-c6c9769bcc12', 'name': '', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '538ff54d-68d2-46a6-94c8-ee0aeeb44156', 'ip_version': 4, 'cidr': '118.28.213.128/26', 'allocation_pools': [{'start': '118.28.213.130', 'end': '118.28.213.190'}], 'gateway_ip': '118.28.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.28.213.130', 'tags': [], 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:00,415 - INFO - Created VN ctest-vn-82972365 2025-09-23 20:34:00,471 - DEBUG - VN ctest-vn-82972365 UUID is 538ff54d-68d2-46a6-94c8-ee0aeeb44156 2025-09-23 20:34:00,631 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17332972', 'ctest-vmi-90644990']} 2025-09-23 20:34:01,058 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90644990', 'id': 'd6081109-2902-4143-adc9-e4fa20bd80ab', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '538ff54d-68d2-46a6-94c8-ee0aeeb44156', 'mac_address': '02:d6:08:11:09:29', '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': '118.28.213.131', 'subnet_id': 'dc61e94d-5499-4959-9234-c6c9769bcc12'}], 'security_groups': ['51bcbd5f-76c0-43e8-9b5f-7775c06d3d4b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:01,059 - DEBUG - Created port d6081109-2902-4143-adc9-e4fa20bd80ab 2025-09-23 20:34:01,175 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d6081109-2902-4143-adc9-e4fa20bd80ab 2025-09-23 20:34:01,540 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d6081109-2902-4143-adc9-e4fa20bd80ab 2025-09-23 20:34:01,592 - INFO - VMI d6081109-2902-4143-adc9-e4fa20bd80ab verification in API Server passed 2025-09-23 20:34:01,728 - DEBUG - Response for delete_port : () 2025-09-23 20:34:01,729 - INFO - Deleted port d6081109-2902-4143-adc9-e4fa20bd80ab 2025-09-23 20:34:01,729 - INFO - Deleting VN ctest-vn-82972365 2025-09-23 20:34:01,885 - DEBUG - Response for deleting network () 2025-09-23 20:34:02,198 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 20:34:02,198 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-23 20:34:02,199 - INFO - -------------------------------------------------------------------------------- 2025-09-23 20:34:02,206 - INFO - ================================================================================ 2025-09-23 20:34:02,206 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-23 20:34:02,206 - 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-23 20:34:02,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 20:34:02,549 - INFO - Initial checks done. Running the testcase now 2025-09-23 20:34:02,549 - INFO - 2025-09-23 20:34:02,889 - DEBUG - Response for create_network : {'network': {'id': '39282302-56dc-478f-b827-3a071606ea35', 'name': 'ctest-vn1-99585145', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'project_id': '0fd38f5ec0614c25a523bc7b6548d761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17332972', 'ctest-vn1-99585145'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:34:03,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '0df34446-428e-4173-8285-4e3ab679d768', 'name': '', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '39282302-56dc-478f-b827-3a071606ea35', 'ip_version': 4, 'cidr': '85.158.28.0/26', 'allocation_pools': [{'start': '85.158.28.2', 'end': '85.158.28.62'}], 'gateway_ip': '85.158.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.158.28.2', 'tags': [], 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:03,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '13ca9d95-8100-4e83-b018-e7dcca266e6e', 'name': '', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '39282302-56dc-478f-b827-3a071606ea35', 'ip_version': 4, 'cidr': '161.190.5.0/26', 'allocation_pools': [{'start': '161.190.5.2', 'end': '161.190.5.62'}], 'gateway_ip': '161.190.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.190.5.2', 'tags': [], 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:03,434 - INFO - Created VN ctest-vn1-99585145 2025-09-23 20:34:03,507 - DEBUG - VN ctest-vn1-99585145 UUID is 39282302-56dc-478f-b827-3a071606ea35 2025-09-23 20:34:04,091 - DEBUG - Response for create_port : {'port': {'name': '6e46caf8-3768-4c96-aa89-cbec78735b94', 'id': '6e46caf8-3768-4c96-aa89-cbec78735b94', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '39282302-56dc-478f-b827-3a071606ea35', 'mac_address': '02:6e:46:ca:f8:37', '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': '85.158.28.5', 'subnet_id': '0df34446-428e-4173-8285-4e3ab679d768'}], 'security_groups': ['51bcbd5f-76c0-43e8-9b5f-7775c06d3d4b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:04,324 - DEBUG - Response for create_port : {'port': {'name': '9c55f58b-7c8d-4514-9631-ed678bf602f8', 'id': '9c55f58b-7c8d-4514-9631-ed678bf602f8', 'tenant_id': '0fd38f5ec0614c25a523bc7b6548d761', 'network_id': '39282302-56dc-478f-b827-3a071606ea35', 'mac_address': '02:9c:55:f5:8b:7c', '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': '161.190.5.5', 'subnet_id': '13ca9d95-8100-4e83-b018-e7dcca266e6e'}], 'security_groups': ['51bcbd5f-76c0-43e8-9b5f-7775c06d3d4b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0fd38f5ec0614c25a523bc7b6548d761'}} 2025-09-23 20:34:04,398 - DEBUG - Services list from nova: [, , ] 2025-09-23 20:34:05,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:34:05,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:34:05,923 - INFO - Waiting for VM ctest-vn1-vm1-25872380 to be up.. 2025-09-23 20:34:05,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 20:34:11,191 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:34:11,191 - INFO - VM name : ctest-vn1-vm1-25872380 2025-09-23 20:34:11,337 - DEBUG - VM ctest-vn1-vm1-25872380 ID is 76c55e65-3712-4b63-90cc-c74b68d7ffa2 2025-09-23 20:34:11,357 - DEBUG - VM ctest-vn1-vm1-25872380 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:34:11,467 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/76c55e65-3712-4b63-90cc-c74b68d7ffa2 2025-09-23 20:34:11,481 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6e46caf8-3768-4c96-aa89-cbec78735b94 2025-09-23 20:34:14,794 - 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 1020ms') 2025-09-23 20:34:14,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25872380 failed! 2025-09-23 20:34:14,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17332972:ctest-vn1-99585145 is 85.158.28.1 and allocation pool is NOT set 2025-09-23 20:34:14,860 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17332972:ctest-vn1-99585145 is 161.190.5.1 and allocation pool is NOT set 2025-09-23 20:34:18,954 - 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 1015ms') 2025-09-23 20:34:18,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25872380 failed! 2025-09-23 20:34:19,031 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17332972:ctest-vn1-99585145 is 85.158.28.1 and allocation pool is NOT set 2025-09-23 20:34:19,032 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17332972:ctest-vn1-99585145 is 161.190.5.1 and allocation pool is NOT set 2025-09-23 20:34:21,117 - 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=9.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.951 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.951/5.086/9.222/4.135 ms') 2025-09-23 20:34:21,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25872380 passed 2025-09-23 20:34:21,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:34:21,288 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25872380, IP 85.158.28.5, Port 22 2025-09-23 20:34:21,488 - DEBUG - VM ctest-vn1-vm1-25872380 is ready for SSH connections 2025-09-23 20:34:21,488 - INFO - Waiting for VM ctest-vn1-vm2-93848357 to be up.. 2025-09-23 20:34:21,691 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:34:21,691 - INFO - VM name : ctest-vn1-vm2-93848357 2025-09-23 20:34:21,864 - DEBUG - VM ctest-vn1-vm2-93848357 ID is 42c45497-fa97-4f2b-83f1-625862f8ebcc 2025-09-23 20:34:21,864 - DEBUG - VM ctest-vn1-vm2-93848357 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:34:22,003 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/42c45497-fa97-4f2b-83f1-625862f8ebcc 2025-09-23 20:34:22,013 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9c55f58b-7c8d-4514-9631-ed678bf602f8 2025-09-23 20:34:23,294 - 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=10.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.661 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.661/5.624/10.587/4.963 ms') 2025-09-23 20:34:23,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93848357 passed 2025-09-23 20:34:23,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:34:23,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93848357, IP 161.190.5.5, Port 22 2025-09-23 20:34:23,655 - DEBUG - VM ctest-vn1-vm2-93848357 is ready for SSH connections 2025-09-23 20:34:23,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:34:23,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:34:23,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:34:23,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.158.28.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 20:34:23,656 - DEBUG - ping -s 56 -c 3 -W 1 85.158.28.5 2025-09-23 20:34:26,837 - DEBUG - PING 85.158.28.5 (85.158.28.5): 56 data bytes 64 bytes from 85.158.28.5: seq=0 ttl=63 time=5.289 ms 64 bytes from 85.158.28.5: seq=1 ttl=63 time=0.977 ms 64 bytes from 85.158.28.5: seq=2 ttl=63 time=2.132 ms --- 85.158.28.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.799/5.289 ms 2025-09-23 20:34:26,837 - INFO - Ping to IP 85.158.28.5 from VM ctest-vn1-vm2-93848357 passed 2025-09-23 20:34:26,838 - INFO - Detaching port 9c55f58b-7c8d-4514-9631-ed678bf602f8 from VM ctest-vn1-vm2-93848357 2025-09-23 20:34:26,974 - INFO - Deleting VM ctest-vn1-vm2-93848357 2025-09-23 20:34:27,131 - INFO - Detaching port 6e46caf8-3768-4c96-aa89-cbec78735b94 from VM ctest-vn1-vm1-25872380 2025-09-23 20:34:27,204 - INFO - Deleting VM ctest-vn1-vm1-25872380 2025-09-23 20:34:27,623 - DEBUG - Response for delete_port : () 2025-09-23 20:34:27,815 - DEBUG - Response for delete_port : () 2025-09-23 20:34:27,815 - INFO - Deleting VN ctest-vn1-99585145 2025-09-23 20:34:27,937 - DEBUG - Response for deleting network () 2025-09-23 20:34:28,232 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 20:34:28,232 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-09-23 20:34:28,232 - INFO - -------------------------------------------------------------------------------- 2025-09-23 20:34:29,150 - INFO - Deleted project: ctest-TestPorts-17332972, ID : 0fd38f5e-c061-4c25-a523-bc7b6548d761