Comments (10)
I was able to compile and build the executor by following these steps (caveats follow)
- Download and build the metalinter & govendor packages per the docs
- Create the GOPATH env var (i'm not 100% sure this is necessary)
- Download go-junit-report
go get -u github.com/jstemmer/go-junit-report
cd $GOPATH/github.com/jstemmer/go-junit-report
go build
- Compile by specifying the path to govendor & go-junit-report
PATH="$GOPATH/src/github.com/jstemmer/go-junit-report:$GOPATH/src/github.com/kardianos/govendor:$PATH" make builder all
I was unable to get all of the tests to pass as I was unable to run the command as sudo. However, after compiling the source I used the same trick to run make standalone-test
and it ran - but fails intermittently.
from titus-executor.
Are you trying to build in a Docker container, or "natively"?
from titus-executor.
I try both alternatives. Both on máster branch :(
from titus-executor.
For now, can you use the package that's built here: https://circleci.com/gh/Netflix/titus-executor/420#artifacts/containers/0
from titus-executor.
Let me know if any of this helps:
#97
from titus-executor.
Hi @sargun. I'm still in trouble.
[angel@elitebook ~]$ echo $GOPATH
/home/angel/go
[angel@elitebook ~]$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/go/bin:/home/angel/go/bin:/home/angel/.local/bin:/home/angel/bin:/usr/local/go/bin:/usr/local/go/bin:/home/angel/go/bin
[angel@elitebook ~]$ go get -u github.com/Netflix/titus-executor
package github.com/Netflix/titus-executor: no Go files in /home/angel/go/src/github.com/Netflix/titus-executor
[angel@elitebook ~]$ go get -u github.com/alecthomas/gometalinter
[angel@elitebook ~]$ cd /home/angel/go/src/github.com/Netflix/titus-executor
[angel@elitebook titus-executor]$ gometalinter --install
Installing:
deadcode
dupl
errcheck
gas
goconst
gocyclo
goimports
golint
gosimple
gotype
gotypex
ineffassign
interfacer
lll
maligned
megacheck
misspell
nakedret
safesql
staticcheck
structcheck
unconvert
unparam
unused
varcheck
[angel@elitebook titus-executor]$ go get -u github.com/kardianos/govendor
[angel@elitebook titus-executor]$ sudo -E PATH=${PATH} make builder all
...
about 5 minutes later...
...
coverage: 2.0% of statements in github.com/Netflix/...
ok github.com/Netflix/titus-executor/vpc/context 0.019s coverage: 2.0% of statements in github.com/Netflix/...
? github.com/Netflix/titus-executor/vpc/ec2wrapper [no test files]
? github.com/Netflix/titus-executor/vpc/gc [no test files]
? github.com/Netflix/titus-executor/vpc/genconf [no test files]
? github.com/Netflix/titus-executor/vpc/globalgc [no test files]
? github.com/Netflix/titus-executor/vpc/setup [no test files]
? github.com/Netflix/titus-executor/vpc/types [no test files]
Error: exit status 1
make: *** [Makefile:61: test-local] Error 2
I dont know what i am doing wrong :(
from titus-executor.
from titus-executor.
new error :(
sudo -E PATH=${PATH} make build-standalone
git submodule update --init --recursive
hack/builder/titus-executor-builder.sh
~/go/src/github.com/Netflix/titus-executor ~/go/src/github.com/Netflix/titus-executor
Number of parallel builds: 3
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-launchguard-server
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-reaper
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-vpc-tool
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-standalone
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-vpc-tool
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-darion
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-executor
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-launchguard-server
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-metadata-service
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-reaper
--> darwin/amd64: github.com/Netflix/titus-executor/cmd/titus-standalone
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-darion
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-metadata-service
--> linux/amd64: github.com/Netflix/titus-executor/cmd/titus-executor
make[1]: se entra en el directorio '/home/angel/go/src/github.com/Netflix/titus-executor/mount'
gcc -D_GNU_SOURCE=1 -std=gnu11 -Wall -Werror -static -g -o titus-mount mount.c
/usr/bin/ld: no se puede encontrar -lc
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [Makefile:2: titus-mount] Error 1
make[1]: se sale del directorio '/home/angel/go/src/github.com/Netflix/titus-executor/mount'
make: *** [Makefile:46: build-standalone] Error 2
from titus-executor.
from titus-executor.
@angelbarrera92
Do you want to close this issue, or add instructions on how you got this to build?
from titus-executor.
Related Issues (14)
- Replace the configuration system with Viper
- Replace our metrics usage with armon/go-metrics
- Make it so that the launchguard can be disabled / bypassed based on protobuf HOT 1
- Configure the Circle CI builder to only build the builder image sometimes HOT 1
- Switch to Darion per Task
- Make Generic Cancel Launch Test HOT 1
- Add test around images with healthchecks HOT 1
- Remove launchguard
- Remove bind mounts
- Add mechanism to GC "leaked" cgroups HOT 1
- Check if Digest Image Already Downloaded
- Use New go bindata
- Titus-executor build problems HOT 10
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 titus-executor.