2025-08-11 02:50:49,375 - INFO - Domain Default found not creating
2025-08-11 02:50:49,511 - INFO - Project ctest-TestPorts-67033704 not found, creating it
2025-08-11 02:50:49,958 - INFO - Created Project:ctest-TestPorts-67033704, ID : 7cda473e-cc4b-41ba-aa48-15cd2baddee0
2025-08-11 02:50:51,199 - INFO - ================================================================================
2025-08-11 02:50:51,199 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 02:50:51,199 - 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-11 02:50:51,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-11 02:50:51,453 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:50:51,453 - INFO -
2025-08-11 02:50:51,945 - DEBUG - Response for create_network : {'network': {'id': '0bb0ae33-85a5-4f70-9983-2fe2a5a95f0a', 'name': 'ctest-vn-66891575', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'project_id': '7cda473ecc4b41baaa4815cd2baddee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67033704', 'ctest-vn-66891575'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:50:52,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '22cbb637-ea9c-43de-8366-058a222c99ab', 'name': '', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '0bb0ae33-85a5-4f70-9983-2fe2a5a95f0a', 'ip_version': 4, 'cidr': '111.205.149.192/26', 'allocation_pools': [{'start': '111.205.149.194', 'end': '111.205.149.254'}], 'gateway_ip': '111.205.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.205.149.194', 'tags': [], 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:52,112 - INFO - Created VN ctest-vn-66891575
2025-08-11 02:50:52,163 - DEBUG - VN ctest-vn-66891575 UUID is 0bb0ae33-85a5-4f70-9983-2fe2a5a95f0a
2025-08-11 02:50:52,271 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67033704', 'ctest-vmi-05673748']}
2025-08-11 02:50:52,533 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05673748', 'id': 'b04bb664-5602-4ae2-856f-4675f9875913', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '0bb0ae33-85a5-4f70-9983-2fe2a5a95f0a', 'mac_address': '02:b0:4b:b6:64:56', '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': '111.205.149.195', 'subnet_id': '22cbb637-ea9c-43de-8366-058a222c99ab'}], 'security_groups': ['94ed950f-8a04-46fb-93d5-50f6f287a4a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:52,533 - DEBUG - Created port b04bb664-5602-4ae2-856f-4675f9875913
2025-08-11 02:50:52,639 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b04bb664-5602-4ae2-856f-4675f9875913
2025-08-11 02:50:52,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b04bb664-5602-4ae2-856f-4675f9875913
2025-08-11 02:50:52,927 - INFO - VMI b04bb664-5602-4ae2-856f-4675f9875913 verification in API Server passed
2025-08-11 02:50:53,007 - DEBUG - Response for delete_port : ()
2025-08-11 02:50:53,007 - INFO - Deleted port b04bb664-5602-4ae2-856f-4675f9875913
2025-08-11 02:50:53,007 - INFO - Deleting VN ctest-vn-66891575
2025-08-11 02:50:53,117 - DEBUG - Response for deleting network ()
2025-08-11 02:50:53,384 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:50:53,384 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 02:50:53,384 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:50:53,387 - INFO - ================================================================================
2025-08-11 02:50:53,387 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 02:50:53,387 - 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-11 02:50:53,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-08-11 02:50:53,673 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:50:53,673 - INFO -
2025-08-11 02:50:53,848 - DEBUG - Response for create_network : {'network': {'id': '13eb8787-2931-4a41-a8e8-bb33d4dfe2b7', 'name': 'ctest-vn1-18743823', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'project_id': '7cda473ecc4b41baaa4815cd2baddee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67033704', 'ctest-vn1-18743823'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:50:54,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc3d032a-f25c-4c65-877a-916048f5cda8', 'name': '', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '13eb8787-2931-4a41-a8e8-bb33d4dfe2b7', 'ip_version': 4, 'cidr': '5.80.113.192/26', 'allocation_pools': [{'start': '5.80.113.194', 'end': '5.80.113.254'}], 'gateway_ip': '5.80.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.80.113.194', 'tags': [], 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:54,200 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2c7eb01-33b8-444e-b54f-28c9f5bb98d5', 'name': '', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '13eb8787-2931-4a41-a8e8-bb33d4dfe2b7', 'ip_version': 4, 'cidr': '148.206.211.0/26', 'allocation_pools': [{'start': '148.206.211.2', 'end': '148.206.211.62'}], 'gateway_ip': '148.206.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.206.211.2', 'tags': [], 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:54,220 - INFO - Created VN ctest-vn1-18743823
2025-08-11 02:50:54,271 - DEBUG - VN ctest-vn1-18743823 UUID is 13eb8787-2931-4a41-a8e8-bb33d4dfe2b7
2025-08-11 02:50:54,574 - DEBUG - Response for create_port : {'port': {'name': '3f953255-6dba-4b4d-bc9b-c6e526a8597a', 'id': '3f953255-6dba-4b4d-bc9b-c6e526a8597a', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '13eb8787-2931-4a41-a8e8-bb33d4dfe2b7', 'mac_address': '02:3f:95:32:55:6d', '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': '5.80.113.197', 'subnet_id': 'dc3d032a-f25c-4c65-877a-916048f5cda8'}], 'security_groups': ['94ed950f-8a04-46fb-93d5-50f6f287a4a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:54,739 - DEBUG - Response for create_port : {'port': {'name': '18979218-bc32-4074-8b34-f48fee335847', 'id': '18979218-bc32-4074-8b34-f48fee335847', 'tenant_id': '7cda473ecc4b41baaa4815cd2baddee0', 'network_id': '13eb8787-2931-4a41-a8e8-bb33d4dfe2b7', 'mac_address': '02:18:97:92:18:bc', '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': '148.206.211.5', 'subnet_id': 'e2c7eb01-33b8-444e-b54f-28c9f5bb98d5'}], 'security_groups': ['94ed950f-8a04-46fb-93d5-50f6f287a4a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7cda473ecc4b41baaa4815cd2baddee0'}}
2025-08-11 02:50:54,789 - DEBUG - Services list from nova: [, , ]
2025-08-11 02:50:55,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1)
2025-08-11 02:50:55,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1)
2025-08-11 02:50:55,542 - INFO - Waiting for VM ctest-vn1-vm1-12332725 to be up..
2025-08-11 02:50:55,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:51:00,650 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:51:00,650 - INFO - VM name : ctest-vn1-vm1-12332725
2025-08-11 02:51:00,718 - DEBUG - VM ctest-vn1-vm1-12332725 ID is 66cc1757-cf7c-4df4-b522-31255d13b813
2025-08-11 02:51:00,735 - DEBUG - VM ctest-vn1-vm1-12332725 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1
2025-08-11 02:51:00,797 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/66cc1757-cf7c-4df4-b522-31255d13b813
2025-08-11 02:51:00,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3f953255-6dba-4b4d-bc9b-c6e526a8597a
2025-08-11 02:51:04,060 - 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 1017ms')
2025-08-11 02:51:04,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12332725 failed!
2025-08-11 02:51:04,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67033704:ctest-vn1-18743823 is 5.80.113.193 and allocation pool is NOT set
2025-08-11 02:51:04,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67033704:ctest-vn1-18743823 is 148.206.211.1 and allocation pool is NOT set
2025-08-11 02:51:06,177 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.822/2.658/3.495/0.836 ms')
2025-08-11 02:51:06,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12332725 passed
2025-08-11 02:51:06,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:51:06,335 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12332725, IP 5.80.113.197, Port 22
2025-08-11 02:51:06,495 - DEBUG - VM ctest-vn1-vm1-12332725 is ready for SSH connections
2025-08-11 02:51:06,495 - INFO - Waiting for VM ctest-vn1-vm2-04405196 to be up..
2025-08-11 02:51:06,572 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:51:06,572 - INFO - VM name : ctest-vn1-vm2-04405196
2025-08-11 02:51:06,643 - DEBUG - VM ctest-vn1-vm2-04405196 ID is 72d0a8df-d669-4901-9df0-ec93102141d3
2025-08-11 02:51:06,643 - DEBUG - VM ctest-vn1-vm2-04405196 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1
2025-08-11 02:51:06,723 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/72d0a8df-d669-4901-9df0-ec93102141d3
2025-08-11 02:51:06,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/18979218-bc32-4074-8b34-f48fee335847
2025-08-11 02:51:07,969 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.437/2.512/1.075 ms')
2025-08-11 02:51:07,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04405196 passed
2025-08-11 02:51:08,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:51:08,187 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04405196, IP 148.206.211.5, Port 22
2025-08-11 02:51:08,342 - DEBUG - VM ctest-vn1-vm2-04405196 is ready for SSH connections
2025-08-11 02:51:08,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:51:08,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:51:08,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:51:08,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.80.113.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-08-11 02:51:08,343 - DEBUG - ping -s 56 -c 3 -W 1 5.80.113.197
2025-08-11 02:51:11,181 - DEBUG - PING 5.80.113.197 (5.80.113.197): 56 data bytes
64 bytes from 5.80.113.197: seq=0 ttl=63 time=2.990 ms
64 bytes from 5.80.113.197: seq=1 ttl=63 time=0.936 ms
64 bytes from 5.80.113.197: seq=2 ttl=63 time=0.730 ms
--- 5.80.113.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.730/1.552/2.990 ms
2025-08-11 02:51:11,181 - INFO - Ping to IP 5.80.113.197 from VM ctest-vn1-vm2-04405196 passed
2025-08-11 02:51:11,181 - INFO - Detaching port 18979218-bc32-4074-8b34-f48fee335847 from VM ctest-vn1-vm2-04405196
2025-08-11 02:51:11,226 - INFO - Deleting VM ctest-vn1-vm2-04405196
2025-08-11 02:51:11,283 - INFO - Detaching port 3f953255-6dba-4b4d-bc9b-c6e526a8597a from VM ctest-vn1-vm1-12332725
2025-08-11 02:51:11,315 - INFO - Deleting VM ctest-vn1-vm1-12332725
2025-08-11 02:51:11,552 - DEBUG - Response for delete_port : ()
2025-08-11 02:51:11,715 - DEBUG - Response for delete_port : ()
2025-08-11 02:51:11,715 - INFO - Deleting VN ctest-vn1-18743823
2025-08-11 02:51:11,856 - DEBUG - Response for deleting network ()
2025-08-11 02:51:12,108 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:51:12,108 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 02:51:12,108 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:51:12,946 - INFO - Deleted project: ctest-TestPorts-67033704, ID : 7cda473e-cc4b-41ba-aa48-15cd2baddee0