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

update Travis and Appveyor CI to SQ 5.6.1 and Scanner 2.6.1 #935

Merged
merged 1 commit into from
Sep 3, 2016
Merged

update Travis and Appveyor CI to SQ 5.6.1 and Scanner 2.6.1 #935

merged 1 commit into from
Sep 3, 2016

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Aug 27, 2016

update Travis and Appveyor CI to SQ 5.6.1 and Scanner 2.6.1

@guwirth guwirth added this to the 0.9.7 milestone Aug 27, 2016
@guwirth guwirth self-assigned this Aug 27, 2016
@guwirth
Copy link
Collaborator Author

guwirth commented Aug 30, 2016

@jmecosta here also AppVeyor is failing. Maybe you can have a look....

@SonarOpenCommunityAdmin
Copy link
Collaborator

SonarOpenCommunityAdmin commented Aug 31, 2016

the only thing is see is this:

    But the analysis log contains a line matching
      .*INFO.*Cannot find the file .* skipping violations
      Traceback (most recent call last):
        File "c:\python27\lib\site-packages�ehave\model.py", line 1456, in run
          match.run(runner.context)
        File "c:\python27\lib\site-packages�ehave\model.py", line 1903, in run
          self.func(context, *args, **kwargs)
        File "integration-tests      eatures\steps est_execution_statistics.py", line 267, in step_impl
          assert contains_line_matching(context.log, context.text)
      AssertionError

      Captured logging:
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost
      INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost
    And the number of violations fed is 0

and now the scanner is given WARN instead of INFO

WARN: Cannot find the file 'C:\projects\sonar-cxx\integration-tests\testdata\cppcheck_project\component1.cc', skipping violations

Supose the feature needs to be updated, likely more of those should happen in Travis once is up

@guwirth
Copy link
Collaborator Author

guwirth commented Aug 31, 2016

@jmecosta thanks. Will change it from INFO to WARN and try it again.

except IOError:
sys.stdout.write(RED + " IOError " + RESET)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change to this:
except Exception, e:
sys.stdout.write(RED + " str(e.errno) " + RESET)
sys.stdout.write(RED + " str(e) " + RESET)

so we can get error code about this.

change "...Cannot find the file..." from INFO to WARN
change "...The report ... seems to be empty" from INFO to WARN
fix Travis build, see travis-ci/travis-ci#5227 (comment)
@guwirth guwirth merged commit 832dc99 into SonarOpenCommunity:master Sep 3, 2016
@guwirth guwirth deleted the update-ci-sq-5.6.1 branch September 22, 2016 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Travis build failing
3 participants