Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 FuelClientTest CachedWorld and PatchModelFail failing #373

Closed
Crola1702 opened this issue Sep 7, 2023 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Crola1702
Copy link
Contributor

Crola1702 commented Sep 7, 2023

Environment

  • OS Version: Windows
  • Source gz-fuel-tools

Description

  • Expected behavior: Test should pass
  • Actual behavior: Test is failing due to a common::createDirectories failure

Steps to reproduce

  1. Run a build in gz-fuel-tools windows 8, 9 or ci-main
  2. See FuelClientTest fail

Output

Reference build: https://build.osrfoundation.org/job/ign_fuel-tools-gz-8-win/73/

Test regressions:

Both PatchModelFail and CachedWorld have:

5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\Filesystem.cc:50] Failed common::createDirectories (ec: system:267 The directory name is invalid.)
CachedWorld Log output:
5: [ RUN      ] FuelClientTest.CachedWorld
5: [Dbg] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient_TEST.cc:95] Creating local world in [C:\Windows\TEMP\gz\testa05104]
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\Filesystem.cc:50] Failed common::createDirectories (ec: system:267 The directory name is invalid.)
5: C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient_TEST.cc(100): error: Value of: common::createDirectories(common::joinPaths(worldPath, "2"))
5:   Actual: false
5: Expected: true
PatchModelFail Log output:
5: [ RUN      ] FuelClientTest.PatchModelFail
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\URI.cc:451] Adding empty path segment to URI  has no effect.
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\URI.cc:451] Adding empty path segment to URI models has no effect.
5: [Err] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient.cc:1684] The model path[bad] doesn't exist.
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\URI.cc:451] Adding empty path segment to URI  has no effect.
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\URI.cc:451] Adding empty path segment to URI models has no effect.
5: [Err] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient.cc:1724] Provided model directory[C:\Windows\TEMP\gz\testa05104] needs a metadata.pbtxt or a model.confg file. [Dbg] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient_TEST.cc:40] Creating local model in [C:\Windows\TEMP\gz\testa05104]
5: [Wrn] [C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-common\src\Filesystem.cc:50] Failed common::createDirectories (ec: system:267 The directory name is invalid.)
5: C:\J\workspace\ign_fuel-tools-gz-8-win\ws\gz-fuel-tools\src\FuelClient_TEST.cc(46): error: Value of: common::createDirectories( common::joinPaths(modelPath, "2", "meshes"))
5:   Actual: false
5: Expected: true

This is a consistent issue:

job_name last_fail first_fail build_count failure_count failure_percentage
ign_fuel-tools-gz-9-win 2023-09-06 2023-08-30 3 3 100.0
ign_fuel-tools-gz-8-win 2023-09-04 2023-08-23 4 4 100.0
ign_fuel-tools-ci-win 2023-08-27 2023-08-23 2 2 100.0
@Crola1702 Crola1702 added the bug Something isn't working label Sep 7, 2023
@Crola1702 Crola1702 moved this to Reported 📚 in Buildfarm Issues Sep 7, 2023
@mjcarroll mjcarroll moved this from Inbox to In progress in Core development Sep 18, 2023
@Crola1702 Crola1702 moved this from Reported 📚 to Fixing / assigned🧑‍🔧 in Buildfarm Issues Oct 10, 2023
@mjcarroll
Copy link
Contributor

Closed by #376

@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Oct 30, 2023
@github-project-automation github-project-automation bot moved this from Fixing / assigned🧑‍🔧 to Fixed ✅ in Buildfarm Issues Oct 30, 2023
@azeey
Copy link
Contributor

azeey commented Nov 6, 2023

Let's disable the tests on Windows for gz-fuel-tools8.

@Crola1702
Copy link
Contributor Author

This problem is still happening in gz-fuel-tools8 windows consistently (Reference build)

@Crola1702 Crola1702 reopened this Nov 14, 2023
@github-project-automation github-project-automation bot moved this from Fixed ✅ to Reported 📚 in Buildfarm Issues Nov 14, 2023
@github-project-automation github-project-automation bot moved this from Done to Inbox in Core development Nov 14, 2023
@mjcarroll
Copy link
Contributor

Yes, the #387 to close this hasn't been merged. It had test failures across the board, but likely due to fuel server issues. I think that we should be good to merge it now.

@mjcarroll mjcarroll moved this from Inbox to In progress in Core development Nov 20, 2023
@mjcarroll
Copy link
Contributor

Closed by #387

@github-project-automation github-project-automation bot moved this from Reported 📚 to Fixed ✅ in Buildfarm Issues Dec 11, 2023
@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants