Giter Club home page Giter Club logo

Comments (1)

AlexeiVitenko avatar AlexeiVitenko commented on June 6, 2024

I faced the similar issue running tests on Windows machine (with Ubuntu 22.04 image, provided by WSL2). That's how I found this topic.
I tried to break down test task into to smaller tasks. Running that compose command in terminal for example. (It's my first experience both with docker & WSL, so solution could be not optimal :) )
What I found:

  1. GOPATH. Compose is expecting reference to some accessible directory where it could store go packages and put dgraph binary. Real gopath in /usr/local didn't work. So I've just created directory on the same level as cloned dgraph repo (and added 'bin' directory inside it). And exported it's full path to env variable export GOPATH=/mnt/C/....
  2. Networking. It's WSL2-speciefic issue. Snaps are not working. Docker containers have issues connecting to each other. Host-wsl network are not possible by default. Just enabled network mirroring in .wslconfig. Solved all the issues for dev environment.
  3. Linking go runtime with libc. Ubuntu 22.04 image has version 2.35, dgraph binary is expecting 2.32-2.34. Quick fix is here: #8701 (comment) Just change the base image from 20.04 to 22.04

I managed to launch tests and they are passing up to 12th in the best case. Sometimes failed on first. But I think it's another issue.

from dgraph.

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.