question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem running docker-compose for local tests (using current master branch)

See original GitHub issue

Ubuntu 18.04 LTS.

Clean run of docker-compose after docker system prune -a.

See attachment (too long to paste):

aaa.txt

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
xplcommented, Feb 18, 2019

@hroff-1902 From your log, it seems that the container image has been built just fine! Those errors when building the image are irrelevant:

byte-compiling build/bdist.linux-x86_64/egg/ccxt/async_support/jubi.py to jubi.pyc
  File "build/bdist.linux-x86_64/egg/ccxt/async_support/jubi.py", line 30
    async def fetch_markets(self, params={}):
            ^
SyntaxError: invalid syntax

Also, when building the container, it does not execute the tests, it only installs all the required dependencies. So after you get to the container’s shell, you can execute the npm run build to build the sources, and then (for running the tests for various languages):

node run-tests --js
node run-tests --python2
node run-tests --python3

I also just changed the run-tests behavior a bit in f6de83d629e2bc0e478a9d93309983c0944e2749, so that it does not burn the CPU too hard — so please update.

1reaction
hroff-1902commented, Feb 19, 2019

@xpl Thanks, I’ll repeat the actions on my next PR and verify.

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker-compose is not able to resolve Git URIs from TFS ...
I have a repository on TFS with a dockerfile that works when you pull it manually and run it. So, git clone ......
Read more >
Announcing Compose V2 General Availability - Docker
Here's what Docker Compose V2's graduation means for you: The Docker Compose V2 branch is now the default on GitHub. You can still...
Read more >
Using the Fabric test network - Hyperledger Fabric Docs
Because the nodes are isolated within a Docker Compose network, the test network is not configured to connect to other running Fabric nodes....
Read more >
1.3. First Buildbot run with Docker
If you're having trouble, first determine whether it is a Buildbot issue or a Docker issue ... This tutorial uses docker-compose to run...
Read more >
Getting Started - IOTstack
It is just that IOTstack gets most of its testing under these conditions. ... The menu is used to install Docker and then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found