sast
Passed Started
by
@mrincon
Miguel Rincon
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-18T03:11:37.598545742Z time="2020-02-18T03:11:37.598393396Z" level=info msg="Starting up"142020-02-18T03:11:37.607686464Z time="2020-02-18T03:11:37.607596618Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"152020-02-18T03:11:37.608023332Z time="2020-02-18T03:11:37.607959149Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"162020-02-18T03:11:37.609029398Z time="2020-02-18T03:11:37.608958204Z" level=info msg="libcontainerd: started new containerd process" pid=18172020-02-18T03:11:37.609144442Z time="2020-02-18T03:11:37.609101852Z" level=info msg="parsed scheme: \"unix\"" module=grpc182020-02-18T03:11:37.609191893Z time="2020-02-18T03:11:37.609164858Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc192020-02-18T03:11:37.609277790Z time="2020-02-18T03:11:37.609240221Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc202020-02-18T03:11:37.609359698Z time="2020-02-18T03:11:37.609327429Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc212020-02-18T03:11:37.664297958Z time="2020-02-18T03:11:37.664165502Z" level=info msg="starting containerd" revision=35bd7a5f69c13e1563af8a93431411cd9ecf5021 version=v1.2.12 222020-02-18T03:11:37.665673587Z time="2020-02-18T03:11:37.665595177Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 232020-02-18T03:11:37.665877006Z time="2020-02-18T03:11:37.665833697Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 242020-02-18T03:11:37.666240705Z time="2020-02-18T03:11:37.666176387Z" 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-18T03:11:37.666321339Z time="2020-02-18T03:11:37.666272235Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 262020-02-18T03:11:37.671184111Z time="2020-02-18T03:11:37.671091029Z" 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-18T03:11:37.671274752Z time="2020-02-18T03:11:37.671241963Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 282020-02-18T03:11:37.671477718Z time="2020-02-18T03:11:37.671427632Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 292020-02-18T03:11:37.671738102Z time="2020-02-18T03:11:37.671690159Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 302020-02-18T03:11:37.672057049Z time="2020-02-18T03:11:37.672010081Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-02-18T03:11:37.672121143Z time="2020-02-18T03:11:37.672085346Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 322020-02-18T03:11:37.672255120Z time="2020-02-18T03:11:37.672209941Z" 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-18T03:11:37.672368936Z time="2020-02-18T03:11:37.672278813Z" 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-18T03:11:37.672418889Z time="2020-02-18T03:11:37.672393196Z" 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-18T03:11:37.735430004Z time="2020-02-18T03:11:37.734380635Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 362020-02-18T03:11:37.735462392Z time="2020-02-18T03:11:37.734417460Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 372020-02-18T03:11:37.735467344Z time="2020-02-18T03:11:37.734444849Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 382020-02-18T03:11:37.735471361Z time="2020-02-18T03:11:37.734457068Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 392020-02-18T03:11:37.735475336Z time="2020-02-18T03:11:37.734466954Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 402020-02-18T03:11:37.735479096Z time="2020-02-18T03:11:37.734477500Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 412020-02-18T03:11:37.735482863Z time="2020-02-18T03:11:37.734489128Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 422020-02-18T03:11:37.735486442Z time="2020-02-18T03:11:37.734500170Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 432020-02-18T03:11:37.735490112Z time="2020-02-18T03:11:37.734510395Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 442020-02-18T03:11:37.735493692Z time="2020-02-18T03:11:37.734522550Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 452020-02-18T03:11:37.735497335Z time="2020-02-18T03:11:37.734765857Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 462020-02-18T03:11:37.735501712Z time="2020-02-18T03:11:37.734874476Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 472020-02-18T03:11:37.735505315Z time="2020-02-18T03:11:37.735190616Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 482020-02-18T03:11:37.735508839Z time="2020-02-18T03:11:37.735215938Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 492020-02-18T03:11:37.735535503Z time="2020-02-18T03:11:37.735250524Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 502020-02-18T03:11:37.735539719Z time="2020-02-18T03:11:37.735262736Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 512020-02-18T03:11:37.735543033Z time="2020-02-18T03:11:37.735273279Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 522020-02-18T03:11:37.736566018Z time="2020-02-18T03:11:37.736331660Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 532020-02-18T03:11:37.736577316Z time="2020-02-18T03:11:37.736352060Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 542020-02-18T03:11:37.736581353Z time="2020-02-18T03:11:37.736364431Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 552020-02-18T03:11:37.737366020Z time="2020-02-18T03:11:37.736374709Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 562020-02-18T03:11:37.737378374Z time="2020-02-18T03:11:37.736632578Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 572020-02-18T03:11:37.737382364Z time="2020-02-18T03:11:37.736643869Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 582020-02-18T03:11:37.737385785Z time="2020-02-18T03:11:37.736887720Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 592020-02-18T03:11:37.737389156Z time="2020-02-18T03:11:37.736903157Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 602020-02-18T03:11:37.737392529Z time="2020-02-18T03:11:37.736913386Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 612020-02-18T03:11:37.737395973Z time="2020-02-18T03:11:37.736923167Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 622020-02-18T03:11:37.737399334Z time="2020-02-18T03:11:37.737134369Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 632020-02-18T03:11:37.737402689Z time="2020-02-18T03:11:37.737192968Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 642020-02-18T03:11:37.737405882Z time="2020-02-18T03:11:37.737202867Z" level=info msg="containerd successfully booted in 0.075450s" 652020-02-18T03:11:37.742932513Z time="2020-02-18T03:11:37.742860209Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"662020-02-18T03:11:37.761490716Z time="2020-02-18T03:11:37.750115415Z" level=info msg="parsed scheme: \"unix\"" module=grpc672020-02-18T03:11:37.761530521Z time="2020-02-18T03:11:37.750142023Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc682020-02-18T03:11:37.761535777Z time="2020-02-18T03:11:37.750168975Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc692020-02-18T03:11:37.761549570Z time="2020-02-18T03:11:37.750184327Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc702020-02-18T03:11:37.786766532Z time="2020-02-18T03:11:37.784373281Z" level=info msg="parsed scheme: \"unix\"" module=grpc712020-02-18T03:11:37.786786028Z time="2020-02-18T03:11:37.784398678Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc722020-02-18T03:11:37.786790748Z time="2020-02-18T03:11:37.784426474Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc732020-02-18T03:11:37.786795493Z time="2020-02-18T03:11:37.784442942Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc742020-02-18T03:11:37.888830897Z time="2020-02-18T03:11:37.888724122Z" level=info msg="Loading containers: start."752020-02-18T03:11:37.897597162Z time="2020-02-18T03:11:37.897452252Z" 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-18T03:11:37.953892759Z time="2020-02-18T03:11:37.953768593Z" 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-18T03:11:38.060416342Z time="2020-02-18T03:11:38.059651138Z" level=info msg="Loading containers: done."782020-02-18T03:11:38.119862361Z time="2020-02-18T03:11:38.119407406Z" level=info msg="Docker daemon" commit=369ce74a3c graphdriver(s)=overlay2 version=19.03.6792020-02-18T03:11:38.119880594Z time="2020-02-18T03:11:38.119582025Z" level=info msg="Daemon has completed initialization"802020-02-18T03:11:38.193844720Z time="2020-02-18T03:11:38.193645342Z" level=info msg="API listen on [::]:2375"812020-02-18T03:11:38.193882820Z time="2020-02-18T03:11:38.193721653Z" 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-1581995422-a96019da...
00:02
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/12714643 -> refs/pipelines/1271464392 * [new branch] master -> origin/master93Checking out edce5e06 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:32
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 03:12:18 Copy project directory to containers1072020/02/18 03:12:18 [bandit] Detect project using plugin1082020/02/18 03:12:18 [bandit] Project not compatible1092020/02/18 03:12:18 [brakeman] Detect project using plugin1102020/02/18 03:12:18 [brakeman] Project not compatible1112020/02/18 03:12:18 [gosec] Detect project using plugin1122020/02/18 03:12:18 [gosec] Project not compatible1132020/02/18 03:12:18 [spotbugs] Detect project using plugin1142020/02/18 03:12:18 [spotbugs] Project not compatible1152020/02/18 03:12:18 [flawfinder] Detect project using plugin1162020/02/18 03:12:18 [flawfinder] Project not compatible1172020/02/18 03:12:18 [phpcs-security-audit] Detect project using plugin1182020/02/18 03:12:18 [phpcs-security-audit] Project not compatible1192020/02/18 03:12:18 [security-code-scan] Detect project using plugin1202020/02/18 03:12:18 [security-code-scan] Project not compatible1212020/02/18 03:12:18 [nodejs-scan] Detect project using plugin1222020/02/18 03:12:18 [nodejs-scan] Project is compatible1232020/02/18 03:12:18 [nodejs-scan] Downloading analyzer...124.............................................................1252020/02/18 03:12:23 [nodejs-scan] Starting analyzer...126Found project in /tmp/app12730 rules loaded128Successfully compiled 3 files with Babel.1292020/02/18 03:12:26 [eslint] Detect project using plugin1302020/02/18 03:12:26 [eslint] Project is compatible1312020/02/18 03:12:26 [eslint] Downloading analyzer...132.......................................................................1332020/02/18 03:12:32 [eslint] Starting analyzer...134Found project in /tmp/app1352020/02/18 03:12:36 [tslint] Detect project using plugin1362020/02/18 03:12:36 [tslint] Project not compatible1372020/02/18 03:12:36 [secrets] Detect project using plugin1382020/02/18 03:12:36 [secrets] Project is compatible1392020/02/18 03:12:36 [secrets] Downloading analyzer...140...........................1412020/02/18 03:12:40 [secrets] Starting analyzer...1422020/02/18 03:12:47 [sobelow] Detect project using plugin1432020/02/18 03:12:47 [sobelow] Project not compatible1442020/02/18 03:12:47 [pmd-apex] Detect project using plugin1452020/02/18 03:12:47 [pmd-apex] Project not compatible1462020/02/18 03:12:47 [kubesec] Detect project using plugin1472020/02/18 03:12:47 [kubesec] Project not compatible148+----------------------------------------------------------------------------------------+149| Severity | Tool | Location |150+----------------------------------------------------------------------------------------+152gl-sast-report.json: found 1 matching files 153Uploading artifacts to coordinator... ok id=37087811 responseStatus=201 Created token=3cUySzHc154Job succeeded