abelur | Hi, am running jenkins-job test on our repository with 5.0.1 JJB, returns an typeerror. Any ideas what is causing this or how to debug this further? | 04:12 |
---|---|---|
abelur | https://www.irccloud.com/pastebin/XT6PYqDz/jjb-5x-jenkins-test-cmd-nonetype | 04:13 |
vsevolod | abelur: This looks like a fresh JJB bug. Can you provide source sample that causes this? | 06:00 |
abelur | vsevolod: what is the best way to provide that ? its a large repo that I am working with. I can provide the steps to reproduce it. | 07:39 |
abelur | running the following cmd: `jenkins-jobs -l DEBUG --ignore-cache --allow-empty-variables test --recursive -o /tmp/archives/job-configs ./jjb` | 07:40 |
vsevolod | abelur: The thing is that I can not understand where the problem is without running jjb against this problematic code. Can you narrow it down to some simple yaml snippet? | 09:12 |
vsevolod | So that I could reproduce this locally | 09:13 |
vsevolod | If your whole repo is public, then just provide a link to it, it would be enough, I think. | 09:14 |
abelur | vsevolod: the command I'm running against the change here: https://gerrit.onap.org/r/c/ci-management/+/134158. The original repo was working well against JJB version 4.1.x, I'm in the process of upgrading the code base to work with JJB 5.x. | 12:17 |
abelur | sadly the debug output does not provide enough into to id the file in question unless you add python pdb.trace and debug the code line by line. Let me know if you need more info. | 12:18 |
vsevolod | I tried your patchset | 12:32 |
vsevolod | Got another error | 12:32 |
vsevolod | - project: | 12:33 |
vsevolod | `/home/seva/src/onap-ci/jjb/lf-infra-sandbox-3.yaml:2:3: In project 'sandbox-3'` | 12:33 |
vsevolod | ` - project: | 12:33 |
vsevolod | ` | 12:33 |
vsevolod | ` ^ | 12:33 |
vsevolod | ` | 12:33 |
vsevolod | `/home/seva/src/onap-ci/jjb/lf-infra-sandbox-3.yaml:6:9: Failed to find suitable job/view/template named 'gerrit-info-yaml-verify' | 12:33 |
vsevolod | ` | 12:33 |
vsevolod | ` - gerrit-info-yaml-verify | 12:33 |
vsevolod | ` | 12:33 |
vsevolod | ` ^ | 12:33 |
vsevolod | ` | 12:33 |
vsevolod | $ git show | 12:34 |
vsevolod | commit bb6cebc1699f7ccb96015de39d291320becb9a09 (HEAD) | 12:34 |
vsevolod | Ah, I missed submodules | 12:41 |
vsevolod | With them another one: | 12:41 |
vsevolod | `/home/seva/src/onap-ci/jjb/oom/oom-helm.yaml:11:23: File shell/helm/helm-repo-init.sh does not exist in any of include directories: .,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb,/home/seva/src/onap-ci/jjb/ci-management,/hom | 12:41 |
vsevolod | e/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci | 12:41 |
vsevolod | /jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/dcaegen2,/home/seva/src/onap-ci/jjb/externalapi,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/i | 12:41 |
vsevolod | ntegration,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/integration,/home/seva/src/onap-ci/jjb/lab,/home/seva/src/onap-ci/jjb/modeling,/home/seva/src/onap-ci/jjb/multicloud,/home/seva/src/onap-ci/jjb/multicloud,/home/seva/src/onap-ci/jjb/music,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/h | 12:41 |
vsevolod | ome/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/onap-jjb,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oo | 12:41 |
vsevolod | m,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/oom,/home/seva/src/onap-ci/jjb/openci,/home/seva/src/onap-ci/jjb/policy,/home/seva/src/onap-ci/jjb/testsuite,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vfc,/home/seva/src/onap-ci/jjb/vnfrqts,/home/seva/src/onap-ci/jjb/vnfrqts,/home/seva/src/onap-ci/jj | 12:41 |
vsevolod | b/vnfsdk,/home/seva/src/onap-ci/jjb/vnfsdk,/home/seva/src/onap-ci/jjb/vvp,/home/seva/src/onap-ci/jjb/vvp,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/ho | 12:41 |
vsevolod | me/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/j | 12:42 |
vsevolod | jb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global | 12:42 |
vsevolod | -jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/ | 12:42 |
vsevolod | global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/on | 12:42 |
vsevolod | ap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/ | 12:42 |
vsevolod | src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home | 12:42 |
vsevolod | /seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb | 12:42 |
vsevolod | ,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-j | 12:42 |
vsevolod | jb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb,/home/seva/src/onap-ci/global-jjb/jjb | 12:42 |
vsevolod | ` | 12:42 |
vsevolod | `/home/seva/src/onap-ci/jjb/oom/oom-helm.yaml:11:23: File shell/helm/helm-repo-init.sh does not exist in any of include directories:~ | 12:42 |
vsevolod | ` pre_build_script: !include-raw-escape: shell/helm/helm-repo-init.sh | 12:42 |
vsevolod | ` | 12:42 |
vsevolod | ` ^ | 12:42 |
vsevolod | ` | 12:42 |
vsevolod | Aha, it'a again mine, needed to add it to includes | 12:43 |
vsevolod | will recheck later | 12:43 |
vsevolod | Ok, I have managed to reproduce it! | 13:35 |
vsevolod | Will look into it at monday | 13:35 |
vsevolod | It stubmled upon | 13:37 |
vsevolod | jjb/lf-infra-releasedockerhub.yaml:67 | 13:37 |
vsevolod | `- lf-onap-releasedockerhub-macro:` | 13:38 |
vsevolod | It looks like I does not handle None as macro arguments now. Will fix that, thanks for the bug! | 13:38 |
vsevolod | by now you can just remove colon after macro call, like: | 13:38 |
vsevolod | ` - lf-onap-releasedockerhub-macro` | 13:39 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!