Bug 207392

Summary: [NEW PORT] sysutils/hfm: Run tests in parallel at high frequency
Product: Ports & Packages Reporter: Derek <482254ac>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: --- Keywords: feature, patch, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/derekmarcotte/hfm
Attachments:
Description Flags
shar file patch
none
ports/UIDs patch
none
ports/GIDs patch
none
poudriere testport log
none
shar file patch - includes pkg-message, tightens _DEPENDS none

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!