Skip to content

Fix an error that occurred in e2e-nightly #519

@Mdaiki0730

Description

@Mdaiki0730

Ostracon version (use ostracon version or git rev-parse --verify HEAD if installed from source):
latest

ABCI app (name for built-in, URL for self-written if it's publicly available):

Environment:

  • OS (e.g. from /etc/os-release):
  • Install tools:
  • Others:

What happened:
It looks like we haven't passed the e2e-nightly workflow for the past year and a half.

After investigating the cause, it seems that docker build fails with the following error.

...
Step 15/35 : ARG LIBSODIUM_OS=${SRCDIR}/${VRF_ROOT}/sodium/linux_amd64
 ---> Running in 0f96aec6faed
Removing intermediate container 0f96aec6faed
 ---> 7e71f8113496
Step 16/35 : COPY ${LIBSODIUM_ROOT} ${LIBSODIUM_ROOT}
 ---> a65d705ea42e
Step 17/35 : RUN cd ${LIBSODIUM_ROOT} &&     ./autogen.sh &&     ./configure --disable-shared --prefix="${LIBSODIUM_OS}" &&     make &&     make install
 ---> Running in 5806b3c1511a
/bin/sh: 1: ./autogen.sh: not found

I fixed this in feat/fix-e2e-nightly, but the error still occurs.

...
Step 21/35 : ENV LIBSODIUM 1
 ---> Running in fc8b5f28763b
Removing intermediate container fc8b5f28763b
 ---> 7e74b7a2b844
Step 22/35 : COPY go.mod go.sum ${SRCDIR}
When using COPY with more than one source file, the destination must be a directory and end with a /

Even if you fix this, more errors may occur.

I think that it is necessary to consider once whether the above should be corrected.
Because it's a test that won't be noticed even if it fails for a long time.

What you expected to happen:

Have you tried the latest version: yes/no
yes

How to reproduce it (as minimally and precisely as possible):

Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
https://github.com/line/ostracon/actions/runs/3598975246/jobs/6062202782
https://github.com/line/ostracon/actions/runs/3599098047/jobs/6062433166

Config (you can paste only the changes you've made):

node command runtime flags:

Please provide the output from the http://<ip>:<port>/dump_consensus_state RPC endpoint for consensus bugs

Anything else we need to know:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: bugClassification: Something isn't workingStaleFor github bot

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions