Seems like unit tests of the homepage build fail now (and thus the whole build). It looks very similar to #1210 but it is a different exception.
33/107 Test #35: test_model_configformat ..........***Exception: Other 2.34 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 36: test_model_entry
34/107 Test #36: test_model_entry .................***Exception: Other 0.90 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 37: test_model_pluginformat
35/107 Test #37: test_model_pluginformat ..........***Exception: Other 0.67 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 38: test_model_user
36/107 Test #38: test_model_user ..................***Exception: Other 0.81 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 39: test_service_configengine
37/107 Test #39: test_service_configengine ........ Passed 0.89 sec
Start 40: test_service_convertengine
38/107 Test #40: test_service_convertengine .......***Exception: Other 2.08 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 41: test_service_searchengine
39/107 Test #41: test_service_searchengine ........***Exception: Other 4.82 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
Start 42: test_service_storageengine
40/107 Test #42: test_service_storageengine .......***Exception: Other 0.66 sec
terminate called after throwing an instance of 'kdb::KDBException'
what(): Sorry, the error (#62) occurred!
Description: tried to get a key from a missing backend
Ingroup: plugin
Module: missing
At: /home/jenkins/workspace/elektra-homepage/src/libs/elektra/plugin.c:385
Reason: spec/sw/elektra/restbackend/#0
Mountpoint: spec/sw/elektra/restbackend/#0
Configfile:
See: https://build.libelektra.org/jenkins/job/elektra-homepage/lastFailedBuild/console
Maybe something is wrongly mounted at the machine. Mountpoints are:
rest-backend.ini on /sw/elektra/restbackend/#0 with name /sw/elektra/restbackend/#0
/usr/local/elektra_backend/share/elektra/specification/rest-backend-spec.ini on spec/sw/elektra/restbackend/#0 with name spec/sw/elektra/restbackend/#0
/home/jenkins/snippets/snippets.dump on system/configs with name system/configs
none on system/constants with name system/constants
/etc/puppet/puppet.conf on system/puppet with name system/puppet
/usr/local/elektra_backend/share/elektra/tool_data/rest-frontend/application-config.json on system/sw/elektra/restfrontend/#0/current with name system/sw/elektra/restfrontend/#0/current
/.ssh/authorized_keys on user/ssh/authorized_keys with name user/ssh/authorized_keys
/.gitconfig on user/sw/git with name user/sw/git
users.dump on user/users with name user/users
kdb ls /sw/elektra/restbackend/#0 | wc -l works and gives 94 keys.
@ingwinlu: any idea what has changed? Do you plan to fix this or do we need to wait for the migration of the homepage?
Maybe the cmake reformat broke something in the PLUGIN handling. No other changes really touched that area.
Yes, it looks like some needed plugin is excluded now. It needs ini, boolean, enum, type and sync.
Is it possible that one of them were excluded by latest ASAN changes?
If this is not the problem: Which is the best way forward to being able to update the homepage again?
Is it possible that one of them were excluded by latest ASAN changes?
Compare the last good build with the failing one. The cmake command output should have the info you want.
Yes, I know I could do that. I hoped you might be able to remember which plugins you might have disabled accidental which caused the build to break.
since it still works in docker I would have a look at the vm first
On 26 May 2018 at 07:58, markus2330 notifications@github.com wrote:
Yes, I know I could do that. I hoped you might be able to remember which
plugins you might have disabled accidental which caused the build to break.—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ElektraInitiative/libelektra/issues/2026#issuecomment-392239375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOv-gw8jEQvuV-LO1FbvTdrN1FiDdjRks5t2O7zgaJpZM4UOyIK
.
Does the docker build also uses gcc+ASAN? I could not find this in the Jenkinsfile.
Thanks.
Is the mountpoint also present during execution of the test cases? I assume not, because the mounting happens later and the image is always clean before? This could be the difference why docker does not fail.
I just noticed the backend seems to have problems for me as well as in it crashes and restarts all the time:
Missing configuration for api.description.raw.
Please set the key /sw/elektra/restbackend/#0/current/backend/api/description/raw to a link targeting the API blueprint.
Missing configuration for api.description.html.
Please set the key /sw/elektra/restbackend/#0/current/backend/api/description/html to a link targeting the compiled API description.
Missing configuration for jwt.validity.
Please set the key /sw/elektra/restbackend/#0/current/backend/jwt/validity to the number of seconds a session token should be valid.
Missing configuration for kdb.path.configs.
Please set the key /sw/elektra/restbackend/#0/current/backend/kdb/path/configs to the elektra key where configuration snippets should be stored.
Missing configuration for kdb.path.users.
Please set the key /sw/elektra/restbackend/#0/current/backend/kdb/path/users to the elektra key where user details should be stored.
Missing configuration for output.default.entry.sort.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/entry/sort to the default sort direction of entries.
Missing configuration for output.default.entry.sortby.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/entry/sortby to the default sort criteria of entries.
Missing configuration for output.default.entry.filterby.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/entry/filterby to the default filter criteria of entries.
Missing configuration for output.default.user.sort.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/user/sort to the default sort direction of users.
Missing configuration for output.default.user.sortby.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/user/sortby to the default sort criteria of users.
Missing configuration for output.default.user.filterby.
Please set the key /sw/elektra/restbackend/#0/current/backend/output/default/user/filterby to the default filter criteria of users.
Missing configuration for permissions.entry.create.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/entry/create to the rank that is required to be able to create new snippet entries.
Missing configuration for permissions.entry.edit.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/entry/edit to the rank that is required to be able to edit snippet entries of other users.
Missing configuration for permissions.entry.delete.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/entry/delete to the rank that is required to be able to delete snippet entries of other users.
Missing configuration for permissions.user.view.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/user/view to the rank that is required to view account details of other users.
Missing configuration for permissions.user.edit.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/user/edit to the rank that is required to edit account details of other users.
Missing configuration for permissions.user.delete.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/user/delete to the rank that is required to delete accounts of other users.
Missing configuration for permissions.rank.default.
Please set the key /sw/elektra/restbackend/#0/current/backend/permissions/rank/default to the rank that new accounts will be assigned by default.
Please fix the applications configuration first!
ok in my case the backend-config could not be mounted because of No plugin that provides ni could be found.
It slipped through because I need to || /bin/true the mount as it throws asan errors.
and my issue is your issue and #2036 fixes both.