Project

General

Profile

Actions

Bug #7389

closed

[Jenkins] Fix build-packages for ubuntu1204

Added by Ward Vandewege about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
2.0

Description

There's an intermittent problem with downloading the google-oauth2 package from pypi, only on the unbuntu1204 image. It appears to have to do with multiple redirects, and the error appears to happen when contacting a https site. Maybe there's a mirror with an SSL cert that we can't verify on 1204?

Figuring out the root cause seems like a waste of time, because it is most likely going to be external to our codebase and infrastructure. There are many ways we could work around this problem.

So let's try something relatively non-invasive first. Let's set up a transparent proxy on Jenkins that caches all external http(s) traffic.

Log:

================================================

fpm --maintainer=Ward Vandewege <> -s python -t deb --exclude=*/dist-packages/tests/* --exclude=*/site-packages/tests/* -n python-oauth2client --debug --python-bin python2.7 --python-easyinstall easy_install-2.7 --python-package-name-prefix python --depends python2.7 oauth2client

Error: oauth2client: Unable to figure out package name from fpm results:

{:timestamp=>"2015-09-28T05:47:47.518461+0000", :message=>"Setting workdir", :workdir=>"/tmp", :level=>:info, :file=>"fpm/command.rb", :line=>"288", :method=>"execute"} {:timestamp=>"2015-09-28T05:47:47.519159+0000", :message=>"Setting attribute", :output_type=>"deb", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519252+0000", :message=>"Setting attribute", :input_type=>"python", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519340+0000", :message=>"Setting attribute", :chdir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519440+0000", :message=>"Setting attribute", :prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519524+0000", :message=>"Setting attribute", :package=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519609+0000", :message=>"Setting attribute", :force?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519688+0000", :message=>"Setting attribute", :name=>"python-oauth2client", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519774+0000", :message=>"Setting attribute", :log_level=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519855+0000", :message=>"Setting attribute", :verbose?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.519933+0000", :message=>"Setting attribute", :debug?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520030+0000", :message=>"Setting attribute", :debug_workspace?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520116+0000", :message=>"Setting attribute", :version=>1.0, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520522+0000", :message=>"Setting attribute", :iteration=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520628+0000", :message=>"Setting attribute", :epoch=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520717+0000", :message=>"Setting attribute", :license=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520819+0000", :message=>"Setting attribute", :vendor=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520901+0000", :message=>"Setting attribute", :category=>"none", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.520976+0000", :message=>"Setting attribute", :dependencies=>["python2.7"], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521064+0000", :message=>"Setting attribute", :no_depends?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521176+0000", :message=>"Setting attribute", :no_auto_depends?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521265+0000", :message=>"Setting attribute", :provides=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521342+0000", :message=>"Setting attribute", :conflicts=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521419+0000", :message=>"Setting attribute", :replaces=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521514+0000", :message=>"Setting attribute", :config_files=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521590+0000", :message=>"Setting attribute", :directories=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521671+0000", :message=>"Setting attribute", :architecture=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521756+0000", :message=>"Setting attribute", :maintainer=>"Ward Vandewege <>", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521868+0000", :message=>"Setting attribute", :package_name_suffix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.521968+0000", :message=>"Setting attribute", :edit?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522045+0000", :message=>"Setting attribute", :excludes=>["*/dist-packages/tests/*", "*/site-packages/tests/*"], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522139+0000", :message=>"Setting attribute", :exclude_file=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522228+0000", :message=>"Setting attribute", :description=>"no description", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522325+0000", :message=>"Setting attribute", :url=>"http://example.com/no-uri-given", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522402+0000", :message=>"Setting attribute", :inputs=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522498+0000", :message=>"Setting attribute", :post_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522583+0000", :message=>"Setting attribute", :pre_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522677+0000", :message=>"Setting attribute", :post_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522769+0000", :message=>"Setting attribute", :pre_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.522893+0000", :message=>"Setting attribute", :after_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523000+0000", :message=>"Setting attribute", :before_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523091+0000", :message=>"Setting attribute", :after_remove=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523249+0000", :message=>"Setting attribute", :before_remove=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523390+0000", :message=>"Setting attribute", :after_upgrade=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523517+0000", :message=>"Setting attribute", :before_upgrade=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523660+0000", :message=>"Setting attribute", :template_scripts?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523789+0000", :message=>"Setting attribute", :template_value_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523896+0000", :message=>"Setting attribute", :workdir=>"/tmp", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.523980+0000", :message=>"Setting attribute", :gem_bin_path=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524069+0000", :message=>"Setting attribute", :gem_package_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524157+0000", :message=>"Setting attribute", :gem_package_name_prefix=>"rubygem", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524271+0000", :message=>"Setting attribute", :gem_gem=>"gem", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524359+0000", :message=>"Setting attribute", :gem_fix_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524447+0000", :message=>"Setting attribute", :gem_fix_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524533+0000", :message=>"Setting attribute", :gem_env_shebang?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524636+0000", :message=>"Setting attribute", :gem_prerelease?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524722+0000", :message=>"Setting attribute", :gem_disable_dependencies=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524810+0000", :message=>"Setting attribute", :gem_version_bins?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.524902+0000", :message=>"Setting attribute", :deb_ignore_iteration_in_dependencies?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525013+0000", :message=>"Setting attribute", :deb_build_depends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525096+0000", :message=>"Setting attribute", :deb_pre_depends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525180+0000", :message=>"Setting attribute", :deb_compression=>"gz", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525292+0000", :message=>"Setting attribute", :deb_custom_control=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525375+0000", :message=>"Setting attribute", :deb_config=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525460+0000", :message=>"Setting attribute", :deb_templates=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525548+0000", :message=>"Setting attribute", :deb_installed_size=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525649+0000", :message=>"Setting attribute", :deb_priority=>"extra", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525739+0000", :message=>"Setting attribute", :deb_use_file_permissions?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525839+0000", :message=>"Setting attribute", :deb_user=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.525925+0000", :message=>"Setting attribute", :deb_group=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526024+0000", :message=>"Setting attribute", :deb_changelog=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526111+0000", :message=>"Setting attribute", :deb_recommends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526201+0000", :message=>"Setting attribute", :deb_suggests=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526284+0000", :message=>"Setting attribute", :deb_meta_file=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526393+0000", :message=>"Setting attribute", :deb_interest=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526475+0000", :message=>"Setting attribute", :deb_activate=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526558+0000", :message=>"Setting attribute", :deb_field=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526648+0000", :message=>"Setting attribute", :deb_no_default_config_files?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526749+0000", :message=>"Setting attribute", :deb_shlibs=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526834+0000", :message=>"Setting attribute", :deb_init_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.526918+0000", :message=>"Setting attribute", :deb_default_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527004+0000", :message=>"Setting attribute", :deb_upstart_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527085+0000", :message=>"Setting attribute", :npm_bin=>"npm", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527197+0000", :message=>"Setting attribute", :npm_package_name_prefix=>"node", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527335+0000", :message=>"Setting attribute", :npm_registry=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527480+0000", :message=>"Setting attribute", :rpm_use_file_permissions?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527598+0000", :message=>"Setting attribute", :rpm_user=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527706+0000", :message=>"Setting attribute", :rpm_group=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527801+0000", :message=>"Setting attribute", :rpm_defattrfile=>"-", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.527942+0000", :message=>"Setting attribute", :rpm_defattrdir=>"-", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528027+0000", :message=>"Setting attribute", :rpm_rpmbuild_define=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528130+0000", :message=>"Setting attribute", :rpm_dist=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528222+0000", :message=>"Setting attribute", :rpm_digest=>"md5", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528303+0000", :message=>"Setting attribute", :rpm_compression=>"gzip", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528389+0000", :message=>"Setting attribute", :rpm_os=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528519+0000", :message=>"Setting attribute", :rpm_changelog=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528610+0000", :message=>"Setting attribute", :rpm_sign?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528697+0000", :message=>"Setting attribute", :rpm_auto_add_directories?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528785+0000", :message=>"Setting attribute", :auto_add_exclude_directories=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528879+0000", :message=>"Setting attribute", :rpm_autoreqprov?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.528976+0000", :message=>"Setting attribute", :rpm_autoreq?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529064+0000", :message=>"Setting attribute", :rpm_autoprov?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529163+0000", :message=>"Setting attribute", :attrs=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529585+0000", :message=>"Setting attribute", :rpm_init_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529685+0000", :message=>"Setting attribute", :rpm_filter_from_provides=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529795+0000", :message=>"Setting attribute", :rpm_filter_from_requires=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.529911+0000", :message=>"Setting attribute", :rpm_ignore_iteration_in_dependencies?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530013+0000", :message=>"Setting attribute", :rpm_verbatim_gem_dependencies?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530102+0000", :message=>"Setting attribute", :rpm_verifyscript=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530212+0000", :message=>"Setting attribute", :rpm_pretrans=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530309+0000", :message=>"Setting attribute", :rpm_posttrans=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530397+0000", :message=>"Setting attribute", :rpm_trigger_before_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530499+0000", :message=>"Setting attribute", :rpm_trigger_after_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530599+0000", :message=>"Setting attribute", :rpm_trigger_before_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530696+0000", :message=>"Setting attribute", :rpm_trigger_after_target_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530781+0000", :message=>"Setting attribute", :cpan_perl_bin=>"perl", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530881+0000", :message=>"Setting attribute", :cpan_cpanm_bin=>"cpanm", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.530966+0000", :message=>"Setting attribute", :cpan_mirror=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531064+0000", :message=>"Setting attribute", :cpan_mirror_only?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531153+0000", :message=>"Setting attribute", :cpan_package_name_prefix=>"perl", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531259+0000", :message=>"Setting attribute", :cpan_test?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531358+0000", :message=>"Setting attribute", :cpan_perl_lib_path=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531460+0000", :message=>"Setting attribute", :cpan_sandbox_non_core?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531554+0000", :message=>"Setting attribute", :pear_package_name_prefix=>"php-pear", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531645+0000", :message=>"Setting attribute", :pear_channel=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531800+0000", :message=>"Setting attribute", :pear_channel_update?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.531936+0000", :message=>"Setting attribute", :pear_bin_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532061+0000", :message=>"Setting attribute", :pear_php_bin=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532158+0000", :message=>"Setting attribute", :pear_php_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532267+0000", :message=>"Setting attribute", :pear_data_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532343+0000", :message=>"Setting attribute", :python_bin=>"python2.7", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532430+0000", :message=>"Setting attribute", :python_easyinstall=>"easy_install-2.7", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532519+0000", :message=>"Setting attribute", :python_pip=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532610+0000", :message=>"Setting attribute", :python_pypi=>"https://pypi.python.org/simple", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532701+0000", :message=>"Setting attribute", :python_package_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532793+0000", :message=>"Setting attribute", :python_package_name_prefix=>"python", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532883+0000", :message=>"Setting attribute", :python_fix_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.532985+0000", :message=>"Setting attribute", :python_fix_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533071+0000", :message=>"Setting attribute", :python_downcase_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533170+0000", :message=>"Setting attribute", :python_downcase_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533267+0000", :message=>"Setting attribute", :python_install_bin=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533353+0000", :message=>"Setting attribute", :python_install_lib=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533456+0000", :message=>"Setting attribute", :python_install_data=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533544+0000", :message=>"Setting attribute", :python_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533641+0000", :message=>"Setting attribute", :python_obey_requirements_txt?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533738+0000", :message=>"Setting attribute", :python_scripts_executable=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533868+0000", :message=>"Setting attribute", :python_disable_dependency=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.533987+0000", :message=>"Setting attribute", :osxpkg_identifier_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534092+0000", :message=>"Setting attribute", :osxpkg_payload_free?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534198+0000", :message=>"Setting attribute", :osxpkg_ownership=>"recommended", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534324+0000", :message=>"Setting attribute", :osxpkg_postinstall_action=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534415+0000", :message=>"Setting attribute", :osxpkg_dont_obsolete=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534510+0000", :message=>"Setting attribute", :solaris_user=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534602+0000", :message=>"Setting attribute", :solaris_group=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534694+0000", :message=>"Setting attribute", :p5p_user=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534783+0000", :message=>"Setting attribute", :p5p_group=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534874+0000", :message=>"Setting attribute", :p5p_zonetype=>"value=global value=nonglobal", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.534972+0000", :message=>"Setting attribute", :p5p_publisher=>"FPM", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535065+0000", :message=>"Setting attribute", :p5p_lint?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535203+0000", :message=>"Setting attribute", :p5p_validate?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535346+0000", :message=>"Setting attribute", :virtualenv_pypi=>"https://pypi.python.org/simple", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535435+0000", :message=>"Setting attribute", :virtualenv_package_name_prefix=>"virtualenv", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535541+0000", :message=>"Setting attribute", :virtualenv_install_location=>"/usr/share/python", :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535637+0000", :message=>"Setting attribute", :virtualenv_fix_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535736+0000", :message=>"Setting attribute", :virtualenv_other_files_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"332", :method=>"block (2 levels) in execute"} {:timestamp=>"2015-09-28T05:47:47.535841+0000", :message=>"Trying to download", :package=>"oauth2client", :level=>:info, :file=>"fpm/package/python.rb", :line=>"115", :method=>"download_if_necessary"} {:timestamp=>"2015-09-28T05:47:47.536137+0000", :message=>"no pip, defaulting to easy_install", :easy_install=>"easy_install-2.7", :level=>:debug, :file=>"fpm/package/python.rb", :line=>"128", :method=>"download_if_necessary"} {:timestamp=>"2015-09-28T05:47:47.536456+0000", :message=>"Running command", :args=>["easy_install-2.7", "-i", "https://pypi.python.org/simple", "--editable", "-U", "--build-directory", "/tmp/package-python-build20150928-1839-79x0w6/oauth2client", "oauth2client"], :level=>:debug, :file=>"fpm/util.rb", :line=>"61", :method=>"safesystem"} {:timestamp=>"2015-09-28T05:47:47.539737+0000", :message=>"Process is running", :pid=>1841, :level=>:debug, :file=>"fpm/util.rb", :line=>"74", :method=>"safesystem"} {:timestamp=>"2015-09-28T05:47:47.611302+0000", :message=>"Searching for oauth2client", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"} {:timestamp=>"2015-09-28T05:47:47.611496+0000", :message=>"Reading https://pypi.python.org/simple/oauth2client/", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"} {:timestamp=>"2015-09-28T05:47:47.867407+0000", :message=>"Reading http://code.google.com/p/google-api-python-client/", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"} {:timestamp=>"2015-09-28T05:47:49.035833+0000", :message=>"Reading http://github.com/google/oauth2client/", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"} {:timestamp=>"2015-09-28T05:47:49.092965+0000", :message=>"error: Connection reset by peer", :level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"47", :method=>"block in pipe"} {:timestamp=>"2015-09-28T05:47:49.098287+0000", :message=>"Process failed: easy_install-2.7 failed (exit code 1). Full command was:[\"easy_install-2.7\", \"-i\", \"https://pypi.python.org/simple\", \"--editable\", \"-U\", \"--build-directory\", \"/tmp/package-python-build20150928-1839-79x0w6/oauth2client\", \"oauth2client\"]", :level=>:error, :file=>"fpm/command.rb", :line=>"493", :method=>"rescue in execute"} {:timestamp=>"2015-09-28T05:47:49.098458+0000", :message=>"Cleaning up staging path", :path=>"/tmp/package-python-staging20150928-1839-jsckdn", :level=>:debug, :file=>"fpm/package.rb", :line=>"279", :method=>"cleanup_staging"} {:timestamp=>"2015-09-28T05:47:49.101120+0000", :message=>"Cleaning up build path", :path=>"/tmp/package-python-build20150928-1839-79x0w6", :level=>:debug, :file=>"fpm/package.rb", :line=>"286", :method=>"cleanup_build"}


Subtasks 1 (0 open1 closed)

Task #7423: review 7389-transparent-proxy-ciResolvedNico César10/06/2015Actions
Actions #1

Updated by Ward Vandewege about 9 years ago

  • Subject changed from Fix build-packages for ubuntu1204 to [Jenkins] Fix build-packages for ubuntu1204
Actions #2

Updated by Ward Vandewege about 9 years ago

  • Description updated (diff)
Actions #3

Updated by Brett Smith about 9 years ago

  • Target version set to Arvados Future Sprints
Actions #4

Updated by Brett Smith about 9 years ago

  • Target version changed from Arvados Future Sprints to 2015-10-14 sprint
Actions #5

Updated by Ward Vandewege about 9 years ago

  • Description updated (diff)
  • Story points set to 2.0
Actions #6

Updated by Ward Vandewege about 9 years ago

  • Assigned To set to Ward Vandewege
Actions #7

Updated by Nico César about 9 years ago

  • Assigned To changed from Ward Vandewege to Nico César
Actions #8

Updated by Nico César about 9 years ago

  • Status changed from New to In Progress

installed squid and set it up as a transparent proxy in ci.curoverse.com .

basically:

apt-get install squid

in /etc/squid/squid.conf make sure that:

http_port 127.0.0.1:3128 transparent
http_port 172.17.42.1:3128 transparent
http_allow localnet allow

then restart the service

/etc/init.d/squid restart

and make it transparent for local and docker traffic.

iptables -t nat -A OUTPUT -p tcp -m owner ! --uid-owner proxy ! --dst 169.254.169.254 --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -I PREROUTING -i docker0 -p tcp --dport 80 -j DNAT --to 172.17.42.1:3128

now I'll add this to the puppet config.

Actions #9

Updated by Nico César about 9 years ago

this is ready for review

Actions #10

Updated by Ward Vandewege about 9 years ago

Reviewing 7389-transparent-proxy-ci

  • there's some trailing whitespace in modules/transparent_proxy/manifests/init.pp and modules/transparent_proxy/files/squid.conf. If you fix that, this LGTM.

Thanks,
Ward.

Actions #11

Updated by Nico César about 9 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF