2025-10-09 10:31:18,875 - INFO - Reading existing Domain with UUID dfa458d1-aaf5-4c71-9ede-e49be62ab991
2025-10-09 10:31:18,887 - INFO - Using existing domain ['admin_domain'](dfa458d1-aaf5-4c71-9ede-e49be62ab991)
2025-10-09 10:31:19,106 - INFO - Project ctest-TestPorts-03109103 not found, creating it
2025-10-09 10:31:19,641 - INFO - Created Project:ctest-TestPorts-03109103, ID : 3e56990e-1bc7-4af2-bf90-ca605a72d5da
2025-10-09 10:31:21,370 - INFO - ================================================================================
2025-10-09 10:31:21,370 - INFO - STARTING TEST : test_ports_bindings
2025-10-09 10:31:21,371 - 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-10-09 10:31:21,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with
2025-10-09 10:31:21,761 - INFO - Initial checks done. Running the testcase now
2025-10-09 10:31:21,761 - INFO -
2025-10-09 10:31:22,547 - DEBUG - Response for create_network : {'network': {'id': 'fb0a7757-ed7b-4bfd-ac56-57f818eb2c40', 'name': 'ctest-vn-32614106', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'project_id': '3e56990e1bc74af2bf90ca605a72d5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-03109103', 'ctest-vn-32614106'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-09 10:31:22,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c100e5a-cd97-4486-acf0-8b2e2a6a57c9', 'name': '', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': 'fb0a7757-ed7b-4bfd-ac56-57f818eb2c40', 'ip_version': 4, 'cidr': '12.60.190.64/26', 'allocation_pools': [{'start': '12.60.190.66', 'end': '12.60.190.126'}], 'gateway_ip': '12.60.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:31:22.715789', 'updated_at': '2025-10-09T10:31:22.715789', 'dns_server_address': '12.60.190.66', 'tags': [], 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:22,893 - INFO - Created VN ctest-vn-32614106
2025-10-09 10:31:22,947 - DEBUG - VN ctest-vn-32614106 UUID is fb0a7757-ed7b-4bfd-ac56-57f818eb2c40
2025-10-09 10:31:23,153 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-03109103', 'ctest-vmi-27419599']}
2025-10-09 10:31:23,464 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27419599', 'id': 'add24c24-e54f-4826-aab6-74a7ee534536', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': 'fb0a7757-ed7b-4bfd-ac56-57f818eb2c40', 'mac_address': '02:ad:d2:4c:24:e5', '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': '12.60.190.67', 'subnet_id': '6c100e5a-cd97-4486-acf0-8b2e2a6a57c9'}], 'security_groups': ['e211996a-00ca-4110-9d7e-947eaa71240f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T10:31:23.268804', 'updated_at': '2025-10-09T10:31:23.341751', 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:23,464 - DEBUG - Created port add24c24-e54f-4826-aab6-74a7ee534536
2025-10-09 10:31:23,571 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/add24c24-e54f-4826-aab6-74a7ee534536
2025-10-09 10:31:23,924 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/add24c24-e54f-4826-aab6-74a7ee534536
2025-10-09 10:31:24,016 - INFO - VMI add24c24-e54f-4826-aab6-74a7ee534536 verification in API Server passed
2025-10-09 10:31:24,196 - DEBUG - Response for delete_port : ()
2025-10-09 10:31:24,196 - INFO - Deleted port add24c24-e54f-4826-aab6-74a7ee534536
2025-10-09 10:31:24,196 - INFO - Deleting VN ctest-vn-32614106
2025-10-09 10:31:24,397 - DEBUG - Response for deleting network ()
2025-10-09 10:31:24,788 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 10:31:24,788 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 10:31:24,788 - INFO - --------------------------------------------------------------------------------
2025-10-09 10:31:24,791 - INFO - ================================================================================
2025-10-09 10:31:24,791 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-09 10:31:24,791 - 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-10-09 10:31:25,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with
2025-10-09 10:31:25,172 - INFO - Initial checks done. Running the testcase now
2025-10-09 10:31:25,172 - INFO -
2025-10-09 10:31:25,451 - DEBUG - Response for create_network : {'network': {'id': '17498fe3-24d2-4e47-921f-8d7298762e8f', 'name': 'ctest-vn1-36116190', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'project_id': '3e56990e1bc74af2bf90ca605a72d5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-03109103', 'ctest-vn1-36116190'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-09 10:31:25,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef3012d6-27be-4145-b46f-c324b892201e', 'name': '', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': '17498fe3-24d2-4e47-921f-8d7298762e8f', 'ip_version': 4, 'cidr': '204.76.15.0/26', 'allocation_pools': [{'start': '204.76.15.2', 'end': '204.76.15.62'}], 'gateway_ip': '204.76.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:31:25.543754', 'updated_at': '2025-10-09T10:31:25.543754', 'dns_server_address': '204.76.15.2', 'tags': [], 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:25,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da857ce4-ffb7-4423-b48e-e9a5b2ebc3e1', 'name': '', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': '17498fe3-24d2-4e47-921f-8d7298762e8f', 'ip_version': 4, 'cidr': '55.86.113.64/26', 'allocation_pools': [{'start': '55.86.113.66', 'end': '55.86.113.126'}], 'gateway_ip': '55.86.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:31:25.789343', 'updated_at': '2025-10-09T10:31:25.789343', 'dns_server_address': '55.86.113.66', 'tags': [], 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:25,961 - INFO - Created VN ctest-vn1-36116190
2025-10-09 10:31:26,015 - DEBUG - VN ctest-vn1-36116190 UUID is 17498fe3-24d2-4e47-921f-8d7298762e8f
2025-10-09 10:31:26,559 - DEBUG - Response for create_port : {'port': {'name': '3d5b598a-4ec8-41d3-8bca-3ef94ef08beb', 'id': '3d5b598a-4ec8-41d3-8bca-3ef94ef08beb', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': '17498fe3-24d2-4e47-921f-8d7298762e8f', 'mac_address': '02:3d:5b:59:8a:4e', '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': '204.76.15.5', 'subnet_id': 'ef3012d6-27be-4145-b46f-c324b892201e'}], 'security_groups': ['e211996a-00ca-4110-9d7e-947eaa71240f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T10:31:26.376213', 'updated_at': '2025-10-09T10:31:26.446114', 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:26,795 - DEBUG - Response for create_port : {'port': {'name': '9c228783-d79e-4249-888c-bd71515058a4', 'id': '9c228783-d79e-4249-888c-bd71515058a4', 'tenant_id': '3e56990e1bc74af2bf90ca605a72d5da', 'network_id': '17498fe3-24d2-4e47-921f-8d7298762e8f', 'mac_address': '02:9c:22:87:83:d7', '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': '55.86.113.69', 'subnet_id': 'da857ce4-ffb7-4423-b48e-e9a5b2ebc3e1'}], 'security_groups': ['e211996a-00ca-4110-9d7e-947eaa71240f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-09T10:31:26.620282', 'updated_at': '2025-10-09T10:31:26.684118', 'project_id': '3e56990e1bc74af2bf90ca605a72d5da'}}
2025-10-09 10:31:26,908 - DEBUG - Services list from nova: [, , ]
2025-10-09 10:31:28,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1)
2025-10-09 10:31:29,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1)
2025-10-09 10:31:29,086 - INFO - Waiting for VM ctest-vn1-vm1-83619195 to be up..
2025-10-09 10:31:29,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 10:31:34,341 - DEBUG - VM is in ACTIVE state now
2025-10-09 10:31:34,341 - INFO - VM name : ctest-vn1-vm1-83619195
2025-10-09 10:31:34,479 - DEBUG - VM ctest-vn1-vm1-83619195 ID is 15305388-ddab-4b91-bfa5-b7052286b2d6
2025-10-09 10:31:34,515 - DEBUG - VM ctest-vn1-vm1-83619195 launched on Node cn-jenkins-deploy-platform-juju-os-587-1
2025-10-09 10:31:34,644 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/15305388-ddab-4b91-bfa5-b7052286b2d6
2025-10-09 10:31:34,699 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/3d5b598a-4ec8-41d3-8bca-3ef94ef08beb
2025-10-09 10:31:38,173 - 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 1006ms')
2025-10-09 10:31:38,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83619195 failed!
2025-10-09 10:31:38,227 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-03109103:ctest-vn1-36116190 is 204.76.15.1 and allocation pool is NOT set
2025-10-09 10:31:38,227 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-03109103:ctest-vn1-36116190 is 55.86.113.65 and allocation pool is NOT set
2025-10-09 10:31:42,336 - 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=2 ttl=63 time=3.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 3.448/3.448/3.448/0.000 ms')
2025-10-09 10:31:42,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83619195 passed
2025-10-09 10:31:42,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 10:31:42,491 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83619195, IP 204.76.15.5, Port 22
2025-10-09 10:31:42,702 - DEBUG - VM ctest-vn1-vm1-83619195 is ready for SSH connections
2025-10-09 10:31:42,702 - INFO - Waiting for VM ctest-vn1-vm2-41423130 to be up..
2025-10-09 10:31:42,830 - DEBUG - VM is in ACTIVE state now
2025-10-09 10:31:42,830 - INFO - VM name : ctest-vn1-vm2-41423130
2025-10-09 10:31:42,960 - DEBUG - VM ctest-vn1-vm2-41423130 ID is 3d13b6cd-8676-4627-893b-8f6a4fda5fb4
2025-10-09 10:31:42,960 - DEBUG - VM ctest-vn1-vm2-41423130 launched on Node cn-jenkins-deploy-platform-juju-os-587-1
2025-10-09 10:31:43,098 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/3d13b6cd-8676-4627-893b-8f6a4fda5fb4
2025-10-09 10:31:43,151 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/9c228783-d79e-4249-888c-bd71515058a4
2025-10-09 10:31:44,610 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.414/1.671/2.929/1.257 ms')
2025-10-09 10:31:44,610 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41423130 passed
2025-10-09 10:31:44,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 10:31:44,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41423130, IP 55.86.113.69, Port 22
2025-10-09 10:31:44,977 - DEBUG - VM ctest-vn1-vm2-41423130 is ready for SSH connections
2025-10-09 10:31:44,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 10:31:44,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 10:31:44,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 10:31:44,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.76.15.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-09 10:31:44,977 - DEBUG - ping -s 56 -c 3 -W 1 204.76.15.5
2025-10-09 10:31:47,652 - DEBUG - PING 204.76.15.5 (204.76.15.5): 56 data bytes
64 bytes from 204.76.15.5: seq=0 ttl=63 time=3.591 ms
64 bytes from 204.76.15.5: seq=1 ttl=63 time=0.911 ms
64 bytes from 204.76.15.5: seq=2 ttl=63 time=0.936 ms
--- 204.76.15.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.911/1.812/3.591 ms
2025-10-09 10:31:47,653 - INFO - Ping to IP 204.76.15.5 from VM ctest-vn1-vm2-41423130 passed
2025-10-09 10:31:47,653 - INFO - Detaching port 9c228783-d79e-4249-888c-bd71515058a4 from VM ctest-vn1-vm2-41423130
2025-10-09 10:31:47,837 - INFO - Deleting VM ctest-vn1-vm2-41423130
2025-10-09 10:31:48,021 - INFO - Detaching port 3d5b598a-4ec8-41d3-8bca-3ef94ef08beb from VM ctest-vn1-vm1-83619195
2025-10-09 10:31:48,218 - INFO - Deleting VM ctest-vn1-vm1-83619195
2025-10-09 10:31:48,650 - DEBUG - Response for delete_port : ()
2025-10-09 10:31:49,366 - DEBUG - Response for delete_port : ()
2025-10-09 10:31:49,366 - INFO - Deleting VN ctest-vn1-36116190
2025-10-09 10:31:49,951 - DEBUG - Response for deleting network ()
2025-10-09 10:31:50,349 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 10:31:50,349 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-09 10:31:50,349 - INFO - --------------------------------------------------------------------------------
2025-10-09 10:31:51,096 - INFO - Deleted project: ctest-TestPorts-03109103, ID : 3e56990e-1bc7-4af2-bf90-ca605a72d5da