Commit graph

39 commits

Author SHA1 Message Date
Toke Jepsen
e4e6503017
Testing: Release Maya/Deadline job from pending when testing. (#5988)
* Release job from pending when testing.

* Removed render instance

This test was created as simple model and workfile publish, without Deadline rendering. Cleaned up render elements.

* Revert changes in submit publish plugin

---------

Co-authored-by: kalisp <petr.kalis@gmail.com>
2024-01-03 12:07:32 +01:00
Petr Kalis
d66bac0f14
Tests: update after thumbnail default change (#6040)
* Updates to tests because of default Thumbnail non integration

Some previous PR changed default behavior of Thumbnail, they are not integrated anymore. Tests were expecting they are.

Change in AE local render is required to match behavior and provide Colorspace handling.

* Updates to tests because of default Thumbnail non integration

Missed values

* Updates to tests because of default Thumbnail non integration

Missed values
2023-12-11 17:50:48 +01:00
Petr Kalis
dda7c573ba
Removed render instance (#6026)
This test was created as simple model and workfile publish, without Deadline rendering. Cleaned up render elements.
2023-12-07 16:56:06 +01:00
Toke Jepsen
71badb50cc
Do not persist data by default. (#5987) 2023-12-04 16:14:59 +01:00
Toke Jepsen
463a7fb323
Skip Arnold license for test rendering. (#5984) 2023-12-04 16:13:23 +01:00
Toke Jepsen
9607db50f2
Testing: Ingest expected files and input workfile (#5840)
* Ingest input workfile

* Ingest input workfile

* Ingested expected files, workfile

Implemented LocalFileHandler.
Test name added to structure to separate files for each test.
Removed superfluous `files` to keep other Maya test working

* Missing time import

* Hound

* Skip directories when checking folder structure.

* Update tests/lib/testing_classes.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

* Updated integration tests documentation

* Ingested test files for Deadline test in maya

* Removed unneeded files

* Refactored name

---------

Co-authored-by: kalisp <petr.kalis@gmail.com>
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-09 16:58:27 +01:00
Toke Jepsen
f7d76617c0
Testing: Validate Maya Logs (#5775)
* Working version

* Improve launched app communication

* Move imports to methods.

* Update tests/integration/hosts/maya/test_publish_in_maya.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

* Collect errors from process

* fix startup scripts arguments

* Update openpype/lib/applications.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Fix application polling

* Docstring

* Revert stdout and stderr

* Revert subprocess.PIPE

* Added missed imports

If we are moving these because of testing, lets move all of them

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: kalisp <petr.kalis@gmail.com>
2023-11-07 16:51:54 +01:00
Toke Jepsen
b92bc4b202
Update tests/integration/hosts/maya/input/startup/userSetup.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-12 14:18:11 +01:00
Toke Jepsen
5b3c6b8cfd
Update tests/integration/hosts/maya/input/startup/userSetup.py 2023-10-12 13:16:14 +01:00
Toke Stuart Jepsen
b49c04f570 Rely less on deferred execution 2023-10-10 17:56:47 +01:00
Toke Stuart Jepsen
31ffb5e826 Ingest Maya usersetup 2023-10-09 18:26:29 +01:00
Petr Kalis
40755fce11
Increase timout for deadline test (#5654)
DL picks up jobs quite slow, so bump up delay.
2023-09-26 18:56:01 +02:00
Jakub Jezek
37dc18b837
hound comments 2023-01-25 15:55:03 +01:00
Petr Kalis
492e5bbd03 Merge develop 2022-12-08 11:21:38 +01:00
Petr Kalis
412d03d382 Merge fixes for tests from branch with Deadline tests.
Branch with newly implemented DL tests is targetted to release 3.15, but changes from it affects tests in develop.
This branch should solve issues with automatic tests in develop without need of full release 3.15 changes.
2022-12-02 15:52:04 +01:00
Petr Kalis
02b7c64491 OP-3426 - fix expected count of representation
This changed as default for single frame is png, not mp4 now.
2022-11-21 17:12:39 +01:00
Petr Kalis
0c9c9c40b8 OP-3426 - remove not working set of failed 2022-11-11 19:21:52 +01:00
Petr Kalis
a48c76b003 OP-3426 - set failed when assertion error
Failed is used to persist errrored run.
2022-11-11 18:21:33 +01:00
Petr Kalis
350685b4c6 OP-3426 - changed APP to APP_GROUP
APP_GROUP is more descriptive
2022-11-04 18:08:01 +01:00
Petr Kalis
e94c524ece OP-3426 - fix - counts of expected items in DB
Format of subset names was changed, default settings contain also hero version etc.
2022-10-24 15:10:26 +02:00
Petr Kalis
d35ea96bd0 OP-3426 - added filtering of published folders from comparing
Some files or folders are dynamically created and cannot be part of comparing of published and expected folder structure.
(Example is Logs in AE from DL)
2022-10-24 11:52:08 +02:00
Petr Kalis
e38ae9d919 OP-3426 - refactor - rename workfile 2022-10-21 16:45:14 +02:00
Petr Kalis
5d9aaecea0 OP-3426 - fix output folder
output_folder_url should be used, contains already 'output' subfolder
2022-10-21 15:58:25 +02:00
Petr Kalis
76de4e4bbb OP-3426 - added support for automatic tests into GlobalJobPreLoad
Jobs sent to DL must propagate flag IS_TEST to note that job is an automatic tests, it should use different DBs from regular jobs.
2022-10-19 13:40:33 +02:00
Petr Kalis
29ca3f8556 OP-4180 - change output folder
It should be in `output` subfolder, not in root
2022-10-19 12:30:03 +02:00
Petr Kalis
c27d8a2678 OP-3426 - refactor - changed style of db asserts for Maya 2022-10-18 13:05:51 +02:00
Petr Kalis
2436fabd7f OP-3426 - update db asserts for simple Maya test 2022-10-18 12:54:00 +02:00
Petr Kalis
7c904861fd OP-3426 - test class for Maya and Deadline 2022-10-18 12:36:56 +02:00
Petr Kalis
e3864ead41 OP-3426 - DL support for Maya automatic tests
WIP
2022-10-14 15:21:25 +02:00
Petr Kalis
ec15b482db OP-2042 - added additional class wrapper per host 2021-12-10 17:25:37 +01:00
Petr Kalis
9a0d55e2f3 OP-2042 - added new fixture output_folder_url
Explicitly sets directory of published files. (Purges them if exist!)
2021-12-10 15:08:13 +01:00
Petr Kalis
d0ada90e44 OP-2042 - added functionality to implicit choose variant
If APP_VARIANT is empty it looks for latest installed variant of an application
2021-12-03 16:18:07 +01:00
Petr Kalis
d4e5ab90cf OP-2042 - added better documentation how to run it 2021-12-02 19:02:35 +01:00
Petr Kalis
e35920f9be OP-2042 - replaced testing zip files
Zip files now stored on OP shared GDrive

PS implementation is not working, fixed in OP-2019
2021-12-02 18:40:39 +01:00
Petr Kalis
9761b0a79f Small fixes 2021-10-06 13:27:53 +02:00
Petr Kalis
2167671d8e #1784 - fixing Hound, typos, run_tests command
Added documentation
2021-09-09 14:18:13 +02:00
Petr Kalis
d0a4293b9d #1784 - added howto create new publishing test 2021-09-06 18:42:34 +02:00
Petr Kalis
124429c5ee #1794 - created multiple test classes
Refactor
2021-09-03 18:13:06 +02:00
Petr Kalis
7e088d6b97 #1794 - moved to better folder
Implemented comparing published files with expected
Changed approach to userSetup
2021-09-03 17:45:32 +02:00