Commit Graph

84 Commits

Author SHA1 Message Date
hnusrath c1938eadf6 LYN-3465 : The test timeout for AutomatedTesting::PhysicsTests_Sandbox
needs to be adjusted to match the new requirements.

Reducing the timeout to 1500s from 3600s
2021-05-05 16:32:31 +01:00
amzn-sean 24167e7c02 address PR comments 2021-05-05 12:40:31 +01:00
amzn-sean be7d34b856 Merge branch 'main' into physx_fix_tests 2021-05-05 12:40:09 +01:00
hnusrath 5a60cb15fc Spec-5799 Add PhysX tests to Main Suite to run under 3 min (#368)
* Spec-5799 Add PhysX tests to Main Suite to run under 3 min

Adding 12 tests to Main Suite from Periodic Suite. Moved 1 test case to
Sandbox Suite as it was failing and needs to be investigated.

Run results on local : 12 passed, 1 warning in 172.31s (0:02:52)

Test Case list in Main suite:
test_C111111_RigidBody_EnablingGravityWorksUsingNotificationsPoC
test_C5932041_PhysXForceRegion_LocalSpaceForceOnRigidBodies
test_C4044459_Material_DynamicFriction test_C15425929_Undo_Redo
test_C4976243_Collision_SameCollisionGroupDiffCollisionLayers
test_C14654881_CharacterController_SwitchLevels
test_C17411467_AddPhysxRagdollComponent
test_C12712453_ScriptCanvas_MultipleRaycastNode
test_C4982593_PhysXCollider_CollisionLayerTest
test_C18243586_Joints_HingeLeadFollowerCollide
test_C19578021_ShapeCollider_CanBeAdded
test_C4982803_Enable_PxMesh_Option

Test moved to Sandbox Suite :
test_C13895144_Ragdoll_ChangeLevel

* Delete .gitignore

* Revert "Delete .gitignore"
This reverts commit 9540e000c85e2a2015fbb8251f0a3248494349b0.
Revert the modification of adding the buildoutput folder.

* Spec-5799:Fixing Cyclinder ShapeCollider test and adding it to Main
Suite

Changes :
1. Fixed and Added test
   C24308873_CylinderShapeCollider_CollidesWithPhysXTerrain to
   TestSuite_Main.py and updated the level for the test.
2. Removed test test_C19578021_ShapeCollider_CanBeAdded from Main suite
   back to Periodic Suite

* Update TestSuite_Periodic.py

Adding xfail to test case test_C13895144_Ragdoll_ChangeLevel as the previous change had overridden Sean Cove's change with commit 95a44c481a

* Update TestSuite_Sandbox.py

Removing test case test_C13895144_Ragdoll_ChangeLevel and moving it to Periodic Suite as the previous change had overridden Sean Cove's change with commit 95a44c481a

Co-authored-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-05-04 19:15:36 +01:00
amzn-sean 937d0ac726 bump inter-test timeout by 1 sec for C5932042_PhysXForceRegion_LinearDamping 2021-05-04 19:11:40 +01:00
amzn-sean 524652ee17 fixed C18243589_Joints_BallSoftLimitsConstrained test failure 2021-05-04 18:02:52 +01:00
Chris Galvan 8b0b3f4d02 [LYN-3078] Removed legacy CMaterial and all related/unused classes. 2021-05-03 16:42:11 -05:00
Terry Michaels 2fc130d4ab Removed legacy render components (#421)
Removed legacy render components
2021-04-30 15:05:10 -05:00
bosnichd 1d4c483e73 Red code legacy renderer (#383)
- Remove some references to gEnv->pRenderer/GetIEditor()->GetRenderer() that is now always null.
- Restore the debug console to existence.
- Stop building the following in preparation for their removal:

Code/CryEngine/Cry3DEngine/*
Code/CryEngine/RenderDll/*
Code/Tools/CryFXC/*
Code/Tools/HLSLCrossCompiler/*
Code/Tools/HLSLCrossCompilerMETAL/*
Code/Tools/RC/*
Code/Tools/ShaderCacheGen/*
Tools/CrySCompileServer/*
2021-04-30 07:31:42 -06:00
Sean Sweeney dcb253e08c Merge pull request #321 from aws-lumberyard-dev/modify_test_timeout
Modify test timeouts
2021-04-29 18:03:45 -07:00
lumberyard-employee-dm 3dec5d3b71 LYN-2537 engine assets (#254)
* LYN-2537 Moved the Engine and Editor folder to be within the EngineAssets folder

* Fixed Documentation in bootstrap.cfg to correct the path to the user project specific registry file

* Adding a newline to the output of AssetCatalog 'Registering asset..., but type is not set' message

* Updating the AssetProcessorPlatformConfig.setreg Scan Folder to detect
the @ENGINEROOT@/EngineAssets/Engine path for engine runtime assets and
@ENGINEROOT@/EngineAssets/Editor path for engine tool assets

* Updating references to Icons and other assets to account for moving the
Engine and Editor folder under a single EngineAssets folder

* Moving the Engine Settings Registry folder from Engine/Registry -> Registry

* Removed the LY_PROJECT_CMAKE_PATH define as it is not portable to other locations. It is hard coded to the project location that was used for the CMake configuration. Furthermore it paths with backslashes within it are treated as escape characters and not a path separator

* Updated the LyTestTools asset_processor.py script to copy the exclude.filetag from the EngineAssets/Engine directory now

* Fixed Atom Shader Preprocessing when running using an External Project

* Updated the TSGenerateAction.cpp to fix the build error with using a renamed variable

* Updated the Install_Common.cmake ly_setup_others function to install the
EngineAssets directory and the each of the Gem's Assets directory while
maintaining the relative directory structure to the Engine Root
Also updated the install step to install the Registry folder at the
engine root

* Fixed the copying of the Registry folder to be in the install root, instead of under a second 'Registry' folder

* Moving the AssetProcessorPlatformConfig.setreg file over to the Registry folder

* Updated the LyTestTools and C++ code to point that the new location of
the AssetProcessorPlatformConfig.setreg file inside of the Registry
folder

* Renamed Test AssetProcessor*Config.ini files to have the .setreg extension

* Converted the AssetProcessor test setreg files from ini format to json
format using the SerializeContextTools convert-ini command

* Updated the AssetProcessor CMakeLists.txt to copy over the test setreg files to the build folder

* Updated the assetprocessor test file list to point at the renamed AsssetProcessor*Config setreg filenames

* Removed the Output Prefix code from the AssetProcessor. The complexity that it brought to the AP code is not needed, as users can replicate the behavior by just moving there assets underneath a another folder, underneath the scan folder

* Adding back support to read the AssetProcessorPlatformConfig.setreg file from the asset root. This is only needed for C++ UnitTests as they run in an environment where the accessing the Engine Settings Registry is not available

* Updating the Install_common.cmake logic to copy any "Assets" folder to
the install layout.
The Script has also been updated to copy over the "Assets" folder in the
Engine Root to the install layout instead of an "EngineAssets" folder

* Updating References to EngineAssets source asset folder in code to be the Assets source folder

* Moved the Engine Source Asset folder of 'EngineAssets' to a new folder name of 'Assets'. This is inline with the naming scheme we use for Gem asset folders

* Adding the EngineFinder.cmake to the AutomatedTesting project to allow it to work in a project centric manner

* Updating the LyTestTools copy_assets_to_project function to be able to copy assets with folders to the temporary project root
Fixed an issue in LyTestTools where the temporary log directory could have shutil.rmtree being called twice on it leading to an exception which fails an automated test

Updated the asset_procesor_gui_tests_2 AddScanFolder test to not use the
output prefix, but instead place the source asset root into a
subdirectory

* Correct the AssetProcessorPlatformConfig Scan Folders for the EngineAssets directory to point at the Assets directory

* Updated the asset procesor batch dependency test scan folder to point at the 'Assets' folder instead of 'EngineAssets'
2021-04-28 21:38:43 -05:00
jromnoa e1b55d8f0a change property call to the new Atom properties for Decal (Atom) 2021-04-27 16:59:53 -07:00
jromnoa 678a831e51 fix expected lines check for Decal (Atom) to go with the update after finding crash bug 2021-04-27 16:40:53 -07:00
jromnoa 019eacc073 fix Decal component name due to crash in SPEC-6561 2021-04-27 16:38:26 -07:00
jromnoa dfb33e5d4f move failing test to sandbox suite while investigation is underway 2021-04-27 11:31:43 -07:00
jromnoa 0042848b8a Merge pull request #326 from aws-lumberyard-dev/Atom/jromnoa/SPEC-6522-test-fix
SPEC-6522: Fixes AutomatedTesting::AtomRenderer_HydraTests_Main test.
2021-04-27 09:57:45 -07:00
AMZN-AlexOteiza 66bdf4e26d Fix and re-enabled blast tests and moved them to main
* Fixed and reenabled Blast tests
* moved blast tests to main

Co-authored-by: aljanru <aljanru@amazon.com>
2021-04-27 17:53:03 +01:00
sweeneys 924fee57a5 Merge branch 'main' into modify_test_timeout 2021-04-27 09:32:13 -07:00
amzn-sean 5e50fc2961 fix build failure 2021-04-27 14:43:54 +01:00
amzn-sean 82fce4a90c Merge branch 'main' into physx_ragdoll_create 2021-04-27 14:21:10 +01:00
amzn-sean 95a44c481a fixed errors from main merge 2021-04-27 14:17:05 +01:00
Aaron Ruiz Mora 7f1e3b4054 Moving largeworlds's failing tests to sandbox 2021-04-27 13:56:31 +01:00
jromnoa bf70ccaa39 remove unused import 2021-04-26 15:32:29 -07:00
jromnoa 8c54cf8633 increase test timeout and add missing test case IDs 2021-04-26 15:29:49 -07:00
AMZN-AlexOteiza 764cd52c26 Fixed whitebox tests using correct imports
Fixed whitebox tests using correct imports

Co-authored-by: aljanru <aljanru@amazon.com>
2021-04-26 21:06:01 +01:00
sweeneys 812f396d11 Merge branch 'main' into modify_test_timeout 2021-04-26 12:46:27 -07:00
sweeneys d8afec36cd Change test module default timeouts to 25 minutes to unblock Periodic and Sandbox CI builds, without incurring the costs involved with increased log verbosity. 2021-04-26 12:38:00 -07:00
jckand 90f51961c4 Merging main and resolving conflicts 2021-04-26 09:54:32 -05:00
AMZN-AlexOteiza 3f32cc929c Fixed All Physics automated tests (#129)
* Fixed all Tests.
* Fixed tests stdout redirection
* Changed return code for failed tests to be 0xF
* Small improvements on automated testing code
* Created Periodic test suite and moved tests
* Made physics main to only have one test for now
* Renamed all tests to have leading AutomatedTesting::
2021-04-26 15:25:34 +01:00
Aaron Ruiz Mora 23dba55c21 Move flaky atom renderer test from main to sandbox test suite 2021-04-26 14:58:03 +01:00
jromnoa 68051490b8 Merge pull request #272 from aws-lumberyard-dev/Atom/jromnoa/add-atomtest-epb-tests-to-automatedtesting
ATOM-15219: Add the Atom component test to the AutomatedTesting project.
2021-04-23 16:55:26 -07:00
jckand 23c544b501 Removing GPU requirement from Large Worlds tests 2021-04-23 16:48:04 -05:00
jckand dd00b8a1ad Merge branch 'main' into jckand/FoundationAuto 2021-04-23 16:45:34 -05:00
jckand 10361f0ae4 - LYN-3275: Marking several tests xfail due to Mesh planting issues with nullrenderer
- LYN-3273: Marking several tests xfail due to Mesh Blocker issues with nullrenderer
2021-04-23 15:47:20 -05:00
jckand 4c8401ec7a - Updating imports for LandscapeCanvas tests to new utils location
- Enabling Atom Null Renderer for launch_and_validate_results()
2021-04-23 13:48:07 -05:00
jromnoa 91ec9b4f7e add CMakeLists.txt comment removal (was missed in last commit) 2021-04-23 10:46:35 -07:00
evanchia bd19a6450f Minor update to readme file for editor python test tools 2021-04-23 10:44:55 -07:00
jromnoa 811dc9c446 remove unused TestAllComponentsBasicTests class, fix test_case_id markers to be comma separated, lowered CMake timeout to 5 minutes, use existing after_level_load() utility function, remove redundant comments 2021-04-23 10:42:03 -07:00
jckand b2f0df99a7 - Removing re-merged unneeded tests
- Updating imports for Editor tests to new utils location
2021-04-23 11:28:44 -05:00
evanchia 5849575318 removing egg files 2021-04-22 20:08:01 -07:00
jromnoa f2a2286a2c remove GPU requirements, clean up test verification 2021-04-22 19:16:00 -07:00
jromnoa 32d643fe95 enable NullRenderer for test, clean-up some test verifications 2021-04-22 18:17:09 -07:00
jromnoa 1fed4cd335 Merge branch 'main' into Atom/jromnoa/add-atomtest-epb-tests-to-automatedtesting 2021-04-22 17:49:21 -07:00
jromnoa a9913cc079 remove shadowtest level, swap test to components test instead 2021-04-22 17:34:18 -07:00
jckand 52731b478d Resolving conflicts with deleted files and main merge 2021-04-22 17:16:17 -05:00
evanchia-ly-sdets 6164e2aa99 Merge pull request #146 from aws-lumberyard-dev/hydra_util_package
Moving hydra util files package
2021-04-22 15:11:33 -07:00
cgalvan 5d3774521f Merge pull request #251 from aws-lumberyard-dev/cgalvan/RemoveSetEditMode
[LYN-3160] Removed IEditor::Get/SetEditMode and some additional unused (related) content in the InfoBar.
2021-04-22 16:36:57 -05:00
jckand 8ee6a16567 - Removing another mistakenly re-merged test file
- Updating conftest.py to point to new location for saved layouts
2021-04-22 16:22:11 -05:00
AMZN-stankowi f44f06c9f0 AssImp set to be the default FBX processor (#78) (#136)
* AssImp set to be the default FBX processor (#78)

If you encounter issues, reach out to the Helios team with details, and then switch back to FBX SDK locally by changing FBXImporter.h

* Merge pull request #219 from aws-lumberyard-dev/sceneapi_scripting

LYN-3030: Fix to export_chunks_builder.py to match the AssImp node paths

* Hide some automated test folders from the asset processor for automatedtesting. This is necessary because these assets should only be processed when running the test, and not any time AP is launched for this project.

* Putting these test assets back to visible to Asset Processor. These tests need to be updated at some point to handle that, but they won't work with this change for now. Note that until this is addressed, these tests may randomly time out if they're the first tests run on a clean asset processor, and these tests launch AP without using a unique port, so the test can also fail if an Asset Processor executable is hanging open.

Grabbed the change I missed from the 1.0 branch merge, no idea how this got lost.

* Moved from main to periodic. Allen and Fuzzy were already on board, and I think with the potential flakiness in this test, we don't want this in main.

Co-authored-by: jackalbe <23512001+jackalbe@users.noreply.github.com>
2021-04-22 14:09:44 -07:00
evanchia 8c29ebe728 chaging name from Lumberyard to od3e 2021-04-22 13:30:11 -07:00