sast
Passed Started
by
@astoicescu
Andrei Stoicescu
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 12.9.0-rc1 (a350f628)2 on docker-auto-scale fa6cab464Using Docker executor with image docker:stable ...5Starting service docker:stable-dind ...6Pulling docker image docker:stable-dind ...7Using docker image sha256:fe98abf5dda7ec569bc4821f20ceca66945e67882fe32f960fb8b8f179af0e42 for docker:stable-dind ...8Waiting for services to be up and running...9*** WARNING: Service runner-fa6cab46-project-4422333-concurrent-0-docker-0 probably didn't start properly.10Health check error:11service "runner-fa6cab46-project-4422333-concurrent-0-docker-0-wait-for-service" timeout12Health check container logs:13Service container logs:142020-03-20T10:26:44.146959520Z time="2020-03-20T10:26:44.114872337Z" level=info msg="Starting up"152020-03-20T10:26:44.147018275Z time="2020-03-20T10:26:44.118611902Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"162020-03-20T10:26:44.147023035Z time="2020-03-20T10:26:44.118903768Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"172020-03-20T10:26:44.147026581Z time="2020-03-20T10:26:44.119748840Z" level=info msg="libcontainerd: started new containerd process" pid=18182020-03-20T10:26:44.147029887Z time="2020-03-20T10:26:44.119781975Z" level=info msg="parsed scheme: \"unix\"" module=grpc192020-03-20T10:26:44.147033309Z time="2020-03-20T10:26:44.119790163Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc202020-03-20T10:26:44.147036882Z time="2020-03-20T10:26:44.119811270Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc212020-03-20T10:26:44.147041127Z time="2020-03-20T10:26:44.119820830Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc222020-03-20T10:26:44.162918674Z time="2020-03-20T10:26:44.155421880Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 232020-03-20T10:26:44.162941171Z time="2020-03-20T10:26:44.155705858Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 242020-03-20T10:26:44.162945558Z time="2020-03-20T10:26:44.155774544Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 252020-03-20T10:26:44.162958006Z time="2020-03-20T10:26:44.155978149Z" 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" 262020-03-20T10:26:44.162964364Z time="2020-03-20T10:26:44.155990383Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 272020-03-20T10:26:44.215231893Z time="2020-03-20T10:26:44.171282955Z" 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" 282020-03-20T10:26:44.215253476Z time="2020-03-20T10:26:44.171303200Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 292020-03-20T10:26:44.215258253Z time="2020-03-20T10:26:44.171410630Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 302020-03-20T10:26:44.215261882Z time="2020-03-20T10:26:44.171539047Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-03-20T10:26:44.215265362Z time="2020-03-20T10:26:44.171736034Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 322020-03-20T10:26:44.215268786Z time="2020-03-20T10:26:44.171744497Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 332020-03-20T10:26:44.215280984Z time="2020-03-20T10:26:44.171783518Z" 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" 342020-03-20T10:26:44.215285084Z time="2020-03-20T10:26:44.171790515Z" 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" 352020-03-20T10:26:44.215289135Z time="2020-03-20T10:26:44.171797142Z" 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" 362020-03-20T10:26:44.215292845Z time="2020-03-20T10:26:44.200347420Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 372020-03-20T10:26:44.215297133Z time="2020-03-20T10:26:44.200381472Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 382020-03-20T10:26:44.215300591Z time="2020-03-20T10:26:44.200419948Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 392020-03-20T10:26:44.215303919Z time="2020-03-20T10:26:44.200432944Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 402020-03-20T10:26:44.215307196Z time="2020-03-20T10:26:44.200446310Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 412020-03-20T10:26:44.215310425Z time="2020-03-20T10:26:44.200457595Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 422020-03-20T10:26:44.215313788Z time="2020-03-20T10:26:44.200471044Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 432020-03-20T10:26:44.215317034Z time="2020-03-20T10:26:44.200481527Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 442020-03-20T10:26:44.215320374Z time="2020-03-20T10:26:44.200491071Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 452020-03-20T10:26:44.215323601Z time="2020-03-20T10:26:44.200504835Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 462020-03-20T10:26:44.215326861Z time="2020-03-20T10:26:44.200698326Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 472020-03-20T10:26:44.215330072Z time="2020-03-20T10:26:44.200798601Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 482020-03-20T10:26:44.215333293Z time="2020-03-20T10:26:44.201143133Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 492020-03-20T10:26:44.215336591Z time="2020-03-20T10:26:44.201177104Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 502020-03-20T10:26:44.215344082Z time="2020-03-20T10:26:44.201214734Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 512020-03-20T10:26:44.215347456Z time="2020-03-20T10:26:44.201227364Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 522020-03-20T10:26:44.215351168Z time="2020-03-20T10:26:44.201237314Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 532020-03-20T10:26:44.215354490Z time="2020-03-20T10:26:44.201246191Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 542020-03-20T10:26:44.215357847Z time="2020-03-20T10:26:44.201256185Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 552020-03-20T10:26:44.215361104Z time="2020-03-20T10:26:44.201267124Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 562020-03-20T10:26:44.215364677Z time="2020-03-20T10:26:44.201276390Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 572020-03-20T10:26:44.215367872Z time="2020-03-20T10:26:44.201285582Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 582020-03-20T10:26:44.215371105Z time="2020-03-20T10:26:44.201294510Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 592020-03-20T10:26:44.215374355Z time="2020-03-20T10:26:44.201943018Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 602020-03-20T10:26:44.215377671Z time="2020-03-20T10:26:44.201962587Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 612020-03-20T10:26:44.215380898Z time="2020-03-20T10:26:44.201973057Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 622020-03-20T10:26:44.215384121Z time="2020-03-20T10:26:44.201983264Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 632020-03-20T10:26:44.215387408Z time="2020-03-20T10:26:44.202178909Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 642020-03-20T10:26:44.215390677Z time="2020-03-20T10:26:44.202238170Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 652020-03-20T10:26:44.215393851Z time="2020-03-20T10:26:44.202246319Z" level=info msg="containerd successfully booted in 0.047392s" 662020-03-20T10:26:44.225945742Z time="2020-03-20T10:26:44.223678172Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"672020-03-20T10:26:44.225965120Z time="2020-03-20T10:26:44.223892893Z" level=info msg="parsed scheme: \"unix\"" module=grpc682020-03-20T10:26:44.225969589Z time="2020-03-20T10:26:44.223906029Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc692020-03-20T10:26:44.225980981Z time="2020-03-20T10:26:44.223949616Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc702020-03-20T10:26:44.225993649Z time="2020-03-20T10:26:44.223959592Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc712020-03-20T10:26:44.227117584Z time="2020-03-20T10:26:44.227020576Z" level=info msg="parsed scheme: \"unix\"" module=grpc722020-03-20T10:26:44.227376245Z time="2020-03-20T10:26:44.227156927Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc732020-03-20T10:26:44.227387242Z time="2020-03-20T10:26:44.227176107Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc742020-03-20T10:26:44.227391766Z time="2020-03-20T10:26:44.227185665Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc752020-03-20T10:26:44.307234009Z time="2020-03-20T10:26:44.307121259Z" level=info msg="Loading containers: start."762020-03-20T10:26:44.330938231Z time="2020-03-20T10:26:44.329137771Z" 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"772020-03-20T10:26:44.429937813Z time="2020-03-20T10:26:44.428328647Z" 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"782020-03-20T10:26:44.504939851Z time="2020-03-20T10:26:44.504435577Z" level=info msg="Loading containers: done."792020-03-20T10:26:44.524425968Z time="2020-03-20T10:26:44.524079757Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8802020-03-20T10:26:44.524442954Z time="2020-03-20T10:26:44.524219708Z" level=info msg="Daemon has completed initialization"812020-03-20T10:26:44.570138921Z time="2020-03-20T10:26:44.569908134Z" level=info msg="API listen on [::]:2375"822020-03-20T10:26:44.570173110Z time="2020-03-20T10:26:44.569986411Z" level=info msg="API listen on /var/run/docker.sock"83*********84Pulling docker image docker:stable ...85Using docker image sha256:f39826ae385e029ae634eb6a81091da60dae2e6ee2a19342c2e05ed4c3cb9171 for docker:stable ...87Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1584699931-031a4d62...89$ eval "$CI_PRE_CLONE_SCRIPT"90Fetching changes with git depth set to 50...91Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/92Created fresh repository.94 * [new ref] refs/pipelines/12726621 -> refs/pipelines/1272662195 * [new branch] master -> origin/master96Checking out 6bdc77e3 as master...97Skipping Git submodules setup101$ export SAST_VERSION=${SP_VERSION:-$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')}102$ if ! docker info &>/dev/null; then # collapsed multi-line command103$ 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' ' '`104$ docker run $ENVS \ # collapsed multi-line command105Unable to find image 'registry.gitlab.com/gitlab-org/security-products/sast:12-9-stable' locally10612-9-stable: Pulling from gitlab-org/security-products/sast107dade2898c231: Pulling fs layer108dade2898c231: Verifying Checksum109dade2898c231: Download complete110dade2898c231: Pull complete111Digest: sha256:8c99445fffb5cd0c7288d3a2c5d19f1dc70ade4d7d20816047b190ab02b7b505112Status: Downloaded newer image for registry.gitlab.com/gitlab-org/security-products/sast:12-9-stable1132020/03/20 10:27:23 Copy project directory to containers1142020/03/20 10:27:23 [bandit] Detect project using plugin1152020/03/20 10:27:23 [bandit] Project not compatible1162020/03/20 10:27:23 [brakeman] Detect project using plugin1172020/03/20 10:27:23 [brakeman] Project not compatible1182020/03/20 10:27:23 [gosec] Detect project using plugin1192020/03/20 10:27:23 [gosec] Project not compatible1202020/03/20 10:27:23 [spotbugs] Detect project using plugin1212020/03/20 10:27:23 [spotbugs] Project not compatible1222020/03/20 10:27:23 [flawfinder] Detect project using plugin1232020/03/20 10:27:23 [flawfinder] Project not compatible1242020/03/20 10:27:23 [phpcs-security-audit] Detect project using plugin1252020/03/20 10:27:23 [phpcs-security-audit] Project not compatible1262020/03/20 10:27:23 [security-code-scan] Detect project using plugin1272020/03/20 10:27:23 [security-code-scan] Project not compatible1282020/03/20 10:27:23 [nodejs-scan] Detect project using plugin1292020/03/20 10:27:23 [nodejs-scan] Project is compatible1302020/03/20 10:27:23 [nodejs-scan] Downloading analyzer...131........................................................................1322020/03/20 10:27:27 [nodejs-scan] Starting analyzer...133Found project in /tmp/app13430 rules loaded135Successfully compiled 3 files with Babel.1362020/03/20 10:27:30 [eslint] Detect project using plugin1372020/03/20 10:27:30 [eslint] Project is compatible1382020/03/20 10:27:30 [eslint] Downloading analyzer...139...............................................................................1402020/03/20 10:27:35 [eslint] Starting analyzer...141Found project in /tmp/app1422020/03/20 10:27:39 [tslint] Detect project using plugin1432020/03/20 10:27:39 [tslint] Project not compatible1442020/03/20 10:27:39 [secrets] Detect project using plugin1452020/03/20 10:27:39 [secrets] Project is compatible1462020/03/20 10:27:39 [secrets] Downloading analyzer...147.....................................................1482020/03/20 10:27:43 [secrets] Starting analyzer...1492020/03/20 10:27:47 [sobelow] Detect project using plugin1502020/03/20 10:27:47 [sobelow] Project not compatible1512020/03/20 10:27:47 [pmd-apex] Detect project using plugin1522020/03/20 10:27:47 [pmd-apex] Project not compatible1532020/03/20 10:27:47 [kubesec] Detect project using plugin1542020/03/20 10:27:47 [kubesec] Project not compatible155+----------------------------------------------------------------------------------------+156| Severity | Tool | Location |157+----------------------------------------------------------------------------------------+161Uploading artifacts...162gl-sast-report.json: found 1 matching files 163Uploading artifacts to coordinator... ok id=37117870 responseStatus=201 Created token=1PPYyvFT164Job succeeded