Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Kea
Kea
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 460
    • Issues 460
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 75
    • Merge Requests 75
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #812

Closed
Open
Created Aug 08, 2019 by Tomek Mrugalski@tomek🛰Owner

hammer tries to run wget without checking if it's installed

Tried to run hammer on FreeBSD 11.3. It tried to run wget without checking if it's installed. Should print a nice error, rather than this confusing exception:

$ ./hammer.py prepare-system -p local
[HAMMER]  2019-08-08 10:17:55,786 Enabled features: unittest docs install perfdhcp
[HAMMER]  2019-08-08 10:17:55,806 Preparing deps for freebsd 11.3-RELEASE-p2
[HAMMER]  2019-08-08 10:17:55,807 >>>>> Executing wget --no-verbose -O /tmp/gtest.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz in /usr/home/jenkins/workspace/kea-master-cppcheck-internal
/bin/sh: wget: not found
Traceback (most recent call last):
  File "./hammer.py", line 2145, in <module>
    main()
  File "./hammer.py", line 2125, in main
    prepare_system_cmd(args)
  File "./hammer.py", line 2023, in prepare_system_cmd
    prepare_system_local(features, args.check_times)
  File "./hammer.py", line 1261, in prepare_system_local
    _install_gtest_sources()
  File "./hammer.py", line 821, in _install_gtest_sources
    execute(cmd)
  File "./hammer.py", line 275, in execute
    raise ExecutionError("The command return non-zero exitcode %s, cmd: '%s'" % (exitcode, cmd))
__main__.ExecutionError: The command return non-zero exitcode 127, cmd: 'wget --no-verbose -O /tmp/gtest.tar.gz https://github.com/google/googletest/archive/release-1.8.0.tar.gz'
$ wget
-sh: wget: not found
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Outstanding
Milestone
Outstanding
Assign milestone
Time tracking
None
Due date
None