Ticket #187 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

COBIALoadTest failure

Reported by: michelpons Owned by: michelpons
Priority: major Milestone: Maintenance of Phase II
Component: Building distribution Version: 1.2.0.13
Keywords: Cc:

Description

Within the build process of COBIA installers, the Unitary Tests fail:

running COBIA win32 unit tests


Outil en ligne de commande d'exécution de tests Microsoft (R), version 16.11.0
Copyright (c) Microsoft Corporation. Tous droits réservés.

Démarrage de l'exécution de tests, patientez...
Au total, 1 fichiers de test ont correspondu au modèle spécifié.

Échoué COBIALoadTest [353 ms]
Message d'erreur :

Assert failed. COBIA Load Failure: COBIA not found - please check for a valid COBIA installation

Arborescence des appels de procédure :

at CobiaTest::BasicTests::COBIALoadTest() in D:\OneDrive?\SOFTWARE\COBIA\BUILD\COBIA\UnitTests?\BasicTest?.cpp:line 28

Réussi CapeArrayRealImplTest? [< 1 ms]
Réussi CapeArrayRealScalarImplTest? [< 1 ms]
Réussi CapeArrayRealAdapterTest? [< 1 ms]
Réussi CobiaArrayRealTest? [< 1 ms]
Réussi CapeArrayIntegerImplTest? [< 1 ms]
Réussi CapeArrayIntegerAdapterTest? [< 1 ms]
Réussi CobiaArrayIntegerTest? [< 1 ms]
Réussi CapeArrayByteImplTest? [< 1 ms]
Réussi CapeArrayByteAdapterTest? [< 1 ms]
Réussi CobiaArrayByteTest? [< 1 ms]
Réussi CapeArrayBooleanImplTest? [< 1 ms]
Réussi CapeArrayBooleanAdapterTest? [< 1 ms]
Réussi CobiaArrayBooleanTest? [< 1 ms]
Réussi CapeArrayEnumerationImplTest? [< 1 ms]
Réussi CapeArrayEnumerationAdapterTest? [< 1 ms]
Réussi CobiaArrayEnumerationTest? [< 1 ms]
Réussi CapeStringImplTest? [< 1 ms]
Réussi CapeStringAdapterTest? [< 1 ms]
Réussi CobiaStringTest? [< 1 ms]
Réussi CapeArrayStringImplTest? [< 1 ms]
Réussi CapeArrayStringAdapterTest? [< 1 ms]
Réussi CobiaArrayStringTest? [< 1 ms]
Réussi CapeValueImplTest? [< 1 ms]
Réussi CobiaValueTest? [< 1 ms]
Réussi CapeArrayValueImplTest? [< 1 ms]
Réussi CobiaArrayValueTest? [< 1 ms]
Réussi UUID [< 1 ms]
Réussi DataFolders? [< 1 ms]
Réussi parserTest [< 1 ms]
Réussi RegistryTest? [< 1 ms]
Réussi PMCRegistrarTest [< 1 ms]

Échec de la série de tests.
Nombre total de tests : 32

Réussi(s) : 31
Non réussi(s) : 1

Durée totale : 0,8471 Secondes

Traceback (most recent call last):

File "D:\onedrive\software\cobia\build\makedistribution.py", line 358, in <module>

raise RuntimeError?('Win32 unit tests failed')

Mind that the COBIA_INCLUDE system variable is showing then as C:\Program Files (x86)\Common Files\CAPE-OPEN Laboratories Network\Include\ while all COBIA related software have been uninstalled prior to launching the build process, including COBIA SDK, COBIA runtime and COTS.

Attachments

Consolereport.txt (79.4 KB) - added by michelpons 15 months ago.
Console report of build process
Y2023-08-18_ConsoleReport.txt (103.9 KB) - added by michelpons 15 months ago.
Console report in cmd window as of Y2023-08-18

Change History

Changed 15 months ago by michelpons

Console report of build process

comment:1 Changed 15 months ago by jasper

but COBIA itself is 'installed' by the test script, here:

Registered COBIA and COBIASDK folders are D:\OneDrive?\SOFTWARE\COBIA\COBIA.1.2.0.13\win32\bin\RelWithDebInfo?, version = 1.2.0.13

Can you check that Computer\HKEY_CURRENT_USER\Software\CAPE-OPEN Laboratories Network\COBIA\x86 correctly points to that location and that COBIA.dll indeed exists there?

comment:2 Changed 15 months ago by michelpons

Problem seems resolved. Build worked when in cmd while it did not work inWindows PowerShell? (admin).
Don't know if it is worth investigating. See attached console report I got from the build of COBIA 1.2.0.13 installers.

Changed 15 months ago by michelpons

Console report in cmd window as of Y2023-08-18

comment:3 Changed 15 months ago by jasper

Hmmm - curious. The build script should not depend on what shell it is executed from.

comment:4 Changed 15 months ago by michelpons

  • Owner changed from jasper to michelpons
  • Status changed from new to assigned

comment:5 Changed 15 months ago by michelpons

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.