Comments (8)
that's odd. failed compilations should give clear error.
from maven-tools.
indeed, no clear error in this case
# VERBOSE template-library-core path found /home/stdweird/git/quattor/template-library-core
# DEBUG: Pan compiler called from directory /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/src/test/resources (proc panc --formats json --output-dir /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/test/profiles --include-path .:/home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/pan:/home/stdweird/git/quattor/template-library-core basic.pan)
# execute command diff -u /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/test/cache/basic/global.lock -
# execute command diff -u /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/test/cache/basic/global.lock - no status set, using 0
# execute command diff -u /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/test/cache/basic/global.lock - no desired stdout set, using empty string
# execute command diff -u /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/test/cache/basic/global.lock - no desired stderr set, using empty string
Unable to fetch profile basic at /home/stdweird/git/quattor/configuration-modules-core/ncm-syslog/target/dependency/build-scripts/Test/Quattor.pm line 241.
BEGIN failed--compilation aborted at src/test/perl/configure.t line 6.
src/test/perl/configure.t ..
from maven-tools.
so one issue is clearly an panc issue: why does this compilation end with exitcode 0?
from maven-tools.
No this is not a compilation issue. The template is fine. Just it is not declared as an object template. Because of this it seems that use Quattor qw(xxx)
never returns (neither a success nor an error)...
from maven-tools.
@jouvin so running panc
on a non-object template is considered ok as a syntax check? it just seems a bit odd.
from maven-tools.
Sure, I think you can compile whatever template is syntactically correct and has nothing unresolved. But I just checked and in this case, there is no output (json) file produced. I think this is the reason why use Quattor qw(xxx)
never completes: it probably waits for the json file to appear. I don't know this part of the code: is there any possibility to have a timeout?
This is clearly annoying as it is quite difficult to diagnose... I loosed quite sometime before understanding the issue.
from maven-tools.
it does not hang, it continues and then fails with some error that CCM can't find the json file. but this is fixed in #127, just waiting for merge and new release
from maven-tools.
As for me, it never entered the main code (after the initial use
). But thanks for the fix, I'll try to look at it tomorrow in more details.
from maven-tools.
Related Issues (20)
- build-scripts requires a Perl-Critic version not available on SL6 HOT 8
- mavenprove fails to test CAF
- tracing guideline
- tests try to generate tabcompletion
- Mocked CAF::FileWriter attempts to create directories HOT 10
- /Test/Quattor/Panc.pm: annotation regexp is incorrect HOT 1
- Test::Quattor: mock the new symlink-related methods
- random pan annotation failures HOT 5
- use diagnostics HOT 3
- Update cfg-module used to create a new component skeleton
- _make_link: allow keeps_state HOT 1
- Build fails while trying to generate docs using Java 1.8 HOT 8
- Reinstate `warn_is_ok = 0` / remove `set_caf_file_close_diff`
- Allow testing of immutable files
- Test::Quattor: review status usage
- make a maven template for scripts
- Mock NCM::Component::prefix() correctly HOT 1
- investigate missed missing import
- javadoc doclint issues HOT 1
- junit / xunit issue HOT 3
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 maven-tools.