Git Product home page Git Product logo

Comments (2)

benja-wu avatar benja-wu commented on August 31, 2024

@zhao-kun Thanks for the suggestion.

  • I am working on open an issue for the Easegress cluster behavior-changing proposal which can help to solve the cluster testing failure in the Github testing env. (Changing to ETCD cluster solution directly or continuing improving current cluster implementation. Should comparing with other distributing productions' solutions.)
  • Speaking about the cluster test case failure
register cluster name test-cluster failed: create client failed: couldn't open sink "/tmp/eg-test/test-member-001/log/etcd_client.log": open /tmp/eg-test/test-member-001/log/etcd_client.log: no such file or directory

It's weird to me that it can't be reproduced successfully every time in my development env. And sometimes the Github test can successfully go through too! If the tmp directory is the root cause, it should be failed every time. Or maybe Github testing doesn't run in the same docker-backend every time?

Summary

  1. I will change the directory to os.TempDir in this test case.
  2. The issue for Easegress cluster behavior is still necessary.

from easegress.

zhao-kun avatar zhao-kun commented on August 31, 2024

We can easily reproduce the issue with make build-docker, but we need slightly modify build/package/Dockerfile with

diff --git a/build/package/Dockerfile b/build/package/Dockerfile
index eccdafa..39ff169 100644
--- a/build/package/Dockerfile
+++ b/build/package/Dockerfile
@@ -1,10 +1,10 @@
-FROM golang:alpine AS builder
-RUN apk --no-cache add make git
+FROM golang AS builder
+#RUN apk --no-cache add make git

WORKDIR /opt/easegress
COPY . .

-RUN make clean && make build
+RUN make clean && make test && make build

Actually, it's almost failed every time, you can re-run all jobs in Actions[1]

it should be failed every time.

[1]https://github.com/megaease/easegress/actions

from easegress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.