tarantool / tarantool-qa

QA related issues of Tarantool
3 stars 0 forks source link

github-ci: Introduce pipeline for GNU/Linux ARM64 #121

Closed igormunkin closed 3 years ago

igormunkin commented 3 years ago

In scope of tarantool/tarantool#5629 we are backporting patches from vanilla LuaJIT to enable ARM64 support on GNU/Linux. To make sure these patches definitely solve ARM64-related issue and break nothing, we need regular routines (both Debug and RelWithDebInfo) for GNU/Linux ARM64 platforms to our CI.

avtikhon commented 3 years ago

To setup the host for Github Actions and manual testings done on 4 hosts:

  1. added tarantool:tarantool user:group : adduser tarantool
  2. added other needed users to tarantool group: vi /etc/group
  3. added sudo to tarantool group:
    chmod u+w /etc/sudoers
    vi /etc/sudoers
    %tarantool  ALL=(ALL) NOPASSWD:ALL
    chmod u-w /etc/sudoers
  4. installed git for checkout ability: apt update -y && apt install git -y
  5. installed Github Actions runner for tarantool user:
    su tarantool
    cd ~
    mkdir actions-runner && cd actions-runner
    curl -o actions-runner-linux-arm64-2.278.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.278.0/actions-runner-linux-arm64-2.278.0.tar.gz
    tar xzf ./actions-runner-linux-arm64-2.278.0.tar.gz
    # label: odroid_arm64
    ./config.sh --url https://github.com/tarantool/tarantool --token <TOKEN>
    nohup ./run.sh >run.log 2>&1 &
Testing timings and fails: Measured Release Debug Debug long
Timings ------------ ------------ ---------------------
real 6m22.786s 15m5.604s 19m23.784s
user 12m7.764s 34m49.940s 35m22.248s
sys 3m5.296s 6m10.168s 6m25.936s
Tests ------------ ------------ ---------------------
pass 1134 1221 1068
fail 15 13 96
disabled 142 65 49