Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: test commit #866

Closed
wants to merge 2 commits into from
Closed

Doc: test commit #866

wants to merge 2 commits into from

Conversation

henry-lp
Copy link
Contributor

@henry-lp henry-lp commented Jul 15, 2019

Related issue (#867)

@henry-lp
Copy link
Contributor Author

henry-lp commented Jul 15, 2019

@monperrus @btellstrom Hi, this is a fresh fork from the master and it still appears to be failing by only changing a line in the readme. Maybe I did something wrong or maybe it's still flaky ? :) .

Edit:
After checking the scanner appear to be failed. Here's the output (more details are in this Travis raw output log):

Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 113.068 sec <<< FAILURE! - in fr.inria.spirals.repairnator.scanner.ProjectScannerTest
testGetBuildToBeInspectedWithPassingWithPreviousPassingFromPR(fr.inria.spirals.repairnator.scanner.ProjectScannerTest)  Time elapsed: 33.525 sec  <<< FAILURE!
java.lang.AssertionError: expected:<BuildToBeInspected{patchedBuild=Build{number='2774', state='PASSED', duration=445, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='review 2: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, branch=Branch{name='master', repository=null, defaultBranch=false, existsOnGithub=false, lastBuild=null}, commit=Commit{sha='74cc445c5cbd55cddb02164fa9ecee25c6f6d6d0', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Wed Mar 15 19:17:45 UTC 2017, committer=null, author=null}, jobs=Job{allowFailure=false, number='2774.1', state=PASSED, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, build=Build{number='2774', state='PASSED', duration=445, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='review 2: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, repository=null, branch=null, commit=null, jobs=, updatedAt=null, tag='null', createdBy=null}, queue='builds.gce', repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, commit=Commit{sha='74cc445c5cbd55cddb02164fa9ecee25c6f6d6d0', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Wed Mar 15 19:17:45 UTC 2017, committer=null, author=null}, owner=Owner{type=ORGANIZATION, login='INRIA', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}, createdAt=Wed Mar 15 19:19:03 UTC 2017, updatedAt=Sat Jun 02 03:00:07 UTC 2018, log=fr.inria.jtravis.entities.Log@eddf281b, buildTool=null}, updatedAt=Thu Apr 11 10:57:12 UTC 2019, tag='null', createdBy=Owner{type=USER, login='pvojtechovsky', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}}, buggyBuild=Build{number='2741', state='PASSED', duration=464, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='WiP: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Sat Mar 11 17:53:01 UTC 2017, finishedAt=Sat Mar 11 18:00:45 UTC 2017, repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, branch=Branch{name='master', repository=null, defaultBranch=false, existsOnGithub=false, lastBuild=null}, commit=Commit{sha='203c0973905fd932d763cd50049c1dadc73da4bc', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Sat Mar 11 17:50:36 UTC 2017, committer=null, author=null}, jobs=Job{allowFailure=false, number='null', state=null, startedAt=null, finishedAt=null, build=null, queue='null', repository=null, commit=null, owner=null, createdAt=null, updatedAt=null, log=null, buildTool=null}, updatedAt=Thu Apr 11 10:57:12 UTC 2019, tag='null', createdBy=Owner{type=USER, login='pvojtechovsky', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}}, status=PASSING_AND_PASSING_WITH_TEST_CHANGES, runId='test'}> but was:<null>
	at fr.inria.spirals.repairnator.scanner.ProjectScannerTest.testGetBuildToBeInspectedWithPassingWithPreviousPassingFromPR(ProjectScannerTest.java:158)

Results :
Failed tests: 
  ProjectScannerTest.testGetBuildToBeInspectedWithPassingWithPreviousPassingFromPR:158 expected:<BuildToBeInspected{patchedBuild=Build{number='2774', state='PASSED', duration=445, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='review 2: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, branch=Branch{name='master', repository=null, defaultBranch=false, existsOnGithub=false, lastBuild=null}, commit=Commit{sha='74cc445c5cbd55cddb02164fa9ecee25c6f6d6d0', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Wed Mar 15 19:17:45 UTC 2017, committer=null, author=null}, jobs=Job{allowFailure=false, number='2774.1', state=PASSED, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, build=Build{number='2774', state='PASSED', duration=445, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='review 2: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Wed Mar 15 19:19:41 UTC 2017, finishedAt=Wed Mar 15 19:27:06 UTC 2017, repository=null, branch=null, commit=null, jobs=, updatedAt=null, tag='null', createdBy=null}, queue='builds.gce', repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, commit=Commit{sha='74cc445c5cbd55cddb02164fa9ecee25c6f6d6d0', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Wed Mar 15 19:17:45 UTC 2017, committer=null, author=null}, owner=Owner{type=ORGANIZATION, login='INRIA', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}, createdAt=Wed Mar 15 19:19:03 UTC 2017, updatedAt=Sat Jun 02 03:00:07 UTC 2018, log=fr.inria.jtravis.entities.Log@eddf281b, buildTool=null}, updatedAt=Thu Apr 11 10:57:12 UTC 2019, tag='null', createdBy=Owner{type=USER, login='pvojtechovsky', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}}, buggyBuild=Build{number='2741', state='PASSED', duration=464, eventType='PULL_REQUEST', previousState='PASSED', pullRequestTitle='WiP: Change local variable name refactoring', pullRequestNumber=1005, startedAt=Sat Mar 11 17:53:01 UTC 2017, finishedAt=Sat Mar 11 18:00:45 UTC 2017, repository=Repository{name='spoon', slug='INRIA/spoon', active=false, privateProperty=false, description='null', githubLanguage='null', starred=false, owner=null, defaultBranch=null}, branch=Branch{name='master', repository=null, defaultBranch=false, existsOnGithub=false, lastBuild=null}, commit=Commit{sha='203c0973905fd932d763cd50049c1dadc73da4bc', ref='refs/pull/1005/merge', message='feature: change LocalVariable name', compareUrl='https://github.com/INRIA/spoon/pull/1005', committedAt=Sat Mar 11 17:50:36 UTC 2017, committer=null, author=null}, jobs=Job{allowFailure=false, number='null', state=null, startedAt=null, finishedAt=null, build=null, queue='null', repository=null, commit=null, owner=null, createdAt=null, updatedAt=null, log=null, buildTool=null}, updatedAt=Thu Apr 11 10:57:12 UTC 2019, tag='null', createdBy=Owner{type=USER, login='pvojtechovsky', name='null', githubId=0, avatarUrl='null', isSyncing=false, syncedAt=null}}, status=PASSING_AND_PASSING_WITH_TEST_CHANGES, runId='test'}> but was:<null>

