[Machinery] Checked out machinery - getting a test failure

Mauro Morales mamorales at suse.de
Wed Jun 1 08:25:29 MDT 2016


Hi James,

Sorry for the late reply. Seems like machinery is not returning anything
to stdout. When you run `bin/machinery --version` (that is two dashes
not just one) what output do you get?

One thing that I saw is missing on our README is to have the "go"
package installed. Without it machinery won't be able to compile the
machinery helper and this is the only way I was able to reproduce your
error right now. If this is the case you can easily install by running
`sudo zypper in go`

Cheers,

On 05/24/2016 07:32 PM, James Mason wrote:
> Hi,
>
> I just checkout out machinery from github, followed the 'Development'
> instructions ( https://github.com/suse/machinery#development ) and I'm
> getting the following error running `rake spec`:
>
>
> Failures:
>
>   1) machinery logs to the logfile in MACHINERY_LOG_FILE
>      Failure/Error: expect(logged_line).to match(/\d{4}-\d{2}-
> \d{2}T\d{2}:\d{2}:\d{2}.*#\d+.*INFO.*Executing \(Version
> \d+\.\d+\.\d+\).*machinery --version/)
>        expected "GivenFilesystem was here\n" to match /\d{4}-\d{2}-
> \d{2}T\d{2}:\d{2}:\d{2}.*#\d+.*INFO.*Executing \(Version
> \d+\.\d+\.\d+\).*machinery --version/
>        Diff:
>        @@ -1,2 +1,2 @@
>        -/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.*#\d+.*INFO.*Executing
> \(Version \d+\.\d+\.\d+\).*machinery --version/
>        +GivenFilesystem was here
>        
>      # ./spec/unit/machinery_spec.rb:32:in `block (2 levels) in <top
> (required)>'
>
> Finished in 24.72 seconds (files took 1.03 seconds to load)
> 1233 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/unit/machinery_spec.rb:24 # machinery logs to the logfile
> in MACHINERY_LOG_FILE
>
>
> Suggestions?
>
> _______________________________________________ > Machinery mailing list > Machinery at lists.suse.com >
http://lists.suse.com/mailman/listinfo/machinery


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/machinery/attachments/20160601/11151283/attachment.htm>


More information about the Machinery mailing list