Comments (5)
Want to run make integration-tests
on mac as baseline before hacking on e2e testing docs. Does the following error indicate problem with make command
execution or is the test working and something in the code is broke?
vpp-agent % make integration-tests --debug
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Reading makefiles...
Updating goal targets....
File `integration-tests' does not exist.
Must remake target `integration-tests'.
# running integration tests
VPP_IMG=ligato/vpp-base:20.05 ./tests/integration/vpp_integration.sh
# go.ligato.io/vpp-agent/v3/plugins/linux/nsplugin/linuxcalls
plugins/linux/nsplugin/linuxcalls/namespace_api.go:95:9: cannot use &namedNetNsHandler literal (type *namedNetNsHandler) as type NamedNetNsAPI in return argument:
*namedNetNsHandler does not implement NamedNetNsAPI (missing CreateNamedNetNs method)
plugins/linux/nsplugin/linuxcalls/system_linuxcalls.go:55:9: undefined: syscall.Mount
make: *** [integration-tests] Error 2
from docs.
Weird, are you sure you have the latest master version?
from docs.
yes, replaced make command with remake command for more visibility. Output:
➜ vpp-agent git:(master) remake integration-tests --debug --verbosity=full
GNU Make 4.3+dbg-1.5
Built for x86_64-apple-darwin19.5.0
Copyright (C) 1988-2020 Free Software Foundation, Inc.
Copyright (C) 2015, 2017 Rocky Bernstein.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
Reading makefile 'vpp.env' (search path) (no ~ expansion)...
Reading makefile 'scripts/make/buf.make' (search path) (don't care) (no ~ expansion)...
Updating makefiles...
Updating goal targets...
Considering target file 'integration-tests'.
/Users/christophermetz/vpp-agent/Makefile:180 integration-tests
File 'integration-tests' does not exist.
Finished prerequisites of target file 'integration-tests'.
Must remake target 'integration-tests'.
# running integration tests
VPP_IMG=ligato/vpp-base:20.05 ./tests/integration/vpp_integration.sh
# go.ligato.io/vpp-agent/v3/plugins/linux/nsplugin/linuxcalls
plugins/linux/nsplugin/linuxcalls/namespace_api.go:95:9: cannot use &namedNetNsHandler literal (type *namedNetNsHandler) as type NamedNetNsAPI in return argument:
*namedNetNsHandler does not implement NamedNetNsAPI (missing CreateNamedNetNs method)
plugins/linux/nsplugin/linuxcalls/system_linuxcalls.go:55:9: undefined: syscall.Mount
Makefile:181: *** [integration-tests] error 2
#0 integration-tests at /Users/christophermetz/vpp-agent/Makefile:180
from docs.
I guess Chris might be trying to run this on Mac? That would explain the missing syscalls.
from docs.
Yes, running on a mac. I'll mention the "make running on mac" limitation and proceed with documenting the e2e tests section. No further action needed at this time.
-cm
from docs.
Related Issues (20)
- Update REST text in Concepts, Plugins and KV Scheduler Sections
- cn-infra etcd doc fix
- docs update for dev docker fix
- Doc Fixes HOT 1
- Document supported VPP versions HOT 1
- Can't find VPP Agent's Configuration OpenAPI definitions. HOT 1
- connect: No such file or directory HOT 1
- Omit `-s localhost:5002` in guides
- Updates for Separate Model for IPsec Security Policies (#1679)
- Agentctl Updates (#1709)
- Update VPP and Linux plugins section with agentctl config examples
- Document new WaitDone feature HOT 1
- Agentctl Report command HOT 1
- Developer Guide Updates HOT 1
- Add Wireguard Plugin
- Update supported REST APIs HOT 2
- Document Dummy Interfaces
- NAT plugin updates
- Ligato REST Docs Update: #1786 and #1787 HOT 6
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 docs.