Tests run: 9, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] repairnator-root ................................... SUCCESS [ 10.641 s]
[INFO] repairnator-core ................................... SUCCESS [ 14.579 s]
[INFO] repairnator-pipeline ............................... SUCCESS [26:40 min]
[INFO] repairnator-scanner ................................ FAILURE [01:54 min]
[INFO] repairnator-dockerpool ............................. SKIPPED
[INFO] repairnator-checkbranches .......................... SKIPPED
[INFO] repairnator-realtime ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29:06 min
[INFO] Finished at: 2019-07-15T16:39:55Z
[INFO] Final Memory: 184M/698M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project repairnator-scanner: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/travis/build/Spirals-Team/repairnator/repairnator/repairnator-scanner/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :repairnator-scanner
travis_time:end:0b59b88f:start=1563207046635614720,finish=1563208795894318050,duration=1749258703330
�[0K�[31;1mThe command "./.travis/travis-run.sh" exited with 1.�[0m

Done. Your build exited with 1.

@btellstrom
Copy link
Contributor

btellstrom commented Jul 15, 2019

Forks will never pass the CI as we run it today.

We have some tests that require encrypted info, which through travis-ci can not be shared to forks, and thus anything that relies on them will falsely report that the tests are failing. (See #744 )

@henry-lp
Copy link
Contributor Author

henry-lp commented Jul 15, 2019

God bless you @btellstrom , I suspected something like that :D. So only branches directly to this repo can be passed ?

@btellstrom
Copy link
Contributor

Since there is already an issue related to this problem and this PR does not contribute anything I'll go ahead and close this as well as the issue.

@btellstrom btellstrom closed this Jul 15, 2019
@henry-lp
Copy link
Contributor Author

Please do . Thank you very much for answering :).

@monperrus
Copy link
Contributor

added @tailp to the project so that you can create your own branch there instead of on your fork.

@monperrus
Copy link
Contributor

For the record, duplicate of #744

@henry-lp
Copy link
Contributor Author

henry-lp commented Jul 16, 2019

@monperrus Thank you very much for adding me, :) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants