threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

Some builders raise runtime errors #690

Open Dinaamagdy opened 5 years ago

Dinaamagdy commented 5 years ago

digitalme builder

ERRORED   (Executed in 2015.11645 seconds)

  File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/test/builder/test02_apps.py", line 19, in test001_digitalme
    j.builders.apps.digitalme.build(reset=True)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/apps/BuilderDigitalME.py", line 37, in build
    j.builders.runtimes.lua.build()  # will build openresty & lua & openssl
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/runtimes/BuilderLua.py", line 40, in build
    self.lua_rocks_install()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/runtimes/BuilderLua.py", line 123, in lua_rocks_install
    self.lua_rock_install(line)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/runtimes/BuilderLua.py", line 49, in lua_rock_install
    self._execute(C)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 375, in _execute
    showout=showout,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/sal/process/SystemProcess.py", line 103, in execute
    replace=replace,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/core/InstallTools.py", line 1175, in execute
    raise RuntimeError(msg)

Could not execute: 'bash /tmp/builders/lua/builder_lua.sh'stdout:
    Installing https://luarocks.org/lua-path-0.3.1-1.src.rock

stderr:
    + cd /tmp/builders/lua
    + . /tmp/builders/lua/env.sh
    ++ export LIBRARY_PATH=/lib/x86_64-linux-gnu:/lib:/usr/local/lib:/usr/lib
    ++ LIBRARY_PATH=/lib/x86_64-linux-gnu:/lib:/usr/local/lib:/usr/lib
    ++ export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/lib:/usr/local/lib:/usr/lib
    ++ LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/lib:/usr/local/lib:/usr/lib
    ++ export 'LDFLAGS=-L/lib/x86_64-linux-gnu -L/lib -L/usr/local/lib -L/usr/lib'
    ++ LDFLAGS='-L/lib/x86_64-linux-gnu -L/lib -L/usr/local/lib -L/usr/lib'
    ++ export CPPPATH=/usr/include
    ++ CPPPATH=/usr/include
    ++ export CPPFLAGS=-I/usr/include
    ++ CPPFLAGS=-I/usr/include
    ++ export PS1=PYTHONBUILDENV:
    ++ PS1=PYTHONBUILDENV:
    ++ export PYTHONHTTPSVERIFY=0
    ++ PYTHONHTTPSVERIFY=0
    ++ export LC_ALL=en_US.UTF-8
    ++ LC_ALL=en_US.UTF-8
    ++ export LANG=en_US.UTF-8
    ++ LANG=en_US.UTF-8
    + luarocks install lua-path
    Warning: The directory '/root/.cache/luarocks' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of
        that directory. If executing /tmp/builders/lua/luarocks/src/bin/luarocks with sudo, you may want sudo's -H flag.

    Error: Could not fetch rock file: Error fetching file: Failed downloading https://luarocks.org/lua-path-0.3.1-1.src.rock - lua-path-0.3.1-1.src.rock
Dinaamagdy commented 5 years ago

ardb builder

ERRORED   (Executed in 11.85391 seconds)

  File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/test/builder/test07_db.py", line 71, in test004_ardb
    j.builders.db.ardb.build(reset=True)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/db/BuilderARDB.py", line 23, in build
    self.build_forest_db()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/db/BuilderARDB.py", line 75, in build_forest_db
    self._execute(C)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 375, in _execute
    showout=showout,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/sal/process/SystemProcess.py", line 103, in execute
    replace=replace,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/core/InstallTools.py", line 1175, in execute
    raise RuntimeError(msg)

Could not execute:    bash /tmp/builders/ardb-server/builder_ardb.sh

stderr:
    + cd /tmp/builders/ardb-server/github/couchbase/forestdb
    + mkdir build
    + cd build
    + cmake ../
    CMake Error: Could not find CMAKE_ROOT !!!
    CMake has most likely not been installed correctly.
    Modules directory not found in
    /sandbox/share/cmake-3.15
    CMake Error: Error executing cmake::LoadCache(). Aborting.
Dinaamagdy commented 5 years ago

influxdb builder

