• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rlworkgroup / garage / 2636 / 1
64%
master: 64%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2018 06:01AM UTC
Files 239
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Sep 2018 05:22PM UTC coverage: 61.862% (-0.07%) from 61.928%
2636.1

cron

travis-ci-com

web-flow
Fix sleeping processes (#295)

The joblib package responsible of the MemmappingPool has been updated to
consider any bugs that could produce the sleeping processes in the
parallel sampler. Also the environment variable JOBLIB_START_METHOD has
been removed since it's not implemented by joblib anymore.
However, if run_experiment is interrupted during the optimization steps,
the sleeping processes are still produced. To fix the problem, the child
processes of the parallel sampler ignore SIGINT so they're not killed
while holding a lock that is also acquired by the parent process,
avoiding a dead lock.
The process (thread in TF) used in Plotter is terminated thanks to
registering the method shutdown with function atexit, but one important
step missing was to clean the Queue that interacts with worker process.
The class BatchPolopt has been re-made as InstrumentedBatchPolopt to
notify the test of the different stages in the experiment life cycle so
it can be interrupted with SIGINT.
The test makes sure that the children processes are gone after
the SIGINT is sent, or it throws an assertion error with those processes
that didn't die.
The context manager MasksSignals has been created to handle the
masking of SIGINT in parallel_sampler.
All plotters are appended to a static list, so they can be easily
reachable from run_experiment to call shutdown on them.
In order to check that all processes died after a time out, a loop to
poll for alive processes was implemented.
A warning message for processes that remain after shutdown is printed so
users of garage can reopen the corresponding issue.
A process known as semaphore tracker is spawned from the run_experiment
process, but we cannot stop this process as it ignores SIGINT and
SIGTERM and we haven't access to it. Therefore, it's removed from the
list of children to wait for in both run_experiment and in test_sigint.
Another process that is spawned from run_experiment is the Manager,... (continued)

9278 of 14998 relevant lines covered (61.86%)

0.62 hits per line

Source Files on job 2636.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 159
  • Travis Job 2636.1
  • d5b9e633 on github
  • Prev Job for on master (#2634.1)
  • Next Job for on master (#2650.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc