1. 21 Jan, 2019 1 commit
    • Kirill Smelkov's avatar
      helloworld: Fix build · 5cc24000
      Kirill Smelkov authored
      	2019-01-21 17:56:18 slapos[13553] INFO While:
      	2019-01-21 17:56:18 slapos[13553] INFO   Installing.
      	2019-01-21 17:56:18 slapos[13553] INFO   Getting section instance-profile.
      	2019-01-21 17:56:18 slapos[13553] INFO   Initializing section instance-profile.
      	2019-01-21 17:56:18 slapos[13553] INFO   Installing recipe slapos.recipe.template.
      	2019-01-21 17:56:18 slapos[13553] INFO   Getting distribution for 'slapos.recipe.template'.
      	2019-01-21 17:56:18 slapos[13553] INFO Error: Picked: slapos.recipe.template = 4.3
      	2019-01-21 17:56:19 slapos[13553] ERROR Failed to run buildout profile in directory '/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069'
      
      	2019-01-21 18:01:21 slapos[26771] INFO While:
      	2019-01-21 18:01:21 slapos[26771] INFO   Installing.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting section helloweb-ruby.
      	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section helloweb-ruby.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting option helloweb-ruby:input.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting section helloweb-ruby-bundle.
      	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section helloweb-ruby-bundle.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting option helloweb-ruby-bundle:make-targets.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting section bundler.
      	2019-01-21 18:01:21 slapos[26771] INFO   Initializing section bundler.
      	2019-01-21 18:01:21 slapos[26771] INFO   Installing recipe rubygemsrecipe.
      	2019-01-21 18:01:21 slapos[26771] INFO   Getting distribution for 'rubygemsrecipe'.
      	2019-01-21 18:01:21 slapos[26771] INFO Error: Picked: rubygemsrecipe = 0.2.2+slapos001
      
      Ruby stuff was failing to download at all. However after updating
      versions to the ones used in software/gitlab/ it still fails to build
      with the following error:
      
      	2019-01-21 18:20:28 slapos[19170] INFO Installing bundler.
      	2019-01-21 18:20:28 slapos[19170] INFO bundler: installing ruby gem "bundler==1.11.2"
      	2019-01-21 18:20:28 slapos[19170] INFO ERROR:  While executing gem ... (Gem::Exception)
      	2019-01-21 18:20:28 slapos[19170] INFO     Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
      	2019-01-21 18:20:28 slapos[19170] INFO bundler:
      	2019-01-21 18:20:28 slapos[19170] INFO bundler: Command failed with exit code 1: ['/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/ruby2.1/bin/rub
      	y', u'/srv/slapgrid/slappart7/srv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/bundler/bin/gem', u'install', u'--no-rdoc', u'--no-ri', u'--bindir=/srv/slapgrid/slappart7/s
      	rv/runner/software/19771f7b751ffc2a88162b15750c6069/parts/bundler/bin', u'bundler', u'--version=1.11.2', u'--']
      
      Mark helloweb-ruby as broken, but let others part of helloweb/helloword
      story to live.
      
      Based on patch by @romain.
      5cc24000
  2. 18 Jan, 2019 1 commit
  3. 17 Jan, 2019 1 commit
  4. 16 Jan, 2019 4 commits
    • Łukasz Nowak's avatar
      seleniumserver: Be catch-all on the frontend · 00fa1f6c
      Łukasz Nowak authored
      The IP used by frontend can be different than the real endpoint, and unknown
      for the frontend itself, so make it catch-all to allow access.
      
      /reviewed-on nexedi/slapos!497
      00fa1f6c
    • Łukasz Nowak's avatar
      caddy-frontend: Correctly fix prefer-gzip-encoding-to-backend · c1595bae
      Łukasz Nowak authored
      Because of misleading tests (Accept-Encoding with gzip was always set by
      requests, fixed in "caddy-frontend/test: Workaround requests issue with
      Accept-Encoding") the original commit "Fix/caddy frontend prefer gzip type
      zope" did not really fixed the issue for type:zope backend.
      c1595bae
    • Łukasz Nowak's avatar
      caddy-frontend/test: Workaround requests issue with Accept-Encoding · 28b1abe9
      Łukasz Nowak authored
      requests set Accept-Encoding header, but in the testr environment we
      want to have full control over its behaviour, thus not setting any header if
      not really wanted.
      
      As there is not known way to avoid setting the header (skip_accept_encoding is
      internal to httplib) set dummy Accept-Encoding header, which is enough for our
      environment.
      28b1abe9
    • Jérome Perrin's avatar
      Updates on Selenium Server · 9d0de6e9
      Jérome Perrin authored
      Hopefully fix the random failure with:
      
      ```
      test_connect (test.TestSSHServer) ... /srv/slapgrid/slappart3/srv/testnode/byx/soft/a452c8ac557f7eaea3c20f6cc373c390/eggs/paramiko-2.4.2-py2.7.egg/paramiko/client.py:822: UserWarning: Unknown ecdsa-sha2-nistp521 host key for [2001:67c:1254:e:4a::7bd5]:22222: 22c41f5090433152d1e5395a85d6cb4f
        key.get_name(), hostname, hexlify(key.get_fingerprint())
      FAIL
      
      ======================================================================
      FAIL: test_connect (test.TestSSHServer)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/srv/slapgrid/slappart3/srv/testnode/byx/soft/a452c8ac557f7eaea3c20f6cc373c390/parts/slapos-repository/software/seleniumserver/test/test.py", line 357, in test_connect
          self.assertIn("Welcome to SlapOS Selenium Server.", channel.recv(100))
      AssertionError: 'Welcome to SlapOS Selenium Server.' not found in 'Attempt to write login records by non-root user (aborting)\r\r\n'
      
      ----------------------------------------------------------------------
      ```
      
      Also publish the fingerprint of the server ssh key, which addresses this warning in the correct way (I feel) and since we can publish the fingerprint, why not.
      
      /reviewed-on nexedi/slapos!492
      9d0de6e9
  5. 14 Jan, 2019 1 commit
  6. 11 Jan, 2019 7 commits
  7. 10 Jan, 2019 7 commits
  8. 09 Jan, 2019 3 commits
  9. 08 Jan, 2019 2 commits
    • Jérome Perrin's avatar
      seleniumserver: try to fix intermitent test failure · 381f49e3
      Jérome Perrin authored
      This seem to be needed "sometimes", apparently on the first connection
      after server is started, but this was not investigated much.
      381f49e3
    • Jérome Perrin's avatar
      component/apache: increase Timeout for direct access case · fce3c74a
      Jérome Perrin authored
      In "direct zope access" ports, the shared frontend is not used, so
      the argument that long timeout consume resources on shared server does
      not apply here.
      
      A timeout of one hour was choosen arbitrarily, a value that should be
      large enough for normal requests and more than the default 60s timeout
      that we hit in the "wait for activities" step when running zelenium
      tests.
      fce3c74a
  10. 07 Jan, 2019 2 commits
  11. 04 Jan, 2019 1 commit
  12. 03 Jan, 2019 1 commit
  13. 02 Jan, 2019 3 commits
  14. 30 Dec, 2018 2 commits
  15. 28 Dec, 2018 4 commits