eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
114 stars 44 forks source link

[cwctl] Unskip tests that are currently skipped in Jenkins #2714

Open rwalle61 opened 4 years ago

rwalle61 commented 4 years ago

Problem Some of our tests are skipped in Jenkins due to file permission errors we get when we unskip them in Jenkins. For example, tests to do with our insecure template are skipped

We can still run these tests on our computers locally, but it would help us catch bugs and breaking changes if we can unskip them in Jenkins

What I've tried A while ago I tried to work out why the Jenkins build threw up file permission errors when we tried to create new directories and files: https://github.com/eclipse/codewind-installer/pull/409. I never got to the bottom of it. It may be that we create parent directories with the wrong permissions and therefore cannot create child directories from them, but I'm not sure

Proposed Solution Our other repos don't hit these file permission errors, so we could work out what those repos are doing right that we're doing wrong. We could try using different go images. See https://github.com/eclipse/codewind/wiki/Jenkins-agents-in-Eclipse-Codewind-builds for ideas

Our Jenkinsfile: https://github.com/eclipse/codewind-installer/blob/master/Jenkinsfile PFE Jenkinsfile: https://github.com/eclipse/codewind/blob/master/Jenkinsfile

This is part of https://github.com/eclipse/codewind/issues/2291

rwalle61 commented 4 years ago

/kind Test /area Portal

This isn't an enhancement