Push event to branch edgex-modbus-simulator Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ce87a93572ee99cd857d0cff605f3d655d9b9df5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/edgex-modbus-simulator/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:edgex-modbus-simulator, mavenSettings:device-modbus-go-settings, dockerImageName:edgex-modbus-simulator, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[1.0.0], releaseBranchOverride:edgex-modbus-simulator] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: edgex-modbus-simulator USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: edgex-modbus-simulator DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: edgex-modbus-simulator-archive.tar.gz SEMVER_BUMP_LEVEL: pre SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: edgex-modbus-simulator DOCKER_CUSTOM_TAGS: 1.0.0 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14157 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/modbus-go_edgex-modbus-simulator # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 Checking out Revision ce87a93572ee99cd857d0cff605f3d655d9b9df5 (edgex-modbus-simulator) > git config core.sparsecheckout # timeout=10 > git checkout -f ce87a93572ee99cd857d0cff605f3d655d9b9df5 # timeout=10 Commit message: "Merge pull request #197 from weichou1229/issue-196" > git rev-list --no-walk 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-02T07:59:47.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-02T07:59:47.970Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-02T07:59:48.081Z] ========================================================= [2020-12-02T07:59:48.081Z] EdgeX Global Pipelines Version Info [2020-12-02T07:59:48.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-02T07:59:49.577Z] ------------------- [2020-12-02T07:59:49.577Z] stable info: [2020-12-02T07:59:49.577Z] ------------------- [2020-12-02T07:59:49.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-02T07:59:49.577Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T07:59:49.577Z] Message: update stable to v1.0.169 [2020-12-02T07:59:50.526Z] ------------------- [2020-12-02T07:59:50.526Z] experimental info: [2020-12-02T07:59:50.526Z] ------------------- [2020-12-02T07:59:50.526Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-02T07:59:50.526Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T07:59:50.526Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-12-02T07:59:50.858Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-02T07:59:50.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:51.114Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-12-02T07:59:51.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-02T07:59:51.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-02T07:59:51.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:51.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-12-02T07:59:51.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-12-02T07:59:51.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-12-02T07:59:51.785Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T07:59:51.866Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-12-02T07:59:51.948Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-modbus-simulator-archive.tar.gz [Pipeline] echo [2020-12-02T07:59:52.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-02T07:59:52.117Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-02T07:59:52.196Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:52.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 1.0.0 [Pipeline] echo [2020-12-02T07:59:52.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:52.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:52.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = edgex-modbus-simulator [Pipeline] echo [2020-12-02T07:59:52.619Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce87a93572ee99cd857d0cff605f3d655d9b9df5 [Pipeline] echo [2020-12-02T07:59:52.713Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce87a93 [Pipeline] echo [2020-12-02T07:59:52.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T07:59:52.972Z] provisioning config files... [2020-12-02T07:59:53.000Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config48721931831540585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T07:59:53.350Z] ---> docker-login.sh [2020-12-02T07:59:53.350Z] nexus3.edgexfoundry.org:10001 [2020-12-02T07:59:53.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:53.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:53.874Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:53.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:53.874Z] [2020-12-02T07:59:53.874Z] Login Succeeded [2020-12-02T07:59:53.874Z] nexus3.edgexfoundry.org:10002 [2020-12-02T07:59:53.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:53.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:53.874Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:53.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:53.874Z] [2020-12-02T07:59:53.874Z] Login Succeeded [2020-12-02T07:59:53.874Z] nexus3.edgexfoundry.org:10003 [2020-12-02T07:59:54.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:54.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:54.136Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:54.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:54.136Z] [2020-12-02T07:59:54.136Z] Login Succeeded [2020-12-02T07:59:54.136Z] nexus3.edgexfoundry.org:10004 [2020-12-02T07:59:54.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:54.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:54.399Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:54.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:54.399Z] [2020-12-02T07:59:54.399Z] Login Succeeded [2020-12-02T07:59:54.399Z] docker.io [2020-12-02T07:59:54.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:54.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:54.662Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:54.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:54.662Z] [2020-12-02T07:59:54.662Z] Login Succeeded [2020-12-02T07:59:54.662Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T07:59:54.671Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T07:59:55.891Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-02T07:59:56.198Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T07:59:56.498Z] + sudo service docker restart [2020-12-02T07:59:56.498Z] + true [2020-12-02T07:59:56.498Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T07:59:57.506Z] provisioning config files... [2020-12-02T07:59:57.530Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config6427047145549669358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T07:59:57.884Z] ---> docker-login.sh [2020-12-02T07:59:57.884Z] nexus3.edgexfoundry.org:10001 [2020-12-02T07:59:57.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:58.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:58.149Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:58.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:58.149Z] [2020-12-02T07:59:58.149Z] Login Succeeded [2020-12-02T07:59:58.149Z] nexus3.edgexfoundry.org:10002 [2020-12-02T07:59:58.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:58.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:58.149Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:58.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:58.149Z] [2020-12-02T07:59:58.149Z] Login Succeeded [2020-12-02T07:59:58.149Z] nexus3.edgexfoundry.org:10003 [2020-12-02T07:59:58.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:58.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:58.411Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:58.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:58.411Z] [2020-12-02T07:59:58.411Z] Login Succeeded [2020-12-02T07:59:58.411Z] nexus3.edgexfoundry.org:10004 [2020-12-02T07:59:58.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:58.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:58.674Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:58.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:58.674Z] [2020-12-02T07:59:58.674Z] Login Succeeded [2020-12-02T07:59:58.674Z] docker.io [2020-12-02T07:59:58.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T07:59:58.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T07:59:58.936Z] Configure a credential helper to remove this warning. See [2020-12-02T07:59:58.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T07:59:58.936Z] [2020-12-02T07:59:58.936Z] Login Succeeded [2020-12-02T07:59:58.936Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T07:59:58.949Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T08:00:00.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T08:00:01.181Z] + ls -al . [2020-12-02T08:00:01.181Z] total 12 [2020-12-02T08:00:01.181Z] drwxrwxr-x. 3 jenkins jenkins 72 Dec 2 07:59 . [2020-12-02T08:00:01.181Z] drwxrwxr-x. 4 jenkins jenkins 112 Dec 2 07:59 .. [2020-12-02T08:00:01.181Z] -rw-rw-r--. 1 jenkins jenkins 1256 Dec 2 07:59 Dockerfile [2020-12-02T08:00:01.181Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 07:59 .git [2020-12-02T08:00:01.181Z] -rw-rw-r--. 1 jenkins jenkins 912 Dec 2 07:59 Jenkinsfile [2020-12-02T08:00:01.181Z] -rw-rw-r--. 1 jenkins jenkins 239 Dec 2 07:59 README.md [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:00:01.607Z] + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=ce87a93572ee99cd857d0cff605f3d655d9b9df5 --label arch=amd64 . [2020-12-02T08:00:01.607Z] Sending build context to Docker daemon 349.2kB [2020-12-02T08:00:01.607Z] Step 1/15 : FROM golang:1.13-alpine AS builder [2020-12-02T08:00:02.192Z] 1.13-alpine: Pulling from library/golang [2020-12-02T08:00:02.457Z] df20fa9351a1: Pulling fs layer [2020-12-02T08:00:02.457Z] ed8968b2872e: Pulling fs layer [2020-12-02T08:00:02.457Z] a92cc7c5fd73: Pulling fs layer [2020-12-02T08:00:02.457Z] dd0b68742591: Pulling fs layer [2020-12-02T08:00:02.457Z] fb4ae7ba1102: Pulling fs layer [2020-12-02T08:00:02.457Z] dd0b68742591: Waiting [2020-12-02T08:00:02.457Z] fb4ae7ba1102: Waiting [2020-12-02T08:00:02.723Z] a92cc7c5fd73: Download complete [2020-12-02T08:00:02.723Z] ed8968b2872e: Verifying Checksum [2020-12-02T08:00:02.723Z] ed8968b2872e: Download complete [2020-12-02T08:00:02.723Z] df20fa9351a1: Download complete [2020-12-02T08:00:02.723Z] fb4ae7ba1102: Verifying Checksum [2020-12-02T08:00:02.723Z] fb4ae7ba1102: Download complete [2020-12-02T08:00:03.005Z] df20fa9351a1: Pull complete [2020-12-02T08:00:03.278Z] ed8968b2872e: Pull complete [2020-12-02T08:00:03.278Z] a92cc7c5fd73: Pull complete [2020-12-02T08:00:04.676Z] dd0b68742591: Download complete [2020-12-02T08:00:10.344Z] Still waiting to schedule task [2020-12-02T08:00:10.344Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-02T08:00:11.333Z] dd0b68742591: Pull complete [2020-12-02T08:00:11.333Z] fb4ae7ba1102: Pull complete [2020-12-02T08:00:11.333Z] Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd [2020-12-02T08:00:11.333Z] Status: Downloaded newer image for golang:1.13-alpine [2020-12-02T08:00:11.333Z] ---> 5863598a981a [2020-12-02T08:00:11.333Z] Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator [2020-12-02T08:00:15.573Z] ---> Running in 3bc0d4d37f85 [2020-12-02T08:00:15.573Z] Removing intermediate container 3bc0d4d37f85 [2020-12-02T08:00:15.573Z] ---> 787641304ded [2020-12-02T08:00:15.573Z] Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T08:00:15.573Z] ---> Running in 4e6ec8da5a05 [2020-12-02T08:00:16.532Z] Removing intermediate container 4e6ec8da5a05 [2020-12-02T08:00:16.532Z] ---> 0360db2c8490 [2020-12-02T08:00:16.532Z] Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git [2020-12-02T08:00:16.532Z] ---> Running in a8f381be5b51 [2020-12-02T08:00:17.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T08:00:18.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T08:00:19.108Z] v3.12.1-67-ge0f25e8e68 [http://nl.alpinelinux.org/alpine/v3.12/main] [2020-12-02T08:00:19.108Z] v3.12.1-65-gda4c4bae78 [http://nl.alpinelinux.org/alpine/v3.12/community] [2020-12-02T08:00:19.108Z] OK: 12751 distinct packages available [2020-12-02T08:00:19.108Z] (1/29) Upgrading musl (1.1.24-r9 -> 1.1.24-r10) [2020-12-02T08:00:19.684Z] (2/29) Installing libgcc (9.3.0-r2) [2020-12-02T08:00:19.684Z] (3/29) Installing libstdc++ (9.3.0-r2) [2020-12-02T08:00:19.948Z] (4/29) Installing binutils (2.34-r1) [2020-12-02T08:00:20.898Z] (5/29) Installing libmagic (5.38-r0) [2020-12-02T08:00:20.898Z] (6/29) Installing file (5.38-r0) [2020-12-02T08:00:21.162Z] (7/29) Installing gmp (6.2.0-r0) [2020-12-02T08:00:21.162Z] (8/29) Installing isl (0.18-r0) [2020-12-02T08:00:21.426Z] (9/29) Installing libgomp (9.3.0-r2) [2020-12-02T08:00:21.426Z] (10/29) Installing libatomic (9.3.0-r2) [2020-12-02T08:00:21.426Z] (11/29) Installing libgphobos (9.3.0-r2) [2020-12-02T08:00:22.375Z] (12/29) Installing mpfr4 (4.0.2-r4) [2020-12-02T08:00:22.375Z] (13/29) Installing mpc1 (1.1.0-r1) [2020-12-02T08:00:22.375Z] (14/29) Installing gcc (9.3.0-r2) [2020-12-02T08:00:37.391Z] (15/29) Installing musl-dev (1.1.24-r10) [2020-12-02T08:00:38.344Z] (16/29) Installing libc-dev (0.7.2-r3) [2020-12-02T08:00:38.606Z] (17/29) Installing g++ (9.3.0-r2) [2020-12-02T08:01:00.614Z] (18/29) Installing make (4.3-r0) [2020-12-02T08:01:00.614Z] (19/29) Installing fortify-headers (1.1-r0) [2020-12-02T08:01:00.614Z] (20/29) Installing patch (2.7.6-r6) [2020-12-02T08:01:00.614Z] (21/29) Installing build-base (0.5-r2) [2020-12-02T08:01:00.614Z] (22/29) Installing nghttp2-libs (1.41.0-r0) [2020-12-02T08:01:00.614Z] (23/29) Installing libcurl (7.69.1-r1) [2020-12-02T08:01:00.614Z] (24/29) Installing expat (2.2.9-r1) [2020-12-02T08:01:00.614Z] (25/29) Installing pcre2 (10.35-r0) [2020-12-02T08:01:00.614Z] (26/29) Installing git (2.26.2-r0) [2020-12-02T08:01:04.846Z] (27/29) Installing libsodium (1.0.18-r0) [2020-12-02T08:01:04.846Z] (28/29) Installing pkgconf (1.7.2-r0) [2020-12-02T08:01:04.846Z] (29/29) Installing libsodium-dev (1.0.18-r0) [2020-12-02T08:01:04.846Z] Executing busybox-1.31.1-r16.trigger [2020-12-02T08:01:04.846Z] OK: 223 MiB in 43 packages [2020-12-02T08:01:10.206Z] Removing intermediate container a8f381be5b51 [2020-12-02T08:01:10.206Z] ---> 9140facce0c5 [2020-12-02T08:01:10.206Z] Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git [2020-12-02T08:01:10.206Z] ---> Running in 099a53ed5c6a [2020-12-02T08:01:10.206Z] Cloning into 'device-modbus-go'... [2020-12-02T08:01:11.161Z] Removing intermediate container 099a53ed5c6a [2020-12-02T08:01:11.161Z] ---> e36f222d6a6c [2020-12-02T08:01:11.161Z] Step 6/15 : RUN mv ./device-modbus-go/simulator/* . [2020-12-02T08:01:11.161Z] ---> Running in d627ba18994f [2020-12-02T08:01:12.113Z] Removing intermediate container d627ba18994f [2020-12-02T08:01:12.113Z] ---> b75cd8115b90 [2020-12-02T08:01:12.113Z] Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build [2020-12-02T08:01:12.113Z] ---> Running in ac8b2253c32a [2020-12-02T08:01:13.075Z] go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:01:13.075Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-12-02T08:01:13.341Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-12-02T08:01:13.341Z] go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:01:13.341Z] go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:01:13.341Z] go: finding github.com/goburrow/serial v0.1.0 [2020-12-02T08:01:18.718Z] Removing intermediate container ac8b2253c32a [2020-12-02T08:01:18.718Z] ---> dc773f78b4eb [2020-12-02T08:01:18.718Z] Step 8/15 : FROM scratch [2020-12-02T08:01:18.718Z] ---> [2020-12-02T08:01:18.718Z] Step 9/15 : ENV APP_PORT=1502 [2020-12-02T08:01:18.718Z] ---> Running in 280d127b4e6e [2020-12-02T08:01:18.982Z] Removing intermediate container 280d127b4e6e [2020-12-02T08:01:18.982Z] ---> 443a9ca448d0 [2020-12-02T08:01:18.982Z] Step 10/15 : EXPOSE $APP_PORT [2020-12-02T08:01:18.982Z] ---> Running in 56abe6403ccd [2020-12-02T08:01:19.250Z] Removing intermediate container 56abe6403ccd [2020-12-02T08:01:19.250Z] ---> 6cc958fd5933 [2020-12-02T08:01:19.250Z] Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / [2020-12-02T08:01:19.517Z] ---> a1585721b304 [2020-12-02T08:01:19.517Z] Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-02T08:01:19.781Z] ---> Running in 12563c49c4cd [2020-12-02T08:01:19.781Z] Removing intermediate container 12563c49c4cd [2020-12-02T08:01:19.781Z] ---> 9279d3a4ba8e [2020-12-02T08:01:19.781Z] Step 13/15 : ENTRYPOINT ["/simulator"] [2020-12-02T08:01:19.781Z] ---> Running in 44a5b30ecf84 [2020-12-02T08:01:20.046Z] Removing intermediate container 44a5b30ecf84 [2020-12-02T08:01:20.046Z] ---> 5c900d80daab [2020-12-02T08:01:20.046Z] Step 14/15 : LABEL arch=amd64 [2020-12-02T08:01:20.046Z] ---> Running in 735fac43e94b [2020-12-02T08:01:20.309Z] Removing intermediate container 735fac43e94b [2020-12-02T08:01:20.309Z] ---> d1ae9d3acd13 [2020-12-02T08:01:20.309Z] Step 15/15 : LABEL git_sha=ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:01:20.309Z] ---> Running in 76e371f2682f [2020-12-02T08:01:20.572Z] Removing intermediate container 76e371f2682f [2020-12-02T08:01:20.572Z] ---> 4ee6c578423b [2020-12-02T08:01:20.572Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T08:01:20.572Z] Successfully built 4ee6c578423b [2020-12-02T08:01:20.572Z] Successfully tagged edgex-devops/edgex-modbus-simulator:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-02T08:01:21.111Z] [edgeXDocker.push] Tagging docker image edgex-modbus-simulator with the following tags: [2020-12-02T08:01:21.111Z] ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:01:21.111Z] latest [2020-12-02T08:01:21.111Z] edgex-modbus-simulator [2020-12-02T08:01:21.111Z] 1.0.0 [2020-12-02T08:01:21.111Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:21.668Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:21.973Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:01:21.973Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-12-02T08:01:21.973Z] ba26d40f3979: Preparing [2020-12-02T08:01:22.952Z] ba26d40f3979: Pushed [2020-12-02T08:01:23.218Z] ce87a93572ee99cd857d0cff605f3d655d9b9df5: digest: sha256:c2b7915a0d16f47bb8d400f794e84259132508f4c55a8095050851e605248add size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:23.534Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:23.837Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [2020-12-02T08:01:23.837Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-12-02T08:01:23.837Z] ba26d40f3979: Preparing [2020-12-02T08:01:23.837Z] ba26d40f3979: Layer already exists [2020-12-02T08:01:24.100Z] latest: digest: sha256:c2b7915a0d16f47bb8d400f794e84259132508f4c55a8095050851e605248add size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:24.414Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:24.721Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [2020-12-02T08:01:24.721Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-12-02T08:01:24.721Z] ba26d40f3979: Preparing [2020-12-02T08:01:24.721Z] ba26d40f3979: Layer already exists [2020-12-02T08:01:24.721Z] edgex-modbus-simulator: digest: sha256:c2b7915a0d16f47bb8d400f794e84259132508f4c55a8095050851e605248add size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:25.037Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:1.0.0 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:01:25.341Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:1.0.0 [2020-12-02T08:01:25.341Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-12-02T08:01:25.341Z] ba26d40f3979: Preparing [2020-12-02T08:01:25.341Z] ba26d40f3979: Layer already exists [2020-12-02T08:01:25.341Z] 1.0.0: digest: sha256:c2b7915a0d16f47bb8d400f794e84259132508f4c55a8095050851e605248add size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-02T08:01:25.580Z] ===================================================== [Pipeline] echo [2020-12-02T08:01:25.633Z] taggedImages: [2020-12-02T08:01:25.633Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:01:25.633Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [2020-12-02T08:01:25.633Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [2020-12-02T08:01:25.633Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:1.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-02T08:02:01.130Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14158 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] checkout [2020-12-02T08:02:06.556Z] using credential edgex-jenkins-ssh [2020-12-02T08:02:06.635Z] Cloning the remote Git repository [2020-12-02T08:02:06.698Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T08:02:06.820Z] > git init /w/workspace/modbus-go_edgex-modbus-simulator # timeout=10 [2020-12-02T08:02:06.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T08:02:06.914Z] > git --version # timeout=10 [2020-12-02T08:02:06.934Z] > git --version # 'git version 2.17.1' [2020-12-02T08:02:06.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T08:02:07.018Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T08:02:08.295Z] Checking out Revision ce87a93572ee99cd857d0cff605f3d655d9b9df5 (edgex-modbus-simulator) [2020-12-02T08:02:07.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T08:02:07.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T08:02:07.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T08:02:07.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T08:02:07.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T08:02:07.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-12-02T08:02:08.311Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T08:02:08.385Z] > git checkout -f ce87a93572ee99cd857d0cff605f3d655d9b9df5 # timeout=10 [2020-12-02T08:02:12.861Z] Commit message: "Merge pull request #197 from weichou1229/issue-196" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T08:02:14.568Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-02T08:02:15.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T08:02:15.441Z] + true [2020-12-02T08:02:15.441Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T08:02:18.158Z] provisioning config files... [2020-12-02T08:02:18.199Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config7416892493095049859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:02:18.606Z] ---> docker-login.sh [2020-12-02T08:02:18.606Z] nexus3.edgexfoundry.org:10001 [2020-12-02T08:02:19.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T08:02:19.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T08:02:19.808Z] Configure a credential helper to remove this warning. See [2020-12-02T08:02:19.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T08:02:19.808Z] [2020-12-02T08:02:19.808Z] Login Succeeded [2020-12-02T08:02:19.808Z] nexus3.edgexfoundry.org:10002 [2020-12-02T08:02:20.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T08:02:20.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T08:02:20.365Z] Configure a credential helper to remove this warning. See [2020-12-02T08:02:20.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T08:02:20.365Z] [2020-12-02T08:02:20.365Z] Login Succeeded [2020-12-02T08:02:20.365Z] nexus3.edgexfoundry.org:10003 [2020-12-02T08:02:20.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T08:02:20.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T08:02:20.918Z] Configure a credential helper to remove this warning. See [2020-12-02T08:02:20.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T08:02:20.918Z] [2020-12-02T08:02:20.918Z] Login Succeeded [2020-12-02T08:02:20.918Z] nexus3.edgexfoundry.org:10004 [2020-12-02T08:02:21.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T08:02:21.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T08:02:21.465Z] Configure a credential helper to remove this warning. See [2020-12-02T08:02:21.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T08:02:21.465Z] [2020-12-02T08:02:21.465Z] Login Succeeded [2020-12-02T08:02:21.465Z] docker.io [2020-12-02T08:02:21.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T08:02:22.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T08:02:22.348Z] Configure a credential helper to remove this warning. See [2020-12-02T08:02:22.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T08:02:22.348Z] [2020-12-02T08:02:22.348Z] Login Succeeded [2020-12-02T08:02:22.348Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T08:02:22.366Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T08:02:23.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T08:02:23.762Z] + ls -al . [2020-12-02T08:02:23.762Z] total 24 [2020-12-02T08:02:23.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 08:02 . [2020-12-02T08:02:23.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 08:02 .. [2020-12-02T08:02:23.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 08:02 .git [2020-12-02T08:02:23.762Z] -rw-rw-r-- 1 jenkins jenkins 1256 Dec 2 08:02 Dockerfile [2020-12-02T08:02:23.762Z] -rw-rw-r-- 1 jenkins jenkins 912 Dec 2 08:02 Jenkinsfile [2020-12-02T08:02:23.762Z] -rw-rw-r-- 1 jenkins jenkins 239 Dec 2 08:02 README.md [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:02:24.120Z] + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=ce87a93572ee99cd857d0cff605f3d655d9b9df5 --label arch=arm64 . [2020-12-02T08:02:24.393Z] Sending build context to Docker daemon 348.2kB [2020-12-02T08:02:24.393Z] Step 1/15 : FROM golang:1.13-alpine AS builder [2020-12-02T08:02:25.369Z] 1.13-alpine: Pulling from library/golang [2020-12-02T08:02:25.643Z] b538f80385f9: Pulling fs layer [2020-12-02T08:02:25.644Z] 74f711af9a0d: Pulling fs layer [2020-12-02T08:02:25.644Z] 99f96fe45779: Pulling fs layer [2020-12-02T08:02:25.644Z] 098003ea900c: Pulling fs layer [2020-12-02T08:02:25.644Z] 03943c3330d5: Pulling fs layer [2020-12-02T08:02:25.644Z] 098003ea900c: Waiting [2020-12-02T08:02:25.644Z] 03943c3330d5: Waiting [2020-12-02T08:02:25.644Z] 99f96fe45779: Verifying Checksum [2020-12-02T08:02:25.644Z] 99f96fe45779: Download complete [2020-12-02T08:02:25.644Z] 74f711af9a0d: Verifying Checksum [2020-12-02T08:02:25.644Z] 74f711af9a0d: Download complete [2020-12-02T08:02:25.644Z] b538f80385f9: Verifying Checksum [2020-12-02T08:02:25.644Z] b538f80385f9: Download complete [2020-12-02T08:02:25.919Z] 03943c3330d5: Verifying Checksum [2020-12-02T08:02:25.919Z] 03943c3330d5: Download complete [2020-12-02T08:02:26.525Z] b538f80385f9: Pull complete [2020-12-02T08:02:27.138Z] 74f711af9a0d: Pull complete [2020-12-02T08:02:27.441Z] 99f96fe45779: Pull complete [2020-12-02T08:02:28.888Z] 098003ea900c: Verifying Checksum [2020-12-02T08:02:28.888Z] 098003ea900c: Download complete [2020-12-02T08:02:41.293Z] 098003ea900c: Pull complete [2020-12-02T08:02:41.293Z] 03943c3330d5: Pull complete [2020-12-02T08:02:41.293Z] Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd [2020-12-02T08:02:41.293Z] Status: Downloaded newer image for golang:1.13-alpine [2020-12-02T08:02:41.293Z] ---> 13ecd043bf2d [2020-12-02T08:02:41.293Z] Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator [2020-12-02T08:02:41.889Z] ---> Running in 1fb1bbb0badd [2020-12-02T08:02:42.483Z] Removing intermediate container 1fb1bbb0badd [2020-12-02T08:02:42.483Z] ---> 6df70283551f [2020-12-02T08:02:42.483Z] Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T08:02:42.483Z] ---> Running in 876a9da8cebf [2020-12-02T08:02:45.116Z] Removing intermediate container 876a9da8cebf [2020-12-02T08:02:45.117Z] ---> 07534c33e7cc [2020-12-02T08:02:45.117Z] Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git [2020-12-02T08:02:45.117Z] ---> Running in 2b34dbb018d9 [2020-12-02T08:02:46.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T08:02:47.075Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T08:02:48.050Z] v3.12.1-67-ge0f25e8e68 [http://nl.alpinelinux.org/alpine/v3.12/main] [2020-12-02T08:02:48.050Z] v3.12.1-65-gda4c4bae78 [http://nl.alpinelinux.org/alpine/v3.12/community] [2020-12-02T08:02:48.050Z] OK: 12622 distinct packages available [2020-12-02T08:02:48.640Z] (1/29) Upgrading musl (1.1.24-r9 -> 1.1.24-r10) [2020-12-02T08:02:49.230Z] (2/29) Installing libgcc (9.3.0-r2) [2020-12-02T08:02:49.230Z] (3/29) Installing libstdc++ (9.3.0-r2) [2020-12-02T08:02:49.501Z] (4/29) Installing binutils (2.34-r1) [2020-12-02T08:02:50.475Z] (5/29) Installing libmagic (5.38-r0) [2020-12-02T08:02:50.744Z] (6/29) Installing file (5.38-r0) [2020-12-02T08:02:50.744Z] (7/29) Installing gmp (6.2.0-r0) [2020-12-02T08:02:51.015Z] (8/29) Installing isl (0.18-r0) [2020-12-02T08:02:51.015Z] (9/29) Installing libgomp (9.3.0-r2) [2020-12-02T08:02:51.286Z] (10/29) Installing libatomic (9.3.0-r2) [2020-12-02T08:02:51.286Z] (11/29) Installing libgphobos (9.3.0-r2) [2020-12-02T08:02:51.879Z] (12/29) Installing mpfr4 (4.0.2-r4) [2020-12-02T08:02:51.879Z] (13/29) Installing mpc1 (1.1.0-r1) [2020-12-02T08:02:51.879Z] (14/29) Installing gcc (9.3.0-r2) [2020-12-02T08:03:00.130Z] (15/29) Installing musl-dev (1.1.24-r10) [2020-12-02T08:03:00.727Z] (16/29) Installing libc-dev (0.7.2-r3) [2020-12-02T08:03:00.727Z] (17/29) Installing g++ (9.3.0-r2) [2020-12-02T08:03:06.137Z] (18/29) Installing make (4.3-r0) [2020-12-02T08:03:06.137Z] (19/29) Installing fortify-headers (1.1-r0) [2020-12-02T08:03:06.137Z] (20/29) Installing patch (2.7.6-r6) [2020-12-02T08:03:06.137Z] (21/29) Installing build-base (0.5-r2) [2020-12-02T08:03:06.137Z] (22/29) Installing nghttp2-libs (1.41.0-r0) [2020-12-02T08:03:06.137Z] (23/29) Installing libcurl (7.69.1-r1) [2020-12-02T08:03:06.137Z] (24/29) Installing expat (2.2.9-r1) [2020-12-02T08:03:06.137Z] (25/29) Installing pcre2 (10.35-r0) [2020-12-02T08:03:06.408Z] (26/29) Installing git (2.26.2-r0) [2020-12-02T08:03:09.029Z] (27/29) Installing libsodium (1.0.18-r0) [2020-12-02T08:03:09.029Z] (28/29) Installing pkgconf (1.7.2-r0) [2020-12-02T08:03:09.029Z] (29/29) Installing libsodium-dev (1.0.18-r0) [2020-12-02T08:03:09.029Z] Executing busybox-1.31.1-r16.trigger [2020-12-02T08:03:09.029Z] OK: 207 MiB in 43 packages [2020-12-02T08:03:17.317Z] Removing intermediate container 2b34dbb018d9 [2020-12-02T08:03:17.317Z] ---> c574339aeb95 [2020-12-02T08:03:17.317Z] Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git [2020-12-02T08:03:17.317Z] ---> Running in 7960d2daa56e [2020-12-02T08:03:18.300Z] Cloning into 'device-modbus-go'... [2020-12-02T08:03:19.784Z] Removing intermediate container 7960d2daa56e [2020-12-02T08:03:19.784Z] ---> d612211eed7a [2020-12-02T08:03:19.784Z] Step 6/15 : RUN mv ./device-modbus-go/simulator/* . [2020-12-02T08:03:19.784Z] ---> Running in 291f756cf06f [2020-12-02T08:03:21.837Z] Removing intermediate container 291f756cf06f [2020-12-02T08:03:21.837Z] ---> 6886e76788d4 [2020-12-02T08:03:21.837Z] Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build [2020-12-02T08:03:22.114Z] ---> Running in 866736dc9ef8 [2020-12-02T08:03:24.128Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-12-02T08:03:24.128Z] go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:03:24.128Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-12-02T08:03:24.128Z] go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:03:24.128Z] go: finding github.com/goburrow/serial v0.1.0 [2020-12-02T08:03:24.128Z] go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-12-02T08:03:39.211Z] Removing intermediate container 866736dc9ef8 [2020-12-02T08:03:39.211Z] ---> 7f782c907845 [2020-12-02T08:03:39.211Z] Step 8/15 : FROM scratch [2020-12-02T08:03:39.211Z] ---> [2020-12-02T08:03:39.211Z] Step 9/15 : ENV APP_PORT=1502 [2020-12-02T08:03:39.211Z] ---> Running in fb7efa2d1b51 [2020-12-02T08:03:39.211Z] Removing intermediate container fb7efa2d1b51 [2020-12-02T08:03:39.211Z] ---> d20406fc12e8 [2020-12-02T08:03:39.211Z] Step 10/15 : EXPOSE $APP_PORT [2020-12-02T08:03:39.211Z] ---> Running in 852379f43dad [2020-12-02T08:03:39.211Z] Removing intermediate container 852379f43dad [2020-12-02T08:03:39.211Z] ---> 477fa7354e33 [2020-12-02T08:03:39.211Z] Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / [2020-12-02T08:03:39.211Z] ---> 3cde87f4d69b [2020-12-02T08:03:39.211Z] Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-12-02T08:03:39.211Z] ---> Running in 6cb182e4da6b [2020-12-02T08:03:39.486Z] Removing intermediate container 6cb182e4da6b [2020-12-02T08:03:39.486Z] ---> 4d90070e2277 [2020-12-02T08:03:39.486Z] Step 13/15 : ENTRYPOINT ["/simulator"] [2020-12-02T08:03:39.486Z] ---> Running in 11c54f46b79c [2020-12-02T08:03:40.086Z] Removing intermediate container 11c54f46b79c [2020-12-02T08:03:40.086Z] ---> 23a6073b973d [2020-12-02T08:03:40.086Z] Step 14/15 : LABEL arch=arm64 [2020-12-02T08:03:40.086Z] ---> Running in 50fe09e2992a [2020-12-02T08:03:40.689Z] Removing intermediate container 50fe09e2992a [2020-12-02T08:03:40.689Z] ---> b8beeb41b9c8 [2020-12-02T08:03:40.689Z] Step 15/15 : LABEL git_sha=ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:03:40.689Z] ---> Running in 2a7e1a490800 [2020-12-02T08:03:41.292Z] Removing intermediate container 2a7e1a490800 [2020-12-02T08:03:41.292Z] ---> e6bd71a50c92 [2020-12-02T08:03:41.292Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T08:03:41.292Z] Successfully built e6bd71a50c92 [2020-12-02T08:03:41.292Z] Successfully tagged edgex-devops/edgex-modbus-simulator-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-02T08:03:48.402Z] [edgeXDocker.push] Tagging docker image edgex-modbus-simulator-arm64 with the following tags: [2020-12-02T08:03:48.402Z] ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:03:48.402Z] latest [2020-12-02T08:03:48.402Z] edgex-modbus-simulator [2020-12-02T08:03:48.402Z] 1.0.0 [2020-12-02T08:03:48.402Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:48.929Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:49.268Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:03:49.269Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-12-02T08:03:49.269Z] f6bbe9bc9d10: Preparing [2020-12-02T08:03:51.230Z] f6bbe9bc9d10: Pushed [2020-12-02T08:03:51.501Z] ce87a93572ee99cd857d0cff605f3d655d9b9df5: digest: sha256:eccb14478c87475885a719ffed52276a4ef903552e5f9b3bd0060a982dde5ac1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:51.871Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:52.208Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [2020-12-02T08:03:52.208Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-12-02T08:03:52.208Z] f6bbe9bc9d10: Preparing [2020-12-02T08:03:52.208Z] f6bbe9bc9d10: Layer already exists [2020-12-02T08:03:52.479Z] latest: digest: sha256:eccb14478c87475885a719ffed52276a4ef903552e5f9b3bd0060a982dde5ac1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:52.828Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:edgex-modbus-simulator [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:53.440Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:edgex-modbus-simulator [2020-12-02T08:03:53.440Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-12-02T08:03:53.440Z] f6bbe9bc9d10: Preparing [2020-12-02T08:03:53.440Z] f6bbe9bc9d10: Layer already exists [2020-12-02T08:03:53.721Z] edgex-modbus-simulator: digest: sha256:eccb14478c87475885a719ffed52276a4ef903552e5f9b3bd0060a982dde5ac1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:54.095Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:1.0.0 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:54.509Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:1.0.0 [2020-12-02T08:03:54.509Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-12-02T08:03:54.509Z] f6bbe9bc9d10: Preparing [2020-12-02T08:03:54.509Z] f6bbe9bc9d10: Layer already exists [2020-12-02T08:03:54.810Z] 1.0.0: digest: sha256:eccb14478c87475885a719ffed52276a4ef903552e5f9b3bd0060a982dde5ac1 size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-02T08:03:55.038Z] ===================================================== [Pipeline] echo [2020-12-02T08:03:55.097Z] taggedImages: [2020-12-02T08:03:55.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:ce87a93572ee99cd857d0cff605f3d655d9b9df5 [2020-12-02T08:03:55.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [2020-12-02T08:03:55.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:edgex-modbus-simulator [2020-12-02T08:03:55.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:1.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-02T08:03:57.058Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5, dockerFile=Dockerfile [Pipeline] echo [2020-12-02T08:03:57.060Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-02T08:03:57.369Z] + set -o pipefail [2020-12-02T08:03:57.369Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-02T08:03:57.369Z] + tee .snyk [2020-12-02T08:03:57.631Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-02T08:03:57.631Z] version: v1.14.1 [2020-12-02T08:03:57.631Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-02T08:03:57.631Z] ignore: [2020-12-02T08:03:57.631Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-02T08:03:57.631Z] - '*': [2020-12-02T08:03:57.631Z] reason: does not apply # justification for ignoring [2020-12-02T08:03:57.631Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-02T08:03:57.631Z] SNYK-ALPINE312-JQ-588886: [2020-12-02T08:03:57.631Z] - '*': [2020-12-02T08:03:57.631Z] reason: false positive [2020-12-02T08:03:57.631Z] expires: 2021-01-01T00:00:00 [2020-12-02T08:03:57.631Z] # patch: {} [Pipeline] withCredentials [2020-12-02T08:03:57.726Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:58.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T08:03:58.081Z] [2020-12-02T08:03:58.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:03:58.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T08:03:58.491Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-02T08:03:58.491Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T08:03:58.491Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T08:03:58.491Z] de9db76c5a1d: Pulling fs layer [2020-12-02T08:03:58.491Z] 0eba1c9be4d2: Pulling fs layer [2020-12-02T08:03:58.491Z] 0d57e429df01: Pulling fs layer [2020-12-02T08:03:58.491Z] 4e4be7b47b0d: Pulling fs layer [2020-12-02T08:03:58.491Z] e1f770b5df2f: Pulling fs layer [2020-12-02T08:03:58.491Z] 85a0685a4137: Pulling fs layer [2020-12-02T08:03:58.491Z] 0d57e429df01: Waiting [2020-12-02T08:03:58.491Z] 4e4be7b47b0d: Waiting [2020-12-02T08:03:58.491Z] 85a0685a4137: Waiting [2020-12-02T08:03:58.491Z] e1f770b5df2f: Waiting [2020-12-02T08:03:58.491Z] 0eba1c9be4d2: Waiting [2020-12-02T08:03:58.491Z] de9db76c5a1d: Verifying Checksum [2020-12-02T08:03:58.491Z] de9db76c5a1d: Download complete [2020-12-02T08:03:58.491Z] 0ef7d3d256c8: Verifying Checksum [2020-12-02T08:03:58.491Z] 0ef7d3d256c8: Download complete [2020-12-02T08:03:58.491Z] 0d57e429df01: Verifying Checksum [2020-12-02T08:03:58.491Z] 0d57e429df01: Download complete [2020-12-02T08:03:58.491Z] 4e4be7b47b0d: Verifying Checksum [2020-12-02T08:03:58.491Z] 4e4be7b47b0d: Download complete [2020-12-02T08:03:58.772Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T08:03:58.772Z] 188c0c94c7c5: Download complete [2020-12-02T08:03:59.073Z] 188c0c94c7c5: Pull complete [2020-12-02T08:03:59.347Z] 0ef7d3d256c8: Pull complete [2020-12-02T08:03:59.615Z] de9db76c5a1d: Pull complete [2020-12-02T08:04:00.193Z] e1f770b5df2f: Verifying Checksum [2020-12-02T08:04:00.193Z] e1f770b5df2f: Download complete [2020-12-02T08:04:02.782Z] 0eba1c9be4d2: Download complete [2020-12-02T08:04:02.782Z] 85a0685a4137: Verifying Checksum [2020-12-02T08:04:02.782Z] 85a0685a4137: Download complete [2020-12-02T08:04:08.099Z] 0eba1c9be4d2: Pull complete [2020-12-02T08:04:08.099Z] 0d57e429df01: Pull complete [2020-12-02T08:04:08.099Z] 4e4be7b47b0d: Pull complete [2020-12-02T08:04:10.020Z] e1f770b5df2f: Pull complete [2020-12-02T08:04:16.711Z] 85a0685a4137: Pull complete [2020-12-02T08:04:16.711Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-02T08:04:16.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-02T08:04:16.711Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-02T08:04:16.976Z] prd-centos7-docker-4c-2g-14157 does not seem to be running inside a container [2020-12-02T08:04:17.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/modbus-go_edgex-modbus-simulator -v /w/workspace/modbus-go_edgex-modbus-simulator:/w/workspace/modbus-go_edgex-modbus-simulator:rw,z -v /w/workspace/modbus-go_edgex-modbus-simulator@tmp:/w/workspace/modbus-go_edgex-modbus-simulator@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-02T08:04:18.178Z] $ docker top fe66b293d7f51b62addd5b55ec74cf5daee5004383719f2abc38cec69dc22758 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T08:04:18.680Z] + rm -f snykReport.html [Pipeline] echo [2020-12-02T08:04:18.692Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-02T08:04:18.986Z] + set -o pipefail [2020-12-02T08:04:18.986Z] + snyk-to-html -o snykReport.html [2020-12-02T08:04:18.986Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:ce87a93572ee99cd857d0cff605f3d655d9b9df5 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-02T08:04:29.052Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-02T08:04:29.074Z] $ docker stop --time=1 fe66b293d7f51b62addd5b55ec74cf5daee5004383719f2abc38cec69dc22758 [2020-12-02T08:04:30.691Z] $ docker rm -f fe66b293d7f51b62addd5b55ec74cf5daee5004383719f2abc38cec69dc22758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:32.407Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:32.974Z] ---> package-listing.sh [2020-12-02T08:04:32.974Z] ++ facter osfamily [2020-12-02T08:04:32.974Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-02T08:04:32.974Z] + OS_FAMILY=redhat [2020-12-02T08:04:32.974Z] + workspace=/w/workspace/modbus-go_edgex-modbus-simulator [2020-12-02T08:04:32.974Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-02T08:04:32.974Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-02T08:04:32.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-02T08:04:32.974Z] + PACKAGES=/tmp/packages_start.txt [2020-12-02T08:04:32.974Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-12-02T08:04:32.974Z] + PACKAGES=/tmp/packages_end.txt [2020-12-02T08:04:32.974Z] + case "${OS_FAMILY}" in [2020-12-02T08:04:32.974Z] + rpm -qa [2020-12-02T08:04:32.974Z] + sort [2020-12-02T08:04:38.295Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-02T08:04:38.295Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-02T08:04:38.295Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-02T08:04:38.295Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-12-02T08:04:38.295Z] + mkdir -p /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [2020-12-02T08:04:38.295Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [Pipeline] echo [2020-12-02T08:04:38.309Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/modbus-go_edgex-modbus-simulator/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-02T08:04:38.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:04:38.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T08:04:38.914Z] [2020-12-02T08:04:38.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-02T08:04:39.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T08:04:39.260Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-02T08:04:39.260Z] df20fa9351a1: Already exists [2020-12-02T08:04:39.260Z] 36b3adc4ff6f: Pulling fs layer [2020-12-02T08:04:39.260Z] 8ad3a11d3b57: Pulling fs layer [2020-12-02T08:04:39.260Z] 46f8f816bc3b: Pulling fs layer [2020-12-02T08:04:39.260Z] 93b61091891f: Pulling fs layer [2020-12-02T08:04:39.260Z] 93b9cdb0e59b: Pulling fs layer [2020-12-02T08:04:39.260Z] 5e14af77c1be: Pulling fs layer [2020-12-02T08:04:39.260Z] 01666e4c0597: Pulling fs layer [2020-12-02T08:04:39.260Z] aa168da1d23b: Pulling fs layer [2020-12-02T08:04:39.260Z] 93b61091891f: Waiting [2020-12-02T08:04:39.260Z] 93b9cdb0e59b: Waiting [2020-12-02T08:04:39.260Z] 01666e4c0597: Waiting [2020-12-02T08:04:39.260Z] aa168da1d23b: Waiting [2020-12-02T08:04:39.260Z] 46f8f816bc3b: Download complete [2020-12-02T08:04:39.260Z] 36b3adc4ff6f: Download complete [2020-12-02T08:04:39.260Z] 93b9cdb0e59b: Verifying Checksum [2020-12-02T08:04:39.260Z] 93b9cdb0e59b: Download complete [2020-12-02T08:04:39.260Z] 93b61091891f: Verifying Checksum [2020-12-02T08:04:39.260Z] 93b61091891f: Download complete [2020-12-02T08:04:39.260Z] 5e14af77c1be: Verifying Checksum [2020-12-02T08:04:39.260Z] 5e14af77c1be: Download complete [2020-12-02T08:04:39.524Z] 01666e4c0597: Verifying Checksum [2020-12-02T08:04:39.524Z] 01666e4c0597: Download complete [2020-12-02T08:04:39.524Z] 8ad3a11d3b57: Verifying Checksum [2020-12-02T08:04:39.524Z] 8ad3a11d3b57: Download complete [2020-12-02T08:04:39.524Z] 36b3adc4ff6f: Pull complete [2020-12-02T08:04:40.478Z] 8ad3a11d3b57: Pull complete [2020-12-02T08:04:40.751Z] 46f8f816bc3b: Pull complete [2020-12-02T08:04:41.329Z] aa168da1d23b: Verifying Checksum [2020-12-02T08:04:41.330Z] aa168da1d23b: Download complete [2020-12-02T08:04:41.593Z] 93b61091891f: Pull complete [2020-12-02T08:04:41.855Z] 93b9cdb0e59b: Pull complete [2020-12-02T08:04:41.855Z] 5e14af77c1be: Pull complete [2020-12-02T08:04:42.117Z] 01666e4c0597: Pull complete [2020-12-02T08:04:48.763Z] aa168da1d23b: Pull complete [2020-12-02T08:04:48.763Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-02T08:04:48.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T08:04:48.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-02T08:04:48.927Z] prd-centos7-docker-4c-2g-14157 does not seem to be running inside a container [2020-12-02T08:04:48.989Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/modbus-go_edgex-modbus-simulator/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/modbus-go_edgex-modbus-simulator -v /w/workspace/modbus-go_edgex-modbus-simulator:/w/workspace/modbus-go_edgex-modbus-simulator:rw,z -v /w/workspace/modbus-go_edgex-modbus-simulator@tmp:/w/workspace/modbus-go_edgex-modbus-simulator@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-02T08:04:52.155Z] $ docker top 7f7c59a9fe9295489ff98529c616eba1cfeb9581de830bb59b293a4639fe0b21 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T08:04:52.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-02T08:04:53.071Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-02T08:04:53.379Z] + ls /var/log/sa-host [2020-12-02T08:04:53.379Z] + sadf -c /var/log/sa-host/sa02 [2020-12-02T08:04:53.379Z] file_magic: OK [2020-12-02T08:04:53.379Z] HZ: Using current value: 100 [2020-12-02T08:04:53.379Z] file_header: OK [2020-12-02T08:04:53.379Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-02T08:04:53.379Z] Statistics: [2020-12-02T08:04:53.379Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-02T08:04:53.379Z] File successfully converted to sysstat format version 12.2.1 [2020-12-02T08:04:53.379Z] + sadf -c /var/log/sa-host/sa23 [2020-12-02T08:04:53.379Z] file_magic: OK [2020-12-02T08:04:53.379Z] HZ: Using current value: 100 [2020-12-02T08:04:53.379Z] file_header: OK [2020-12-02T08:04:53.379Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-02T08:04:53.379Z] Statistics: [2020-12-02T08:04:53.379Z] Hnuu...uuuununununu... [2020-12-02T08:04:53.379Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T08:04:53.600Z] provisioning config files... [2020-12-02T08:04:53.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config494386699717052953tmp [Pipeline] { [Pipeline] echo [2020-12-02T08:04:53.766Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:54.065Z] ---> create-netrc.sh [Pipeline] } [2020-12-02T08:04:54.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-02T08:04:54.162Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:54.461Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-02T08:04:54.472Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:54.872Z] ---> sudo-logs.sh [2020-12-02T08:04:54.872Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-02T08:04:54.916Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:55.214Z] ---> job-cost.sh [2020-12-02T08:04:55.214Z] lf-activate-venv: SKIPPING [2020-12-02T08:04:55.214Z] INFO: No Stack... [2020-12-02T08:04:56.608Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-02T08:04:56.870Z] INFO: Archiving Costs [Pipeline] echo [2020-12-02T08:04:56.884Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T08:04:57.191Z] ---> logs-deploy.sh [2020-12-02T08:04:57.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/edgex-modbus-simulator/5 [2020-12-02T08:04:57.191Z] INFO: archiving workspace using pattern(s): [2020-12-02T08:04:58.581Z] Archives upload complete. [2020-12-02T08:04:58.581Z] INFO: archiving logs to Nexus