ERRORED   (Executed in 1.71842 seconds)

  File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/test/builder/test07_db.py", line 105, in test006_influx
    j.builders.db.influxdb.build(reset=True)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/db/BuilderInfluxdb.py", line 18, in build
    self.system.package.install(["npm", "bzr"])
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderSystemPackage.py", line 169, in install
    self.install(package)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderSystemPackage.py", line 166, in install
    self._execute(cmd)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 375, in _execute
    showout=showout,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/sal/process/SystemProcess.py", line 103, in execute
    replace=replace,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/core/InstallTools.py", line 1175, in execute
    raise RuntimeError(msg)

Could not execute: 'bash /sandbox/builder_systempackage.sh'stdout:
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed

stderr:
    + cd /sandbox
    + . /sandbox/env.sh
    ++ export LC_ALL=en_US.UTF-8
    ++ LC_ALL=en_US.UTF-8
    ++ export LUALIB=/sandbox/openresty/lualib
    ++ LUALIB=/sandbox/openresty/lualib
    ++ export LANG=en_US.UTF-8
    ++ LANG=en_US.UTF-8
    ++ export 'LUA_PATH=?.lua;/sandbox/openresty/lualib/?/init.lua;/sandbox/openresty/lualib/?.lua;/sandbox/openresty/lualib/?/?.lua;/sandbox/openresty/lualib/?/core.lua;/sandbox/openr
        esty/lapis/?.lua'
    ++ LUA_PATH='?.lua;/sandbox/openresty/lualib/?/init.lua;/sandbox/openresty/lualib/?.lua;/sandbox/openresty/lualib/?/?.lua;/sandbox/openresty/lualib/?/core.lua;/sandbox/openresty/la
        pis/?.lua'
    ++ export PBASE=/sandbox
    ++ PBASE=/sandbox
    ++ export 'LUA_CPATH=/sandbox/openresty/lualib/?.so;./?.so'
    ++ LUA_CPATH='/sandbox/openresty/lualib/?.so;./?.so'
    ++ export GOPATH=/sandbox/go_proj
    ++ GOPATH=/sandbox/go_proj
    ++ export PYTHONHTTPSVERIFY=0
    ++ PYTHONHTTPSVERIFY=0
    ++ export HOME=/root
    ++ HOME=/root
    ++ export GOROOT=/sandbox/go
    ++ GOROOT=/sandbox/go
    ++ export HOST=c9dbf9aaad91
    ++ HOST=c9dbf9aaad91
    ++ export DEBIAN_FRONTEND=noninteractive
    ++ DEBIAN_FRONTEND=noninteractive
    ++ export PYTHONPATH=/sandbox/lib:/sandbox/lib/jumpscale:/sandbox/lib/jumpscale
    ++ PYTHONPATH=/sandbox/lib:/sandbox/lib/jumpscale:/sandbox/lib/jumpscale
    ++ export PATH=/sandbox/go/bin:/sandbox/go_proj/bin:/sandbox/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    ++ PATH=/sandbox/go/bin:/sandbox/go_proj/bin:/sandbox/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    ++ export 'PS1=3BOTDEVEL:c9dbf9aaad91:\W: '
    ++ PS1='3BOTDEVEL:c9dbf9aaad91:\W: '
    ++ export LAPIS_OPENRESTY=/sandbox/bin/openresty
    ++ LAPIS_OPENRESTY=/sandbox/bin/openresty
    + apt-get install npm -y
    E: Unable to correct problems, you have held broken packages.
Dinaamagdy commented 5 years ago

syncthing builder

ERRORED   (Executed in 99.68607 seconds)

  File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/test/builder/test08_storage.py", line 36, in test002_syncthing
    j.builders.storage.syncthing.build(reset=True)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 162, in wrapper_action
    res = self.apply_method(func, kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 93, in apply_method
    return func(**kwargs)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/storage/BuilderSyncthing.py", line 33, in build
    self._execute("cd %s && go run build.go" % self.package_path)
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/builder/system/BuilderBaseClass.py", line 375, in _execute
    showout=showout,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/sal/process/SystemProcess.py", line 103, in execute
    replace=replace,
  File "/sandbox/code/github/threefoldtech/jumpscaleX/Jumpscale/core/InstallTools.py", line 1175, in execute
    raise RuntimeError(msg)

Could not execute:    bash /tmp/builders/syncthing/builder_syncthing.sh

stderr:
abom commented 5 years ago

The first error is mostly a network issue.

waleedhammam commented 5 years ago

influxdb error is caused by a system broken package; try install/reinstall libssl1.0-dev

waleedhammam commented 5 years ago

ran ardb in a fresh container works ok