sast
Passed Started
by
@jivanvl
Jose Ivan Vargas Lopez
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 12.7.1 (003fe500)2 on docker-auto-scale 729897614Starting service docker:stable-dind ...5Pulling docker image docker:stable-dind ...6Using docker image sha256:a33335bfe8302f4d8a7688bc1fa539f2aba787ec724119be53adc4681702a3e7 for docker:stable-dind ...7Waiting for services to be up and running...8*** WARNING: Service runner-72989761-project-4422333-concurrent-0-docker-0 probably didn't start properly.9Health check error:10service "runner-72989761-project-4422333-concurrent-0-docker-0-wait-for-service" timeout11Health check container logs:12Service container logs:132020-02-18T18:58:13.355690060Z time="2020-02-18T18:58:13.355511014Z" level=info msg="Starting up"142020-02-18T18:58:13.363917551Z time="2020-02-18T18:58:13.363835507Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"152020-02-18T18:58:13.365110025Z time="2020-02-18T18:58:13.365040069Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"162020-02-18T18:58:13.367310105Z time="2020-02-18T18:58:13.367243518Z" level=info msg="libcontainerd: started new containerd process" pid=18172020-02-18T18:58:13.367430333Z time="2020-02-18T18:58:13.367382703Z" level=info msg="parsed scheme: \"unix\"" module=grpc182020-02-18T18:58:13.367496151Z time="2020-02-18T18:58:13.367450998Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc192020-02-18T18:58:13.367643299Z time="2020-02-18T18:58:13.367540701Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc202020-02-18T18:58:13.377455621Z time="2020-02-18T18:58:13.373618497Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc212020-02-18T18:58:13.399640066Z time="2020-02-18T18:58:13.399506745Z" level=info msg="starting containerd" revision=35bd7a5f69c13e1563af8a93431411cd9ecf5021 version=v1.2.12 222020-02-18T18:58:13.400050698Z time="2020-02-18T18:58:13.399998166Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 232020-02-18T18:58:13.400221196Z time="2020-02-18T18:58:13.400178575Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 242020-02-18T18:58:13.400545771Z time="2020-02-18T18:58:13.400493418Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 252020-02-18T18:58:13.400633661Z time="2020-02-18T18:58:13.400601207Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 262020-02-18T18:58:13.405207293Z time="2020-02-18T18:58:13.405133422Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 272020-02-18T18:58:13.405433111Z time="2020-02-18T18:58:13.405389706Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 282020-02-18T18:58:13.405642071Z time="2020-02-18T18:58:13.405597375Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 292020-02-18T18:58:13.405873660Z time="2020-02-18T18:58:13.405828137Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 302020-02-18T18:58:13.406150752Z time="2020-02-18T18:58:13.406108290Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-02-18T18:58:13.406200258Z time="2020-02-18T18:58:13.406174891Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 322020-02-18T18:58:13.406340058Z time="2020-02-18T18:58:13.406298356Z" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 332020-02-18T18:58:13.406387233Z time="2020-02-18T18:58:13.406360750Z" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 342020-02-18T18:58:13.406454760Z time="2020-02-18T18:58:13.406420621Z" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" 352020-02-18T18:58:13.453545284Z time="2020-02-18T18:58:13.453453871Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 362020-02-18T18:58:13.453677495Z time="2020-02-18T18:58:13.453624116Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 372020-02-18T18:58:13.453783430Z time="2020-02-18T18:58:13.453722958Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 382020-02-18T18:58:13.453851305Z time="2020-02-18T18:58:13.453810182Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 392020-02-18T18:58:13.454055572Z time="2020-02-18T18:58:13.453883067Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 402020-02-18T18:58:13.454064894Z time="2020-02-18T18:58:13.453896985Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 412020-02-18T18:58:13.454068703Z time="2020-02-18T18:58:13.453909611Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 422020-02-18T18:58:13.454072169Z time="2020-02-18T18:58:13.453920261Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 432020-02-18T18:58:13.454075951Z time="2020-02-18T18:58:13.453930629Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 442020-02-18T18:58:13.454201414Z time="2020-02-18T18:58:13.454108380Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 452020-02-18T18:58:13.454501538Z time="2020-02-18T18:58:13.454455414Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 462020-02-18T18:58:13.459536118Z time="2020-02-18T18:58:13.458872998Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 472020-02-18T18:58:13.460920461Z time="2020-02-18T18:58:13.459983894Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 482020-02-18T18:58:13.460970338Z time="2020-02-18T18:58:13.460650771Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 492020-02-18T18:58:13.460982524Z time="2020-02-18T18:58:13.460759374Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 502020-02-18T18:58:13.461015122Z time="2020-02-18T18:58:13.460838412Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 512020-02-18T18:58:13.461151953Z time="2020-02-18T18:58:13.460852239Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 522020-02-18T18:58:13.461159117Z time="2020-02-18T18:58:13.461059869Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 532020-02-18T18:58:13.461162691Z time="2020-02-18T18:58:13.461070728Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 542020-02-18T18:58:13.461166011Z time="2020-02-18T18:58:13.461081271Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 552020-02-18T18:58:13.461169334Z time="2020-02-18T18:58:13.461091380Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 562020-02-18T18:58:13.461622108Z time="2020-02-18T18:58:13.461100867Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 572020-02-18T18:58:13.461992898Z time="2020-02-18T18:58:13.461489458Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 582020-02-18T18:58:13.462391669Z time="2020-02-18T18:58:13.462328577Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 592020-02-18T18:58:13.463177030Z time="2020-02-18T18:58:13.463115291Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 602020-02-18T18:58:13.463273507Z time="2020-02-18T18:58:13.463213312Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 612020-02-18T18:58:13.463364411Z time="2020-02-18T18:58:13.463303158Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 622020-02-18T18:58:13.463736564Z time="2020-02-18T18:58:13.463677719Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 632020-02-18T18:58:13.464263103Z time="2020-02-18T18:58:13.464197059Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 642020-02-18T18:58:13.464340705Z time="2020-02-18T18:58:13.464295391Z" level=info msg="containerd successfully booted in 0.065339s" 652020-02-18T18:58:13.501663483Z time="2020-02-18T18:58:13.479278488Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"662020-02-18T18:58:13.501682841Z time="2020-02-18T18:58:13.479460024Z" level=info msg="parsed scheme: \"unix\"" module=grpc672020-02-18T18:58:13.501687475Z time="2020-02-18T18:58:13.479480480Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc682020-02-18T18:58:13.501691228Z time="2020-02-18T18:58:13.479496733Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc692020-02-18T18:58:13.501703835Z time="2020-02-18T18:58:13.479506198Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc702020-02-18T18:58:13.501708843Z time="2020-02-18T18:58:13.487134811Z" level=info msg="parsed scheme: \"unix\"" module=grpc712020-02-18T18:58:13.501712258Z time="2020-02-18T18:58:13.487153104Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc722020-02-18T18:58:13.501715588Z time="2020-02-18T18:58:13.487169218Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc732020-02-18T18:58:13.501719304Z time="2020-02-18T18:58:13.487178572Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc742020-02-18T18:58:13.612904817Z time="2020-02-18T18:58:13.612810904Z" level=info msg="Loading containers: start."752020-02-18T18:58:13.657671042Z time="2020-02-18T18:58:13.656971385Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nbridge 167936 1 br_netfilter\nstp 16384 1 bridge\nllc 16384 2 bridge,stp\nip: can't find device 'br_netfilter'\nbr_netfilter 24576 0 \nbridge 167936 1 br_netfilter\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"762020-02-18T18:58:13.775742847Z time="2020-02-18T18:58:13.774268867Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"772020-02-18T18:58:13.841676525Z time="2020-02-18T18:58:13.841046086Z" level=info msg="Loading containers: done."782020-02-18T18:58:13.898668788Z time="2020-02-18T18:58:13.892833950Z" level=info msg="Docker daemon" commit=369ce74a3c graphdriver(s)=overlay2 version=19.03.6792020-02-18T18:58:13.898800972Z time="2020-02-18T18:58:13.892989037Z" level=info msg="Daemon has completed initialization"802020-02-18T18:58:13.927022554Z time="2020-02-18T18:58:13.926809422Z" level=info msg="API listen on [::]:2375"812020-02-18T18:58:13.927045248Z time="2020-02-18T18:58:13.926882611Z" level=info msg="API listen on /var/run/docker.sock"82*********83Pulling docker image docker:stable ...84Using docker image sha256:6512892b576811235f68a6dcd5fbe10b387ac0ba3709aeaf80cd5cfcecb387c7 for docker:stable ... 85 Running on runner-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1582052221-d9a17477...
00:01
87Fetching changes with git depth set to 50...88Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/89Created fresh repository.91 * [new ref] refs/pipelines/12714911 -> refs/pipelines/1271491192 * [new branch] master -> origin/master93Checking out 30121b59 as master...94Skipping Git submodules setup 95 $ export SAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}
00:30
96$ if ! docker info &>/dev/null; then # collapsed multi-line command97$ ENVS=`printenv | grep -vE '^(DOCKER_|CI|GITLAB_|FF_|HOME|PWD|OLDPWD|PATH|SHLVL|HOSTNAME)' | sed -n '/^[^\t]/s/=.*//p' | sed '/^$/d' | sed 's/^/-e /g' | tr '\n' ' '` # collapsed multi-line command98Unable to find image 'registry.gitlab.com/gitlab-org/security-products/sast:12-7-stable' locally9912-7-stable: Pulling from gitlab-org/security-products/sast100abeda8b35c9e: Pulling fs layer101abeda8b35c9e: Verifying Checksum102abeda8b35c9e: Download complete103abeda8b35c9e: Pull complete104Digest: sha256:af6334af679f62f151c568659a2b1c4212a01d80b3f33f7207e78b251d40ad96105Status: Downloaded newer image for registry.gitlab.com/gitlab-org/security-products/sast:12-7-stable1062020/02/18 18:58:53 Copy project directory to containers1072020/02/18 18:58:53 [bandit] Detect project using plugin1082020/02/18 18:58:53 [bandit] Project not compatible1092020/02/18 18:58:53 [brakeman] Detect project using plugin1102020/02/18 18:58:53 [brakeman] Project not compatible1112020/02/18 18:58:53 [gosec] Detect project using plugin1122020/02/18 18:58:53 [gosec] Project not compatible1132020/02/18 18:58:53 [spotbugs] Detect project using plugin1142020/02/18 18:58:53 [spotbugs] Project not compatible1152020/02/18 18:58:53 [flawfinder] Detect project using plugin1162020/02/18 18:58:53 [flawfinder] Project not compatible1172020/02/18 18:58:53 [phpcs-security-audit] Detect project using plugin1182020/02/18 18:58:53 [phpcs-security-audit] Project not compatible1192020/02/18 18:58:53 [security-code-scan] Detect project using plugin1202020/02/18 18:58:53 [security-code-scan] Project not compatible1212020/02/18 18:58:53 [nodejs-scan] Detect project using plugin1222020/02/18 18:58:53 [nodejs-scan] Project is compatible1232020/02/18 18:58:53 [nodejs-scan] Downloading analyzer...124..............................................................1252020/02/18 18:58:57 [nodejs-scan] Starting analyzer...126Found project in /tmp/app12730 rules loaded128Successfully compiled 3 files with Babel.1292020/02/18 18:59:00 [eslint] Detect project using plugin1302020/02/18 18:59:00 [eslint] Project is compatible1312020/02/18 18:59:00 [eslint] Downloading analyzer...132.......................................................................1332020/02/18 18:59:06 [eslint] Starting analyzer...134Found project in /tmp/app1352020/02/18 18:59:10 [tslint] Detect project using plugin1362020/02/18 18:59:10 [tslint] Project not compatible1372020/02/18 18:59:10 [secrets] Detect project using plugin1382020/02/18 18:59:10 [secrets] Project is compatible1392020/02/18 18:59:10 [secrets] Downloading analyzer...140...........................1412020/02/18 18:59:14 [secrets] Starting analyzer...1422020/02/18 18:59:20 [sobelow] Detect project using plugin1432020/02/18 18:59:20 [sobelow] Project not compatible1442020/02/18 18:59:20 [pmd-apex] Detect project using plugin1452020/02/18 18:59:20 [pmd-apex] Project not compatible1462020/02/18 18:59:20 [kubesec] Detect project using plugin1472020/02/18 18:59:20 [kubesec] Project not compatible148+----------------------------------------------------------------------------------------+149| Severity | Tool | Location |150+----------------------------------------------------------------------------------------+152gl-sast-report.json: found 1 matching files 153Uploading artifacts to coordinator... ok id=37088672 responseStatus=201 Created token=StCq8m6v154Job succeeded