GithubHelp home page GithubHelp logo

Unit tests failing about al_usdmaya HOT 5 OPEN

animallogic avatar animallogic commented on June 12, 2024
Unit tests failing

from al_usdmaya.

Comments (5)

fabal avatar fabal commented on June 12, 2024

Thanks for the heads up.
Could you specify which HEAD is failing? Is it on master or develop? Also which version of Maya are you using?
FYI, internally, we've got automated tests validating the public build before it's released. On our side, these tests don't fail (develop and master).

from al_usdmaya.

nyue avatar nyue commented on June 12, 2024

I did a clean pull, it seems that the CTest target has been removed so I ran the test manually

[nyue@atomic2d043 AL_USDMaya_git]$ git status
On branch master
Your branch is up to date with 'origin/master'.

[nyue@atomic2d043 AL_USDMaya_git]$ git log | head
commit 5627cf6
Merge: fdc45f4 85b0cc4
Author: BuildBoy Jenkins [email protected]
Date: Wed May 2 22:52:05 2018 +1000

0.27.8

================= results ==================
[nyue@atomic2d043 build]$ ./schemas/AL/usd/schemas/tests/testMayaSchemas
[==========] Running 4 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from testMayaSchemas
[ RUN ] testMayaSchemas.verifyPlugin
[ OK ] testMayaSchemas.verifyPlugin (47 ms)
[ RUN ] testMayaSchemas.testMayaReferenceAttributes
[ OK ] testMayaSchemas.testMayaReferenceAttributes (39 ms)
[----------] 2 tests from testMayaSchemas (86 ms total)

[----------] 2 tests from testModelAPI
[ RUN ] testModelAPI.testComputeSelectability
Coding Error: in _SetMetadataImpl at line 96 of /mnt/scratch/nyue/projects/USD/USD_git/pxr/usd/lib/usd/object.cpp -- Unregistered metadata key: al_usdmaya_selectability
/mnt/scratch/nyue/projects/AL_USDMaya/AL_USDMaya_git/schemas/AL/usd/schemas/tests/testModelAPI.cpp:37: Failure
Value of: v == AL_USDMayaSchemasTokens->selectability_unselectable
Actual: false
Expected: true
[ FAILED ] testModelAPI.testComputeSelectability (1 ms)
[ RUN ] testModelAPI.testComputeLock
Coding Error: in _SetMetadataImpl at line 96 of /mnt/scratch/nyue/projects/USD/USD_git/pxr/usd/lib/usd/object.cpp -- Unregistered metadata key: al_usdmaya_lock
/mnt/scratch/nyue/projects/AL_USDMaya/AL_USDMaya_git/schemas/AL/usd/schemas/tests/testModelAPI.cpp:71: Failure
Value of: v == AL_USDMayaSchemasTokens->lock_transform
Actual: false
Expected: true
[ FAILED ] testModelAPI.testComputeLock (1 ms)
[----------] 2 tests from testModelAPI (2 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 2 test cases ran. (88 ms total)
[ PASSED ] 2 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] testModelAPI.testComputeSelectability
[ FAILED ] testModelAPI.testComputeLock

2 FAILED TESTS

from al_usdmaya.

fabal avatar fabal commented on June 12, 2024

Hi Nicholas,
CTest configuration hasn't changed lately so you should try and run the tests using it.
Let us know how it goes.

from al_usdmaya.

fabal avatar fabal commented on June 12, 2024

Actually you were right @nyue . The tests have been accidentally disabled by default a while ago when pixar's CMake files have been updated, this will be fixed shortly.
In the meantime, as a workaround, you can add

enable_testing()

to the main CMakeLists.txt and the test targets will be generated.

Thanks for the feedback.

from al_usdmaya.

99alfie avatar 99alfie commented on June 12, 2024

does not seem to be a bug. This error:
Unregistered metadata key: al_usdmaya_selectability
seems to indicate that PXR_PLUGINPATH_NAME has not been set to the AL_USDMayaSchemas dir, which would be at <INSTALL_LOCATION>/lib/usd/AL_USDMayaSchemas/resources

from al_usdmaya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.