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

4 unit tests fail: UNIT_FuelClient_TEST, UNIT_ign_src_TEST, UNIT_ModelIdentifier_TEST, UNIT_ign_TEST #48

Open
osrf-migration opened this issue Nov 20, 2018 · 1 comment
Labels
bug Something isn't working tests Broken or missing tests / testing infra

Comments

@osrf-migration
Copy link

Original report (archived issue) by yurivict (Bitbucket: yurivict).


The following tests FAILED:
	  3 - UNIT_FuelClient_TEST (Failed)
	  5 - UNIT_ign_src_TEST (Failed)
	 13 - UNIT_ModelIdentifier_TEST (Failed)
	 25 - UNIT_ign_TEST (Failed)
$ ./work/.build/bin/UNIT_FuelClient_TEST
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from FuelClient
[ RUN      ] FuelClient.ParseModelURL
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:154: Failure
Value of: "1.0"
Expected: id.Server().Version()
Which is: "5.0"
[Wrn] [FuelClient.cc:388] Server configuration is incomplete:
URL: https://api.ignitionfuel.org
Version: 
API key: 
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Wrn] [FuelClient.cc:388] Server configuration is incomplete:
URL: https://api.ignitionfuel.org
Version: 
API key: 
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:193: Failure
Value of: "1.0"
Expected: id.Server().Version()
Which is: ""
[Err] [FuelClient.cc:363] Invalid URL [http://bad.url]
[Wrn] [URI.cc:580] Unable to parse URI [bad url]. Ignoring.
[Err] [FuelClient.cc:363] Invalid URL [ba://url]
[Err] [FuelClient.cc:363] Invalid URL [https://api.ignitionfuel.org/german/models/Cardboard Box/banana]
[Err] [FuelClient.cc:363] Invalid URL [https://api.ignitionfuel.org/banana/german/models/Cardboard Box]
[Err] [FuelClient.cc:363] Invalid URL [https://api.ignitionfuel.org/99/german/models/Cardboard Box]
[Err] [FuelClient.cc:363] Invalid URL [https://api.ignitionfuel.org/2/2/german/models/Cardboard Box/banana]
[  FAILED  ] FuelClient.ParseModelURL (15 ms)
[ RUN      ] FuelClient.ParseModelFileURL
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:310: Failure
Value of: "1.0"
Expected: id.Server().Version()
Which is: "5.0"
[Wrn] [FuelClient.cc:457] Server configuration is incomplete:
URL: https://api.ignitionfuel.org
Version: 
API key: 
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Wrn] [FuelClient.cc:457] Server configuration is incomplete:
URL: https://api.ignitionfuel.org
Version: 
API key: 
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:347: Failure
Value of: "1.0"
Expected: id.Server().Version()
Which is: ""
[Err] [FuelClient.cc:432] Invalid URL [http://bad.url]
[Wrn] [URI.cc:580] Unable to parse URI [bad_url]. Ignoring.
[  FAILED  ] FuelClient.ParseModelFileURL (2 ms)
[ RUN      ] FuelClient.DownloadModel
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Msg] Saved model at:
  /usr/ports/misc/ignition-fuel-tools/work/.build/test_cache/api.ignitionfuel.org/chapulina/models/Test box/2
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:407: Failure
Value of: common::cwd() + "/test_cache/api.ignitionfuel.org/chapulina/models/Test box/1"
  Actual: "/usr/ports/misc/ignition-fuel-tools/work/.build/test_cache/api.ignitionfuel.org/chapulina/models/Test box/1"
Expected: path
Which is: "/usr/ports/misc/ignition-fuel-tools/work/.build/test_cache/api.ignitionfuel.org/chapulina/models/Test box/tip"
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:409: Failure
Value of: common::exists( "test_cache/api.ignitionfuel.org/chapulina/models/Test box/1")
  Actual: false
Expected: true
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:412: Failure
Value of: common::exists( "test_cache/api.ignitionfuel.org/chapulina/models/Test box/1/" "model.sdf")
  Actual: false
Expected: true
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:415: Failure
Value of: common::exists( "test_cache/api.ignitionfuel.org/chapulina/models/Test box/1/" "model.config")
  Actual: false
Expected: true
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:423: Failure
Value of: res3
  Actual: false
Expected: true
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:424: Failure
Value of: res3
  Actual: 0
Expected: Result(Result::FETCH_ALREADY_EXISTS)
Which is: 1
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/FuelClient_TEST.cc:427: Failure
Value of: cachedPath
  Actual: ""
Expected: common::cwd() + "/test_cache/api.ignitionfuel.org/chapulina/models/Test box/1"
Which is: "/usr/ports/misc/ignition-fuel-tools/work/.build/test_cache/api.ignitionfuel.org/chapulina/models/Test box/1"
[Err] [FuelClient.cc:285] Failed to download model.
  Server: https://api.ignitionfuel.org
  Route: chapulina/models/Inexistent model/tip/Inexistent model.zip
  REST response code: 404
[Wrn] [URI.cc:580] Unable to parse URI [banana]. Ignoring.
[  FAILED  ] FuelClient.DownloadModel (996 ms)
[ RUN      ] FuelClient.CachedModel
[Err] [FuelClient.cc:432] Invalid URL [http://localhost:8007/1.0/alice/models/Banana/model.sdf]
[Err] [FuelClient.cc:432] Invalid URL [http://localhost:8007/1.0/alice/models/My Model]
[Wrn] [URI.cc:580] Unable to parse URI [banana]. Ignoring.
[Wrn] [URI.cc:580] Unable to parse URI []. Ignoring.
[Wrn] [URI.cc:580] Unable to parse URI [banana]. Ignoring.
[       OK ] FuelClient.CachedModel (9 ms)
[ RUN      ] FuelClient.Config
[       OK ] FuelClient.Config (0 ms)
[ RUN      ] FuelClient.ModelDownload
[Wrn] [URI.cc:580] Unable to parse URI [bad]. Ignoring.
[       OK ] FuelClient.ModelDownload (1 ms)
[ RUN      ] FuelClient.ModelDetails
[       OK ] FuelClient.ModelDetails (0 ms)
[ RUN      ] FuelClient.Models
[Msg] //models/ not found in cache, attempting download
[Msg] //models/ not found in cache, attempting download
[Wrn] [FuelClient.cc:170] Failed to fetch models from server, returning cached models.
URL: 
Version: 1.0
API key: 

[Wrn] [FuelClient.cc:170] Failed to fetch models from server, returning cached models.
URL: 
Version: 1.0
API key: 

[       OK ] FuelClient.Models (1 ms)
[ RUN      ] FuelClient.DownloadModelFail
[Err] [FuelClient.cc:268] Can't download model, server configuration incomplete: 
URL: 
Version: 1.0
API key: 

[       OK ] FuelClient.DownloadModelFail (0 ms)
[ RUN      ] FuelClient.DeleteModelFail
[       OK ] FuelClient.DeleteModelFail (0 ms)
[ RUN      ] FuelClient.UploadModelFail
[       OK ] FuelClient.UploadModelFail (0 ms)
[----------] 11 tests from FuelClient (1024 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test case ran. (1024 ms total)
[  PASSED  ] 8 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] FuelClient.ParseModelURL
[  FAILED  ] FuelClient.ParseModelFileURL
[  FAILED  ] FuelClient.DownloadModel

 3 FAILED TESTS
$ ./work/.build/bin/UNIT_ign_src_TEST
Running main() from gtest_main.cc
[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from CmdLine
[ RUN      ] CmdLine.ModelListFail
[       OK ] CmdLine.ModelListFail (0 ms)
[ RUN      ] CmdLine.ModelListConfigServerUgly
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_src_TEST.cc:87: Failure
Expected: (stdOutBuffer.str().find("https://api.ignitionfuel.org")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
[  FAILED  ] CmdLine.ModelListConfigServerUgly (1 ms)
[ RUN      ] CmdLine.ModelListCustomServerPretty
[       OK ] CmdLine.ModelListCustomServerPretty (7756 ms)
[ RUN      ] CmdLine.ModelListCustomServerPrettyOwner
[       OK ] CmdLine.ModelListCustomServerPrettyOwner (6641 ms)
[ RUN      ] CmdLine.ModelDownloadBadUrl
[       OK ] CmdLine.ModelDownloadBadUrl (0 ms)
[ RUN      ] CmdLine.ModelDownloadWrongUrl
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Err] [FuelClient.cc:363] Invalid URL [https://site.com/1.0/ownername/modelname]
[       OK ] CmdLine.ModelDownloadWrongUrl (2 ms)
[ RUN      ] CmdLine.ModelDownloadUnversioned
[Wrn] [Filesystem.cc:140] The path [test_cache] does not refer to a directory nor to a file
[Wrn] [Filesystem.cc:275] Failed to open file [/usr/local/share/ignition/fuel_tools1/config.yaml]: No such file or directory
[Err] [ClientConfig.cc:291] Error copying default configuration file from [/usr/local/share/ignition/fuel_tools1//config.yaml] to [/home/yuri/.ignition/fuel/config.yaml]
[Msg] Saved model at:
  test_cache/api.ignitionfuel.org/chapulina/models/Test box/2
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_src_TEST.cc:213: Failure
Value of: ignition::common::isDirectory( "test_cache/api.ignitionfuel.org/chapulina/models/Test box/1")
  Actual: false
Expected: true
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_src_TEST.cc:215: Failure
Value of: ignition::common::isFile( "test_cache/api.ignitionfuel.org/chapulina/models/Test box/1/model.sdf")
  Actual: false
Expected: true
[  FAILED  ] CmdLine.ModelDownloadUnversioned (607 ms)
[----------] 7 tests from CmdLine (15047 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test case ran. (15047 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] CmdLine.ModelListConfigServerUgly
[  FAILED  ] CmdLine.ModelDownloadUnversioned

 2 FAILED TESTS
$ ./work/.build/bin/UNIT_ModelIdentifier_TEST
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from ModelIdentifier
[ RUN      ] ModelIdentifier.SetFields
[       OK ] ModelIdentifier.SetFields (0 ms)
[ RUN      ] ModelIdentifier.UniqueName
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ModelIdentifier_TEST.cc:77: Failure
Value of: id.UniqueName()
  Actual: "https://localhost:8002/alice/models/hello"
Expected: "https://localhost:8003/alice/models/hello"
[  FAILED  ] ModelIdentifier.UniqueName (0 ms)
[ RUN      ] ModelIdentifier.CopyConstructorDeepCopy
[       OK ] ModelIdentifier.CopyConstructorDeepCopy (0 ms)
[ RUN      ] ModelIdentifier.AssignmentOperatorDeepCopy
[       OK ] ModelIdentifier.AssignmentOperatorDeepCopy (0 ms)
[ RUN      ] ModelIdentifier.AsString
[Dbg] [ModelIdentifier_TEST.cc:187] Name: hello
Owner: raspberry
Version: 55
Unique name: /raspberry/models/hello
Description: 
File size: 2048
Upload date: 1542744898
UUID: lllooo000ooolll
Likes: 0
Downloads: 0
License name: 
License URL: 
License image URL: 
Tags: 
Server:
  URL: 
  Version: 1.0
  API key: 

[       OK ] ModelIdentifier.AsString (1 ms)
[ RUN      ] ModelIdentifier.AsPrettyString
[Dbg] [ModelIdentifier_TEST.cc:223] Name: hello
Owner: raspberry
Version: 55
File size: 2048
Upload date: 1542744898
Server:
  Version: 1.0

[       OK ] ModelIdentifier.AsPrettyString (0 ms)
[----------] 6 tests from ModelIdentifier (1 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (12 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ModelIdentifier.UniqueName

 1 FAILED TEST
$ ./work/.build/bin/UNIT_ign_TEST
Running main() from gtest_main.cc
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from CmdLine
[ RUN      ] CmdLine.Versions
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:57: Failure
Expected: (output.find(g_version)) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

[  FAILED  ] CmdLine.Versions (177 ms)
[ RUN      ] CmdLine.Help
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:65: Failure
Expected: (output.find("list")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:68: Failure
Expected: (output.find("list")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:71: Failure
Expected: (output.find("list")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

[  FAILED  ] CmdLine.Help (564 ms)
[ RUN      ] CmdLine.ModelListFail
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:78: Failure
Expected: (output.find("Missing resource type")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:81: Failure
Expected: (output.find("Only model resources")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:84: Failure
Expected: (output.find("failed to fetch model list")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

[  FAILED  ] CmdLine.ModelListFail (647 ms)
[ RUN      ] CmdLine.ModelListConfigServerUgly
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:92: Failure
Expected: (output.find("https://api.ignitionfuel.org/1.0/")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

[  FAILED  ] CmdLine.ModelListConfigServerUgly (209 ms)
[ RUN      ] CmdLine.ModelListCustomServerPretty
/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:104: Failure
Expected: (output.find("https://staging-api.ignitionfuel.org")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:105: Failure
Expected: (output.find("owners")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

/usr/ports/misc/ignition-fuel-tools/work/ignitionrobotics-ign-fuel-tools-cc74edb0c839b613e6bbf5451852457b4dd6357c/src/ign_TEST.cc:106: Failure
Expected: (output.find("models")) != (std::string::npos), actual: 18446744073709551615 vs 18446744073709551615
The 'ign' command provides a command line interface to the ignition tools.

  ign <command> [options]

List of available commands:

  help:          Print this help text.
  msg:           Print information about messages.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
Use 'ign help <command>' to print help for a command.

[  FAILED  ] CmdLine.ModelListCustomServerPretty (187 ms)
[----------] 5 tests from CmdLine (1785 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (1785 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] CmdLine.Versions
[  FAILED  ] CmdLine.Help
[  FAILED  ] CmdLine.ModelListFail
[  FAILED  ] CmdLine.ModelListConfigServerUgly
[  FAILED  ] CmdLine.ModelListCustomServerPretty

 5 FAILED TESTS

FreeBSD 11.2
clang-6
rev. cc74edb

@osrf-migration osrf-migration added major bug Something isn't working labels Apr 15, 2020
@chapulina chapulina added tests Broken or missing tests / testing infra and removed major labels May 26, 2020
@ahcorde
Copy link
Contributor

ahcorde commented Aug 24, 2020

Fixed master TEST #110

  • UNIT_FuelClient_TEST
  • UNIT_ign_src_TEST
  • UNIT_Interface_TEST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Broken or missing tests / testing infra
Projects
None yet
Development

No branches or pull requests

3 participants