Commit Graph

44 Commits

Author SHA1 Message Date
Rob Parker
63af43f19d Expand redaction system to handle uncommon MQSC cases (#304)
* Expand redaction system to handle uncommon MQSC cases

* add invalidMQSC fixes

* address PR comments
2019-04-17 10:34:29 +01:00
Stephen Marshall
723fe2b998 Handle multiple-spaces when redacting MQSC output 2019-04-09 15:06:25 +01:00
Stephen Marshall
44d0e0a432 Redact sensitive MQSC logs 2019-04-08 08:49:06 +01:00
LPowlett
33defc0fc9 Handle large mqsc files (#295)
* buffer mqsc input to runmqsc

* imports

* error handling on runmqsc
2019-04-04 16:46:07 +01:00
Robert Parker
f8e057a1d6 Fix test breaks from unused code 2019-03-08 11:37:45 +00:00
Robert Parker
efd550822d merge latest from master 2019-03-08 11:13:14 +00:00
Robert Parker
d4df05fd2a Add test fixes and fix mq-explorer build 2019-03-08 11:07:44 +00:00
LPowlett
194b04ac13 Revert MQSC error check (#283)
* Revert MQSC error check
2019-03-08 09:13:26 +00:00
Arthur Barr
13f620f21a Increase test timeouts 2019-03-05 15:08:07 +00:00
Arthur Barr
cc0f072908 Change for running as a non-root user (#276)
* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* RHEL image runs as mqm instead of root

* Build on host with SELinux enabled

* Enable building on node in an OpenShift cluster

* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* Merge lastest changes from master

* RHEL image runs as mqm instead of root

* Fix merge issues

* Test changes for non-root

* Make timeout properly, and more non-root test fixes

* Run tests with fewer/no capabilities

* Correct usage docs for non-root

* Add security docs

* Add temporary debug output

* Remove debug code

* Fixes for termination-log

* Allow init container to run as root

* Fixes for CentOS build

* Fixes for RHEL build

* Logging improvements

* Fix Dockerfile RHEL/CentOS build

* Fix bash error

* Make all builds specify UID

* Use redist client for Go SDK

* Inspect image before running tests

* New test for init container

* Log container runtime in runmqdevserver

* Add extra capabilities if using a RHEL image
2019-02-27 15:32:34 +00:00
LPowlett
43676049b7 RHEL Security Vulnerability Test (#270)
* check for security vulnerabilities on rhel

* import

* check host is red hat

* filepath join

* imports
2019-02-04 10:25:55 +00:00
LPowlett
525ff82fe7 Error checking invalid mqsc commands (#261)
* testRepeatingMqsc

* testInvalidMqsc

* 9.1.1 Makefile

* testRepeatingMqsc

* testInvalidMqsc

* update copyright 2019

* update invalid mqsc error message

* update changelog to reflect MQSC changes
2019-01-10 13:41:43 +00:00
Robert Parker
0281e52b47 Test fixes for RHEL image 2018-08-21 11:49:56 +01:00
Rob Parker
7822c2c3bc Add basic versioning into main golang file (#151)
* Add basic versioning into main golang file

* Add versioning set test

* address Arthur's comments
2018-07-05 11:44:16 +01:00
Riccardo Biraghi
d4d5e09a02 Add waitForReady to TestCorrectLicense 2018-06-14 12:41:06 +01:00
Riccardo Biraghi
b887c1a277 Fix ExecContainer executing commands twice 2018-06-13 17:45:27 +01:00
Rob Parker
b570a9f019 Add License test to verify correct license 2018-06-13 16:52:24 +01:00
Rob Parker
0f4e79c0a6 Use correct url for non-x8664 platforms 2018-06-04 13:44:53 +01:00
Rob Parker
143649deb6 More metric tests and fix reconnect
* more metric test and fix reconnect

* remove build-devjmstest as dependency
2018-05-31 11:56:39 +01:00
Rob Parker
9b595a0e01 Check err when calling ImageInspectWithRaw 2018-05-16 13:41:18 +01:00
Rob Parker
88ca989b41 correct naming of variable 2018-04-17 10:37:42 +01:00
Riccardo Biraghi
831f0695a9 Add vetting, formatting and vetting make commands and fix related errors 2018-04-11 13:43:57 +01:00
Riccardo Biraghi
f9ef635f37 Merge branch 'master' of https://github.com/ibm-messaging/mq-container 2018-04-09 11:51:05 +01:00
Riccardo Biraghi
6287a25156 Better error reporting for runmqsc 2018-04-09 11:41:28 +01:00
Rob Parker
b02d8d27b2 Fix intermittant docker exec already running problem. Move to docker api 17.03.02 2018-03-28 15:57:07 +01:00
Arthur Barr
b497a04dcb Update to use LOG_FORMAT environment variable 2018-02-22 13:21:16 +00:00
Arthur Barr
c9cc1741c7 Write termination message 2018-02-22 11:31:42 +00:00
Arthur Barr
8c92e02a23 Additional logging tests 2018-02-21 09:58:26 +00:00
Arthur Barr
3600841e2b Clean up commented code 2018-02-20 14:44:24 +00:00
Arthur Barr
4cdf03a77c Mirror error logs by default 2018-02-14 14:16:00 +00:00
Arthur Barr
911f9db2fd Update readiness check 2018-02-14 11:18:20 +00:00
Arthur Barr
ed1154c881 Alpha logging support (JSON+mirroring) 2018-01-29 11:04:01 +00:00
Arthur Barr
b6b72952e4 Add TestMQSC 2017-12-18 12:00:19 +00:00
Arthur Barr
a2326dc0f6 Add ability to use different base image 2017-12-11 09:12:39 +00:00
Arthur Barr
176543e100 Run Docker tests in parallel 2017-12-05 10:27:36 +00:00
Arthur Barr
f5515d72a3 Test for security vulnerabilities 2017-12-05 10:17:31 +00:00
Arthur Barr
a80b839c14 Add TestZombies and improve exec output handling 2017-11-29 15:50:10 +00:00
Arthur Barr
5b0259ec6e Add test comments 2017-11-29 12:36:48 +00:00
Arthur Barr
0823fd1cea Add TestVolumeUnmount 2017-11-29 12:29:31 +00:00
Arthur Barr
f492171276 Test extra error paths 2017-11-22 16:14:34 +00:00
Arthur Barr
4874483f9c Get code coverage working 2017-11-08 16:46:14 +00:00
Arthur Barr
bf9a9b8cb5 Dynamically set test image name 2017-09-26 12:36:20 +01:00
Rob Parker
7274792039 Split tests for dev and advanced 2017-09-13 14:39:29 +01:00
Arthur Barr
ec68367227 Initial commit 2017-09-07 13:39:11 +01:00