Closed aarthira closed 5 years ago
Let's try a close / reopen cycle to see if the build will run right next time.
Kick the build again. I can't figure out why it's failing. It's working fine on my machine.
OK, I'm mystified about the spotbugs failure. Passes fine on my machine. @jvz ?
I think I figured it out. I pushed a commit removing the null check, and now running mvn spotbugs:spotbugs
results in a success rather than complaining about a null dereference. I think it's a spotbugs bug probably. 🤷♂
@aarthira make sure to run git pull --rebase
if you made any local changes to pull down my commit before squashing anything. We can squash the PR at the end if you'd prefer rather than force pushing (which doesn't work well with GitHub's review UI unfortunately).
@aarthira , As you asked, I also tried it locally. It runs well for me in local. I triggered a build here, again. It failed. Maybe as @jvz said, it is a bug.
Run mvn clean install spotbugs:spotbugs
locally to see what the spotbugs error is.
Try updating to the parent pom 3.47. Maybe there's an update for spotbugs as well.
As you can see in #55, the only thing I was able to get to work on the CI machine was to suppress the warning. Spotbugs is just wrong about something here, but I've been unable to tweak the code to get Spotbugs to be able to figure it out.
I'm able to reproduce the build failure locally by running mvn clean install spotbugs:spotbugs
, though I can't tell what error it's complaining about. I'll see if I can figure out what's causing this.
@aarthira are you creating a new PR for this?
@jvz , The tests were failing because of the halted early
issue. So I was trying to force push to trigger it again. It didn't work. So I am trying close/reopen now.
There's some problems with ci.jenkins.io at the moment.
I'm getting a test failure when I run this locally in SaveableChangeListenerTest.
Oh, That was a minor misunderstanding. I fixed it.
Shall we merge this?
This change aims to audit the credentials usage.
We try do this by listening to the SaveableListener as the usage of a credential creates a fingerprint.