Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ gem list
- *** LOCAL GEMS ***
- bigdecimal (default: 1.3.4)
- cmath (default: 1.0.0)
- csv (default: 1.0.0)
- date (default: 1.0.0)
- dbm (default: 1.0.0)
- did_you_mean (1.2.0)
- etc (default: 1.0.0)
- fcntl (default: 1.0.0)
- fiddle (default: 1.0.0)
- fileutils (default: 1.0.2)
- gdbm (default: 2.0.0)
- io-console (default: 0.4.6)
- ipaddr (default: 1.2.0)
- json (default: 2.1.0)
- minitest (5.10.3)
- net-telnet (0.1.1)
- openssl (default: 2.1.1)
- power_assert (0.2.7)
- psych (default: 3.0.2)
- rake (12.3.1)
- rdoc (default: 6.0.1)
- scanf (default: 1.0.0)
- sdbm (default: 1.0.0)
- stringio (default: 0.0.1)
- strscan (default: 1.0.0)
- test-unit (3.2.5)
- webrick (default: 1.4.2)
- zlib (default: 1.0.0)
- ##############Tried to install hiptest-publisher#################################
- $ sudo gem install hiptest-publisher
- Fetching: colorize-0.8.1.gem (100%)
- Successfully installed colorize-0.8.1
- Fetching: parseconfig-1.0.8.gem (100%)
- Successfully installed parseconfig-1.0.8
- Fetching: concurrent-ruby-1.1.5.gem (100%)
- Successfully installed concurrent-ruby-1.1.5
- Fetching: i18n-0.9.5.gem (100%)
- Successfully installed i18n-0.9.5
- Fetching: mini_portile2-2.4.0.gem (100%)
- Successfully installed mini_portile2-2.4.0
- Fetching: nokogiri-1.9.1.gem (100%)
- Building native extensions. This could take a while...
- ERROR: Error installing hiptest-publisher:
- ERROR: Failed to build gem native extension.
- current directory: /var/lib/gems/2.5.0/gems/nokogiri-1.9.1/ext/nokogiri
- /usr/bin/ruby2.5 -r ./siteconf20190911-10379-wiu657.rb extconf.rb
- checking if the C compiler accepts ... yes
- Building nokogiri using packaged libraries.
- Using mini_portile version 2.4.0
- checking for gzdopen() in -lz... no
- zlib is missing; necessary for building libxml2
- *** extconf.rb failed ***
- Could not create Makefile due to some reason, probably lack of necessary
- libraries and/or headers. Check the mkmf.log file for more details. You may
- need configuration options.
- Provided configuration options:
- --with-opt-dir
- --without-opt-dir
- --with-opt-include
- --without-opt-include=${opt-dir}/include
- --with-opt-lib
- --without-opt-lib=${opt-dir}/lib
- --with-make-prog
- --without-make-prog
- --srcdir=.
- --curdir
- --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
- --help
- --clean
- --use-system-libraries
- --enable-static
- --disable-static
- --with-zlib-dir
- --without-zlib-dir
- --with-zlib-include
- --without-zlib-include=${zlib-dir}/include
- --with-zlib-lib
- --without-zlib-lib=${zlib-dir}/lib
- --enable-cross-build
- --disable-cross-build
- To see why this extension failed to compile, please check the mkmf.log which can be found here:
- /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/nokogiri-1.9.1/mkmf.log
- extconf failed, exit code 1
- Gem files will remain installed in /var/lib/gems/2.5.0/gems/nokogiri-1.9.1 for inspection.
- #########################Error while Update Gems on Systems ########################################
- $ sudo gem update
- Updating installed gems
- Updating bigdecimal
- Fetching: bigdecimal-1.4.4.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed bigdecimal-1.4.4
- Parsing documentation for bigdecimal-1.4.4
- Installing ri documentation for bigdecimal-1.4.4
- Installing darkfish documentation for bigdecimal-1.4.4
- Done installing documentation for bigdecimal after 2 seconds
- Parsing documentation for bigdecimal-1.4.4
- Done installing documentation for bigdecimal after 0 seconds
- Updating csv
- Fetching: csv-3.1.1.gem (100%)
- Successfully installed csv-3.1.1
- Parsing documentation for csv-3.1.1
- Installing ri documentation for csv-3.1.1
- Installing darkfish documentation for csv-3.1.1
- Done installing documentation for csv after 1 seconds
- Parsing documentation for csv-3.1.1
- Done installing documentation for csv after 1 seconds
- Updating date
- Fetching: date-2.0.0.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed date-2.0.0
- Parsing documentation for date-2.0.0
- Installing ri documentation for date-2.0.0
- Installing darkfish documentation for date-2.0.0
- Done installing documentation for date after 2 seconds
- Parsing documentation for date-2.0.0
- Done installing documentation for date after 1 seconds
- Updating did_you_mean
- Fetching: did_you_mean-1.3.0.gem (100%)
- Successfully installed did_you_mean-1.3.0
- Parsing documentation for did_you_mean-1.3.0
- Installing ri documentation for did_you_mean-1.3.0
- Installing darkfish documentation for did_you_mean-1.3.0
- Done installing documentation for did_you_mean after 0 seconds
- Parsing documentation for did_you_mean-1.3.0
- Done installing documentation for did_you_mean after 0 seconds
- Updating etc
- Fetching: etc-1.0.1.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed etc-1.0.1
- Parsing documentation for etc-1.0.1
- Installing ri documentation for etc-1.0.1
- Installing darkfish documentation for etc-1.0.1
- Done installing documentation for etc after 0 seconds
- Parsing documentation for etc-1.0.1
- Done installing documentation for etc after 0 seconds
- Updating fileutils
- Fetching: fileutils-1.2.0.gem (100%)
- Successfully installed fileutils-1.2.0
- Parsing documentation for fileutils-1.2.0
- Installing ri documentation for fileutils-1.2.0
- Installing darkfish documentation for fileutils-1.2.0
- Done installing documentation for fileutils after 1 seconds
- Parsing documentation for fileutils-1.2.0
- Done installing documentation for fileutils after 0 seconds
- Updating i18n
- Fetching: i18n-1.6.0.gem (100%)
- HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
- But that may break your application.
- Please check your Rails app for 'config.i18n.fallbacks = true'.
- If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
- 'config.i18n.fallbacks = [I18n.default_locale]'.
- If not, fallbacks will be broken in your app by I18n 1.1.x.
- For more info see:
- https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
- Successfully installed i18n-1.6.0
- Parsing documentation for i18n-1.6.0
- Installing ri documentation for i18n-1.6.0
- Installing darkfish documentation for i18n-1.6.0
- Done installing documentation for i18n after 2 seconds
- Parsing documentation for i18n-1.6.0
- Done installing documentation for i18n after 1 seconds
- Updating io-console
- Fetching: io-console-0.4.8.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed io-console-0.4.8
- Parsing documentation for io-console-0.4.8
- Installing ri documentation for io-console-0.4.8
- Installing darkfish documentation for io-console-0.4.8
- Done installing documentation for io-console after 1 seconds
- Parsing documentation for io-console-0.4.8
- Done installing documentation for io-console after 0 seconds
- Updating ipaddr
- Fetching: ipaddr-1.2.2.gem (100%)
- Successfully installed ipaddr-1.2.2
- Parsing documentation for ipaddr-1.2.2
- Installing ri documentation for ipaddr-1.2.2
- Installing darkfish documentation for ipaddr-1.2.2
- Done installing documentation for ipaddr after 0 seconds
- Parsing documentation for ipaddr-1.2.2
- Done installing documentation for ipaddr after 0 seconds
- Updating json
- Fetching: json-2.2.0.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed json-2.2.0
- Parsing documentation for json-2.2.0
- Installing ri documentation for json-2.2.0
- Installing darkfish documentation for json-2.2.0
- Done installing documentation for json after 4 seconds
- Parsing documentation for json-2.2.0
- Done installing documentation for json after 0 seconds
- Updating minitest
- Fetching: minitest-5.11.3.gem (100%)
- Successfully installed minitest-5.11.3
- Parsing documentation for minitest-5.11.3
- Installing ri documentation for minitest-5.11.3
- Installing darkfish documentation for minitest-5.11.3
- Done installing documentation for minitest after 4 seconds
- Parsing documentation for minitest-5.11.3
- Done installing documentation for minitest after 0 seconds
- Updating net-telnet
- Fetching: net-telnet-0.2.0.gem (100%)
- Successfully installed net-telnet-0.2.0
- Parsing documentation for net-telnet-0.2.0
- Installing ri documentation for net-telnet-0.2.0
- Installing darkfish documentation for net-telnet-0.2.0
- Done installing documentation for net-telnet after 0 seconds
- Parsing documentation for net-telnet-0.2.0
- Done installing documentation for net-telnet after 0 seconds
- Updating openssl
- Fetching: openssl-2.1.2.gem (100%)
- Building native extensions. This could take a while...
- ERROR: Error installing openssl:
- ERROR: Failed to build gem native extension.
- current directory: /var/lib/gems/2.5.0/gems/openssl-2.1.2/ext/openssl
- /usr/bin/ruby2.5 -r ./siteconf20190911-10400-17gg3cg.rb extconf.rb
- checking for t_open() in -lnsl... no
- checking for socket() in -lsocket... no
- checking for openssl/ssl.h... no
- *** extconf.rb failed ***
- Could not create Makefile due to some reason, probably lack of necessary
- libraries and/or headers. Check the mkmf.log file for more details. You may
- need configuration options.
- Provided configuration options:
- --with-opt-dir
- --without-opt-dir
- --with-opt-include
- --without-opt-include=${opt-dir}/include
- --with-opt-lib
- --without-opt-lib=${opt-dir}/lib
- --with-make-prog
- --without-make-prog
- --srcdir=.
- --curdir
- --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
- --with-openssl-dir
- --without-openssl-dir
- --with-openssl-include
- --without-openssl-include=${openssl-dir}/include
- --with-openssl-lib
- --without-openssl-lib=${openssl-dir}/lib
- --with-kerberos-dir
- --without-kerberos-dir
- --with-kerberos-include
- --without-kerberos-include=${kerberos-dir}/include
- --with-kerberos-lib
- --without-kerberos-lib=${kerberos-dir}/lib
- --with-debug
- --without-debug
- --enable-debug
- --disable-debug
- --with-nsllib
- --without-nsllib
- --with-socketlib
- --without-socketlib
- --with-openssl-config
- --without-openssl-config
- --with-pkg-config
- --without-pkg-config
- extconf.rb:97:in `<main>': OpenSSL library could not be found. You might want to use --with-openssl-dir=<dir> option to specify the prefix where OpenSSL is installed. (RuntimeError)
- To see why this extension failed to compile, please check the mkmf.log which can be found here:
- /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/openssl-2.1.2/mkmf.log
- extconf failed, exit code 1
- Gem files will remain installed in /var/lib/gems/2.5.0/gems/openssl-2.1.2 for inspection.
- Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/openssl-2.1.2/gem_make.out
- Updating power_assert
- Fetching: power_assert-1.1.5.gem (100%)
- Successfully installed power_assert-1.1.5
- Parsing documentation for power_assert-1.1.5
- Installing ri documentation for power_assert-1.1.5
- Installing darkfish documentation for power_assert-1.1.5
- Done installing documentation for power_assert after 0 seconds
- Parsing documentation for power_assert-1.1.5
- Done installing documentation for power_assert after 0 seconds
- Updating psych
- Fetching: psych-3.1.0.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed psych-3.1.0
- Parsing documentation for psych-3.1.0
- Installing ri documentation for psych-3.1.0
- Installing darkfish documentation for psych-3.1.0
- Done installing documentation for psych after 3 seconds
- Parsing documentation for psych-3.1.0
- Done installing documentation for psych after 1 seconds
- Updating rake
- Fetching: rake-12.3.3.gem (100%)
- Successfully installed rake-12.3.3
- Parsing documentation for rake-12.3.3
- Installing ri documentation for rake-12.3.3
- Installing darkfish documentation for rake-12.3.3
- Done installing documentation for rake after 2 seconds
- Parsing documentation for rake-12.3.3
- Done installing documentation for rake after 1 seconds
- Updating rdoc
- Fetching: rdoc-6.2.0.gem (100%)
- Successfully installed rdoc-6.2.0
- Parsing documentation for rdoc-6.2.0
- Installing ri documentation for rdoc-6.2.0
- Installing darkfish documentation for rdoc-6.2.0
- Done installing documentation for rdoc after 22 seconds
- Parsing documentation for rdoc-6.2.0
- Done installing documentation for rdoc after 13 seconds
- Updating stringio
- Fetching: stringio-0.0.2.gem (100%)
- Building native extensions. This could take a while...
- Successfully installed stringio-0.0.2
- Parsing documentation for stringio-0.0.2
- Installing ri documentation for stringio-0.0.2
- Installing darkfish documentation for stringio-0.0.2
- Done installing documentation for stringio after 0 seconds
- Parsing documentation for stringio-0.0.2
- Done installing documentation for stringio after 0 seconds
- Updating test-unit
- Fetching: test-unit-3.3.3.gem (100%)
- Successfully installed test-unit-3.3.3
- Parsing documentation for test-unit-3.3.3
- Installing ri documentation for test-unit-3.3.3
- Installing darkfish documentation for test-unit-3.3.3
- Done installing documentation for test-unit after 5 seconds
- Parsing documentation for test-unit-3.3.3
- Done installing documentation for test-unit after 3 seconds
- Gems updated: bigdecimal csv date did_you_mean etc fileutils i18n io-console ipaddr json minitest net-telnet openssl power_assert psych rake rdoc stringio test-unit
- #######################Suppose to be a Ruby Bug/Error############################
- sudo gem update --system
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:267: [BUG] Segmentation fault at 0x00005e07b067f300
- ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
- -- Control frame information -----------------------------------------------
- c:0021 p:---- s:0152 e:000151 CFUNC :sort_by
- c:0020 p:0038 s:0148 e:000144 METHOD /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:267
- c:0019 p:0095 s:0138 e:000137 BLOCK /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:233 [FINISH]
- c:0018 p:---- s:0132 e:000131 CFUNC :each
- c:0017 p:0009 s:0128 e:000127 METHOD /usr/lib/ruby/2.5.0/rubygems/source_list.rb:98
- c:0016 p:0015 s:0123 e:000122 METHOD /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:227
- c:0015 p:0061 s:0116 e:000115 METHOD /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:103
- c:0014 p:0075 s:0104 e:000103 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:119
- c:0013 p:0006 s:0094 e:000093 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:141
- c:0012 p:0027 s:0086 e:000085 BLOCK /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:269 [FINISH]
- c:0011 p:---- s:0080 e:000079 CFUNC :each
- c:0010 p:0014 s:0076 e:000075 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:265
- c:0009 p:0174 s:0068 e:000067 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:191
- c:0008 p:0009 s:0055 e:000054 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:237
- c:0007 p:0015 s:0048 e:000047 METHOD /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:90
- c:0006 p:0094 s:0039 e:000038 METHOD /usr/lib/ruby/2.5.0/rubygems/command.rb:313
- c:0005 p:0100 s:0031 e:000030 METHOD /usr/lib/ruby/2.5.0/rubygems/command_manager.rb:173
- c:0004 p:0011 s:0023 e:000022 METHOD /usr/lib/ruby/2.5.0/rubygems/command_manager.rb:143
- c:0003 p:0053 s:0016 e:000015 METHOD /usr/lib/ruby/2.5.0/rubygems/gem_runner.rb:59
- c:0002 p:0124 s:0009 E:0014a8 EVAL /usr/bin/gem:21 [FINISH]
- c:0001 p:0000 s:0003 E:000a60 (none) [FINISH]
- -- Ruby level backtrace information ----------------------------------------
- /usr/bin/gem:21:in `<main>'
- /usr/lib/ruby/2.5.0/rubygems/gem_runner.rb:59:in `run'
- /usr/lib/ruby/2.5.0/rubygems/command_manager.rb:143:in `run'
- /usr/lib/ruby/2.5.0/rubygems/command_manager.rb:173:in `process_args'
- /usr/lib/ruby/2.5.0/rubygems/command.rb:313:in `invoke_with_build_args'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:90:in `execute'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:237:in `update_rubygems'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:191:in `rubygems_target_version'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:265:in `which_to_update'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:265:in `each'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:269:in `block in which_to_update'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:141:in `highest_remote_version'
- /usr/lib/ruby/2.5.0/rubygems/commands/update_command.rb:119:in `fetch_remote_gems'
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:103:in `search_for_dependency'
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:227:in `available_specs'
- /usr/lib/ruby/2.5.0/rubygems/source_list.rb:98:in `each_source'
- /usr/lib/ruby/2.5.0/rubygems/source_list.rb:98:in `each'
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:233:in `block in available_specs'
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:267:in `tuples_for'
- /usr/lib/ruby/2.5.0/rubygems/spec_fetcher.rb:267:in `sort_by'#################Error Log Reporting on Ruby Gems log#############################
- $ cat /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/nokogiri-1.9.1/mkmf.log
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-TdNoZ6/ruby2.5-2.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm -lc "
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: int main(int argc, char **argv)
- 4: {
- 5: return 0;
- 6: }
- /* end */
- "gcc -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-TdNoZ6/ruby2.5-2.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Werror -c conftest.c"
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: int main() {return 0;}
- /* end */
- have_library: checking for gzdopen() in -lz... -------------------- no
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-TdNoZ6/ruby2.5-2.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lz -lpthread -lgmp -ldl -lcrypt -lm -lc "
- conftest.c:3:10: fatal error: zlib.h: No such file or directory
- #include <zlib.h>
- ^~~~~~~~
- compilation terminated.
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: #include <zlib.h>
- 4:
- 5: /*top*/
- 6: extern int t(void);
- 7: int main(int argc, char **argv)
- 8: {
- 9: if (argc > 1000000) {
- 10: printf("%p", &t);
- 11: }
- 12:
- 13: return 0;
- 14: }
- 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; }
- /* end */
- "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-TdNoZ6/ruby2.5-2.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lz -lpthread -lgmp -ldl -lcrypt -lm -lc "
- conftest.c:3:10: fatal error: zlib.h: No such file or directory
- #include <zlib.h>
- ^~~~~~~~
- compilation terminated.
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: #include <zlib.h>
- 4:
- 5: /*top*/
- 6: extern int t(void);
- 7: int main(int argc, char **argv)
- 8: {
- 9: if (argc > 1000000) {
- 10: printf("%p", &t);
- 11: }
- 12:
- 13: return 0;
- 14: }
- 15: extern void gzdopen();
- 16: int t(void) { gzdopen(); return 0; }
- /* end */
- --------------------
- #####################Resolved with ###############
- $ sudo apt install build-essential patch ruby-dev zlib1g-dev liblzma-dev -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- build-essential is already the newest version (12.4ubuntu1).
- build-essential set to manually installed.
- ruby-dev is already the newest version (1:2.5.1).
- patch is already the newest version (2.7.6-2ubuntu1.1).
- patch set to manually installed.
- Suggested packages:
- liblzma-doc
- The following NEW packages will be installed
- liblzma-dev zlib1g-dev
- 0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
- Need to get 320 kB of archives.
- After this operation, 1,125 kB of additional disk space will be used.
- Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
- Get:2 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 liblzma-dev amd64 5.2.2-1.3 [145 kB]
- Fetched 320 kB in 1s (425 kB/s)
- Selecting previously unselected package zlib1g-dev:amd64.
- (Reading database ... 190315 files and directories currently installed.)
- Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
- Selecting previously unselected package liblzma-dev:amd64.
- Preparing to unpack .../liblzma-dev_5.2.2-1.3_amd64.deb ...
- Unpacking liblzma-dev:amd64 (5.2.2-1.3) ...
- Setting up liblzma-dev:amd64 (5.2.2-1.3) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
- Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
- ###############Now Able to Install Hiptest-publisher ##########################
- user@serverName:~/Developer/projectName/ci/stages/robot_tests/hiptest$ sudo gem install hiptest-publisher
- Building native extensions. This could take a while...
- Successfully installed nokogiri-1.9.1
- Fetching: multipart-post-2.1.1.gem (100%)
- Successfully installed multipart-post-2.1.1
- Fetching: parslet-1.8.2.gem (100%)
- Successfully installed parslet-1.8.2
- Fetching: ruby-handlebars-0.2.1.gem (100%)
- Successfully installed ruby-handlebars-0.2.1
- Fetching: ruby_version-1.0.1.gem (100%)
- Successfully installed ruby_version-1.0.1
- Fetching: hiptest-publisher-1.28.0.gem (100%)
- Successfully installed hiptest-publisher-1.28.0
- Parsing documentation for nokogiri-1.9.1
- Installing ri documentation for nokogiri-1.9.1
- Parsing documentation for multipart-post-2.1.1
- Installing ri documentation for multipart-post-2.1.1
- Parsing documentation for parslet-1.8.2
- Installing ri documentation for parslet-1.8.2
- Parsing documentation for ruby-handlebars-0.2.1
- Installing ri documentation for ruby-handlebars-0.2.1
- Parsing documentation for ruby_version-1.0.1
- Installing ri documentation for ruby_version-1.0.1
- Parsing documentation for hiptest-publisher-1.28.0
- Installing ri documentation for hiptest-publisher-1.28.0
- Done installing documentation for nokogiri, multipart-post, parslet, ruby-handlebars, ruby_version, hiptest-publisher after 11 seconds
- 6 gems installed
- ############################## Tests the Application ###########
- $ hiptest-publisher --version
- hiptest-publisher 1.28.0
- $ hiptest-publisher --help
- Usage: hiptest-publisher [options]
- Exports tests from HipTest for automation.
- Specific options:
- -t, --token=TOKEN Secret token (available in your project settings)
- -l, --language=LANG Target language (default: ruby)
- -f, --framework=FRAMEWORK Test framework to use
- -o, --output-directory=PATH Output directory (default: .)
- --filename-pattern=PATTERN Filename pattern (containing %s)
- -c, --config-file=PATH Configuration file
- --overriden-templates=PATH Folder for overriden templates
- --test-run-id=ID Export data from a test run identified by its id
- --test-run-name=NAME Export data from a test run identified by its name
- --only=CATEGORIES Restrict export to given file categories (--only=list to list them)
- --without=CATEGORIES Exclude file categories from import (--only=list to list them)
- -x, --xml-file=PROJECT_XML XML file to use instead of fetching it from HipTest
- --tests-only (deprecated) alias for --only=tests (default: false)
- --actionwords-only (deprecated) alias for --only=actionwords (default: false)
- --actionwords-signature Export actionwords signature (default: false)
- --show-actionwords-diff Show actionwords diff since last update (summary) (default: false)
- --show-actionwords-diff-as-json
- Show actionwords diff since last update (JSON output) (default: false)
- --show-actionwords-deleted Output signature of deleted action words (default: false)
- --show-actionwords-created Output code for new action words (default: false)
- --show-actionwords-renamed Output signatures of renamed action words (default: false)
- --show-actionwords-signature-changed
- Output signatures of action words for which signature changed (default: false)
- --show-actionwords-definition-changed
- Output action words for which definition changed (default: false)
- --library-name=LIBRARY_NAME Use in conjunction with show-actionwords-*: show the diff for the specified library
- --with-folders Use folders hierarchy to export files in respective directories (default: false)
- --empty-folders Export empty folders (default: false)
- --split-scenarios Export each scenario in a single file (except for Gherkin based languages) (default: false)
- --leafless-export Use only last level action word (default: false)
- -s, --site=SITE Site to fetch from (default: https://app.hiptest.com)
- --http-proxy=PROXY_URL Specify your http proxy to access Hiptest
- -p, --push=FILE.TAP Push a results file to the server
- --global-failure-on-missing-reports
- When there is no results file to push, report a global failure (default: false)
- --push-format=tap Format of the test results (cucumber-json, junit, nunit, robot, tap) (default: tap)
- --execution-environment=NAME Name of the execution environment
- --sort=[id,order,alpha] Sorting of tests in output: id will sort them by age, order will keep the same order than in hiptest (only with --with-folders option, will fallback to id otherwise), alpha will sort them by name (default: order)
- --[no-]uids Export UIDs (note: can be disabled only for Gherkin-based exports, may cause issue when pushing results back) (default: true)
- --[no-]parent-folder-tags Export tags from parent folders (note: if set to false, those tags are never rendered. Only available for Gherkin base exports) (default: true)
- --parameter-delimiter=DELIMITER
- Parameter delimiter (for Gherkin based export only) (default: ")
- --with-dataset-names Export dataset name when creating feature files (note: available only for Gherkin-based exports) (default: false)
- --keep-filenames Keep the same name as in HipTest for the test files (note: may cause encoding issues) (default: false)
- --keep-foldernames Keep the same name as in HipTest for the folders (note: may cause encoding issues) (default: false)
- --filter-on-scenario-ids=IDS Filter on scenario ids (use commas to separate ids when fetching multiple scenarios)
- --filter-on-folder-ids=IDS Filter on folder ids (use commas to separate ids when fetching multiple folders)
- --filter-on-scenario-name=NAME
- Filter on scenario name (only one name is accepted)
- --filter-on-folder-name=NAME Filter on folder name (only one name is accepted)
- --filter-on-tags=TAGS Filter on scenarios and folder tags (use commas to separate tags when using multiple tags)
- --filter-on-status=STATUS Filter on test status in last build (use in conjunction with a test run)
- --not-recursive Used in conjunction with filter-on-folder-ids or filter-on-folder-name: only exports those folders, not their children (default: false)
- --meta=META Meta informations that can be used for customizing templates
- --check-version Check if a new release of hiptest-publisher is available (default: false)
- --force Force overwrite of existing files (do not apply to test files) (default: false)
- -v, --verbose Run verbosely (default: false)
- -H, --languages-help Show languages and framework options
- -h, --help Show this message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement