Skip to content

Instantly share code, notes, and snippets.

View feuGeneA's full-sized avatar

F. Eugene Aumson feuGeneA

View GitHub Profile
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb --use-system-libraries
Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-apple-darwin13.2.0/ports/libxml2/2.8.0... OK
Running 'configure' for libxml2 2.8.0... OK
Running 'compile' for libxml2 2.8.0... OK
Running 'install' for libxml2 2.8.0... OK
Activating libxml2 2.8.0 (from /private/var/folders/k5/49yg8xhj2d70y9l6ffkbwcvr0000gn/T/bundler20140710-87284-il7crg/nokogiri-1.6.1/gems/nokogiri-1.6.1/ports/x86_64-apple-darwin13.2.0/libxml2/2.8.0)...
Extracting libxslt-1.1.26.tar.gz into tmp/x86_64-apple-darwin13.2.0/ports/libxslt/1.1.26... OK
Running 'configure' for libxslt 1.1.26... OK
$ RAILS_ENV=platform cucumber -t @platform
cannot load such file -- phantomjs (LoadError)
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/gene/dev/automated_tests/features/step_definitions/setup_steps.rb:2:in `<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load_code_file'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:82:in `each'
cd ngx_http_substitutions_filter_module/test && PATH=/Users/gene/dev/nginx-distil/installed/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin prove -r t
# Failed test 'TEST 1: the "substitution" command - response_body_like - response is expected (<!DOCTYPE html> <html> <head> <meta charset="gbk" /> <meta name="spm-id" content="a215z.7106357" /> <meta name="description" content="??8?|?aƷ?????????S?r???????롣?Ԍ??W?ṩ???????ݮaƷ???M?????????????裬һվʽ?W??ُ???w򞣬?????֑a?X??"> <meta name="keywords" content="?Fُ???W??ُ??r?b???Y?? ?????\????h?Ҿ???Ʒ????????Ʒ??????"> <title>?Ա?????ȫ??վ??ҳ</title> <base target="_blank"> <script> var g_config = { startTime: +new Date(), //???? ap_mods:{ 'poc':[0.01]//ѡ??˴??޸ij?????????Ĭ????0.001 } } </script> <!--[if lt IE 9]><script src="http://a.tbcdn.cn/app/tms/others/global/css3-mediaqueries.js"></script><![endif]--> <!-- assets???? --> <!--761868--> <!-- S GLOBAL CSS --> <link rel="stylesheet" href="http://g.tbcdn.cn/tb/global/2.9.7/global-min.css"> <link rel="styleshee
$ cat t/servroot/logs/access.log
127.0.0.1 - - [11/Jul/2014:12:42:50 -0400] "GET / HTTP/1.1" 502 183 "-" "Test::Nginx::LWP"
$ cat t/servroot/logs/error.log
2014/07/11 12:42:50 [debug] 221#0: bind() 0.0.0.0:1984 #7
2014/07/11 12:42:50 [notice] 221#0: using the "kqueue" event method
2014/07/11 12:42:50 [notice] 221#0: nginx/1.6.0
2014/07/11 12:42:50 [notice] 221#0: built by clang 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
2014/07/11 12:42:50 [notice] 221#0: OS: Darwin 13.2.0
2014/07/11 12:42:50 [notice] 221#0: hw.ncpu: 8
2014/07/11 12:42:50 [notice] 221#0: net.inet.tcp.sendspace: 131072
$ sudo gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib
Password:
Building native extensions with: '--with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib'
This could take a while...
Building nokogiri using packaged libraries.
Building libxml2-2.8.0 for nokogiri with the following patches applied:
- 0001-Fix-parser-local-buffers-size-problems.patch
- 0002-Fix-entities-local-buffers-size-problems.patch
- 0003-Fix-an-error-in-previous-commit.patch
- 0004-Fix-potential-out-of-bound-access.patch
$ RAILS_ENV=platform cucumber -t @platform
cannot load such file -- selenium-webdriver (LoadError)
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/gene/dev/automated_tests/features/step_definitions/setup_steps.rb:3:in `<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load_code_file'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:82:in `each'
$ bundle install
Fetching gem metadata from https://rubygems.org/......
Fetching additional metadata from https://rubygems.org/..
Using rake 10.1.1
Using i18n 0.6.9
Using minitest 4.7.5
Using multi_json 1.9.2
Using atomic 1.1.16
Using thread_safe 0.3.1
Using tzinfo 0.3.39
gene@precision5510:~/go/src/github.com/status-im/status-go$ make test-e2e
/bin/sh: 1: Syntax error: Unterminated quoted string
# order: reliability then alphabetical
# TODO(tiabc): make a single command out of them adding `-p 1` flag.
go test -timeout 5m ./e2e/accounts/... -network=
testing: warning: no tests to run
ERROR[01-08|22:13:27] Handler registration failed geth=StatusIM err="failed to init RPC client"
panic: test timed out after 5m0s
goroutine 82 [running]:
gene@precision5510:~/go/src/github.com/status-im/status-react$ lein
Leiningen is a tool for working with Clojure projects.
Several tasks are available:
classpath Print the classpath of the current project.
clean Remove compiled class files and jars from project.
leiningen.cljsbuild Problem loading: java.io.FileNotFoundException: Could not locate leiningen/core/main__init.class or leiningen/core/main.clj on classpath: (subproject.clj:1)
compile Compile Clojure source into .class files.
deploy Build jar and deploy to remote repository.
deps Download :dependencies and put them in :library-path.
gene@precision5510:~/go/src/github.com/status-im/status-go/e2e/whisper$ ./whisper.test -test.bench=. -test.run=XXX -test.benchtime=200s -network=4 -test.cpuprofile=whisper.pprof
goos: linux
goarch: amd64
pkg: github.com/status-im/status-go/e2e/whisper
BenchmarkRequestMessagesInGroupChat-8 fatal error: concurrent map read and map write
goroutine 1034 [running]:
runtime.throw(0x107df5c, 0x21)
/usr/local/go/src/runtime/panic.go:605 +0x95 fp=0xc4201abbd8 sp=0xc4201abbb8 pc=0x432355
runtime.mapaccess1_fast64(0xf15980, 0xc4261527e0, 0xc420d626c0, 0xc424824840)