2025-08-31 07:20:42,086 - INFO - Domain Default found not creating
2025-08-31 07:20:42,251 - INFO - Project ctest-TestPorts-26053760 not found, creating it
2025-08-31 07:20:42,674 - INFO - Created Project:ctest-TestPorts-26053760, ID : 9f98fae2-5861-44fb-a91b-fa704971fa71
2025-08-31 07:20:44,115 - INFO - ================================================================================
2025-08-31 07:20:44,115 - INFO - STARTING TEST : test_ports_bindings
2025-08-31 07:20:44,115 - 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-31 07:20:44,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-31 07:20:44,371 - INFO - Initial checks done. Running the testcase now
2025-08-31 07:20:44,371 - INFO -
2025-08-31 07:20:44,912 - DEBUG - Response for create_network : {'network': {'id': 'a3e93219-5324-4431-97f6-808ef786fb77', 'name': 'ctest-vn-60580628', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'project_id': '9f98fae2586144fba91bfa704971fa71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26053760', 'ctest-vn-60580628'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 07:20:45,080 - DEBUG - Response for create_subnet : {'subnet': {'id': '23a96f5f-cba6-4cd3-b776-48a26dc6ddc6', 'name': '', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': 'a3e93219-5324-4431-97f6-808ef786fb77', 'ip_version': 4, 'cidr': '148.7.33.0/26', 'allocation_pools': [{'start': '148.7.33.2', 'end': '148.7.33.62'}], 'gateway_ip': '148.7.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.7.33.2', 'tags': [], 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:45,099 - INFO - Created VN ctest-vn-60580628
2025-08-31 07:20:45,153 - DEBUG - VN ctest-vn-60580628 UUID is a3e93219-5324-4431-97f6-808ef786fb77
2025-08-31 07:20:45,271 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26053760', 'ctest-vmi-85282842']}
2025-08-31 07:20:45,514 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85282842', 'id': '4fb62d2f-00b9-464c-8fad-b7fb6db49666', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': 'a3e93219-5324-4431-97f6-808ef786fb77', 'mac_address': '02:4f:b6:2d:2f:00', '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': '148.7.33.3', 'subnet_id': '23a96f5f-cba6-4cd3-b776-48a26dc6ddc6'}], 'security_groups': ['04da5ad7-c9ed-441d-bf31-553fb66307a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:45,514 - DEBUG - Created port 4fb62d2f-00b9-464c-8fad-b7fb6db49666
2025-08-31 07:20:45,621 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4fb62d2f-00b9-464c-8fad-b7fb6db49666
2025-08-31 07:20:45,920 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4fb62d2f-00b9-464c-8fad-b7fb6db49666
2025-08-31 07:20:45,949 - INFO - VMI 4fb62d2f-00b9-464c-8fad-b7fb6db49666 verification in API Server passed
2025-08-31 07:20:46,033 - DEBUG - Response for delete_port : ()
2025-08-31 07:20:46,033 - INFO - Deleted port 4fb62d2f-00b9-464c-8fad-b7fb6db49666
2025-08-31 07:20:46,033 - INFO - Deleting VN ctest-vn-60580628
2025-08-31 07:20:46,150 - DEBUG - Response for deleting network ()
2025-08-31 07:20:46,406 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 07:20:46,406 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-31 07:20:46,406 - INFO - --------------------------------------------------------------------------------
2025-08-31 07:20:46,408 - INFO - ================================================================================
2025-08-31 07:20:46,408 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-31 07:20:46,408 - 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-31 07:20:46,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-31 07:20:46,698 - INFO - Initial checks done. Running the testcase now
2025-08-31 07:20:46,698 - INFO -
2025-08-31 07:20:46,867 - DEBUG - Response for create_network : {'network': {'id': '92e9368d-be86-4fac-b7a7-4383c6aa4fd0', 'name': 'ctest-vn1-73165931', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'project_id': '9f98fae2586144fba91bfa704971fa71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26053760', 'ctest-vn1-73165931'], 'port_security_enabled': True, 'description': ''}}
2025-08-31 07:20:47,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b24f370-a722-4d92-9300-5bbd4563c476', 'name': '', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': '92e9368d-be86-4fac-b7a7-4383c6aa4fd0', 'ip_version': 4, 'cidr': '184.229.80.128/26', 'allocation_pools': [{'start': '184.229.80.130', 'end': '184.229.80.190'}], 'gateway_ip': '184.229.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.229.80.130', 'tags': [], 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:47,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fd02b6e-83f4-4bc0-b33c-3da80044e42e', 'name': '', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': '92e9368d-be86-4fac-b7a7-4383c6aa4fd0', 'ip_version': 4, 'cidr': '84.138.46.192/26', 'allocation_pools': [{'start': '84.138.46.194', 'end': '84.138.46.254'}], 'gateway_ip': '84.138.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.138.46.194', 'tags': [], 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:47,290 - INFO - Created VN ctest-vn1-73165931
2025-08-31 07:20:47,345 - DEBUG - VN ctest-vn1-73165931 UUID is 92e9368d-be86-4fac-b7a7-4383c6aa4fd0
2025-08-31 07:20:47,636 - DEBUG - Response for create_port : {'port': {'name': '8aba8b2c-57f6-4cc9-bb87-61d2cf5b3eb4', 'id': '8aba8b2c-57f6-4cc9-bb87-61d2cf5b3eb4', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': '92e9368d-be86-4fac-b7a7-4383c6aa4fd0', 'mac_address': '02:8a:ba:8b:2c:57', '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': '184.229.80.133', 'subnet_id': '1b24f370-a722-4d92-9300-5bbd4563c476'}], 'security_groups': ['04da5ad7-c9ed-441d-bf31-553fb66307a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:47,794 - DEBUG - Response for create_port : {'port': {'name': '7f075662-fbd7-42c7-b2b2-746052b20e01', 'id': '7f075662-fbd7-42c7-b2b2-746052b20e01', 'tenant_id': '9f98fae2586144fba91bfa704971fa71', 'network_id': '92e9368d-be86-4fac-b7a7-4383c6aa4fd0', 'mac_address': '02:7f:07:56:62:fb', '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': '84.138.46.197', 'subnet_id': '3fd02b6e-83f4-4bc0-b33c-3da80044e42e'}], 'security_groups': ['04da5ad7-c9ed-441d-bf31-553fb66307a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9f98fae2586144fba91bfa704971fa71'}}
2025-08-31 07:20:47,854 - DEBUG - Services list from nova: [, , ]
2025-08-31 07:20:48,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1)
2025-08-31 07:20:48,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1)
2025-08-31 07:20:48,547 - INFO - Waiting for VM ctest-vn1-vm1-04866924 to be up..
2025-08-31 07:20:48,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-31 07:20:53,660 - DEBUG - VM is in ACTIVE state now
2025-08-31 07:20:53,660 - INFO - VM name : ctest-vn1-vm1-04866924
2025-08-31 07:20:53,729 - DEBUG - VM ctest-vn1-vm1-04866924 ID is cf53d420-af6d-444d-b09a-648c4e987235
2025-08-31 07:20:53,747 - DEBUG - VM ctest-vn1-vm1-04866924 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1
2025-08-31 07:20:53,819 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cf53d420-af6d-444d-b09a-648c4e987235
2025-08-31 07:20:53,826 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8aba8b2c-57f6-4cc9-bb87-61d2cf5b3eb4
2025-08-31 07:20:57,087 - 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-08-31 07:20:57,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04866924 failed!
2025-08-31 07:20:57,141 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26053760:ctest-vn1-73165931 is 184.229.80.129 and allocation pool is NOT set
2025-08-31 07:20:57,142 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26053760:ctest-vn1-73165931 is 84.138.46.193 and allocation pool is NOT set
2025-08-31 07:20:59,197 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.876 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.876/6.977/13.079/6.101 ms')
2025-08-31 07:20:59,197 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04866924 passed
2025-08-31 07:20:59,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 07:20:59,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04866924, IP 184.229.80.133, Port 22
2025-08-31 07:20:59,505 - DEBUG - VM ctest-vn1-vm1-04866924 is ready for SSH connections
2025-08-31 07:20:59,505 - INFO - Waiting for VM ctest-vn1-vm2-72475007 to be up..
2025-08-31 07:20:59,576 - DEBUG - VM is in ACTIVE state now
2025-08-31 07:20:59,577 - INFO - VM name : ctest-vn1-vm2-72475007
2025-08-31 07:20:59,645 - DEBUG - VM ctest-vn1-vm2-72475007 ID is b385d770-43ac-4589-9231-8fd61fef36ff
2025-08-31 07:20:59,645 - DEBUG - VM ctest-vn1-vm2-72475007 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1
2025-08-31 07:20:59,719 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b385d770-43ac-4589-9231-8fd61fef36ff
2025-08-31 07:20:59,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f075662-fbd7-42c7-b2b2-746052b20e01
2025-08-31 07:21:00,963 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/2.040/3.659/1.619 ms')
2025-08-31 07:21:00,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72475007 passed
2025-08-31 07:21:01,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 07:21:01,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72475007, IP 84.138.46.197, Port 22
2025-08-31 07:21:01,269 - DEBUG - VM ctest-vn1-vm2-72475007 is ready for SSH connections
2025-08-31 07:21:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 07:21:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 07:21:01,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-31 07:21:01,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.229.80.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-31 07:21:01,270 - DEBUG - ping -s 56 -c 3 -W 1 184.229.80.133
2025-08-31 07:21:03,945 - DEBUG - PING 184.229.80.133 (184.229.80.133): 56 data bytes
64 bytes from 184.229.80.133: seq=0 ttl=63 time=3.795 ms
64 bytes from 184.229.80.133: seq=1 ttl=63 time=0.685 ms
64 bytes from 184.229.80.133: seq=2 ttl=63 time=1.498 ms
--- 184.229.80.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.685/1.992/3.795 ms
2025-08-31 07:21:03,946 - INFO - Ping to IP 184.229.80.133 from VM ctest-vn1-vm2-72475007 passed
2025-08-31 07:21:03,946 - INFO - Detaching port 7f075662-fbd7-42c7-b2b2-746052b20e01 from VM ctest-vn1-vm2-72475007
2025-08-31 07:21:04,008 - INFO - Deleting VM ctest-vn1-vm2-72475007
2025-08-31 07:21:04,079 - INFO - Detaching port 8aba8b2c-57f6-4cc9-bb87-61d2cf5b3eb4 from VM ctest-vn1-vm1-04866924
2025-08-31 07:21:04,117 - INFO - Deleting VM ctest-vn1-vm1-04866924
2025-08-31 07:21:04,333 - DEBUG - Response for delete_port : ()
2025-08-31 07:21:04,491 - DEBUG - Response for delete_port : ()
2025-08-31 07:21:04,491 - INFO - Deleting VN ctest-vn1-73165931
2025-08-31 07:21:04,615 - DEBUG - Response for deleting network ()
2025-08-31 07:21:04,875 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 07:21:04,875 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-31 07:21:04,875 - INFO - --------------------------------------------------------------------------------
2025-08-31 07:21:05,551 - INFO - Deleted project: ctest-TestPorts-26053760, ID : 9f98fae2-5861-44fb-a91b-fa704971fa71