Comments (13)
can you check the logs for errors? should be /var/log/upstart/drone.log
also can you check your js console for errors?
from gitness.
Nothing in the JS console.
Log file seems OK as well:
starting service container bradrydzewski/mysql:5.5
starting service container bradrydzewski/elasticsearch:0.90
starting service container bradrydzewski/redis:2.8
starting service container bradrydzewski/memcached
creating build image
Step 0 : FROM bradrydzewski/ruby:2.0.0
---> 234bd8089bce
Step 1 : WORKDIR /var/cache/drone/src/github.com/cmer/drone-test
---> Running in 1d0bf963b243
---> e023be2892a0
Step 2 : ADD drone /usr/local/bin/
---> 66b731dc6ef6
Step 3 : USER ubuntu
---> Running in efcfc1082499
---> ab0e5e29c249
Step 4 : ENV HOME /home/ubuntu
---> Running in 16be66e4c245
---> a20abf23c7af
Step 5 : ENV LANG en_US.UTF-8
---> Running in 325edee708e8
---> b2c7feeae110
Step 6 : ENV LANGUAGE en_US:en
---> Running in ad5b022351a0
---> 4c04a834c803
Step 7 : ENV LOGNAME ubuntu
---> Running in a0bf7c661cf8
---> 7b404411df9e
Step 8 : ENV TERM xterm
---> Running in 9c1137cefeff
---> a0dcf4ecc26a
Step 9 : ENV SHELL /bin/bash
---> Running in f9c6166106bf
---> cb95182f350a
Step 10 : ADD id_rsa /home/ubuntu/.ssh/id_rsa
---> 4d50cac4525d
Step 11 : RUN sudo chown -R ubuntu:ubuntu /home/ubuntu/.ssh
---> Running in 02723ddb8430
---> c6be814bf531
Step 12 : RUN sudo chown -R ubuntu:ubuntu /var/cache/drone
---> Running in 94249c26cd7b
---> 7fee139df326
Step 13 : RUN sudo chown -R ubuntu:ubuntu /usr/local/bin/drone
---> Running in acde3c9a7d29
---> 0fab0355237f
Step 14 : RUN sudo chmod 600 /home/ubuntu/.ssh/id_rsa
---> Running in a837503205cd
---> af32b50f0585
Step 15 : ADD proxy.sh /etc/drone.d/
---> 770bc7190d55
Step 16 : ENTRYPOINT /bin/bash -e /usr/local/bin/drone
---> Running in e4436db451a0
---> e218d7d820c6
Successfully built e218d7d820c6
Removing intermediate container 1d0bf963b243
Removing intermediate container 756a555191a8
Removing intermediate container 1673c04e4e28
Removing intermediate container 325edee708e8
Removing intermediate container ad5b022351a0
Removing intermediate container f9c6166106bf
Removing intermediate container 16be66e4c245
Removing intermediate container a0bf7c661cf8
Removing intermediate container 94249c26cd7b
Removing intermediate container acd60ef3f9f3
Removing intermediate container efcfc1082499
Removing intermediate container 9c1137cefeff
Removing intermediate container 02723ddb8430
Removing intermediate container acde3c9a7d29
Removing intermediate container a837503205cd
Removing intermediate container e4436db451a0
copying repository to /var/cache/drone/src/github.com/cmer/drone-test
starting build
removing build container
removing service container mysql
removing service container elasticsearch
removing service container redis
removing service container memcached
removing build image
from gitness.
The same happened to me when i added in elasticsearch. Taking it out runs my specs, although they now fail because elasticsearch isnt available.
from gitness.
I have the same issue, when I add elasticsearch, it doesn't do anything.
[DRONE] copying repository to /var/cache/drone/src/project
[DRONE] starting build
[DRONE] removing build container
[DRONE] removing service container postgres
[DRONE] removing service container redis
[DRONE] removing service container elasticsearch:0.90
[DRONE] removing build image
Drone Build Results (1)
✓ (Less than a second)
from gitness.
would anyone be willing to debug a little further? otherwise I may not get to this for a few weeks ... as you can see I have quite the backlog of issues and PRs that I'm working through
from gitness.
I can help. email me at c at codified dot co (and not dot com)
from gitness.
If this helps, it seems that container is running out of memory. It is strange as I have 800mb free of 1gb.
root@dronebox:~/project# docker run -t -i bradrydzewski/elasticsearch:0.90
Error occurred during initialization of VM
Could not reserve enough space for object heap
root@dronebox:~/project# free -m
total used free shared buffers cached
Mem: 995 194 800 0 51 86
-/+ buffers/cache: 56 938
Swap: 0 0 0
from gitness.
@teodor-pripoae was right! I was testing Drone on a 2GB DigitalOcean instance. Bumped it to 8GB and it's working now! Thanks so much!
from gitness.
Actually I spoke too soon. Containers are running but I still get no output.
from gitness.
@cmer FYI I use @yosssi's pull request on custom services (#80) to be able to use the official build of elasticsearch by dockerfile (https://index.docker.io/u/dockerfile/elasticsearch/) and succeeded.
from gitness.
Any idea what the issue is with the the Drone elastic search image?
https://github.com/drone/images/blob/master/database/elasticsearch/elasticsearch_0.90/Dockerfile
We should get that fixed regardless.
The reason I haven't merged pull request #80 is because there is no need to specify ports in the yaml. We can query the ports using the Docker client. It is easy to add syntax to the yaml, but a bit more tricky to remove it.
from gitness.
@bradrydzewski about the elasticsearch image issue. Following @teodor-pripoae, I rebuilt it based off the one in drone/images/.../Dockerfile changing CMD
to:
CMD ["-f", "-Xmx256m", "-Des.index.store.type=memory"]
i.e. reducing memory to 256m. The container runs successfully with this change.
Actually, now that I think about it, -Xmx
and -Xms
could probably be removed from CMD
. That way one can specify additional arguments when needed (once #80 (comment) is in place).
from gitness.
I can confirm that ElasticSearch is the problem. Just removing it from my .drone.yml got my build to execute. I have other failures but at least I get some output now. Thanks @xpepper.
from gitness.
Related Issues (20)
- Bug: Improve public repositories experience when visited HOT 1
- Feature request: explore tab
- Using drone is a real pain
- Gitness Integration with Open Source Dev Environment Manager. HOT 2
- Gitness Integration support HOT 1
- Gitness Api HOT 3
- Error: Changes blocked by files exceeding the file size limit HOT 2
- using pipelines with Docker-in-Docker samples, Error: mount: permission denied
- Gitness - Unauthenticated Git Pulls HOT 1
- Bug: browse the files within the "search" directory. HOT 2
- Bug: After delete the project, the menu still shows the deleted projects.
- Feature Request: MFA or external authentication via OAuth2/OIDC
- Feature Request: Support for Displaying the Webhook Execution List HOT 1
- Error: pipelines clone
- Support LFS HOT 3
- How to use Gitness as headless without UI? HOT 1
- How to use S3 or GCS to store repos? HOT 1
- Correct carriage return
- Feature Request: Starlark support for Gitness?
- gitness pipeline is not auto triggering while push or PR request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitness.