2025-08-11 07:39:07,493 - INFO - Domain Default found not creating
2025-08-11 07:39:07,622 - INFO - Project ctest-TestPorts-11298898 not found, creating it
2025-08-11 07:39:08,041 - INFO - Created Project:ctest-TestPorts-11298898, ID : 287d1665-66e1-464e-9f74-77270cdce3bd
2025-08-11 07:39:09,430 - INFO - ================================================================================
2025-08-11 07:39:09,430 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 07:39:09,431 - 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 07:39:09,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2025-08-11 07:39:09,681 - INFO - Initial checks done. Running the testcase now
2025-08-11 07:39:09,681 - INFO -
2025-08-11 07:39:10,192 - DEBUG - Response for create_network : {'network': {'id': 'bc3e23b4-e7e4-4136-815c-5a2ce2d93dc3', 'name': 'ctest-vn-25823413', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'project_id': '287d166566e1464e9f7477270cdce3bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11298898', 'ctest-vn-25823413'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 07:39:10,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '48ce9823-ed1a-4a81-aae5-8b4bfb3f0640', 'name': '', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'bc3e23b4-e7e4-4136-815c-5a2ce2d93dc3', 'ip_version': 4, 'cidr': '23.163.91.128/26', 'allocation_pools': [{'start': '23.163.91.130', 'end': '23.163.91.190'}], 'gateway_ip': '23.163.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.163.91.130', 'tags': [], 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:10,377 - INFO - Created VN ctest-vn-25823413
2025-08-11 07:39:10,426 - DEBUG - VN ctest-vn-25823413 UUID is bc3e23b4-e7e4-4136-815c-5a2ce2d93dc3
2025-08-11 07:39:10,522 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11298898', 'ctest-vmi-11061722']}
2025-08-11 07:39:10,775 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11061722', 'id': '31766153-f901-4175-8cd0-920ae539dc88', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'bc3e23b4-e7e4-4136-815c-5a2ce2d93dc3', 'mac_address': '02:31:76:61:53:f9', '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': '23.163.91.131', 'subnet_id': '48ce9823-ed1a-4a81-aae5-8b4bfb3f0640'}], 'security_groups': ['56fd0407-42c0-4ac9-9b2b-9977c9a5970f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:10,775 - DEBUG - Created port 31766153-f901-4175-8cd0-920ae539dc88
2025-08-11 07:39:10,878 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/31766153-f901-4175-8cd0-920ae539dc88
2025-08-11 07:39:11,165 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/31766153-f901-4175-8cd0-920ae539dc88
2025-08-11 07:39:11,195 - INFO - VMI 31766153-f901-4175-8cd0-920ae539dc88 verification in API Server passed
2025-08-11 07:39:11,271 - DEBUG - Response for delete_port : ()
2025-08-11 07:39:11,271 - INFO - Deleted port 31766153-f901-4175-8cd0-920ae539dc88
2025-08-11 07:39:11,271 - INFO - Deleting VN ctest-vn-25823413
2025-08-11 07:39:11,359 - DEBUG - Response for deleting network ()
2025-08-11 07:39:11,615 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 07:39:11,615 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 07:39:11,615 - INFO - --------------------------------------------------------------------------------
2025-08-11 07:39:11,618 - INFO - ================================================================================
2025-08-11 07:39:11,618 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 07:39:11,618 - 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 07:39:11,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2025-08-11 07:39:11,907 - INFO - Initial checks done. Running the testcase now
2025-08-11 07:39:11,907 - INFO -
2025-08-11 07:39:12,067 - DEBUG - Response for create_network : {'network': {'id': 'dde73239-52f0-43af-b3ae-ca540173d40e', 'name': 'ctest-vn1-54713924', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'project_id': '287d166566e1464e9f7477270cdce3bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11298898', 'ctest-vn1-54713924'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 07:39:12,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b500a01-371b-431b-b3d4-67b011c0d593', 'name': '', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'dde73239-52f0-43af-b3ae-ca540173d40e', 'ip_version': 4, 'cidr': '122.234.214.128/26', 'allocation_pools': [{'start': '122.234.214.130', 'end': '122.234.214.190'}], 'gateway_ip': '122.234.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.234.214.130', 'tags': [], 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:12,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2eb575-a006-42d3-bf9f-4ac95927335b', 'name': '', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'dde73239-52f0-43af-b3ae-ca540173d40e', 'ip_version': 4, 'cidr': '60.195.237.64/26', 'allocation_pools': [{'start': '60.195.237.66', 'end': '60.195.237.126'}], 'gateway_ip': '60.195.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.195.237.66', 'tags': [], 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:12,459 - INFO - Created VN ctest-vn1-54713924
2025-08-11 07:39:12,510 - DEBUG - VN ctest-vn1-54713924 UUID is dde73239-52f0-43af-b3ae-ca540173d40e
2025-08-11 07:39:12,787 - DEBUG - Response for create_port : {'port': {'name': '73687d9a-b45e-4562-be45-934787547f2a', 'id': '73687d9a-b45e-4562-be45-934787547f2a', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'dde73239-52f0-43af-b3ae-ca540173d40e', 'mac_address': '02:73:68:7d:9a:b4', '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': '122.234.214.133', 'subnet_id': '8b500a01-371b-431b-b3d4-67b011c0d593'}], 'security_groups': ['56fd0407-42c0-4ac9-9b2b-9977c9a5970f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:12,948 - DEBUG - Response for create_port : {'port': {'name': 'c46b2aa3-d3ba-4d06-9eec-e0a95ce1d918', 'id': 'c46b2aa3-d3ba-4d06-9eec-e0a95ce1d918', 'tenant_id': '287d166566e1464e9f7477270cdce3bd', 'network_id': 'dde73239-52f0-43af-b3ae-ca540173d40e', 'mac_address': '02:c4:6b:2a:a3:d3', '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': '60.195.237.69', 'subnet_id': 'cf2eb575-a006-42d3-bf9f-4ac95927335b'}], 'security_groups': ['56fd0407-42c0-4ac9-9b2b-9977c9a5970f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '287d166566e1464e9f7477270cdce3bd'}}
2025-08-11 07:39:12,997 - DEBUG - Services list from nova: [, , ]
2025-08-11 07:39:13,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1)
2025-08-11 07:39:13,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1)
2025-08-11 07:39:13,618 - INFO - Waiting for VM ctest-vn1-vm1-83418647 to be up..
2025-08-11 07:39:13,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:39:18,845 - DEBUG - VM is in ACTIVE state now
2025-08-11 07:39:18,845 - INFO - VM name : ctest-vn1-vm1-83418647
2025-08-11 07:39:18,904 - DEBUG - VM ctest-vn1-vm1-83418647 ID is 93a7f946-baa8-437b-b64c-8daab6dba3d7
2025-08-11 07:39:18,919 - DEBUG - VM ctest-vn1-vm1-83418647 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1
2025-08-11 07:39:18,978 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/93a7f946-baa8-437b-b64c-8daab6dba3d7
2025-08-11 07:39:18,986 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/73687d9a-b45e-4562-be45-934787547f2a
2025-08-11 07:39:22,219 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2025-08-11 07:39:22,219 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83418647 failed!
2025-08-11 07:39:22,274 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11298898:ctest-vn1-54713924 is 122.234.214.129 and allocation pool is NOT set
2025-08-11 07:39:22,274 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11298898:ctest-vn1-54713924 is 60.195.237.65 and allocation pool is NOT set
2025-08-11 07:39:24,335 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.200 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.200/1.399/2.599/1.199 ms')
2025-08-11 07:39:24,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83418647 passed
2025-08-11 07:39:24,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:24,490 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83418647, IP 122.234.214.133, Port 22
2025-08-11 07:39:24,650 - DEBUG - VM ctest-vn1-vm1-83418647 is ready for SSH connections
2025-08-11 07:39:24,650 - INFO - Waiting for VM ctest-vn1-vm2-12996987 to be up..
2025-08-11 07:39:24,722 - DEBUG - VM is in ACTIVE state now
2025-08-11 07:39:24,722 - INFO - VM name : ctest-vn1-vm2-12996987
2025-08-11 07:39:24,783 - DEBUG - VM ctest-vn1-vm2-12996987 ID is 3fba85d2-eaa4-40c4-ad28-1ddfa4d96108
2025-08-11 07:39:24,783 - DEBUG - VM ctest-vn1-vm2-12996987 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1
2025-08-11 07:39:24,841 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3fba85d2-eaa4-40c4-ad28-1ddfa4d96108
2025-08-11 07:39:24,848 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c46b2aa3-d3ba-4d06-9eec-e0a95ce1d918
2025-08-11 07:39:26,084 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.763 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.763/1.815/2.867/1.052 ms')
2025-08-11 07:39:26,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-12996987 passed
2025-08-11 07:39:26,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:26,234 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12996987, IP 60.195.237.69, Port 22
2025-08-11 07:39:26,390 - DEBUG - VM ctest-vn1-vm2-12996987 is ready for SSH connections
2025-08-11 07:39:26,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:26,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:26,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:26,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.234.214.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-08-11 07:39:26,391 - DEBUG - ping -s 56 -c 3 -W 1 122.234.214.133
2025-08-11 07:39:30,427 - DEBUG - PING 122.234.214.133 (122.234.214.133): 56 data bytes
64 bytes from 122.234.214.133: seq=0 ttl=63 time=3.195 ms
64 bytes from 122.234.214.133: seq=1 ttl=63 time=0.754 ms
64 bytes from 122.234.214.133: seq=2 ttl=63 time=0.828 ms
--- 122.234.214.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.754/1.592/3.195 ms
2025-08-11 07:39:30,428 - INFO - Ping to IP 122.234.214.133 from VM ctest-vn1-vm2-12996987 passed
2025-08-11 07:39:30,428 - INFO - Detaching port c46b2aa3-d3ba-4d06-9eec-e0a95ce1d918 from VM ctest-vn1-vm2-12996987
2025-08-11 07:39:30,482 - INFO - Deleting VM ctest-vn1-vm2-12996987
2025-08-11 07:39:30,539 - INFO - Detaching port 73687d9a-b45e-4562-be45-934787547f2a from VM ctest-vn1-vm1-83418647
2025-08-11 07:39:30,576 - INFO - Deleting VM ctest-vn1-vm1-83418647
2025-08-11 07:39:30,839 - DEBUG - Response for delete_port : ()
2025-08-11 07:39:31,024 - DEBUG - Response for delete_port : ()
2025-08-11 07:39:31,025 - INFO - Deleting VN ctest-vn1-54713924
2025-08-11 07:39:31,155 - DEBUG - Response for deleting network ()
2025-08-11 07:39:31,424 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 07:39:31,424 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-08-11 07:39:31,424 - INFO - --------------------------------------------------------------------------------
2025-08-11 07:39:32,119 - INFO - Deleted project: ctest-TestPorts-11298898, ID : 287d1665-66e1-464e-9f74-77270cdce3bd