Age | Commit message (Collapse) | Author | Files | Lines |
|
Anteater was reporting fails on files which are documents and so
harmless (for example an rst file)
This patch introduces a file_ignore list in master_list.yaml
Change-Id: I87c73c80a36114a7df9e1da47d89ca14e3bf668a
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
Depends-On: I6d59197f78dfaf381d634c9d1821a7383506276c
Change-Id: I6038f606453660081701864cc299f78859a20657
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Add string - wget.+git\.opnfv.org
Change-Id: Ibcf8fa07b0539000a2a8cc2765292de4195bde0b
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
A new line was missing on the content logs that was spoiling
output to .reports/
Change-Id: I2748c2848debc1fa850fc5ce27d71cbaa5e4f78f
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Listening on all interfaces can be problematic and break any
security zones or DMZ style topologies
Change-Id: Ied66dd22b668d469ddba4ee28b2999154f2005b8
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
|
|
137 and 148 were breaking regexp searches
Certain lines are far to open and allow existing risks to pass.
Change-Id: Ie80ac9370484ed0f56f6bd78cad5808b66a29b0e
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
Trigger: https://gerrit.opnfv.org/gerrit/#/c/38275/
Change-Id: Ifd17f1b40fcd19800a277d1f5d4635ce9ffd9b41
Signed-off-by: lhinds <lhinds@redhat.com>
Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
|
|
Previously git rm or mv'ed files would be listed in the patchset.
Anteater would then attempt to open the files and fail (as they don't
exist).
This patch resolves the issue by first not sys.exit'ing on a file not
existing, and also not logging with ERROR level (which made the
security audit job incorrectly fail).
JIRA: RELENG-302
Change-Id: I6a0c56f691f4d80aca1b3509472c1d6e56d492e1
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
using a bar `|` to set over two lines was causing issue for awk
Change-Id: I61c612a5d4fb864dea7648c893091da309aacce6
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Change-Id: Ibf75f265b3f8e311154bf65d68791927d6c1d236
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
A script to ease patchset file list creation neded to
replicate the anteater checks that occur at gate.
Usage is:
get-patch.sh --project sandbox --patch 39741
Where `39741` would be the refSpec number of a patchset.
This would then produce `/tmp/patchset_38275`
A user can than peform:
`anteater --project sandbox --patchset /tmp/patchset_38275`
Change-Id: Id765133607cd4840c2a9a3a61cb9d297135356e6
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
gate report function incorrectly indented
Change-Id: Id1b840847c7ae4d731cc3e80c93a1497ac963a88
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Failure = True is incorrectly formnatted, meaning the failure
is not registered within the conditonal check
Change-Id: Ib648c9d763fe1d9cbcc69dfe2f27c2aad89a68cf
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
This change Implements a descriptive field to explain the
rationale behind a block.
In time this will be part of a sphinx auto build documentation
system, which extracts the `desc` field and places it into a
template. The user will then be provided with a url.
JIRA: RELENG-276
Change-Id: I82b4eb02fe502928726846cc08388a7a4f0ea2f6
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Simple try / except handler in the event that an edge case occurs
and a patchset is not present.
Change-Id: Ica5df2f5b37fff98c52f79bd2a8e47ba46890e80
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Trigger: https://gerrit.opnfv.org/gerrit/#/c/36977/
Change-Id: I7e701915a5e259f13cc50a6ca31fe6aa2590f16c
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Trigger: https://gerrit.opnfv.org/gerrit/#/c/37263/
Change-Id: I819fd7c96c35ee544a4eb76ddf851104beb17f32
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
|
|
|
|
A local install of the sdist and wheel found the following issues:
- sdist: Add MANIFEST.in to include missing README.md, LICENSE,
anteater.conf, master_list.yaml, and explicitly exclude exception
files.
- sdist: Both py_modules and packages listed. Since Anteater is a Python
package, not a module, only the 'packages' argument is required for
setup().
- wheel: 'REQUIRES' in setup.py is missing dependent packages
JIRA: RELENG-275
Change-Id: I3b1447edcd7161cda4c5d581e31019bcf8eba1c8
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
A follow up patch should move the patterns list into yaml
Change-Id: Id814d6fc09631d5037f6825f32daca8d74edc118
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
None of the tasks generated by the boilerplate included the 'context'
argument required by the newest version of invoke.
The 'invoke publish' task has been updated to use 'twine upload' instead
of the less-secure 'python setup.py register/upload', and comments have
been added to clarify possible steps needed to publish anteater.
A 'invoke build' command has been added to build a source distribution
and binary wheel distribution.
JIRA: RELENG-237
Change-Id: I9ae705332b592ef8880d52b7d20624180e23677a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
dynamic-flow.png:
- d0d7dfc73e0fac09d920ebbdf8cd4e0ef623f15d6246ff20d7a6d12c9a48bf41
Change-Id: Ib1c08d6f10fa6e2ee30ee94d3e6195424fbe9506
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
- publicurl
- installer_password
Patch: https://gerrit.opnfv.org/gerrit/#/c/37143/
Change-Id: I8ba857827141fdddc2b13752c7d65015e13d7e0a
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
July 10 additions
https://wiki.opnfv.org/display/INF/Project+Roll+Out+for+Anteater
Change-Id: I1e6c2c3dd14012254a5a219ef223dfeb80245257
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Change-Id: I0b29b0cb8b9f4640fe4d804e1dd3c2e31f5a7d66
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Change-Id: I314d508f13ce736cb6d3d99c0b205ecc1f30abea
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Change-Id: I3199ce91e4cc00f0f7bd1f5e2660cb2f9d6ae0b6
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Removed 'pass' from array
Change-Id: Icd4f27f7d8c3e464fae159b5e220781d8597dbec
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
This is mainly to provide some information to users landing
on the github mirror of releng-anteater
Change-Id: I7ef27dd2b313e9ff0e7e103d547d07252235f128
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Resolves false flag in:
https://gerrit.opnfv.org/gerrit/#/c/36963/
docker/smoke/Dockerfile
Change-Id: I6bfc0a47ef662253c54fd51010c39817a23ee26c
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
Change-Id: I5ac55820cf53eb61d6c67c22a33d05041d9fa8b3
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
Change-Id: I273c05048bc3a5464e2016abe2a3cc6ca45446ae
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
False match
Change-Id: I55303d9b2bd39a6c7e7326b08b36409bba860f5b
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
More strings added and improvements made to optimise some
existing strings
JIRA: RELENG-270
Change-Id: I7e8ba204297575b1e8d0d851e1ee957374f8c955
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
Change-Id: I255c0e1048823bd628071a889c65d82746356e4b
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
July 2nd additions
https://wiki.opnfv.org/display/INF/Project+Roll+Out+for+Anteater
Change-Id: I3610868930f0d6033e528548dceb09b3279b6b8d
Signed-off-by: lhinds <lhinds@redhat.com>
|
|
|
|
There are many ways to init logging, but
doing import-time logic can cause problems.
For yardstick we are doing this type of run-time
init in the main program startup.
This allows for some flexibiliy since we just
set the root loggers. Every other logger is
standard, not subclassed
Change-Id: I7004a147f03a7104f373141caf9206d8e49a5d4c
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
The logging methods do string interpolation themselves
The first arg to logging.debug() is formally defined to be a message
format string.
From the reference:
https://docs.python.org/2/library/logging.html#logging.Logger.debug
Logger.debug(msg, *args, **kwargs)
Logs a message with level DEBUG on this logger. The msg is the message
format string, and the args are the arguments which are merged into msg
using the string formatting operator. (Note that this means that you can
use keywords in the format string, together with a single dictionary
argument.)
There are two keyword arguments in kwargs which are inspected: exc_info
which, if it does not evaluate as false, causes exception information to
be added to the logging message. If an exception tuple (in the format
returned by sys.exc_info()) is provided, it is used; otherwise,
sys.exc_info() is called to get the exception information
The reason logging does string interpolation it self is to implement
deferred interpolation.
String interpolation involves evaluating arguments, so it can introduce
significant computation. The logging module tries to be smart about
deferring interpolation until the last possible moment.
The logging methods check isEnabledFor for the log level and won't
interpolate if the level is not enabled.
https://github.com/python/cpython/blob/2.7/Lib/logging/__init__.py#L1178
def warning(self, msg, *args, **kwargs):
if self.isEnabledFor(WARNING):
self._log(WARNING, msg, args, **kwargs)
logging actually waits to interpolate the string in LogRecord.getMessage()
https://github.com/python/cpython/blob/2.7/Lib/logging/__init__.py#L328
if self.args:
msg = msg % self.args
Change-Id: I0090dcbc408200b6f2471748eae0c5a763da2e37
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
switch to relative imports for package file
use absolute imports in main
this requires renaming anteater.py to main.py
to avoid absolute import name conflict
update setup.py to indicate python 3.4 support
Change-Id: I0fcaf8a9825557962dc98a6a4eef490051fbbfb0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
|
|
It replaces the previous exception for the cloned repositories
(github.com/openstack).
Change-Id: I920ab7ae70c4490b53a7e988e5b0b258a12ec67f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
gerrit.opnfv.org
openstack.org
artifacts.opnfv.org
build.opnfv.org
githubusercontent.com/openstack
Change-Id: I6904c5de847b13279f0aa3feee583ff8bd987920
Signed-off-by: lhinds <lhinds@redhat.com>
|