2025-11-03 01:46:54,008 - INFO - Reading existing Domain with UUID 5e346e6a-000a-45ec-ad9d-44dfc9f4db48
2025-11-03 01:46:54,018 - INFO - Using existing domain ['admin_domain'](5e346e6a-000a-45ec-ad9d-44dfc9f4db48)
2025-11-03 01:46:54,289 - INFO - Project ctest-TestPorts-65582067 not found, creating it
2025-11-03 01:46:54,827 - INFO - Created Project:ctest-TestPorts-65582067, ID : df53be26-9e4f-4d0d-88f2-8fe286104c26
2025-11-03 01:46:56,559 - INFO - ================================================================================
2025-11-03 01:46:56,559 - INFO - STARTING TEST : test_ports_bindings
2025-11-03 01:46:56,559 - 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-11-03 01:46:56,943 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with
2025-11-03 01:46:56,943 - INFO - Initial checks done. Running the testcase now
2025-11-03 01:46:56,943 - INFO -
2025-11-03 01:46:57,718 - DEBUG - Response for create_network : {'network': {'id': '9c26825c-891d-4ff5-80d4-1642ef4d7986', 'name': 'ctest-vn-14683119', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'project_id': 'df53be269e4f4d0d88f28fe286104c26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-65582067', 'ctest-vn-14683119'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-11-03 01:46:57,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '1930789a-75f1-48a9-9170-db954f6289e0', 'name': '', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': '9c26825c-891d-4ff5-80d4-1642ef4d7986', 'ip_version': 4, 'cidr': '79.174.67.192/26', 'allocation_pools': [{'start': '79.174.67.194', 'end': '79.174.67.254'}], 'gateway_ip': '79.174.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:46:57.840329', 'updated_at': '2025-11-03T01:46:57.840329', 'dns_server_address': '79.174.67.194', 'tags': [], 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:46:58,000 - INFO - Created VN ctest-vn-14683119
2025-11-03 01:46:58,053 - DEBUG - VN ctest-vn-14683119 UUID is 9c26825c-891d-4ff5-80d4-1642ef4d7986
2025-11-03 01:46:58,256 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-65582067', 'ctest-vmi-29232560']}
2025-11-03 01:46:58,542 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29232560', 'id': '5816194d-6988-4fa7-b6e2-fc7990c9716b', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': '9c26825c-891d-4ff5-80d4-1642ef4d7986', 'mac_address': '02:58:16:19:4d:69', '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': '79.174.67.195', 'subnet_id': '1930789a-75f1-48a9-9170-db954f6289e0'}], 'security_groups': ['5bf1b636-c7f9-42f8-80e5-4c8455da9bff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-03T01:46:58.366487', 'updated_at': '2025-11-03T01:46:58.427600', 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:46:58,542 - DEBUG - Created port 5816194d-6988-4fa7-b6e2-fc7990c9716b
2025-11-03 01:46:58,649 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/5816194d-6988-4fa7-b6e2-fc7990c9716b
2025-11-03 01:46:58,992 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/5816194d-6988-4fa7-b6e2-fc7990c9716b
2025-11-03 01:46:59,075 - INFO - VMI 5816194d-6988-4fa7-b6e2-fc7990c9716b verification in API Server passed
2025-11-03 01:46:59,233 - DEBUG - Response for delete_port : ()
2025-11-03 01:46:59,233 - INFO - Deleted port 5816194d-6988-4fa7-b6e2-fc7990c9716b
2025-11-03 01:46:59,234 - INFO - Deleting VN ctest-vn-14683119
2025-11-03 01:46:59,412 - DEBUG - Response for deleting network ()
2025-11-03 01:46:59,806 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 01:46:59,807 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-03 01:46:59,807 - INFO - --------------------------------------------------------------------------------
2025-11-03 01:46:59,810 - INFO - ================================================================================
2025-11-03 01:46:59,810 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-03 01:46:59,810 - 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-11-03 01:47:00,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with
2025-11-03 01:47:00,194 - INFO - Initial checks done. Running the testcase now
2025-11-03 01:47:00,194 - INFO -
2025-11-03 01:47:00,465 - DEBUG - Response for create_network : {'network': {'id': 'da8afc15-f3bf-4534-860a-2d9d25f4dcaf', 'name': 'ctest-vn1-13705063', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'project_id': 'df53be269e4f4d0d88f28fe286104c26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-65582067', 'ctest-vn1-13705063'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-11-03 01:47:00,706 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b66e3f91-17a5-4935-b324-849269c16748', 'name': '', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': 'da8afc15-f3bf-4534-860a-2d9d25f4dcaf', 'ip_version': 4, 'cidr': '219.164.197.64/26', 'allocation_pools': [{'start': '219.164.197.66', 'end': '219.164.197.126'}], 'gateway_ip': '219.164.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:47:00.587805', 'updated_at': '2025-11-03T01:47:00.587805', 'dns_server_address': '219.164.197.66', 'tags': [], 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:47:00,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eabf31c-0be4-436f-be5b-f43d276b1d63', 'name': '', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': 'da8afc15-f3bf-4534-860a-2d9d25f4dcaf', 'ip_version': 4, 'cidr': '31.183.216.64/26', 'allocation_pools': [{'start': '31.183.216.66', 'end': '31.183.216.126'}], 'gateway_ip': '31.183.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:47:00.843284', 'updated_at': '2025-11-03T01:47:00.843284', 'dns_server_address': '31.183.216.66', 'tags': [], 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:47:01,011 - INFO - Created VN ctest-vn1-13705063
2025-11-03 01:47:01,069 - DEBUG - VN ctest-vn1-13705063 UUID is da8afc15-f3bf-4534-860a-2d9d25f4dcaf
2025-11-03 01:47:01,578 - DEBUG - Response for create_port : {'port': {'name': '9e033740-e63f-432a-bc46-dcc27003d0fd', 'id': '9e033740-e63f-432a-bc46-dcc27003d0fd', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': 'da8afc15-f3bf-4534-860a-2d9d25f4dcaf', 'mac_address': '02:9e:03:37:40:e6', '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': '219.164.197.69', 'subnet_id': 'b66e3f91-17a5-4935-b324-849269c16748'}], 'security_groups': ['5bf1b636-c7f9-42f8-80e5-4c8455da9bff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-03T01:47:01.402410', 'updated_at': '2025-11-03T01:47:01.470959', 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:47:01,814 - DEBUG - Response for create_port : {'port': {'name': '05b5c5bb-ffe0-4612-b961-571fed6efc84', 'id': '05b5c5bb-ffe0-4612-b961-571fed6efc84', 'tenant_id': 'df53be269e4f4d0d88f28fe286104c26', 'network_id': 'da8afc15-f3bf-4534-860a-2d9d25f4dcaf', 'mac_address': '02:05:b5:c5:bb:ff', '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': '31.183.216.69', 'subnet_id': '1eabf31c-0be4-436f-be5b-f43d276b1d63'}], 'security_groups': ['5bf1b636-c7f9-42f8-80e5-4c8455da9bff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-03T01:47:01.640226', 'updated_at': '2025-11-03T01:47:01.703814', 'project_id': 'df53be269e4f4d0d88f28fe286104c26'}}
2025-11-03 01:47:01,931 - DEBUG - Services list from nova: [, , ]
2025-11-03 01:47:02,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1)
2025-11-03 01:47:03,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1)
2025-11-03 01:47:03,535 - INFO - Waiting for VM ctest-vn1-vm1-41935630 to be up..
2025-11-03 01:47:03,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 01:47:08,774 - DEBUG - VM is in ACTIVE state now
2025-11-03 01:47:08,774 - INFO - VM name : ctest-vn1-vm1-41935630
2025-11-03 01:47:08,908 - DEBUG - VM ctest-vn1-vm1-41935630 ID is 0dac1fc2-1d02-4cd9-9c8b-186794c3ed6e
2025-11-03 01:47:08,941 - DEBUG - VM ctest-vn1-vm1-41935630 launched on Node cn-jenkins-deploy-platform-juju-os-611-1
2025-11-03 01:47:09,073 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/0dac1fc2-1d02-4cd9-9c8b-186794c3ed6e
2025-11-03 01:47:09,126 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/9e033740-e63f-432a-bc46-dcc27003d0fd
2025-11-03 01:47:12,594 - 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 1010ms')
2025-11-03 01:47:12,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41935630 failed!
2025-11-03 01:47:12,657 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-65582067:ctest-vn1-13705063 is 219.164.197.65 and allocation pool is NOT set
2025-11-03 01:47:12,657 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-65582067:ctest-vn1-13705063 is 31.183.216.65 and allocation pool is NOT set
2025-11-03 01:47:16,756 - 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=12.3 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 = 12.252/12.252/12.252/0.000 ms')
2025-11-03 01:47:16,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41935630 passed
2025-11-03 01:47:16,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 01:47:16,909 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41935630, IP 219.164.197.69, Port 22
2025-11-03 01:47:17,120 - DEBUG - VM ctest-vn1-vm1-41935630 is ready for SSH connections
2025-11-03 01:47:17,120 - INFO - Waiting for VM ctest-vn1-vm2-73132395 to be up..
2025-11-03 01:47:17,261 - DEBUG - VM is in ACTIVE state now
2025-11-03 01:47:17,262 - INFO - VM name : ctest-vn1-vm2-73132395
2025-11-03 01:47:17,391 - DEBUG - VM ctest-vn1-vm2-73132395 ID is 30a86754-1bca-48bf-8ce9-1bf08c94096c
2025-11-03 01:47:17,391 - DEBUG - VM ctest-vn1-vm2-73132395 launched on Node cn-jenkins-deploy-platform-juju-os-611-1
2025-11-03 01:47:17,522 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/30a86754-1bca-48bf-8ce9-1bf08c94096c
2025-11-03 01:47:17,579 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/05b5c5bb-ffe0-4612-b961-571fed6efc84
2025-11-03 01:47:19,039 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.890/3.387/1.497 ms')
2025-11-03 01:47:19,039 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73132395 passed
2025-11-03 01:47:19,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 01:47:19,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73132395, IP 31.183.216.69, Port 22
2025-11-03 01:47:19,411 - DEBUG - VM ctest-vn1-vm2-73132395 is ready for SSH connections
2025-11-03 01:47:19,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 01:47:19,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 01:47:19,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 01:47:19,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.164.197.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-03 01:47:19,412 - DEBUG - ping -s 56 -c 3 -W 1 219.164.197.69
2025-11-03 01:47:22,093 - DEBUG - PING 219.164.197.69 (219.164.197.69): 56 data bytes
64 bytes from 219.164.197.69: seq=0 ttl=63 time=4.032 ms
64 bytes from 219.164.197.69: seq=1 ttl=63 time=0.806 ms
64 bytes from 219.164.197.69: seq=2 ttl=63 time=1.033 ms
--- 219.164.197.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.806/1.957/4.032 ms
2025-11-03 01:47:22,093 - INFO - Ping to IP 219.164.197.69 from VM ctest-vn1-vm2-73132395 passed
2025-11-03 01:47:22,093 - INFO - Detaching port 05b5c5bb-ffe0-4612-b961-571fed6efc84 from VM ctest-vn1-vm2-73132395
2025-11-03 01:47:22,164 - INFO - Deleting VM ctest-vn1-vm2-73132395
2025-11-03 01:47:22,304 - INFO - Detaching port 9e033740-e63f-432a-bc46-dcc27003d0fd from VM ctest-vn1-vm1-41935630
2025-11-03 01:47:22,374 - INFO - Deleting VM ctest-vn1-vm1-41935630
2025-11-03 01:47:22,749 - DEBUG - Response for delete_port : ()
2025-11-03 01:47:23,061 - DEBUG - Response for delete_port : ()
2025-11-03 01:47:23,061 - INFO - Deleting VN ctest-vn1-13705063
2025-11-03 01:47:23,249 - DEBUG - Response for deleting network ()
2025-11-03 01:47:23,635 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 01:47:23,635 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-03 01:47:23,635 - INFO - --------------------------------------------------------------------------------
2025-11-03 01:47:24,397 - INFO - Deleted project: ctest-TestPorts-65582067, ID : df53be26-9e4f-4d0d-88f2-8fe286104c26