0pdd icon indicating copy to clipboard operation
0pdd copied to clipboard

How to Contribute guide doesn't work

Open timeracers opened this issue 6 years ago • 10 comments

After following the guide and trying to run the tests. The test framework quits unexpectedly. This is the log I get:

Testing started at 9:43 PM ...
C:\Ruby23-x64\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby23-x64\bin/rake test
Test config is absent
Cannot do operations on a non-existent table
DynamoDB Local table: ACTIVE
DynamoDB Local is running in PID 5016
C:/Users/Tim Reinagel/Documents/0pdd/.simplecov:22:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Coverage report generated for Unit Tests to C:/Users/Tim Reinagel/Documents/0pdd/coverage. 261 / 800 LOC (32.63%) covered.
C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:60:in `block (2 levels) in run': set -x && set -e && set -o pipefail && ruby -e "print RUBY_VERSION" [127]: (Exec::Error)
+ set -e
+ set -o pipefail
+ ruby -e 'print RUBY_VERSION'
/bin/bash: ruby: command not found

	from C:/Ruby23-x64/lib/ruby/2.3.0/open3.rb:205:in `popen_run'
	from C:/Ruby23-x64/lib/ruby/2.3.0/open3.rb:95:in `popen3'
	from C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:54:in `block in run'
	from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
	from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
	from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `catch'
	from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `catch'
	from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
	from C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:53:in `run'
	from C:/Users/Tim Reinagel/Documents/0pdd/0pdd.rb:111:in `block in <top (required)>'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.1/lib/sinatra/base.rb:1425:in `configure'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.1/lib/sinatra/base.rb:1925:in `block (2 levels) in delegate'
	from C:/Users/Tim Reinagel/Documents/0pdd/0pdd.rb:60:in `<top (required)>'
	from C:/Users/Tim Reinagel/Documents/0pdd/test/test_0pdd.rb:25:in `require_relative'
	from C:/Users/Tim Reinagel/Documents/0pdd/test/test_0pdd.rb:25:in `<top (required)>'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:17:in `require'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:5:in `select'
	from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1)
-e:1:in `load'
-e:1:in `<main>'
Tasks: TOP => test
(See full trace by running task with --trace)
C:/Users/Tim Reinagel/Documents/0pdd/Rakefile:61:in ``': No such file or directory - kill -TERM 5016 (Errno::ENOENT)
	from C:/Users/Tim Reinagel/Documents/0pdd/Rakefile:61:in `block (2 levels) in <top (required)>'

Process finished with exit code 1

timeracers avatar Jul 12 '18 05:07 timeracers

@yegor256/z please, pay attention to this issue

0crat avatar Jul 12 '18 05:07 0crat

@timeracers we never tried it on Windows...

yegor256 avatar Jul 12 '18 05:07 yegor256

Job #228 is now in scope, role is DEV

0crat avatar Jul 12 '18 05:07 0crat

Bug was reported, see §29: +15 point(s) just awarded to @timeracers/z

0crat avatar Jul 12 '18 05:07 0crat

@0crat status

g4s8 avatar Aug 27 '18 12:08 g4s8

@0crat status (here)

@g4s8 This is what I know about this job in C3T46CUJJ, as in §32:

  • The job #228 is in scope for 2mon
  • The role is DEV
  • The job is not assigned to anyone
  • The budget is not set yet
  • These users are banned and won't be assigned:
    • @timeracers/z: This user reported the ticket
  • Job footprint (restricted area)

0crat avatar Aug 27 '18 13:08 0crat

The job #228 assigned to @dferdian/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

0crat avatar Sep 18 '18 05:09 0crat

@dferdian/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

0crat avatar Sep 23 '18 06:09 0crat

@yegor256 there are a lot of shell commands in the app which works only on linux. should we close this issue?

lastk avatar Jun 11 '19 14:06 lastk

@lastk yes, I think we can officially say in the README file that only Linux/Mac is supported. Windows is something we don't support and won't support.

yegor256 avatar Jul 04 '19 12:07 yegor256