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 729897614Using 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-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-04-06T18:29:17.023319219Z time="2020-04-06T18:29:16.989300044Z" level=info msg="Starting up"152020-04-06T18:29:17.023386069Z time="2020-04-06T18:29:16.990876929Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"162020-04-06T18:29:17.023391486Z time="2020-04-06T18:29:16.991142885Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"172020-04-06T18:29:17.023395125Z time="2020-04-06T18:29:16.992149636Z" level=info msg="libcontainerd: started new containerd process" pid=18182020-04-06T18:29:17.023398795Z time="2020-04-06T18:29:16.992190817Z" level=info msg="parsed scheme: \"unix\"" module=grpc192020-04-06T18:29:17.023402635Z time="2020-04-06T18:29:16.992200137Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc202020-04-06T18:29:17.023406311Z time="2020-04-06T18:29:16.992217900Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc212020-04-06T18:29:17.023410647Z time="2020-04-06T18:29:16.992227433Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc222020-04-06T18:29:17.050223442Z time="2020-04-06T18:29:17.036145226Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 232020-04-06T18:29:17.050266019Z time="2020-04-06T18:29:17.036503705Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 242020-04-06T18:29:17.050271694Z time="2020-04-06T18:29:17.036591623Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 252020-04-06T18:29:17.050277510Z time="2020-04-06T18:29:17.036819782Z" 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-04-06T18:29:17.050294261Z time="2020-04-06T18:29:17.036834383Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 272020-04-06T18:29:17.063200919Z time="2020-04-06T18:29:17.059455799Z" 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-04-06T18:29:17.099004919Z time="2020-04-06T18:29:17.059482724Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 292020-04-06T18:29:17.101117150Z time="2020-04-06T18:29:17.059631369Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 302020-04-06T18:29:17.101135047Z time="2020-04-06T18:29:17.059817111Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 312020-04-06T18:29:17.101139936Z time="2020-04-06T18:29:17.060148889Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 322020-04-06T18:29:17.101143677Z time="2020-04-06T18:29:17.060159668Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 332020-04-06T18:29:17.101158467Z time="2020-04-06T18:29:17.060220902Z" 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-04-06T18:29:17.101163064Z time="2020-04-06T18:29:17.060230742Z" 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-04-06T18:29:17.101167135Z time="2020-04-06T18:29:17.060236553Z" 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" 362020-04-06T18:29:17.109265162Z time="2020-04-06T18:29:17.105864461Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 372020-04-06T18:29:17.109295162Z time="2020-04-06T18:29:17.105922733Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 382020-04-06T18:29:17.109300576Z time="2020-04-06T18:29:17.105955827Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 392020-04-06T18:29:17.109305258Z time="2020-04-06T18:29:17.105970048Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 402020-04-06T18:29:17.109309615Z time="2020-04-06T18:29:17.105995103Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 412020-04-06T18:29:17.109314011Z time="2020-04-06T18:29:17.106008268Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 422020-04-06T18:29:17.109318288Z time="2020-04-06T18:29:17.106021607Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 432020-04-06T18:29:17.109322368Z time="2020-04-06T18:29:17.106033646Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 442020-04-06T18:29:17.109326564Z time="2020-04-06T18:29:17.106044716Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 452020-04-06T18:29:17.109330676Z time="2020-04-06T18:29:17.106081015Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 462020-04-06T18:29:17.109334924Z time="2020-04-06T18:29:17.106427472Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 472020-04-06T18:29:17.109339010Z time="2020-04-06T18:29:17.106583402Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 482020-04-06T18:29:17.109343276Z time="2020-04-06T18:29:17.107051655Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 492020-04-06T18:29:17.109347406Z time="2020-04-06T18:29:17.107115554Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 502020-04-06T18:29:17.109365189Z time="2020-04-06T18:29:17.107157461Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 512020-04-06T18:29:17.109369787Z time="2020-04-06T18:29:17.107170422Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 522020-04-06T18:29:17.109373957Z time="2020-04-06T18:29:17.107196948Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 532020-04-06T18:29:17.109378268Z time="2020-04-06T18:29:17.107213525Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 542020-04-06T18:29:17.109382661Z time="2020-04-06T18:29:17.107225124Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 552020-04-06T18:29:17.109386793Z time="2020-04-06T18:29:17.107236159Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 562020-04-06T18:29:17.109390905Z time="2020-04-06T18:29:17.107246527Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 572020-04-06T18:29:17.109395008Z time="2020-04-06T18:29:17.107270534Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 582020-04-06T18:29:17.109399258Z time="2020-04-06T18:29:17.107281941Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 592020-04-06T18:29:17.109403448Z time="2020-04-06T18:29:17.107801968Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 602020-04-06T18:29:17.109407679Z time="2020-04-06T18:29:17.107824295Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 612020-04-06T18:29:17.109411814Z time="2020-04-06T18:29:17.107835549Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 622020-04-06T18:29:17.109416036Z time="2020-04-06T18:29:17.107846473Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 632020-04-06T18:29:17.109420253Z time="2020-04-06T18:29:17.108161202Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 642020-04-06T18:29:17.109424438Z time="2020-04-06T18:29:17.108252624Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 652020-04-06T18:29:17.109428564Z time="2020-04-06T18:29:17.108280293Z" level=info msg="containerd successfully booted in 0.072868s" 662020-04-06T18:29:17.118404688Z time="2020-04-06T18:29:17.118295955Z" level=info msg="Setting the storage driver from the $DOCKER_DRIVER environment variable (overlay2)"672020-04-06T18:29:17.119750321Z time="2020-04-06T18:29:17.119666934Z" level=info msg="parsed scheme: \"unix\"" module=grpc682020-04-06T18:29:17.119839817Z time="2020-04-06T18:29:17.119784058Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc692020-04-06T18:29:17.119913193Z time="2020-04-06T18:29:17.119873284Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc702020-04-06T18:29:17.119986054Z time="2020-04-06T18:29:17.119951975Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc712020-04-06T18:29:17.137144833Z time="2020-04-06T18:29:17.136031101Z" level=info msg="parsed scheme: \"unix\"" module=grpc722020-04-06T18:29:17.137734995Z time="2020-04-06T18:29:17.137204416Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc732020-04-06T18:29:17.137747204Z time="2020-04-06T18:29:17.137304301Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 <nil>}] <nil>}" module=grpc742020-04-06T18:29:17.137752063Z time="2020-04-06T18:29:17.137365492Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc752020-04-06T18:29:17.223324447Z time="2020-04-06T18:29:17.222597802Z" level=info msg="Loading containers: start."762020-04-06T18:29:17.246231341Z time="2020-04-06T18:29:17.244800703Z" 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-04-06T18:29:17.369219496Z time="2020-04-06T18:29:17.365378300Z" 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-04-06T18:29:17.492262491Z time="2020-04-06T18:29:17.491787733Z" level=info msg="Loading containers: done."792020-04-06T18:29:17.524962951Z time="2020-04-06T18:29:17.524818154Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8802020-04-06T18:29:17.525290488Z time="2020-04-06T18:29:17.525217703Z" level=info msg="Daemon has completed initialization"812020-04-06T18:29:17.559630986Z time="2020-04-06T18:29:17.559470017Z" level=info msg="API listen on [::]:2375"822020-04-06T18:29:17.560052721Z time="2020-04-06T18:29:17.559964288Z" 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-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1586197687-82024cae...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/12741992 -> refs/pipelines/1274199295 * [new branch] master -> origin/master96Checking out 4ddfcf04 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$ docker run \ # collapsed multi-line command104Unable to find image 'registry.gitlab.com/gitlab-org/security-products/sast:12-10-stable' locally10512-10-stable: Pulling from gitlab-org/security-products/sast106dade2898c231: Pulling fs layer107dade2898c231: Verifying Checksum108dade2898c231: Download complete109dade2898c231: Pull complete110Digest: sha256:0d539fa0685201852631e35ee9f0d4216ada62d8411dfef2dc58ea84c5a8d1eb111Status: Downloaded newer image for registry.gitlab.com/gitlab-org/security-products/sast:12-10-stable1122020/04/06 18:29:56 Copy project directory to containers1132020/04/06 18:29:56 [bandit] Detect project using plugin1142020/04/06 18:29:56 [bandit] Project not compatible1152020/04/06 18:29:56 [brakeman] Detect project using plugin1162020/04/06 18:29:56 [brakeman] Project not compatible1172020/04/06 18:29:56 [gosec] Detect project using plugin1182020/04/06 18:29:56 [gosec] Project not compatible1192020/04/06 18:29:56 [spotbugs] Detect project using plugin1202020/04/06 18:29:56 [spotbugs] Project not compatible1212020/04/06 18:29:56 [flawfinder] Detect project using plugin1222020/04/06 18:29:56 [flawfinder] Project not compatible1232020/04/06 18:29:56 [phpcs-security-audit] Detect project using plugin1242020/04/06 18:29:56 [phpcs-security-audit] Project not compatible1252020/04/06 18:29:56 [security-code-scan] Detect project using plugin1262020/04/06 18:29:56 [security-code-scan] Project not compatible1272020/04/06 18:29:56 [nodejs-scan] Detect project using plugin1282020/04/06 18:29:56 [nodejs-scan] Project is compatible1292020/04/06 18:29:56 [nodejs-scan] Downloading analyzer...130........................................................................1312020/04/06 18:30:01 [nodejs-scan] Starting analyzer...132Found project in /tmp/app13330 rules loaded134Successfully compiled 3 files with Babel.1352020/04/06 18:30:03 [eslint] Detect project using plugin1362020/04/06 18:30:03 [eslint] Project is compatible1372020/04/06 18:30:03 [eslint] Downloading analyzer...138.............................................................................2020/04/06 18:30:10 [eslint] Starting analyzer...139.140Found project in /tmp/app1412020/04/06 18:30:13 [tslint] Detect project using plugin1422020/04/06 18:30:13 [tslint] Project not compatible1432020/04/06 18:30:13 [secrets] Detect project using plugin1442020/04/06 18:30:13 [secrets] Project is compatible1452020/04/06 18:30:13 [secrets] Downloading analyzer...146......................................................1472020/04/06 18:30:17 [secrets] Starting analyzer...1482020/04/06 18:30:19 [sobelow] Detect project using plugin1492020/04/06 18:30:19 [sobelow] Project not compatible1502020/04/06 18:30:19 [pmd-apex] Detect project using plugin1512020/04/06 18:30:19 [pmd-apex] Project not compatible1522020/04/06 18:30:19 [kubesec] Detect project using plugin1532020/04/06 18:30:19 [kubesec] Project not compatible154+----------------------------------------------------------------------------------------+155| Severity | Tool | Location |156+----------------------------------------------------------------------------------------+160Uploading artifacts...161gl-sast-report.json: found 1 matching files 162Uploading artifacts to coordinator... ok id=37141756 responseStatus=201 Created token=hZ5k4szT163Job succeeded