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.9.0 (4c96e5ad)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:a6e51fd179fb849f4ec6faee318101d32830103f5615215716bd686c56afaea1 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-26T22:55:50.515283967Z time="2020-03-26T22:55:50.510376072Z" level=info msg="Starting up"152020-03-26T22:55:50.515334741Z time="2020-03-26T22:55:50.511410375Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"162020-03-26T22:55:50.515339804Z time="2020-03-26T22:55:50.511577708Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"172020-03-26T22:55:50.515343384Z time="2020-03-26T22:55:50.512345873Z" level=info msg="libcontainerd: started new containerd process" pid=18182020-03-26T22:55:50.515346801Z time="2020-03-26T22:55:50.512377534Z" level=info msg="parsed scheme: \"unix\"" module=grpc192020-03-26T22:55:50.515350251Z time="2020-03-26T22:55:50.512385207Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc202020-03-26T22:55:50.515354104Z time="2020-03-26T22:55:50.512401372Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc212020-03-26T22:55:50.515360051Z time="2020-03-26T22:55:50.512409619Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc222020-03-26T22:55:50.617071042Z time="2020-03-26T22:55:50.542296400Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 232020-03-26T22:55:50.617093532Z time="2020-03-26T22:55:50.542605699Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 242020-03-26T22:55:50.617098366Z time="2020-03-26T22:55:50.542686320Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 252020-03-26T22:55:50.617102583Z time="2020-03-26T22:55:50.544081421Z" 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-26T22:55:50.617107882Z time="2020-03-26T22:55:50.544103518Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 272020-03-26T22:55:50.617111674Z time="2020-03-26T22:55:50.571043486Z" 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-26T22:55:50.617115750Z time="2020-03-26T22:55:50.571066992Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 292020-03-26T22:55:50.617119280Z time="2020-03-26T22:55:50.571171424Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 302020-03-26T22:55:50.617122688Z time="2020-03-26T22:55:50.571314582Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-03-26T22:55:50.617126086Z time="2020-03-26T22:55:50.571524185Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 322020-03-26T22:55:50.617129475Z time="2020-03-26T22:55:50.571532746Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 332020-03-26T22:55:50.617142339Z time="2020-03-26T22:55:50.571569687Z" 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-26T22:55:50.617146498Z time="2020-03-26T22:55:50.571576970Z" 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-26T22:55:50.617150286Z time="2020-03-26T22:55:50.571582208Z" 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-26T22:55:50.617154139Z time="2020-03-26T22:55:50.578588332Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 372020-03-26T22:55:50.617157490Z time="2020-03-26T22:55:50.578614234Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 382020-03-26T22:55:50.617160852Z time="2020-03-26T22:55:50.578638131Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 392020-03-26T22:55:50.617164207Z time="2020-03-26T22:55:50.578650371Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 402020-03-26T22:55:50.617167476Z time="2020-03-26T22:55:50.578661012Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 412020-03-26T22:55:50.617171122Z time="2020-03-26T22:55:50.578671530Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 422020-03-26T22:55:50.617174432Z time="2020-03-26T22:55:50.578682343Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 432020-03-26T22:55:50.617177839Z time="2020-03-26T22:55:50.578693720Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 442020-03-26T22:55:50.617181164Z time="2020-03-26T22:55:50.578702934Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 452020-03-26T22:55:50.617184427Z time="2020-03-26T22:55:50.578714065Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 462020-03-26T22:55:50.617188052Z time="2020-03-26T22:55:50.578872580Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 472020-03-26T22:55:50.617191337Z time="2020-03-26T22:55:50.578994676Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 482020-03-26T22:55:50.617194667Z time="2020-03-26T22:55:50.579305494Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 492020-03-26T22:55:50.617197916Z time="2020-03-26T22:55:50.579328996Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 502020-03-26T22:55:50.617212987Z time="2020-03-26T22:55:50.579363001Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 512020-03-26T22:55:50.617216584Z time="2020-03-26T22:55:50.579374694Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 522020-03-26T22:55:50.617219859Z time="2020-03-26T22:55:50.579384137Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 532020-03-26T22:55:50.617223174Z time="2020-03-26T22:55:50.579393824Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 542020-03-26T22:55:50.617226383Z time="2020-03-26T22:55:50.579403347Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 552020-03-26T22:55:50.617229722Z time="2020-03-26T22:55:50.579413389Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 562020-03-26T22:55:50.617232917Z time="2020-03-26T22:55:50.579422844Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 572020-03-26T22:55:50.617236195Z time="2020-03-26T22:55:50.579432677Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 582020-03-26T22:55:50.617239412Z time="2020-03-26T22:55:50.579441705Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 592020-03-26T22:55:50.617242743Z time="2020-03-26T22:55:50.579669400Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 602020-03-26T22:55:50.617245955Z time="2020-03-26T22:55:50.579684153Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 612020-03-26T22:55:50.617249576Z time="2020-03-26T22:55:50.579693939Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 622020-03-26T22:55:50.617252928Z time="2020-03-26T22:55:50.579703509Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 632020-03-26T22:55:50.617256283Z time="2020-03-26T22:55:50.579879723Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 642020-03-26T22:55:50.617259605Z time="2020-03-26T22:55:50.579955085Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 652020-03-26T22:55:50.617262783Z time="2020-03-26T22:55:50.579965907Z" level=info msg="containerd successfully booted in 0.039358s" 662020-03-26T22:55:50.617265899Z time="2020-03-26T22:55:50.597493660Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"672020-03-26T22:55:50.617269142Z time="2020-03-26T22:55:50.600239883Z" level=info msg="parsed scheme: \"unix\"" module=grpc682020-03-26T22:55:50.617272552Z time="2020-03-26T22:55:50.600260824Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc692020-03-26T22:55:50.617276034Z time="2020-03-26T22:55:50.600300302Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc702020-03-26T22:55:50.617282583Z time="2020-03-26T22:55:50.600321349Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc712020-03-26T22:55:50.617286134Z time="2020-03-26T22:55:50.606454708Z" level=info msg="parsed scheme: \"unix\"" module=grpc722020-03-26T22:55:50.617289305Z time="2020-03-26T22:55:50.606470835Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc732020-03-26T22:55:50.617292611Z time="2020-03-26T22:55:50.606494900Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc742020-03-26T22:55:50.617296215Z time="2020-03-26T22:55:50.606505070Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc752020-03-26T22:55:50.676364946Z time="2020-03-26T22:55:50.675013169Z" level=info msg="Loading containers: start."762020-03-26T22:55:50.703474661Z time="2020-03-26T22:55:50.703338988Z" 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-26T22:55:50.797004268Z time="2020-03-26T22:55:50.794791690Z" 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-26T22:55:50.871214769Z time="2020-03-26T22:55:50.867963537Z" level=info msg="Loading containers: done."792020-03-26T22:55:50.882983470Z time="2020-03-26T22:55:50.882611040Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8802020-03-26T22:55:50.883001181Z time="2020-03-26T22:55:50.882756247Z" level=info msg="Daemon has completed initialization"812020-03-26T22:55:50.929765210Z time="2020-03-26T22:55:50.929249040Z" level=info msg="API listen on [::]:2375"822020-03-26T22:55:50.929792605Z time="2020-03-26T22:55:50.929325943Z" level=info msg="API listen on /var/run/docker.sock"83*********84Pulling docker image docker:stable ...85Using docker image sha256:61b2e482e9de9ca3939dce4c90810c89fa7e7450f774590967c2908cba857ddd for docker:stable ...87Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1585263283-3c8f1fd2...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/12732497 -> refs/pipelines/1273249795 * [new branch] master -> origin/master96Checking out 04dc36db 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/26 22:56:29 Copy project directory to containers1142020/03/26 22:56:29 [bandit] Detect project using plugin1152020/03/26 22:56:29 [bandit] Project not compatible1162020/03/26 22:56:29 [brakeman] Detect project using plugin1172020/03/26 22:56:29 [brakeman] Project not compatible1182020/03/26 22:56:29 [gosec] Detect project using plugin1192020/03/26 22:56:29 [gosec] Project not compatible1202020/03/26 22:56:29 [spotbugs] Detect project using plugin1212020/03/26 22:56:29 [spotbugs] Project not compatible1222020/03/26 22:56:29 [flawfinder] Detect project using plugin1232020/03/26 22:56:29 [flawfinder] Project not compatible1242020/03/26 22:56:29 [phpcs-security-audit] Detect project using plugin1252020/03/26 22:56:29 [phpcs-security-audit] Project not compatible1262020/03/26 22:56:29 [security-code-scan] Detect project using plugin1272020/03/26 22:56:29 [security-code-scan] Project not compatible1282020/03/26 22:56:29 [nodejs-scan] Detect project using plugin1292020/03/26 22:56:29 [nodejs-scan] Project is compatible1302020/03/26 22:56:29 [nodejs-scan] Downloading analyzer...131.......................................................................1322020/03/26 22:56:34 [nodejs-scan] Starting analyzer...133Found project in /tmp/app13430 rules loaded135Successfully compiled 3 files with Babel.1362020/03/26 22:56:36 [eslint] Detect project using plugin1372020/03/26 22:56:36 [eslint] Project is compatible1382020/03/26 22:56:36 [eslint] Downloading analyzer...139..............................................................................1402020/03/26 22:56:42 [eslint] Starting analyzer...141Found project in /tmp/app1422020/03/26 22:56:46 [tslint] Detect project using plugin1432020/03/26 22:56:46 [tslint] Project not compatible1442020/03/26 22:56:46 [secrets] Detect project using plugin1452020/03/26 22:56:46 [secrets] Project is compatible1462020/03/26 22:56:46 [secrets] Downloading analyzer...147......................................................1482020/03/26 22:56:50 [secrets] Starting analyzer...1492020/03/26 22:56:53 [sobelow] Detect project using plugin1502020/03/26 22:56:53 [sobelow] Project not compatible1512020/03/26 22:56:53 [pmd-apex] Detect project using plugin1522020/03/26 22:56:53 [pmd-apex] Project not compatible1532020/03/26 22:56:53 [kubesec] Detect project using plugin1542020/03/26 22:56:53 [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=37125558 responseStatus=201 Created token=j2tYPTN1164Job succeeded