{"action":"opened","issue":{"url":"https://api.github.com/repos/automationbroker/bundle-lib/issues/122","repository_url":"https://api.github.com/repos/automationbroker/bundle-lib","labels_url":"https://api.github.com/repos/automationbroker/bundle-lib/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/automationbroker/bundle-lib/issues/122/comments","events_url":"https://api.github.com/repos/automationbroker/bundle-lib/issues/122/events","html_url":"https://github.com/automationbroker/bundle-lib/issues/122","id":338972837,"node_id":"MDU6SXNzdWUzMzg5NzI4Mzc=","number":122,"title":"Excessive logs about \"semver\" during bootstrap","user":{"login":"djwhatle","id":7576968,"node_id":"MDQ6VXNlcjc1NzY5Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/7576968?v=4","gravatar_id":"","url":"https://api.github.com/users/djwhatle","html_url":"https://github.com/djwhatle","followers_url":"https://api.github.com/users/djwhatle/followers","following_url":"https://api.github.com/users/djwhatle/following{/other_user}","gists_url":"https://api.github.com/users/djwhatle/gists{/gist_id}","starred_url":"https://api.github.com/users/djwhatle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djwhatle/subscriptions","organizations_url":"https://api.github.com/users/djwhatle/orgs","repos_url":"https://api.github.com/users/djwhatle/repos","events_url":"https://api.github.com/users/djwhatle/events{/privacy}","received_events_url":"https://api.github.com/users/djwhatle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"djzager","id":569754,"node_id":"MDQ6VXNlcjU2OTc1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/569754?v=4","gravatar_id":"","url":"https://api.github.com/users/djzager","html_url":"https://github.com/djzager","followers_url":"https://api.github.com/users/djzager/followers","following_url":"https://api.github.com/users/djzager/following{/other_user}","gists_url":"https://api.github.com/users/djzager/gists{/gist_id}","starred_url":"https://api.github.com/users/djzager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djzager/subscriptions","organizations_url":"https://api.github.com/users/djzager/orgs","repos_url":"https://api.github.com/users/djzager/repos","events_url":"https://api.github.com/users/djzager/events{/privacy}","received_events_url":"https://api.github.com/users/djzager/received_events","type":"User","site_admin":false},"assignees":[{"login":"djzager","id":569754,"node_id":"MDQ6VXNlcjU2OTc1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/569754?v=4","gravatar_id":"","url":"https://api.github.com/users/djzager","html_url":"https://github.com/djzager","followers_url":"https://api.github.com/users/djzager/followers","following_url":"https://api.github.com/users/djzager/following{/other_user}","gists_url":"https://api.github.com/users/djzager/gists{/gist_id}","starred_url":"https://api.github.com/users/djzager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djzager/subscriptions","organizations_url":"https://api.github.com/users/djzager/orgs","repos_url":"https://api.github.com/users/djzager/repos","events_url":"https://api.github.com/users/djzager/events{/privacy}","received_events_url":"https://api.github.com/users/djzager/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-06T15:04:08Z","updated_at":"2018-07-06T15:04:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Recently noticed that I get an extra ~40 logged warnings about `semver` during bootstrap that don't give me any context regarding which specs have issues.\r\n\r\n__Proposed fix:__\r\n - Print name of spec in log message, right now I have no idea which of my specs are semver incompatible\r\n - Change log level of most semver log messages to `DEBUG` so that they can optionally be enabled.  If only ~3 specs were made unavailable due to bad versioning, we shouldn't have ~40 log messages printed `WARN` level.\r\n\r\n```\r\n[dwhatley@precision-t apb]$ apb registry add docker\r\nGetting specs for registry: [docker]\r\nINFO == REGISTRY CX ==                            \r\nINFO Name: docker                                 \r\nINFO Type: dockerhub                              \r\nINFO Url: docker.io                               \r\nINFO Bundles filtered by white/blacklist filter:-> ansibleplaybookbundle/apb-base-> ansibleplaybookbundle/origin-ansible-service-broker-> ansibleplaybookbundle/mediawiki123-> ansibleplaybookbundle/ansible-service-broker-> ansibleplaybookbundle/helm-bundle-base-> ansibleplaybookbundle/photo-album-demo-api-> ansibleplaybookbundle/hello-world-> ansibleplaybookbundle/py-zip-demo-> ansibleplaybookbundle/apb-tools-> ansibleplaybookbundle/vnc-client-> ansibleplaybookbundle/photo-album-demo-app-> ansibleplaybookbundle/apb-assets-base-> ansibleplaybookbundle/deploy-broker-> ansibleplaybookbundle/mediawiki-> ansibleplaybookbundle/asb-installer-> ansibleplaybookbundle/origin-pod-> ansibleplaybookbundle/manageiq-apb-runner-> ansibleplaybookbundle/origin-haproxy-router-> ansibleplaybookbundle/origin-docker-registry-> ansibleplaybookbundle/origin-deployer-> ansibleplaybookbundle/kubevirt-ansible-> ansibleplaybookbundle/origin-recycler-> ansibleplaybookbundle/origin-sti-builder-> ansibleplaybookbundle/origin-service-catalog-> ansibleplaybookbundle/origin-> ansibleplaybookbundle/vnc-desktop \r\nINFO adapter::imageToSpec -> Image docker.io/ansibleplaybookbundle/vnc-desktop-apb:latest runtime is 2 \r\nINFO adapter::imageToSpec -> Image docker.io/ansibleplaybookbundle/jenkins-apb:latest runtime is 2 \r\nINFO adapter::imageToSpec -> Image docker.io/ansibleplaybookbundle/pyzip-demo-apb:latest runtime is 2 \r\n[...]\r\nINFO Validating specs...                          \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nERRO Failed to init semver - 1.1 is not in dotted-tri format \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nERRO Failed to init semver - 1.2 is not in dotted-tri format \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec [ import-vm-disk-apb ] failed validation for the following reason: [ Spec [import-vm-disk-apb] failed version validation ]. It will not be made available. \r\nWARN Spec [ mongodb-apb ] failed validation for the following reason: [ Spec [mongodb-apb] failed version validation ]. It will not be made available. \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nERRO Failed to init semver - 1.1 is not in dotted-tri format \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN Spec [ rhpam-apb ] failed validation for the following reason: [ Spec [rhpam-apb] failed version validation ]. It will not be made available. \r\nWARN Spec version is not semver compatible        \r\nWARN Spec version is not semver compatible        \r\nWARN 3 specs of 43 discovered specs failed validation from registry: docker.io \r\nINFO Registry docker has 40 bundles available from 72 images scanned \r\n```"}}
{"actor":{"display_login":"djwhatle"}}