I get changed files on master after running the commands before precommit:

➜  lucene-solr git:(master) ✗ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
deleted:
 
solr/core/src/test-files/solr/question-answer-repository/question-answer-request-handler-1.0.jar
deleted:
 
solr/core/src/test-files/solr/question-answer-repository/question-answer-request-handler-1.1.jar

no changes added to commit (use "git add" and/or "git commit -a")

Kevin Risden


On Thu, Nov 14, 2019 at 5:21 PM Kevin Risden <[email protected]> wrote:

> Ishan do you get an error with the following?
>
> ant clean clean-jars jar-checksums precommit
>
> This should regenerate any of the checksums. I haven't checked locally but
> might help.
>
> Kevin Risden
>
>
> On Thu, Nov 14, 2019 at 4:48 PM Ishan Chattopadhyaya <
> [email protected]> wrote:
>
>> No clue why licenses are being checked for those jars. Those are test
>> jars. I never got a precommit failure.
>> ALso, it seems licenses are not actually tested, but somehow those
>> sha1 files are generated but not cleaned up. Sigh! I think I have no
>> clue where to even start looking to solve this issue.
>>
>> On Fri, Nov 15, 2019 at 2:19 AM Policeman Jenkins Server
>> <[email protected]> wrote:
>> >
>> > Build: https://jenkins.thetaphi.de/job/Lucene-Solr-8.x-Linux/1487/
>> > Java: 32bit/jdk1.8.0_201 -client -XX:+UseG1GC
>> >
>> > All tests passed
>> >
>> > Build Log:
>> > [...truncated 64469 lines...]
>> > BUILD FAILED
>> > /home/jenkins/workspace/Lucene-Solr-8.x-Linux/build.xml:634: The
>> following error occurred while executing this line:
>> > /home/jenkins/workspace/Lucene-Solr-8.x-Linux/build.xml:507: The
>> following error occurred while executing this line:
>> > /home/jenkins/workspace/Lucene-Solr-8.x-Linux/build.xml:494: Source
>> checkout is dirty (unversioned/missing files) after running tests!!!
>> Offending files:
>> > * solr/licenses/question-answer-request-handler-1.0.jar.sha1
>> > * solr/licenses/question-answer-request-handler-1.1.jar.sha1
>> >
>> > Total time: 129 minutes 26 seconds
>> > Build step 'Invoke Ant' marked build as failure
>> > Archiving artifacts
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > [WARNINGS] Skipping publisher since build result is FAILURE
>> > Recording test results
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Email was triggered for: Failure - Any
>> > Sending email for trigger: Failure - Any
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> > Setting
>> ANT_1_8_2_HOME=/home/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.2
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>

Reply via email to