Skip to content

Internal error when running tests: sbt.ForkMain$Run$RunAborted: java.net.SocketException: Broken pipe (Write failed) #3

@electrodude

Description

@electrodude

I'm working on the Counter lab and got it to compile successfully (thought I don't know if my solution is actually correct): sbt "runMain workshop.counter.CounterMain" outputs the following (where the actual directory containing this SpinalWorkshop repository was replaced with $WORK_DIR):

[info] Loading project definition from $WORK_DIR/SpinalWorkshop/project
[info] Set current project to SpinalWorkshop (in build file:$WORK_DIR/SpinalWorkshop/)
[info] Running workshop.counter.CounterMain 
[info] [Runtime] SpinalHDL v1.3.2    git head : 41815ceafff4e72c2e3a3e1ff7e9ada5202a0d26
[info] [Runtime] JVM max memory : 3543.5MiB
[info] [Runtime] Current date : 2019.05.14 14:53:09
[info] [Progress] at 0.000 : Elaborate components
[info] [Progress] at 0.098 : Checks and transforms
[info] [Progress] at 0.167 : Generate VHDL
[info] [Progress] at 0.174 :   emit Counter
[info] [Info] Number of registers : 4
[info] [Done] at 0.212
[success] Total time: 1 s, completed May 14, 2019 2:53:10 PM

However, when I run sbt "testOnly workshop.counter.CounterTester" from the root directory of this repo, I get the following output:

[info] Loading project definition from $WORK_DIR/SpinalWorkshop/project                 
[info] Set current project to SpinalWorkshop (in build file:$WORK_DIR/SpinalWorkshop/)  
Internal error when running tests: sbt.ForkMain$Run$RunAborted: java.net.SocketException: Broken pipe (Write failed)

It hangs forever after printing that last line.

I am doing this on Gentoo, using Portage-provided dev-java/icedtea-bin-3.10.0-r1:8 and dev-java/sbt-0.13.13, and using manually-installed Verilator v4.012 compiled from git and installed to /usr/local/bin/verilator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions