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 729897614Using 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-72989761-project-4422333-concurrent-0-docker-0 probably didn't start properly.10Health check error:11service "runner-72989761-project-4422333-concurrent-0-docker-0-wait-for-service" timeout12Health check container logs:13Service container logs:142020-03-20T10:23:38.847902032Z time="2020-03-20T10:23:38.817768836Z" level=info msg="Starting up"152020-03-20T10:23:38.849062849Z time="2020-03-20T10:23:38.819053311Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"162020-03-20T10:23:38.849083685Z time="2020-03-20T10:23:38.819242157Z" 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:23:38.849088228Z time="2020-03-20T10:23:38.820136577Z" level=info msg="libcontainerd: started new containerd process" pid=20182020-03-20T10:23:38.849092309Z time="2020-03-20T10:23:38.820174213Z" level=info msg="parsed scheme: \"unix\"" module=grpc192020-03-20T10:23:38.849096389Z time="2020-03-20T10:23:38.820182518Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc202020-03-20T10:23:38.849100742Z time="2020-03-20T10:23:38.820203828Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc212020-03-20T10:23:38.849105703Z time="2020-03-20T10:23:38.820214348Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc222020-03-20T10:23:38.861353881Z time="2020-03-20T10:23:38.859215554Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 232020-03-20T10:23:38.861383695Z time="2020-03-20T10:23:38.859564254Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 242020-03-20T10:23:38.861388257Z time="2020-03-20T10:23:38.859650106Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 252020-03-20T10:23:38.861392833Z time="2020-03-20T10:23:38.859830675Z" 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:23:38.861398618Z time="2020-03-20T10:23:38.859842679Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 272020-03-20T10:23:38.874085302Z time="2020-03-20T10:23:38.869772753Z" 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:23:38.874117971Z time="2020-03-20T10:23:38.869798097Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 292020-03-20T10:23:38.874123056Z time="2020-03-20T10:23:38.869905802Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 302020-03-20T10:23:38.874126761Z time="2020-03-20T10:23:38.870078182Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-03-20T10:23:38.874130206Z time="2020-03-20T10:23:38.870292309Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 322020-03-20T10:23:38.874133549Z time="2020-03-20T10:23:38.870300553Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 332020-03-20T10:23:38.874147119Z time="2020-03-20T10:23:38.870341394Z" 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" 342020-03-20T10:23:38.874151207Z time="2020-03-20T10:23:38.870348435Z" 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" 352020-03-20T10:23:38.874154973Z time="2020-03-20T10:23:38.870354485Z" 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" 362020-03-20T10:23:38.932859460Z time="2020-03-20T10:23:38.898719347Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 372020-03-20T10:23:38.933269136Z time="2020-03-20T10:23:38.898752509Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 382020-03-20T10:23:38.934867386Z time="2020-03-20T10:23:38.898795265Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 392020-03-20T10:23:38.934887528Z time="2020-03-20T10:23:38.898807384Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 402020-03-20T10:23:38.934891961Z time="2020-03-20T10:23:38.898817826Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 412020-03-20T10:23:38.934895725Z time="2020-03-20T10:23:38.898828760Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 422020-03-20T10:23:38.934899586Z time="2020-03-20T10:23:38.898840447Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 432020-03-20T10:23:38.934903180Z time="2020-03-20T10:23:38.898866181Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 442020-03-20T10:23:38.934906826Z time="2020-03-20T10:23:38.898876639Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 452020-03-20T10:23:38.934910507Z time="2020-03-20T10:23:38.898887739Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 462020-03-20T10:23:38.934914894Z time="2020-03-20T10:23:38.899146589Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 472020-03-20T10:23:38.934920152Z time="2020-03-20T10:23:38.899279870Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 482020-03-20T10:23:38.934924387Z time="2020-03-20T10:23:38.899633565Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 492020-03-20T10:23:38.934928058Z time="2020-03-20T10:23:38.899673091Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 502020-03-20T10:23:38.934992677Z time="2020-03-20T10:23:38.899709080Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 512020-03-20T10:23:38.934996463Z time="2020-03-20T10:23:38.899722265Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 522020-03-20T10:23:38.934999575Z time="2020-03-20T10:23:38.899732199Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 532020-03-20T10:23:38.935002787Z time="2020-03-20T10:23:38.899760091Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 542020-03-20T10:23:38.935005916Z time="2020-03-20T10:23:38.899770295Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 552020-03-20T10:23:38.935009074Z time="2020-03-20T10:23:38.899780935Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 562020-03-20T10:23:38.935012189Z time="2020-03-20T10:23:38.899790668Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 572020-03-20T10:23:38.935015390Z time="2020-03-20T10:23:38.899799707Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 582020-03-20T10:23:38.935018585Z time="2020-03-20T10:23:38.899808969Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 592020-03-20T10:23:38.935021834Z time="2020-03-20T10:23:38.900168657Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 602020-03-20T10:23:38.935025039Z time="2020-03-20T10:23:38.900199988Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 612020-03-20T10:23:38.935029933Z time="2020-03-20T10:23:38.900211120Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 622020-03-20T10:23:38.935033135Z time="2020-03-20T10:23:38.900220463Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 632020-03-20T10:23:38.935044502Z time="2020-03-20T10:23:38.900461748Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 642020-03-20T10:23:38.935048281Z time="2020-03-20T10:23:38.900536649Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 652020-03-20T10:23:38.935051500Z time="2020-03-20T10:23:38.900546924Z" level=info msg="containerd successfully booted in 0.042125s" 662020-03-20T10:23:38.935055081Z time="2020-03-20T10:23:38.907676726Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"672020-03-20T10:23:38.935058400Z time="2020-03-20T10:23:38.907867426Z" level=info msg="parsed scheme: \"unix\"" module=grpc682020-03-20T10:23:38.935061742Z time="2020-03-20T10:23:38.907880456Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc692020-03-20T10:23:38.935065156Z time="2020-03-20T10:23:38.907896298Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc702020-03-20T10:23:38.935071866Z time="2020-03-20T10:23:38.907905082Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc712020-03-20T10:23:38.935075332Z time="2020-03-20T10:23:38.915757989Z" level=info msg="parsed scheme: \"unix\"" module=grpc722020-03-20T10:23:38.935078386Z time="2020-03-20T10:23:38.915796918Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc732020-03-20T10:23:38.935081750Z time="2020-03-20T10:23:38.915815374Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc742020-03-20T10:23:38.935085171Z time="2020-03-20T10:23:38.915824795Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc752020-03-20T10:23:38.971040826Z time="2020-03-20T10:23:38.969924073Z" level=info msg="Loading containers: start."762020-03-20T10:23:38.991037527Z time="2020-03-20T10:23:38.989550900Z" 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:23:39.123059122Z time="2020-03-20T10:23:39.121517609Z" 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:23:39.177045492Z time="2020-03-20T10:23:39.176002717Z" level=info msg="Loading containers: done."792020-03-20T10:23:39.200309126Z time="2020-03-20T10:23:39.199904301Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8802020-03-20T10:23:39.200328536Z time="2020-03-20T10:23:39.200083485Z" level=info msg="Daemon has completed initialization"812020-03-20T10:23:39.259063466Z time="2020-03-20T10:23:39.258761475Z" level=info msg="API listen on [::]:2375"822020-03-20T10:23:39.259113880Z time="2020-03-20T10:23:39.258847882Z" 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-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1584699747-c6ab0473...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/12726618 -> refs/pipelines/1272661895 * [new branch] master -> origin/master96Checking out 92e63927 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:24:19 Copy project directory to containers1142020/03/20 10:24:19 [bandit] Detect project using plugin1152020/03/20 10:24:19 [bandit] Project not compatible1162020/03/20 10:24:19 [brakeman] Detect project using plugin1172020/03/20 10:24:19 [brakeman] Project not compatible1182020/03/20 10:24:19 [gosec] Detect project using plugin1192020/03/20 10:24:19 [gosec] Project not compatible1202020/03/20 10:24:19 [spotbugs] Detect project using plugin1212020/03/20 10:24:19 [spotbugs] Project not compatible1222020/03/20 10:24:19 [flawfinder] Detect project using plugin1232020/03/20 10:24:19 [flawfinder] Project not compatible1242020/03/20 10:24:19 [phpcs-security-audit] Detect project using plugin1252020/03/20 10:24:19 [phpcs-security-audit] Project not compatible1262020/03/20 10:24:19 [security-code-scan] Detect project using plugin1272020/03/20 10:24:19 [security-code-scan] Project not compatible1282020/03/20 10:24:19 [nodejs-scan] Detect project using plugin1292020/03/20 10:24:19 [nodejs-scan] Project is compatible1302020/03/20 10:24:19 [nodejs-scan] Downloading analyzer...131........................................................................1322020/03/20 10:24:23 [nodejs-scan] Starting analyzer...133Found project in /tmp/app13430 rules loaded135Successfully compiled 3 files with Babel.1362020/03/20 10:24:26 [eslint] Detect project using plugin1372020/03/20 10:24:26 [eslint] Project is compatible1382020/03/20 10:24:26 [eslint] Downloading analyzer...139.............................................................................1402020/03/20 10:24:32 [eslint] Starting analyzer...141Found project in /tmp/app1422020/03/20 10:24:36 [tslint] Detect project using plugin1432020/03/20 10:24:36 [tslint] Project not compatible1442020/03/20 10:24:36 [secrets] Detect project using plugin1452020/03/20 10:24:36 [secrets] Project is compatible1462020/03/20 10:24:36 [secrets] Downloading analyzer...147.....................................................1482020/03/20 10:24:41 [secrets] Starting analyzer...1492020/03/20 10:24:44 [sobelow] Detect project using plugin1502020/03/20 10:24:44 [sobelow] Project not compatible1512020/03/20 10:24:44 [pmd-apex] Detect project using plugin1522020/03/20 10:24:44 [pmd-apex] Project not compatible1532020/03/20 10:24:44 [kubesec] Detect project using plugin154+----------------------------------------------------------------------------------------+155| Severity | Tool | Location |156+----------------------------------------------------------------------------------------+1572020/03/20 10:24:44 [kubesec] Project not compatible161Uploading artifacts...162gl-sast-report.json: found 1 matching files 163Uploading artifacts to coordinator... ok id=37117856 responseStatus=201 Created token=wR6iTCLj164Job succeeded