Bug 207392 - [NEW PORT] sysutils/hfm: Run tests in parallel at high frequency
Summary: [NEW PORT] sysutils/hfm: Run tests in parallel at high frequency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL: https://github.com/derekmarcotte/hfm
Keywords: feature, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-02-21 14:31 UTC by Derek
Modified: 2016-03-20 20:21 UTC (History)
1 user (show)

See Also:


Attachments
shar file patch (5.22 KB, patch)
2016-02-21 14:31 UTC, Derek
no flags Details | Diff
ports/UIDs patch (550 bytes, patch)
2016-02-21 14:32 UTC, Derek
no flags Details | Diff
ports/GIDs patch (219 bytes, patch)
2016-02-21 14:32 UTC, Derek
no flags Details | Diff
poudriere testport log (19.80 KB, text/x-log)
2016-02-21 16:32 UTC, Derek
no flags Details
shar file patch - includes pkg-message, tightens _DEPENDS (5.44 KB, application/x-shar)
2016-02-22 11:33 UTC, Derek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek 2016-02-21 14:31:39 UTC
Created attachment 167254 [details]
shar file patch
Comment 1 Derek 2016-02-21 14:32:15 UTC
Created attachment 167255 [details]
ports/UIDs patch
Comment 2 Derek 2016-02-21 14:32:40 UTC
Created attachment 167256 [details]
ports/GIDs patch
Comment 3 Derek 2016-02-21 16:32:04 UTC
Created attachment 167261 [details]
poudriere testport log
Comment 4 Derek 2016-02-22 11:33:41 UTC
Created attachment 167292 [details]
shar file patch - includes pkg-message, tightens _DEPENDS
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-16 18:16:50 UTC
testbuilds@work
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-16 18:21:31 UTC
Fails to build on 9.3.a, see

http://people.freebsd.org/~pi/logs/sysutils__hfm-93a-1458152169.txt

Do you have an idea how to fix this ?
Comment 7 Derek 2016-03-17 00:29:36 UTC
Thanks!  I'll take a look.  My suspicion is gcc vs clang at the linker stage, but won't know until I have a go, thanks for taking a look!
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-20 20:14:33 UTC
I found a solution with USES=compiler:c++11-lang
Comment 9 commit-hook freebsd_committer freebsd_triage 2016-03-20 20:20:55 UTC
A commit references this bug:

Author: pi
Date: Sun Mar 20 20:20:14 UTC 2016
New revision: 411516
URL: https://svnweb.freebsd.org/changeset/ports/411516

Log:
  New port: sysutils/hfm

  hfm is an application to run tests in parallel at a high frequency.
  If the outcome of the test results in a state change, other commands
  can be executed.

  It is designed to be a general purpose, loosely-coupled tool, by
  having both the tests and the state change commands be executed by
  the operating system. For example, one could write the test in
  shell or c, and have it called through the exec facility.

  In practice, the overhead of spawning a new process per test limits
  frequency that can be achieved by the tests, and their results.
  Anecdotally, 5ms intervals have been seen to be achievable.

  An example application is to poll other network services for health,
  and to take actions based on their health status changes.

  WWW: https://github.com/derekmarcotte/hfm

  PR:		207392
  Submitted by:	554b8425@razorfever.net

Changes:
  head/GIDs
  head/UIDs
  head/sysutils/Makefile
  head/sysutils/hfm/
  head/sysutils/hfm/Makefile
  head/sysutils/hfm/distinfo
  head/sysutils/hfm/files/
  head/sysutils/hfm/files/hfm.in
  head/sysutils/hfm/pkg-descr
  head/sysutils/hfm/pkg-message
  head/sysutils/hfm/pkg-plist
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2016-03-20 20:21:32 UTC
Committed, thanks!