Skip to content

Conversation

zain-mecklai
Copy link
Contributor

@zain-mecklai zain-mecklai commented Jun 21, 2022

This change is to scan fewer assemblies for ILPP. This helps to ensure that tests are getting the same data.

Changelog

Nothing for the changelog

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

No API Deprecatiion

@zain-mecklai zain-mecklai changed the title update timeout fix: ILPP filter out tests Jun 27, 2022
@zain-mecklai zain-mecklai marked this pull request as ready for review July 15, 2022 15:57
@zain-mecklai zain-mecklai requested a review from a team as a code owner July 15, 2022 15:57
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still looks good to me!
:)

@zain-mecklai
Copy link
Contributor Author

@ashwinimurt or @ThusWroteNomad can this be merged please?

- unity-downloader-cli -u {{ editor }} -c editor -w --fast
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr{% if platform.name == "win" %}.bat --output utr.bat{% endif %}{% if platform.name != "win" %} --output utr && chmod +x ./utr{% endif %}
- {{ platform.editorpath }} -projectpath testproject -batchmode -nographics -quit -logfile BuildMultiprocessTestPlayer.log -executeMethod Unity.Netcode.MultiprocessRuntimeTests.BuildMultiprocessTestPlayer.BuildRelease
- {{ platform.editorpath }} -projectpath testproject -batchmode -quit -logfile BuildMultiprocessTestPlayer.log -executeMethod Unity.Netcode.MultiprocessRuntimeTests.BuildMultiprocessTestPlayer.BuildRelease
Copy link
Contributor

@ashwinimurt ashwinimurt Jul 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for removing -nographics? Do we need graphics for these tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashwinimurt On linux, in 2022.2 the Editor was crashing with a high frequency with errors that looked like something was still trying to init the graphics stack. With this change, that problem was completely removed. I can try a different image and see if the problem is any better since I didn't see this problem when I was using a custom image and not one of the standard CI images for Ubuntu.

@zain-mecklai
Copy link
Contributor Author

@ThusWroteNomad can you merge this please?

@zain-mecklai
Copy link
Contributor Author

@ashwinimurt or @ThusWroteNomad can this be merged please?

@zain-mecklai zain-mecklai requested a review from ashwinimurt July 26, 2022 17:05
@zain-mecklai
Copy link
Contributor Author

@ashwinimurt or @ThusWroteNomad can this be merged please?

@ashwinimurt ashwinimurt enabled auto-merge (squash) July 27, 2022 15:42
@ashwinimurt ashwinimurt merged commit 11922a0 into develop Jul 27, 2022
@ashwinimurt ashwinimurt deleted the test/multiprocess_2022.2 branch July 27, 2022 16:22
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
* update timeout

* remote UNET

* fix: Stop populating ILPPMessageProvider with messages from outside the main runtime assembly

* reset the changes to the scene

* Initialiize the Rawgithash variable for the local execution case

* Add a little more logging and see if we can find why allactons hasn't been populated at the time the test runs

* Update the test to reduce the number of log messages as well as make the messages more informative

* Lot when initlializatioon is complete

* More logging clean up and adding information about registered test methods

* Move init all steps to Awake instead of Start, eventually need to figure out how to block initial connection until init all steps is done

* Move init to Awake

* Fix missing log message in TestCoordinator Start method

* Use GPU for Ubuntu image

* Remove the nographics requirement and see if we can stabilize 2022.2

* Use -nographics and don't request a GPU for Linux

* try to use ubuntu-20 and see if this is more stable

* Use GPU for Linux and use Ubuntu 18

* Remove nographics again as it clearly makes an improvement

* Adding a GPU and removing nographics just made things slower but still failing so no point making this change, reverse it

Co-authored-by: Kitty Draper <kitty.draper@unity3d.com>
Co-authored-by: ashwini <36935028+ashwinimurt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants