{"id":22615603,"url":"https://github.com/marcellodesales/sonarqube-docker-development","last_synced_at":"2026-01-07T14:34:56.953Z","repository":{"id":142073017,"uuid":"306933587","full_name":"marcellodesales/sonarqube-docker-development","owner":"marcellodesales","description":"Dockerized Sonarqube Development","archived":false,"fork":false,"pushed_at":"2020-10-24T18:04:44.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T10:46:22.640Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcellodesales.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-24T17:15:49.000Z","updated_at":"2020-10-24T18:04:46.000Z","dependencies_parsed_at":"2023-07-09T05:31:10.914Z","dependency_job_id":null,"html_url":"https://github.com/marcellodesales/sonarqube-docker-development","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fsonarqube-docker-development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fsonarqube-docker-development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fsonarqube-docker-development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fsonarqube-docker-development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcellodesales","download_url":"https://codeload.github.com/marcellodesales/sonarqube-docker-development/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122247,"owners_count":20726822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-08T19:08:29.868Z","updated_at":"2026-01-07T14:34:56.878Z","avatar_url":"https://github.com/marcellodesales.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sonarqube in Conatiners\n\n* Local Development using Docker: Running the Quality Server Sonarqube locally using Docker. Collecting both Unit and Integration tests in different phases of development.\n* Remote in Kuberentes: For a remote installation to support development\n\nIt's intended for different audiences:\n\n* For Dev Engineers: Many tools that helps with code quality.\n* For QA Engineers: All reports from developers, ability to better triage bugs.\n* For Managers: Managers can get high-level reports about quality of services.\n\nAll descriptions of the new Sonarqube at the following:\n\n* http://www.sonarqube.org/tag/release/\n* Current version here: http://www.sonarqube.org/sonarqube-6-0-in-screenshots/\n* http://www.sonarqube.org/sonarqube-5-5-in-screenshots/\n* http://www.sonarqube.org/github-pull-request-analysis-helps-fix-the-leak/\n* https://github.com/integrations/sonarqube\n\n## Remote in Kubernetes\n\n* Go to the dir `./k8s` and see the deployment scripts\n\n# Local Development using Docker\n\n* Docker Engine 1.12.x or newer\n* Docker Compose 1.8.x or newer\n* Gradle 2.14.1 or newer\n\n# Docker Setup\n\nIn regards to the docker sonarqube server, please refer to https://hub.docker.com/r/library/sonarqube for details.\n\n\u003e Current supported version: Sonarqube 6.0\n\n* We use Docker-Compose to execute everything needed, described at `sonarqube-compose.yml`. \n* The current version configured is Sonarqube 6.0.\n * Here's the version: https://hub.docker.com/r/library/sonarqube/tags/\n\nSonarqube uses Sonarqube Plugins to enhance its experience. The local code already contains a couple of them, but if needed, you may add more to `sonarqube-plugins.Dockerfile`. Here are the important resources to know:\n\n* Plugin Library: http://docs.sonarqube.org/display/PLUG/Plugin+Library\n* Downloads:  http://sonarsource.bintray.com/Distribution/\n* Compatibility Matrix: http://docs.sonarqube.org/display/PLUG/Plugin+Version+Matrix\n\n\u003e When selecting plugins, please make sure they are compatible to the current version used looking at the `Compatibility Matrix`.\n\n## Setting up\n\n1. Build the Plugins in a docker volume: this downloads the plugins only once and make them available for the running sonarqube server through a shared docker volume.\n * Uses a `docker-compose build` instruction.\n\n2. Start the sonarqube server.\n * Uses the usual `docker-compose up` instruction.\n\n### Setting up Plugins\n\n```\n$ docker-compose -f sonarqube-compose.yml build \nsonarqube uses an image, skipping\nBuilding install_plugins\nStep 1 : FROM alpine:3.4\n ---\u003e 4e38e38c8ce0\nStep 2 : MAINTAINER Guido Zockoll\n ---\u003e Running in e5e45465208a\n ---\u003e 8341a978c31e\nRemoving intermediate container e5e45465208a\nStep 3 : RUN apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community wget ca-certificates\n ---\u003e Running in 874d096f5f7a\nfetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz\nfetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz\nfetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz\n(1/2) Installing ca-certificates (20160104-r4)\n(2/2) Installing wget (1.18-r0)\nExecuting busybox-1.24.2-r9.trigger\nExecuting ca-certificates-20160104-r4.trigger\nOK: 6 MiB in 13 packages\n ---\u003e 1e97b7fe7954\nRemoving intermediate container 874d096f5f7a\nStep 4 : WORKDIR /opt/download\n ---\u003e Running in 00296062a5a8\n ---\u003e 08c846cf9fcc\nRemoving intermediate container 00296062a5a8\nStep 5 : RUN wget http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/sonar-motion-chart-plugin/1.7/sonar-motion-chart-plugin-1.7.jar\n ---\u003e Running in f6f5a4bcb919\n--2016-08-26 04:35:13--  http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/sonar-motion-chart-plugin/1.7/sonar-motion-chart-plugin-1.7.jar\nResolving downloads.sonarsource.com... 75.101.133.159\nConnecting to downloads.sonarsource.com|75.101.133.159|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 14188 (14K) [application/java-archive]\nSaving to: 'sonar-motion-chart-plugin-1.7.jar'\n\n     0K .......... ...                                        100%  316M=0s\n\n2016-08-26 04:35:14 (316 MB/s) - 'sonar-motion-chart-plugin-1.7.jar' saved [14188/14188]\n\n ---\u003e d64e3f2f5c08\nRemoving intermediate container f6f5a4bcb919\nStep 6 : RUN wget http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/sonar-timeline-plugin/1.5/sonar-timeline-plugin-1.5.jar\n ---\u003e Running in a8046f088c81\n--2016-08-26 04:35:14--  http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/sonar-timeline-plugin/1.5/sonar-timeline-plugin-1.5.jar\nResolving downloads.sonarsource.com... 75.101.133.159\nConnecting to downloads.sonarsource.com|75.101.133.159|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 7364 (7.2K) [application/java-archive]\nSaving to: 'sonar-timeline-plugin-1.5.jar'\n\n     0K .......                                               100% 3.45M=0.002s\n\n2016-08-26 04:35:14 (3.45 MB/s) - 'sonar-timeline-plugin-1.5.jar' saved [7364/7364]\n\n ---\u003e 5d0869cc003e\nRemoving intermediate container a8046f088c81\nStep 7 : RUN wget https://sonarsource.bintray.com/Distribution/sonar-java-plugin/sonar-java-plugin-4.1.jar\n ---\u003e Running in 70e3d0451037\n--2016-08-26 04:35:15--  https://sonarsource.bintray.com/Distribution/sonar-java-plugin/sonar-java-plugin-4.1.jar\nResolving sonarsource.bintray.com... 75.126.118.188, 108.168.243.150\nConnecting to sonarsource.bintray.com|75.126.118.188|:443... connected.\nHTTP request sent, awaiting response... 302 \nLocation: https://akamai.bintray.com/f6/f6270df4d43518d586e5f734d53970d68f524252833f286bfaeec841350114b1?__gda__=exp=1472186835~hmac=bbbb07df71b97a9f13616dfecfac768532fcc34307335212c76b7b7e218b13be\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-java-plugin-4.1.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX197e71GFDbvos08Bf4w5akXQ77rkZd_Mid8pOtn1bVgTlgV54HuBWAgpG24cJn9wsU_vmwvvi-1xlm5Ouzz2yleXiRfjDWCDSJcphQAWpii8FQEvyWEp6uprX9W0ZkDScQIe5HZZrEBZA [following]\n--2016-08-26 04:35:15--  https://akamai.bintray.com/f6/f6270df4d43518d586e5f734d53970d68f524252833f286bfaeec841350114b1?__gda__=exp=1472186835~hmac=bbbb07df71b97a9f13616dfecfac768532fcc34307335212c76b7b7e218b13be\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-java-plugin-4.1.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX197e71GFDbvos08Bf4w5akXQ77rkZd_Mid8pOtn1bVgTlgV54HuBWAgpG24cJn9wsU_vmwvvi-1xlm5Ouzz2yleXiRfjDWCDSJcphQAWpii8FQEvyWEp6uprX9W0ZkDScQIe5HZZrEBZA\nResolving akamai.bintray.com... 104.95.221.65\nConnecting to akamai.bintray.com|104.95.221.65|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 6070066 (5.8M) [application/java-archive]\nSaving to: 'sonar-java-plugin-4.1.jar'\n\n     0K .......... .......... .......... .......... ..........  0% 2.12M 3s\n    50K .......... .......... .......... .......... ..........  1% 2.22M 3s\n   100K .......... .......... .......... .......... ..........  2% 10.9M 2s\n...\n...\n  5700K .......... .......... .......... .......... .......... 97% 33.6M 0s\n  5750K .......... .......... .......... .......... .......... 97% 25.8M 0s\n  5800K .......... .......... .......... .......... .......... 98% 9.64M 0s\n  5850K .......... .......... .......... .......... .......... 99% 18.7M 0s\n  5900K .......... .......... .......                         100% 11.5M=0.7s\n\n2016-08-26 04:35:16 (8.88 MB/s) - 'sonar-java-plugin-4.1.jar' saved [6070066/6070066]\n\n ---\u003e 55d268779104\nRemoving intermediate container 70e3d0451037\nStep 8 : RUN wget http://sonarsource.bintray.com/Distribution/sonar-xml-plugin/sonar-xml-plugin-1.4.1.jar\n ---\u003e Running in ebeb165ffc32\n--2016-08-26 04:35:17--  http://sonarsource.bintray.com/Distribution/sonar-xml-plugin/sonar-xml-plugin-1.4.1.jar\nResolving sonarsource.bintray.com... 75.126.118.188, 108.168.243.150\nConnecting to sonarsource.bintray.com|75.126.118.188|:80... connected.\nHTTP request sent, awaiting response... 302 \nLocation: http://akamai.bintray.com/21/2159c2f4fc07bbc6f589c73aefe5ff675e2b494cc559f55d5b3aaf71f37dacc5?__gda__=exp=1472186837~hmac=b8ade0c1cb2b218bb8da449c1edc1bad446792fdd92c793721515396047e4046\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-xml-plugin-1.4.1.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX18fCrWrs5Ty0H3hg5z8Ed46p2SFOoZenuwcH1BSiTgr7mya-5WJLo7JhEd4qpGVDTKdUro2TFGRK2-NtSTm6lQbXhuB8VYS8JTn3YWKv-NaB0K7n2Vdpubj700e11z39QmWp7w7oSCyTQ [following]\n--2016-08-26 04:35:17--  http://akamai.bintray.com/21/2159c2f4fc07bbc6f589c73aefe5ff675e2b494cc559f55d5b3aaf71f37dacc5?__gda__=exp=1472186837~hmac=b8ade0c1cb2b218bb8da449c1edc1bad446792fdd92c793721515396047e4046\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-xml-plugin-1.4.1.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX18fCrWrs5Ty0H3hg5z8Ed46p2SFOoZenuwcH1BSiTgr7mya-5WJLo7JhEd4qpGVDTKdUro2TFGRK2-NtSTm6lQbXhuB8VYS8JTn3YWKv-NaB0K7n2Vdpubj700e11z39QmWp7w7oSCyTQ\nResolving akamai.bintray.com... 104.95.221.65\nConnecting to akamai.bintray.com|104.95.221.65|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 5030691 (4.8M) [application/java-archive]\nSaving to: 'sonar-xml-plugin-1.4.1.jar'\n\n     0K .......... .......... .......... .......... ..........  1% 1.32M 4s\n    50K .......... .......... .......... .......... ..........  2%  662K 5s\n...\n...\n  4850K .......... .......... .......... .......... .......... 99% 1.92M 0s\n  4900K .......... ..                                         100% 1.98M=3.0s\n\n2016-08-26 04:35:20 (1.61 MB/s) - 'sonar-xml-plugin-1.4.1.jar' saved [5030691/5030691]\n\n ---\u003e 6a2c734ebe15\nRemoving intermediate container ebeb165ffc32\nStep 9 : RUN wget https://sonarsource.bintray.com/Distribution/sonar-groovy-plugin/sonar-groovy-plugin-1.4.jar\n ---\u003e Running in 51be51596bf0\n--2016-08-26 04:35:21--  https://sonarsource.bintray.com/Distribution/sonar-groovy-plugin/sonar-groovy-plugin-1.4.jar\nResolving sonarsource.bintray.com... 75.126.118.188, 108.168.243.150\nConnecting to sonarsource.bintray.com|75.126.118.188|:443... connected.\nHTTP request sent, awaiting response... 302 \nLocation: https://akamai.bintray.com/3c/3cfbed765b7d30b22f37b466ff1c8ee9b720eec035bba38aaa0d6a2086b56701?__gda__=exp=1472186841~hmac=0f83bd47541539194866ee7a03feba36f0a8fe53df83962d188dde84617fb792\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-groovy-plugin-1.4.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1_vJe_Dj1LFJG5K3XEUwMx5pJynH_UE7B5W_zok4I9j_NMfBfCZLxohWvjE7NFwHzR2lUd161MPBTN8mFaiuBtPyvxv13vPhcZgSunbh7SR1xBccVJxh1DESA9TDBmHDJGZ5PmS4bfczg [following]\n--2016-08-26 04:35:21--  https://akamai.bintray.com/3c/3cfbed765b7d30b22f37b466ff1c8ee9b720eec035bba38aaa0d6a2086b56701?__gda__=exp=1472186841~hmac=0f83bd47541539194866ee7a03feba36f0a8fe53df83962d188dde84617fb792\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-groovy-plugin-1.4.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1_vJe_Dj1LFJG5K3XEUwMx5pJynH_UE7B5W_zok4I9j_NMfBfCZLxohWvjE7NFwHzR2lUd161MPBTN8mFaiuBtPyvxv13vPhcZgSunbh7SR1xBccVJxh1DESA9TDBmHDJGZ5PmS4bfczg\nResolving akamai.bintray.com... 104.95.221.65\nConnecting to akamai.bintray.com|104.95.221.65|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 13962448 (13M) [application/java-archive]\nSaving to: 'sonar-groovy-plugin-1.4.jar'\n\n     0K .......... .......... .......... .......... ..........  0% 2.37M 6s\n    50K .......... .......... .......... .......... ..........  0% 2.75M 5s\n   100K .......... .......... .......... .......... ..........  1% 3.69M 5s\n   150K .......... .......... .......... .......... ..........  1% 8.75M 4s\n   200K .......... .......... .......... .......... ..........  1% 28.1M 3s\n...\n...\n 13500K .......... .......... .......... .......... .......... 99% 33.4M 0s\n 13550K .......... .......... .......... .......... .......... 99% 44.7M 0s\n 13600K .......... .......... .......... .....                100% 26.5M=2.1s\n\n2016-08-26 04:35:24 (6.26 MB/s) - 'sonar-groovy-plugin-1.4.jar' saved [13962448/13962448]\n\n ---\u003e 4901b7d79745\nRemoving intermediate container 51be51596bf0\nStep 10 : RUN wget https://sonarsource.bintray.com/Distribution/sonar-scm-git-plugin/sonar-scm-git-plugin-1.2.jar\n ---\u003e Running in 83c5459ba025\n--2016-08-26 04:35:24--  https://sonarsource.bintray.com/Distribution/sonar-scm-git-plugin/sonar-scm-git-plugin-1.2.jar\nResolving sonarsource.bintray.com... 75.126.118.188, 108.168.243.150\nConnecting to sonarsource.bintray.com|75.126.118.188|:443... connected.\nHTTP request sent, awaiting response... 302 \nLocation: https://akamai.bintray.com/c3/c3ffae97a038f84905967a4221766dd7d8e3c66cd68bd62f5dd9f7108169e6bf?__gda__=exp=1472186845~hmac=ee9fa93de72728505087e057ee1494ec09b52ffadea014d4d29bf05d730cbd7c\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-scm-git-plugin-1.2.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1_1HUH0Bl0qV2U2GMxmFwgljAj9shBOEmm7dR_E-m66Q3i0-D32-qfoSSH8U8f-ODVenhPi-pg9P6HZ2YAjlkgn-ut0ssm0qOwu-Mmp4IlWVXMX3smfQaGyEyC9rV3xt_RBAGTF_qfw6A [following]\n--2016-08-26 04:35:25--  https://akamai.bintray.com/c3/c3ffae97a038f84905967a4221766dd7d8e3c66cd68bd62f5dd9f7108169e6bf?__gda__=exp=1472186845~hmac=ee9fa93de72728505087e057ee1494ec09b52ffadea014d4d29bf05d730cbd7c\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-scm-git-plugin-1.2.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1_1HUH0Bl0qV2U2GMxmFwgljAj9shBOEmm7dR_E-m66Q3i0-D32-qfoSSH8U8f-ODVenhPi-pg9P6HZ2YAjlkgn-ut0ssm0qOwu-Mmp4IlWVXMX3smfQaGyEyC9rV3xt_RBAGTF_qfw6A\nResolving akamai.bintray.com... 104.95.221.65\nConnecting to akamai.bintray.com|104.95.221.65|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 3233126 (3.1M) [application/java-archive]\nSaving to: 'sonar-scm-git-plugin-1.2.jar'\n\n     0K .......... .......... .......... .......... ..........  1% 1.98M 2s\n    50K .......... .......... .......... .......... ..........  3% 2.07M 1s\n   100K .......... .......... .......... .......... ..........  4% 6.68M 1s\n...\n...\n  3000K .......... .......... .......... .......... .......... 96% 34.1M 0s\n  3050K .......... .......... .......... .......... .......... 98%  299M 0s\n  3100K .......... .......... .......... .......... .......... 99% 51.5M 0s\n  3150K .......                                               100%  453M=1.7s\n\n2016-08-26 04:35:27 (1.78 MB/s) - 'sonar-scm-git-plugin-1.2.jar' saved [3233126/3233126]\n\n ---\u003e e8eada476da4\nRemoving intermediate container 83c5459ba025\nStep 11 : RUN wget http://sonarsource.bintray.com/Distribution/sonar-javascript-plugin/sonar-javascript-plugin-2.15.jar\n ---\u003e Running in 68cabaa6f271\n--2016-08-26 04:35:27--  http://sonarsource.bintray.com/Distribution/sonar-javascript-plugin/sonar-javascript-plugin-2.15.jar\nResolving sonarsource.bintray.com... 75.126.118.188, 108.168.243.150\nConnecting to sonarsource.bintray.com|75.126.118.188|:80... connected.\nHTTP request sent, awaiting response... 302 \nLocation: http://akamai.bintray.com/04/04b4b5d5c789d613a9ceccc548b6f865e5197990143ce94d554b0844f26d7610?__gda__=exp=1472186847~hmac=eeed94bbccfafac1084a2a87db70611a5c496a229a96bde368c7d4ea9f684f0f\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-javascript-plugin-2.15.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1-B5B9yoGYGx0EmspMFBE7QBbnGINA9y_XwDL8Yr_xklR-EBCM8LDG_NCOPUWuLrTiLWOTtd5qKbU5Lj9MfcqHT5bUY8n2I8dYjdereUFlFu-Ts-tR6qZ_SQUqaGnvbqZh38d3pP9lv9A [following]\n--2016-08-26 04:35:27--  http://akamai.bintray.com/04/04b4b5d5c789d613a9ceccc548b6f865e5197990143ce94d554b0844f26d7610?__gda__=exp=1472186847~hmac=eeed94bbccfafac1084a2a87db70611a5c496a229a96bde368c7d4ea9f684f0f\u0026response-content-disposition=attachment%3Bfilename%3D%22sonar-javascript-plugin-2.15.jar%22\u0026response-content-type=application%2Fjava-archive\u0026requestInfo=U2FsdGVkX1-B5B9yoGYGx0EmspMFBE7QBbnGINA9y_XwDL8Yr_xklR-EBCM8LDG_NCOPUWuLrTiLWOTtd5qKbU5Lj9MfcqHT5bUY8n2I8dYjdereUFlFu-Ts-tR6qZ_SQUqaGnvbqZh38d3pP9lv9A\nResolving akamai.bintray.com... 104.95.221.65\nConnecting to akamai.bintray.com|104.95.221.65|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 2618162 (2.5M) [application/java-archive]\nSaving to: 'sonar-javascript-plugin-2.15.jar'\n\n     0K .......... .......... .......... .......... ..........  1% 1.96M 1s\n    50K .......... .......... .......... .......... ..........  3% 2.35M 1s\n   100K .......... .......... .......... .......... ..........  5% 5.76M 1s\n...\n...\n  2450K .......... .......... .......... .......... .......... 97% 25.7M 0s\n  2500K .......... .......... .......... .......... .......... 99% 60.7M 0s\n  2550K ......                                                100%  435M=0.8s\n\n2016-08-26 04:35:28 (3.12 MB/s) - 'sonar-javascript-plugin-2.15.jar' saved [2618162/2618162]\n\n ---\u003e 7a0319139e2e\nRemoving intermediate container 68cabaa6f271\nStep 12 : VOLUME /opt/sonarqube/lib/bundled-plugins\n ---\u003e Running in 22382826b3e4\n ---\u003e dbd8818f7b63\nRemoving intermediate container 22382826b3e4\nStep 13 : CMD cp -R /opt/download/* /opt/sonarqube/lib/bundled-plugins\n ---\u003e Running in 0e3f6752c8d2\n ---\u003e a9d6bd0c2b24\nRemoving intermediate container 0e3f6752c8d2\nSuccessfully built a9d6bd0c2b24\ndb uses an image, skipping\n```\n\n### Setting up Server\n\nThe server can be run with the following command using docker-compose. It will do the following:\n\n* Initialize a Postgres Server\n* Initialize a Sonarqube server at port `9000`.\n * Load the plugins built in the previous step from a Docker Volume. (`maker_install_plugins_1` docker service)\n * Will connect Sonarqube to Postgres and initialize its database. (`db_1` docker service)\n * Will load other services and initializes the server itself (`sonarqube_1` docker service)\n\n```\n$ docker-compose -f sonarqube-compose.yml up\nCreating volume \"maker_postgresql2_data\" with default driver\nCreating volume \"maker_sonarqube2_extensions\" with default driver\nCreating volume \"maker_sonarqube2_data\" with default driver\nCreating volume \"maker_postgresql2\" with default driver\nCreating volume \"maker_sonarqube2_conf\" with default driver\nCreating volume \"maker_sonarqube2_bundled-plugins\" with default driver\nCreating maker_db_1\nCreating maker_install_plugins_1\nCreating maker_sonarqube_1\nAttaching to maker_db_1, maker_install_plugins_1, maker_sonarqube_1\ndb_1               | The files belonging to this database system will be owned by user \"postgres\".\ndb_1               | This user must also own the server process.\ndb_1               | \ndb_1               | The database cluster will be initialized with locale \"en_US.utf8\".\ndb_1               | The default database encoding has accordingly been set to \"UTF8\".\ndb_1               | The default text search configuration will be set to \"english\".\ndb_1               | \ndb_1               | Data page checksums are disabled.\ndb_1               | \ndb_1               | fixing permissions on existing directory /var/lib/postgresql/data ... ok\ndb_1               | creating subdirectories ... ok\ndb_1               | selecting default max_connections ... 100\ndb_1               | selecting default shared_buffers ... 128MB\ndb_1               | selecting dynamic shared memory implementation ... posix\nmaker_install_plugins_1 exited with code 0\ndb_1               | creating configuration files ... ok\nsonarqube_1        | 2016.08.26 04:40:33 INFO  app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp\nsonarqube_1        | 2016.08.26 04:40:33 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube/temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /opt/sonarqube/temp/sq-process3699817720408540938properties\ndb_1               | creating template1 database in /var/lib/postgresql/data/base/1 ... ok\ndb_1               | initializing pg_authid ... ok\ndb_1               | initializing dependencies ... ok\ndb_1               | creating system views ... ok\ndb_1               | loading system objects' descriptions ... ok\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.s.p.ProcessEntryPoint]  Starting es\ndb_1               | creating collations ... ok\ndb_1               | creating conversions ... ok\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.s.s.EsSettings]  Elasticsearch listening on /127.0.0.1:9001\ndb_1               | creating dictionaries ... ok\ndb_1               | setting privileges on built-in objects ... ok\ndb_1               | creating information schema ... ok\ndb_1               | loading PL/pgSQL server-side language ... ok\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.elasticsearch.node]  [sonar-1472186433560] version[2.3.3], pid[17], build[218bdf1/2016-05-17T15:40:04Z]\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.elasticsearch.node]  [sonar-1472186433560] initializing ...\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.e.plugins]  [sonar-1472186433560] modules [], plugins [], sites []\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.elasticsearch.env]  [sonar-1472186433560] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/sda1)]], net usable_space [53.2gb], net total_space [97.3gb], spins? [possibly], types [ext4]\nsonarqube_1        | 2016.08.26 04:40:34 INFO   es[o.elasticsearch.env]  [sonar-1472186433560] heap size [1007.3mb], compressed ordinary object pointers [true]\ndb_1               | vacuuming database template1 ... ok\ndb_1               | copying template1 to template0 ... ok\ndb_1               | copying template1 to postgres ... ok\ndb_1               | syncing data to disk ... ok\ndb_1               | \ndb_1               | WARNING: enabling \"trust\" authentication for local connections\ndb_1               | You can change this by editing pg_hba.conf or using the option -A, or\ndb_1               | --auth-local and --auth-host, the next time you run initdb.\ndb_1               | \ndb_1               | Success. You can now start the database server using:\ndb_1               | \ndb_1               |     pg_ctl -D /var/lib/postgresql/data -l logfile start\ndb_1               | \ndb_1               | waiting for server to start....LOG:  database system was shut down at 2016-08-26 04:40:34 UTC\ndb_1               | LOG:  MultiXact member wraparound protections are now enabled\ndb_1               | LOG:  database system is ready to accept connections\ndb_1               | LOG:  autovacuum launcher started\ndb_1               |  done\ndb_1               | server started\ndb_1               | CREATE DATABASE\ndb_1               | \ndb_1               | CREATE ROLE\n...\n...\n...\n org.sonar.server.ws.WebServiceFilter@101372e [pattern=org.sonar.api.web.ServletFilter$UrlPattern@17ba777]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@15d806a7 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@1d68fb75]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@3dfcd1e5 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@68c415c3]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@da800e3 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@458a7698]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.p.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@4aee6e04 [pattern=org.sonar.api.web.ServletFilter$UrlPattern@78cd0a2]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.a.TomcatAccessLog] Web server is started\nsonarqube_1        | 2016.08.26 04:41:05 INFO  web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000\nsonarqube_1        | 2016.08.26 04:41:06 INFO  app[o.s.p.m.Monitor] Process[web] is up\nsonarqube_1        | 2016.08.26 04:41:06 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[ce]: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube/temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/server/*:./lib/ce/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-9.3-1102-jdbc41.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process1804912028867029977properties\nsonarqube_1        | 2016.08.26 04:41:06 INFO  ce[o.s.p.ProcessEntryPoint] Starting ce\nsonarqube_1        | 2016.08.26 04:41:06 INFO  ce[o.s.ce.app.CeServer] Compute Engine starting up...\nsonarqube_1        | 2016.08.26 04:41:06 INFO  ce[o.s.s.p.ServerImpl] SonarQube Server / 6.0 / 93442889cd219e78b028c7dcf51a30de74c987fe\nsonarqube_1        | 2016.08.26 04:41:06 INFO  ce[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://db:5432/sonar?user=sonar\u0026password=sonar\nsonarqube_1        | 2016.08.26 04:41:07 INFO  ce[o.s.s.p.DefaultServerFileSystem] SonarQube home: /opt/sonarqube\nsonarqube_1        | 2016.08.26 04:41:07 INFO  ce[o.e.plugins] [sonar-1472186433560] modules [], plugins [], sites []\nsonarqube_1        | 2016.08.26 04:41:08 INFO  ce[o.s.c.c.CePluginRepository] Load plugins\nsonarqube_1        | 2016.08.26 04:41:09 INFO  ce[o.s.s.c.q.PurgeCeActivities] Delete the Compute Engine tasks created before Sun Feb 28 04:41:09 UTC 2016\nsonarqube_1        | 2016.08.26 04:41:09 INFO  ce[o.s.ce.app.CeServer] Compute Engine is up\nsonarqube_1        | 2016.08.26 04:41:09 INFO  app[o.s.p.m.Monitor] Process[ce] is up\n```\n\n## Connecting to Sonarqube Server\n\nAfter the server is up and running, you can connect the server from `http://localhost:9000`. \n\n* From Gradle: Use the environment variable SONARQUBE_SERVER_URL=http://localhost:9000\n * Note that you can map the port number to a different one using Docker's magic.\n* From Browser: After you execute the command above during tests, you can go to the browser and see the results. \n\n# Publishing Quality Reports\n\nHere's what this setup is already capable of:\n\n* Execute unit tests and submit to the server.\n* Execute unit and integration tests together, merge the results and submit to the server.\n\nRunning code without reports show up empty.\n\n## Publishing Unit Tests\n\n* Execute the unit tests with sonarqube. \n* After it finishes, open the same URL in the browser and see the initial report.\n\nThe server will then display more quality reports like the Code Coverage numbers.\n\n```\n$ SONARQUBE_SERVER_URL=http://localhost:9000 gradle clean test sonarqube\n```\nor check, which executes the test.\n\n```\n$ SONARQUBE_SERVER_URL=http://localhost:9000 gradle check sonarqube\n:clean\n:compileJava\n:processResources\n:classes\n:compileTestJava\n:processTestResources\n:testClasses\n:test\n\ncash.super.platform.ConfigMatrixDownloadIntegrationTests \u003e testGetAndLoadMatrix STARTED\n\ncash.super.platform.ConfigMatrixDownloadIntegrationTests \u003e testGetAndLoadMatrix PASSED\n\ncash.super.platform.MatrixFileAndS3BucketControllerTest \u003e getMatrixFilesListWithCustomLabelAndS3Bucket STARTED\n\ncash.super.platform.MatrixFileAndS3BucketControllerTest \u003e getMatrixFilesListWithCustomLabelAndS3Bucket PASSED\n\ncash.super.platform.MatrixFileAndS3BucketControllerTest \u003e getMatrixFilesListWithCustomLabelAndS3BucketButWithoutOutputTypes STARTED\n\ncash.super.platform.MatrixFileAndS3BucketControllerTest \u003e getMatrixFilesListWithCustomLabelAndS3BucketButWithoutOutputTypes PASSED\n\ncash.super.platform.MatrixFilesResponseCartesianProductControllerTest \u003e cartesianProductSetContainsAllFilesTest STARTED\n\ncash.super.platform.MatrixFilesResponseCartesianProductControllerTest \u003e cartesianProductSetContainsAllFilesTest PASSED\n\ncash.super.platform.ConfigMatrixWithOutputFileTypesDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded STARTED\n\ncash.super.platform.ConfigMatrixWithOutputFileTypesDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded PASSED\n\ncash.super.platform.ConfigMatrixDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded STARTED\n\ncash.super.platform.ConfigMatrixDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded PASSED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelWithReplaceTokenDefaultS3Bucket STARTED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelWithReplaceTokenDefaultS3Bucket PASSED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListDefaults STARTED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListDefaults PASSED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithCustomLabelAsMaster STARTED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithCustomLabelAsMaster PASSED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelDefaultS3Bucket STARTED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelDefaultS3Bucket PASSED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelForwardSlashesDefaultS3Bucket STARTED\n\ncash.super.platform.MatrixFileAndLabelsControllerTest \u003e getMatrixFilesListWithLabelForwardSlashesDefaultS3Bucket PASSED\n\ncash.super.platform.ConfigMatrixWithWrongSigVersionDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded STARTED\n\ncash.super.platform.ConfigMatrixWithWrongSigVersionDownloadAndProcessingIntegrationTests \u003e verifyThatMatrixFilesAreDownloaded PASSED\n\n2016-08-25 21:54:05.380  INFO 84562 --- [      Thread-25] o.s.w.c.s.GenericWebApplicationContext   : Closing \n2016-08-25 21:54:05.458  WARN 84562 --- [      Thread-25] c.i.p.j.c.listener.ConfigClientListener  : ContextClosedEvent: no entry for ac=org.springframework.web.context.support.GenericWebApplicationContext@300e05d9: startup date [Thu Aug 25 21:53:59 PDT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7645efa\n2016-08-25 21:54:05.459  INFO 84562 --- [      Thread-25] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647\n:sonarqube\n\nBUILD SUCCESSFUL\n\nTotal time: 39.356 secs\n== Build Time Summary ==\n                                                                             0% :processTestResources (0:00.151)\n                                                                          ▇  1% :processResources (0:00.211)\n                                                                          ▇  1% :clean (0:00.352)\n                                                                       ▇▇▇▇  3% :compileTestJava (0:00.914)\n                                                     ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 13% :compileJava (0:04.242)\n        ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39% :sonarqube (0:12.803)\n▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43% :test (0:14.348)\n\n== BUILD SUCCESSFUL ==\n```\n\nThe test cases and code coverage list is on the section shown in the screen.\n\n\u003e Note that there are 34 test cases implemented in the unit tests.\n\n## Publishing Integration Tests\n\nIntegration tests runs with unit and the merged reports are sent to Sonarqube. You just need to use the commands to properly:\n\n1. Execute Integration tests\n2. Merge Integation and Unit test reports\n3. Push to sonarqube as usual.\n4. Go to the browser and refresh the Sonarqube page with reports.\n\nThe reports will be updated as follows:\n\n```\n$ SONARQUBE_SERVER_URL=http://localhost:9000 gradle -x test check integrationTest jacocoMergedReports sonarqube\n:compileJava UP-TO-DATE\n:processResources UP-TO-DATE\n:classes UP-TO-DATE\n:compileTestJava UP-TO-DATE\n:processTestResources UP-TO-DATE\n:testClasses UP-TO-DATE\n:compileIntegrationTestJava\n:processIntegrationTestResources UP-TO-DATE\n:integrationTestClasses\n:integrationTest\n\ncash.super.platform.GithubWebhookControllerFullIntegrationTest STANDARD_OUT\n    22:23:00.128 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class cash.super.platform.GithubWebhookControllerFullIntegrationTest]\n    22:23:00.139 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]\n    22:23:00.154 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]\n    22:23:00.185 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [cash.super.platform.GithubWebhookControllerFullIntegrationTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]\n    22:23:00.206 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [cash.super.platform.GithubWebhookControllerFullIntegrationTest], using SpringBootContextLoader\n...\n...\n...\n    2016-08-25 22:56:36.681  INFO 90402 --- [    Test worker] thubWebhookControllerFullIntegrationTest : HTTP GET https://s3-us-west-1.amazonaws.com/supercash-caas-super--maker-config/maker-prf,qydc,onboard_preprod.metadata: 200\n    2016-08-25 22:56:36.719  INFO 90402 --- [    Test worker] thubWebhookControllerFullIntegrationTest : HTTP GET https://s3-us-west-1.amazonaws.com/supercash-caas-super--maker-config/maker-prf,qydc,onboard_preprod.json: 200\n    2016-08-25 22:56:36.756  INFO 90402 --- [    Test worker] thubWebhookControllerFullIntegrationTest : HTTP GET https://s3-us-west-1.amazonaws.com/supercash-caas-super--maker-config/maker-prf,qydc,onboard_preprod.yml: 200\n    2016-08-25 22:56:36.795  INFO 90402 --- [    Test worker] thubWebhookControllerFullIntegrationTest : HTTP GET https://s3-us-west-1.amazonaws.com/supercash-caas-super--maker-config/maker-prf,qydc,onboard_preprod.metadata.sig: 200\n\ncash.super.platform.GithubWebhookControllerFullIntegrationTest \u003e fullWebhookE2ETest PASSED\n...\n...\n2016-08-25 22:56:47.661  INFO 90483 --- [      Thread-25] c.i.p.j.c.listener.ConfigClientListener  : findRefresher: ContextClosedEvent -- no refresher found for ac=org.springframework.web.context.support.GenericWebApplicationContext@76eead54: startup date [Thu Aug 25 22:56:42 PDT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4a0dce1\n2016-08-25 22:56:47.661  WARN 90483 --- [      Thread-25] c.i.p.j.c.listener.ConfigClientListener  : ContextClosedEvent: no entry for ac=org.springframework.web.context.support.GenericWebApplicationContext@76eead54: startup date [Thu Aug 25 22:56:42 PDT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4a0dce1\n2016-08-25 22:56:47.665  INFO 90483 --- [      Thread-25] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647\n:jacocoMerge\n:jacocoMergedReports SKIPPED\n:sonarqube\nInvalid character encountered in file /home/mdesales/dev/github/supercash/platform/maker/src/main/resources/certs/server.jks at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.\n2016-08-26 00:48:00.716  INFO 95564 --- [      Thread-10] c.i.p.jsk.config.client.RefresherImpl    : closed() called for this=❲RefresherImpl@fde68951 #1 2016-08-26T00:47:32.585 ac=org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3837f939: startup date [Fri Aug 26 00:47:27 PDT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@716f0223 loc=org.springframework.cloud.config.client.ConfigServicePropertySourceLocator@6f161a34❳ elapsedMs=7 lifetimeSecs=28\n2016-08-26 00:48:00.718  INFO 95564 --- [      Thread-10] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647\n2016-08-26 00:48:00.730  INFO 95564 --- [      Thread-10] c.i.p.jsk.config.client.RefresherImpl    : preDestroy: this=❲RefresherImpl@fde68951 #1 2016-08-26T00:47:32.585 ac=org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3837f939: startup date [Fri Aug 26 00:47:27 PDT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@716f0223 loc=org.springframework.cloud.config.client.ConfigServicePropertySourceLocator@6f161a34❳\n:jacocoMerge\n:jacocoMergedReports SKIPPED\n:sonarqube\nInvalid character encountered in file /home/mdesales/dev/github/supercash/platform/maker/src/main/resources/certs/server.jks at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.\nInvalid character encountered in file /home/mdesales/dev/github/supercash/platform/maker/src/main/docker/lib/jce_policy-8.zip at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.\nClass not found: org.apache.http.annotation.NotThreadSafe\nClass not found: org.apache.http.annotation.Immutable\nClass not found: org.apache.http.annotation.NotThreadSafe\nClass not found: org.apache.http.annotation.ThreadSafe\nMissing blame information for the following files:\n  * /home/mdesales/dev/github/supercash/platform/maker/src/main/docker/lib/jce_policy-8.zip\n  * /home/mdesales/dev/github/supercash/platform/maker/src/main/resources/certs/server.jks\nThis may lead to missing/broken features in SonarQube\n\nBUILD SUCCESSFUL\n\nTotal time: 1 mins 16.123 secs\n== Build Time Summary ==\n                                                                                   0% :processTestResources (0:00.063)\n                                                                                   0% :jacocoMerge (0:00.077)\n                                                                                   0% :compileTestJava (0:00.317)\n                                                                                ▇  1% :pmdIntegrationTest (0:00.579)\n                                                                               ▇▇  1% :compileIntegrationTestJava (0:01.013)\n                                                                              ▇▇▇  2% :checkstyleTest (0:01.682)\n                                                                            ▇▇▇▇▇  4% :checkJavadoc (0:02.534)\n                                                               ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 13% :sonarqube (0:09.213)\n                                                   ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 21% :test (0:15.199)\n▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 57% :integrationTest (0:40.220)\n\n== BUILD SUCCESSFUL ==\n\nThis build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html\n```\n\n\u003e Note that there are now 35 test cases implemented, and all are listed with the additional integrationTest.\n\n## Logs on the Server\n\nYou can double-check the logs in the Sonarqube docker logs and see the creation of reports being received by the server.\n\n```\nsonarqube_1        | 2016.08.26 05:30:25 INFO  app[o.s.p.m.Monitor] Process[ce] is up\nsonarqube_1        | 2016.08.26 05:32:17 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFVZyUZjXA3GQ67FPK\nsonarqube_1        | 2016.08.26 05:32:20 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFVZyUZjXA3GQ67FPK | time=2965ms\nsonarqube_1        | 2016.08.26 05:33:38 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFVte4ZjXA3GQ67FPL\nsonarqube_1        | 2016.08.26 05:33:40 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFVte4ZjXA3GQ67FPL | time=1269ms\nsonarqube_1        | 2016.08.26 05:48:15 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFZDNIZjXA3GQ67FPM\nsonarqube_1        | 2016.08.26 05:48:16 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFZDNIZjXA3GQ67FPM | time=1219ms\nsonarqube_1        | 2016.08.26 05:51:20 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFZwxVZjXA3GQ67FPN\nsonarqube_1        | 2016.08.26 05:51:21 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFZwxVZjXA3GQ67FPN | time=1373ms\nsonarqube_1        | 2016.08.26 05:56:58 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFbDOdZjXA3GQ67FPO\nsonarqube_1        | 2016.08.26 05:56:59 INFO  ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=com.supercash.platform:super--maker | type=REPORT | id=AVbFbDOdZjXA3GQ67FPO | time=1293ms\n```\n\n## Sending Reports to remote Sonarqube\n\nYou can just use the credentials to the same Sonarqube server. Granted you have all the credentials, you can just do the following:\n\n```\nSONARQUBE_JDBC_URL=\"jdbc:mysql://sonarqube.tools.d1matrix.com:3306/sonarqube?useUnicode=true\u0026characterEncoding=utf8\u0026rewriteBatchedStatements=true\u0026useConfigs=maxPerformance\" \\\nSONARQUBE_DB_USER=sonarqube \\\nSONARQUBE_SERVER_URL=https://sonarqube.tools.d1matrix.com/ \\\nSONARQUBE_USER=admin \\\nSONARQUBE_PASSWORD=**** gradle sonarqube\n```\n\n# Troubleshooting\n\nMany different probles around Docker or Sonarqube can make you slower. But here are a couple of tips to get you up and running.\n\n## Troubleshooting: Current version is too old\n\n\u003e org.sonar.api.utils.MessageException: Current version is too old. Please upgrade to Long Term Support version firstly\n\nThis is described at http://stackoverflow.com/questions/34947417/messageexception-current-version-is-too-old-please-upgrade-to-long-term-suppor/34964463#34964463. If you ever get the error about incompability version, please make sure to:\n\n1. Upgrade all plugins\n2. Pull a different version of Sonarqube\n3. Remove the docker volumes\n4. Build all over again.\n\nHere's the error you might see:\n\n```\n$ docker-compose -f sonarqube-compose.yml up\nStarting maker_db_1\nStarting maker_sonarqube_1\nRecreating maker_install_plugins_1\nAttaching to maker_db_1, maker_sonarqube_1, maker_install_plugins_1\ndb_1               | LOG:  database system was shut down at 2016-08-26 04:28:18 UTC\ndb_1               | LOG:  MultiXact member wraparound protections are now enabled\ndb_1               | LOG:  database system is ready to accept connections\ndb_1               | LOG:  autovacuum launcher started\nmaker_install_plugins_1 exited with code 0\nsonarqube_1        | 2016.08.26 04:35:39 INFO  app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp\nsonarqube_1        | 2016.08.26 04:35:39 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonarqube/temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /opt/sonarqube/temp/sq-process4405923391552124844properties\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.s.p.ProcessEntryPoint]  Starting es\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.s.s.EsSettings]  Elasticsearch listening on /127.0.0.1:9001\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] version[2.3.3], pid[17], build[218bdf1/2016-05-17T15:40:04Z]\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] initializing ...\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.e.plugins]  [sonar-1472186138961] modules [], plugins [], sites []\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.elasticsearch.env]  [sonar-1472186138961] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/sda1)]], net usable_space [53.2gb], net total_space [97.3gb], spins? [possibly], types [ext4]\nsonarqube_1        | 2016.08.26 04:35:39 INFO   es[o.elasticsearch.env]  [sonar-1472186138961] heap size [1007.3mb], compressed ordinary object pointers [true]\nsonarqube_1        | 2016.08.26 04:35:40 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] initialized\nsonarqube_1        | 2016.08.26 04:35:40 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] starting ...\nsonarqube_1        | 2016.08.26 04:35:41 INFO   es[o.e.transport]  [sonar-1472186138961] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}\nsonarqube_1        | 2016.08.26 04:35:41 INFO   es[o.e.discovery]  [sonar-1472186138961] sonarqube/5V5ntLArTyGP_waAXLw7pw\nsonarqube_1        | 2016.08.26 04:35:44 INFO   es[o.e.cluster.service]  [sonar-1472186138961] new_master {sonar-1472186138961}{5V5ntLArTyGP_waAXLw7pw}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonar-1472186138961}, reason: zen-disco-join(elected_as_master, [0] joins received)\nsonarqube_1        | 2016.08.26 04:35:44 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] started\nsonarqube_1        | 2016.08.26 04:35:44 INFO   es[o.e.gateway]  [sonar-1472186138961] recovered [0] indices into cluster_state\nsonarqube_1        | 2016.08.26 04:35:44 INFO  app[o.s.p.m.Monitor] Process[es] is up\nsonarqube_1        | 2016.08.26 04:35:44 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:/dev/./urandom -Djava.io.tmpdir=/opt/sonarqube/temp -javaagent:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/server/*:/opt/sonarqube/lib/jdbc/postgresql/postgresql-9.3-1102-jdbc41.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process8083055985445990683properties\nsonarqube_1        | 2016.08.26 04:35:44 INFO  web[o.s.p.ProcessEntryPoint] Starting web\nsonarqube_1        | 2016.08.26 04:35:44 INFO  web[o.s.s.a.TomcatContexts] Webapp directory: /opt/sonarqube/web\nsonarqube_1        | 2016.08.26 04:35:45 INFO  web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:35:45 INFO  web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read\nsonarqube_1        | 2016.08.26 04:35:45 INFO  web[o.s.s.p.ServerImpl] SonarQube Server / 6.0 / 93442889cd219e78b028c7dcf51a30de74c987fe\nsonarqube_1        | 2016.08.26 04:35:46 INFO  web[o.sonar.db.Database] Create JDBC data source for jdbc:postgresql://db:5432/sonar?user=sonar\u0026password=sonar\nsonarqube_1        | 2016.08.26 04:35:46 ERROR web[o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.PlatformServletContextListener\nsonarqube_1        | org.sonar.api.utils.MessageException: Current version is too old. Please upgrade to Long Term Support version firstly.\nsonarqube_1        | 2016.08.26 04:35:46 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file\nsonarqube_1        | 2016.08.26 04:35:46 ERROR web[o.a.c.c.StandardContext] Context [] startup failed due to previous errors\nsonarqube_1        | 2016.08.26 04:35:46 WARN  web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:\nsonarqube_1        |  java.lang.Object.wait(Native Method)\nsonarqube_1        |  java.util.TimerThread.mainLoop(Timer.java:552)\nsonarqube_1        |  java.util.TimerThread.run(Timer.java:505)\nsonarqube_1        | 2016.08.26 04:35:46 INFO  web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:35:46 INFO  web[o.s.s.a.TomcatAccessLog] Web server is started\nsonarqube_1        | 2016.08.26 04:35:46 INFO  web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000\nsonarqube_1        | 2016.08.26 04:35:46 WARN  web[o.s.p.ProcessEntryPoint] Fail to start web\nsonarqube_1        | java.lang.IllegalStateException: Webapp did not start\nsonarqube_1        | \tat org.sonar.server.app.EmbeddedTomcat.isUp(EmbeddedTomcat.java:84) ~[sonar-server-6.0.jar:na]\nsonarqube_1        | \tat org.sonar.server.app.WebServer.isUp(WebServer.java:47) [sonar-server-6.0.jar:na]\nsonarqube_1        | \tat org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:105) ~[sonar-process-6.0.jar:na]\nsonarqube_1        | \tat org.sonar.server.app.WebServer.main(WebServer.java:68) [sonar-server-6.0.jar:na]\nsonarqube_1        | 2016.08.26 04:35:46 INFO  web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:35:47 INFO  web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:35:48 INFO  web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler [\"http-nio-0.0.0.0-9000\"]\nsonarqube_1        | 2016.08.26 04:35:48 INFO  web[o.s.s.a.TomcatAccessLog] Web server is stopped\nsonarqube_1        | 2016.08.26 04:35:48 INFO  app[o.s.p.m.Monitor] Process[es] is stopping\nsonarqube_1        | 2016.08.26 04:35:48 INFO   es[o.s.p.StopWatcher]  Stopping process\nsonarqube_1        | 2016.08.26 04:35:48 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] stopping ...\nsonarqube_1        | 2016.08.26 04:35:48 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] stopped\nsonarqube_1        | 2016.08.26 04:35:48 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] closing ...\nsonarqube_1        | 2016.08.26 04:35:48 INFO   es[o.elasticsearch.node]  [sonar-1472186138961] closed\nsonarqube_1        | 2016.08.26 04:35:48 INFO  app[o.s.p.m.Monitor] Process[es] is stopped\nmaker_sonarqube_1 exited with code 0\n ^CGracefully stopping... (press Ctrl+C again to force)\nStopping maker_db_1 ... done\n```\n\n## Troubleshooting: Missing blame information for the following files\n\n\u003e Sonarqube: Missing blame information for the following files\n\nThis error occurs because you haven't added them to revision control yet. That is, the files listed have not been indexed by git. Use `git add`, `git commit`, etc.\n\nhttp://stackoverflow.com/questions/37432290/sonarqube-missing-blame-information-for-the-following-files\n\n```java\nInvalid character encountered in file /home/mdesales/dev/github/supercash/platform/maker/src/main/docker/lib/jce_policy-8.zip at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.\nClass not found: org.apache.http.annotation.NotThreadSafe\nClass not found: org.apache.http.annotation.Immutable\nClass not found: org.apache.http.annotation.NotThreadSafe\nClass not found: org.apache.http.annotation.ThreadSafe\nMissing blame information for the following files:\n  * /home/mdesales/dev/github/supercash/platform/maker/src/integrationTest/java/cash.super.platform/GithubWebhookControllerFullIntegrationTest.java\n  * /home/mdesales/dev/github/supercash/platform/maker/src/main/docker/lib/jce_policy-8.zip\n  * /home/mdesales/dev/github/supercash/platform/maker/src/integrationTest/java/cash.super.platform/GithubWebhookControllerAbstractTest.java\n  * /home/mdesales/dev/github/supercash/platform/maker/src/main/resources/certs/server.jks\nThis may lead to missing/broken features in SonarQube\n\nBUILD SUCCESSFUL\n```\n\n## Troubleshooting: Docker Volumes Cleanup\n\nIf you need to clean up the docker volumes, use the following:\n\n1. List the volumes\n\n```\n$ docker volume ls\nDRIVER              VOLUME NAME\nlocal               04d8f9377dfe5247c912a99cd4ad6003d0dbae418dad67338d2c75158ccd4c59\nlocal               05fdc59bd6a4e40b7317a2a7d1cbc3283e38553c3a9ee34f7c792bc0d748fa27\nlocal               0659ed50ef59241b0ef2a9c48715dd09c712f5a11b7e5060ae988d74716f2559\nlocal               marcello\nlocal               maker_postgresql6\nlocal               maker_postgresql6_data\nlocal               maker_sonarqube6_bundled-plugins\nlocal               maker_sonarqube6_conf\nlocal               maker_sonarqube6_data\nlocal               maker_sonarqube6_extensions\n```\n\n2. Stop/Remove the docker services running and using the volumes\n\n```\n$ docker-compose -f sonarqube-compose.yml rm\nGoing to remove maker_sonarqube_1, maker_install_plugins_1, maker_db_1\nAre you sure? [yN] y\n```\n\n3. Completely remove the volumes\n\n```\n$ docker volume rm maker_postgresql maker_postgresql_data maker_sonarqube_bundled-plugins maker_sonarqube_conf maker_sonarqube_data maker_sonarqube_extensions\nmaker_postgresql6\nmaker_postgresql6_data\nmaker_sonarqube6_bundled-plugins\nmaker_sonarqube6_conf\nmaker_sonarqube6_data\nmaker_sonarqube6_extensions\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fsonarqube-docker-development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcellodesales%2Fsonarqube-docker-development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fsonarqube-docker-development/lists"}