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 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-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. [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:[0.0.1], 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 RELEASE_BRANCH_OVERRIDE: edgex-modbus-simulator DOCKER_CUSTOM_TAGS: 0.0.1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1171 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 with configured refspecs honoured and without tags Fetching without tags 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # 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/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # 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 --no-tags --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 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 (edgex-modbus-simulator) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 # timeout=10 Commit message: "Merge pull request #170 from weichou1229/issue-161-3" > git rev-list --no-walk 1f4a14d73ed1828c8d91d9dcce7f8e7483f6fba7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-02T14:51:15.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-02T14:51:15.267Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-02T14:51:15.352Z] ========================================================= [2020-09-02T14:51:15.352Z] EdgeX Global Pipelines Version Info [2020-09-02T14:51:15.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:51:17.331Z] ------------------- [2020-09-02T14:51:17.331Z] stable info: [2020-09-02T14:51:17.331Z] ------------------- [2020-09-02T14:51:17.331Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-02T14:51:17.331Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-02T14:51:17.331Z] Message: update stable to v1.0.115 [2020-09-02T14:51:18.349Z] ------------------- [2020-09-02T14:51:18.349Z] experimental info: [2020-09-02T14:51:18.349Z] ------------------- [2020-09-02T14:51:18.349Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-02T14:51:18.349Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-02T14:51:18.350Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-02T14:51:18.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-02T14:51:18.741Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:18.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo [2020-09-02T14:51:18.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-02T14:51:18.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-02T14:51:19.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:19.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo [2020-09-02T14:51:19.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo [2020-09-02T14:51:19.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo [2020-09-02T14:51:19.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-02T14:51:19.439Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo [2020-09-02T14:51:19.557Z] [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = edgex-modbus-simulator-archive.tar.gz [Pipeline] echo [2020-09-02T14:51:19.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-02T14:51:19.697Z] [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:19.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 0.0.1 [Pipeline] echo [2020-09-02T14:51:19.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:19.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:19.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = edgex-modbus-simulator [Pipeline] echo [2020-09-02T14:51:20.063Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [Pipeline] echo [2020-09-02T14:51:20.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a6c29a [Pipeline] echo [2020-09-02T14:51:20.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [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] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-02T14:51:24.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-02T14:51:24.543Z] + ls -al . [2020-09-02T14:51:24.543Z] total 12 [2020-09-02T14:51:24.543Z] drwxrwxr-x. 3 jenkins jenkins 72 Sep 2 14:51 . [2020-09-02T14:51:24.543Z] drwxrwxr-x. 4 jenkins jenkins 112 Sep 2 14:51 .. [2020-09-02T14:51:24.543Z] -rw-rw-r--. 1 jenkins jenkins 1256 Sep 2 14:51 Dockerfile [2020-09-02T14:51:24.543Z] drwxrwxr-x. 8 jenkins jenkins 162 Sep 2 14:51 .git [2020-09-02T14:51:24.543Z] -rw-rw-r--. 1 jenkins jenkins 912 Sep 2 14:51 Jenkinsfile [2020-09-02T14:51:24.543Z] -rw-rw-r--. 1 jenkins jenkins 239 Sep 2 14:51 README.md [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:51:25.126Z] + docker build -t edgex-devops/edgex-modbus-simulator -f Dockerfile --build-arg ARCH=amd64 --label git_sha=6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 --label arch=amd64 . [2020-09-02T14:51:25.723Z] Sending build context to Docker daemon 216.6kB [2020-09-02T14:51:25.723Z] Step 1/15 : FROM golang:1.13-alpine AS builder [2020-09-02T14:51:26.313Z] 1.13-alpine: Pulling from library/golang [2020-09-02T14:51:26.313Z] df20fa9351a1: Pulling fs layer [2020-09-02T14:51:26.313Z] ed8968b2872e: Pulling fs layer [2020-09-02T14:51:26.313Z] a92cc7c5fd73: Pulling fs layer [2020-09-02T14:51:26.313Z] dd0b68742591: Pulling fs layer [2020-09-02T14:51:26.313Z] fb4ae7ba1102: Pulling fs layer [2020-09-02T14:51:26.313Z] dd0b68742591: Waiting [2020-09-02T14:51:26.582Z] a92cc7c5fd73: Verifying Checksum [2020-09-02T14:51:26.582Z] a92cc7c5fd73: Download complete [2020-09-02T14:51:26.582Z] ed8968b2872e: Verifying Checksum [2020-09-02T14:51:26.582Z] ed8968b2872e: Download complete [2020-09-02T14:51:26.582Z] df20fa9351a1: Verifying Checksum [2020-09-02T14:51:26.582Z] df20fa9351a1: Download complete [2020-09-02T14:51:26.582Z] fb4ae7ba1102: Verifying Checksum [2020-09-02T14:51:26.582Z] fb4ae7ba1102: Download complete [2020-09-02T14:51:27.206Z] df20fa9351a1: Pull complete [2020-09-02T14:51:27.511Z] ed8968b2872e: Pull complete [2020-09-02T14:51:28.198Z] a92cc7c5fd73: Pull complete [2020-09-02T14:51:29.710Z] dd0b68742591: Verifying Checksum [2020-09-02T14:51:29.710Z] dd0b68742591: Download complete [2020-09-02T14:51:36.006Z] Still waiting to schedule task [2020-09-02T14:51:36.006Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-02T14:51:38.138Z] dd0b68742591: Pull complete [2020-09-02T14:51:38.138Z] fb4ae7ba1102: Pull complete [2020-09-02T14:51:38.406Z] Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd [2020-09-02T14:51:38.406Z] Status: Downloaded newer image for golang:1.13-alpine [2020-09-02T14:51:38.406Z] ---> 5863598a981a [2020-09-02T14:51:38.406Z] Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator [2020-09-02T14:51:43.776Z] ---> Running in b32e818ae890 [2020-09-02T14:51:43.776Z] Removing intermediate container b32e818ae890 [2020-09-02T14:51:43.776Z] ---> dc397bef4e93 [2020-09-02T14:51:43.776Z] Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-02T14:51:43.776Z] ---> Running in 4fd0eb50bc56 [2020-09-02T14:51:45.220Z] Removing intermediate container 4fd0eb50bc56 [2020-09-02T14:51:45.220Z] ---> 67a9b81c3015 [2020-09-02T14:51:45.220Z] Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git [2020-09-02T14:51:45.220Z] ---> Running in a1a3221e19dc [2020-09-02T14:51:45.832Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-02T14:51:47.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-02T14:51:48.752Z] v3.12.0-283-g612cd12ab6 [http://nl.alpinelinux.org/alpine/v3.12/main] [2020-09-02T14:51:48.752Z] v3.12.0-276-gbdd3966958 [http://nl.alpinelinux.org/alpine/v3.12/community] [2020-09-02T14:51:48.752Z] OK: 12746 distinct packages available [2020-09-02T14:51:49.030Z] (1/28) Installing libgcc (9.3.0-r2) [2020-09-02T14:51:49.312Z] (2/28) Installing libstdc++ (9.3.0-r2) [2020-09-02T14:51:49.926Z] (3/28) Installing binutils (2.34-r1) [2020-09-02T14:51:51.915Z] (4/28) Installing libmagic (5.38-r0) [2020-09-02T14:51:52.210Z] (5/28) Installing file (5.38-r0) [2020-09-02T14:51:52.210Z] (6/28) Installing gmp (6.2.0-r0) [2020-09-02T14:51:52.476Z] (7/28) Installing isl (0.18-r0) [2020-09-02T14:51:53.055Z] (8/28) Installing libgomp (9.3.0-r2) [2020-09-02T14:51:53.055Z] (9/28) Installing libatomic (9.3.0-r2) [2020-09-02T14:51:53.055Z] (10/28) Installing libgphobos (9.3.0-r2) [2020-09-02T14:51:54.507Z] (11/28) Installing mpfr4 (4.0.2-r4) [2020-09-02T14:51:54.507Z] (12/28) Installing mpc1 (1.1.0-r1) [2020-09-02T14:51:54.507Z] (13/28) Installing gcc (9.3.0-r2) [2020-09-02T14:52:06.924Z] (14/28) Installing musl-dev (1.1.24-r9) [2020-09-02T14:52:07.884Z] (15/28) Installing libc-dev (0.7.2-r3) [2020-09-02T14:52:07.884Z] (16/28) Installing g++ (9.3.0-r2) [2020-09-02T14:52:14.938Z] (17/28) Installing make (4.3-r0) [2020-09-02T14:52:14.938Z] (18/28) Installing fortify-headers (1.1-r0) [2020-09-02T14:52:14.938Z] (19/28) Installing patch (2.7.6-r6) [2020-09-02T14:52:14.938Z] (20/28) Installing build-base (0.5-r2) [2020-09-02T14:52:14.938Z] (21/28) Installing nghttp2-libs (1.41.0-r0) [2020-09-02T14:52:14.938Z] (22/28) Installing libcurl (7.69.1-r0) [2020-09-02T14:52:14.938Z] (23/28) Installing expat (2.2.9-r1) [2020-09-02T14:52:14.938Z] (24/28) Installing pcre2 (10.35-r0) [2020-09-02T14:52:14.938Z] (25/28) Installing git (2.26.2-r0) [2020-09-02T14:52:17.545Z] (26/28) Installing libsodium (1.0.18-r0) [2020-09-02T14:52:17.545Z] (27/28) Installing pkgconf (1.7.2-r0) [2020-09-02T14:52:17.545Z] (28/28) Installing libsodium-dev (1.0.18-r0) [2020-09-02T14:52:17.545Z] Executing busybox-1.31.1-r16.trigger [2020-09-02T14:52:17.545Z] OK: 223 MiB in 43 packages [2020-09-02T14:52:24.247Z] Removing intermediate container a1a3221e19dc [2020-09-02T14:52:24.247Z] ---> d4f3321af132 [2020-09-02T14:52:24.247Z] Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git [2020-09-02T14:52:24.247Z] ---> Running in 1e3fed85cbc4 [2020-09-02T14:52:24.521Z] Cloning into 'device-modbus-go'... [2020-09-02T14:52:26.033Z] Removing intermediate container 1e3fed85cbc4 [2020-09-02T14:52:26.034Z] ---> 350c1a1fef44 [2020-09-02T14:52:26.034Z] Step 6/15 : RUN mv ./device-modbus-go/simulator/* . [2020-09-02T14:52:26.034Z] ---> Running in 4a9391b48397 [2020-09-02T14:52:26.995Z] Removing intermediate container 4a9391b48397 [2020-09-02T14:52:26.995Z] ---> 63101bd3d0d8 [2020-09-02T14:52:26.995Z] Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build [2020-09-02T14:52:26.995Z] ---> Running in 542ed91b176e [2020-09-02T14:52:28.416Z] go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:52:28.416Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-02T14:52:28.697Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-02T14:52:28.697Z] go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:52:28.697Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-02T14:52:28.697Z] go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:52:32.280Z] Removing intermediate container 542ed91b176e [2020-09-02T14:52:32.280Z] ---> 85d3e4e931aa [2020-09-02T14:52:32.280Z] Step 8/15 : FROM scratch [2020-09-02T14:52:32.280Z] ---> [2020-09-02T14:52:32.280Z] Step 9/15 : ENV APP_PORT=1502 [2020-09-02T14:52:32.613Z] ---> Running in 0271de8edf6d [2020-09-02T14:52:32.613Z] Removing intermediate container 0271de8edf6d [2020-09-02T14:52:32.613Z] ---> f6400af24e96 [2020-09-02T14:52:32.613Z] Step 10/15 : EXPOSE $APP_PORT [2020-09-02T14:52:32.893Z] ---> Running in fbaffb19573f [2020-09-02T14:52:32.893Z] Removing intermediate container fbaffb19573f [2020-09-02T14:52:32.893Z] ---> a80f21804407 [2020-09-02T14:52:32.893Z] Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / [2020-09-02T14:52:33.491Z] ---> 0a91f13cdf7c [2020-09-02T14:52:33.491Z] Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-09-02T14:52:33.491Z] ---> Running in 3ff861d8742d [2020-09-02T14:52:33.757Z] Removing intermediate container 3ff861d8742d [2020-09-02T14:52:33.757Z] ---> a2ab0c76590d [2020-09-02T14:52:33.757Z] Step 13/15 : ENTRYPOINT ["/simulator"] [2020-09-02T14:52:33.757Z] ---> Running in bc558766b547 [2020-09-02T14:52:34.021Z] Removing intermediate container bc558766b547 [2020-09-02T14:52:34.022Z] ---> 6e2c644e7c60 [2020-09-02T14:52:34.022Z] Step 14/15 : LABEL arch=amd64 [2020-09-02T14:52:34.022Z] ---> Running in d4a3b337d50c [2020-09-02T14:52:34.022Z] Removing intermediate container d4a3b337d50c [2020-09-02T14:52:34.022Z] ---> 00d140681c12 [2020-09-02T14:52:34.022Z] Step 15/15 : LABEL git_sha=6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:52:34.289Z] ---> Running in f154b5f8a6ba [2020-09-02T14:52:34.289Z] Removing intermediate container f154b5f8a6ba [2020-09-02T14:52:34.289Z] ---> f5213978d849 [2020-09-02T14:52:34.289Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-02T14:52:34.289Z] Successfully built f5213978d849 [2020-09-02T14:52:34.289Z] Successfully tagged edgex-devops/edgex-modbus-simulator:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-02T14:52:34.743Z] provisioning config files... [2020-09-02T14:52:34.780Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config1608810457132923587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:52:35.176Z] ---> docker-login.sh [2020-09-02T14:52:35.176Z] nexus3.edgexfoundry.org:10001 [2020-09-02T14:52:35.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:52:35.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:52:35.794Z] Configure a credential helper to remove this warning. See [2020-09-02T14:52:35.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:52:35.794Z] [2020-09-02T14:52:35.794Z] Login Succeeded [2020-09-02T14:52:35.794Z] nexus3.edgexfoundry.org:10002 [2020-09-02T14:52:35.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:52:36.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:52:36.066Z] Configure a credential helper to remove this warning. See [2020-09-02T14:52:36.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:52:36.066Z] [2020-09-02T14:52:36.066Z] Login Succeeded [2020-09-02T14:52:36.066Z] nexus3.edgexfoundry.org:10003 [2020-09-02T14:52:36.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:52:36.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:52:36.344Z] Configure a credential helper to remove this warning. See [2020-09-02T14:52:36.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:52:36.344Z] [2020-09-02T14:52:36.344Z] Login Succeeded [2020-09-02T14:52:36.344Z] nexus3.edgexfoundry.org:10004 [2020-09-02T14:52:36.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:52:36.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:52:36.722Z] Configure a credential helper to remove this warning. See [2020-09-02T14:52:36.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:52:36.722Z] [2020-09-02T14:52:36.722Z] Login Succeeded [2020-09-02T14:52:36.722Z] docker.io [2020-09-02T14:52:36.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:52:37.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:52:37.262Z] Configure a credential helper to remove this warning. See [2020-09-02T14:52:37.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:52:37.262Z] [2020-09-02T14:52:37.262Z] Login Succeeded [2020-09-02T14:52:37.262Z] ---> docker-login.sh ends [Pipeline] } [2020-09-02T14:52:37.273Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-02T14:52:37.432Z] [edgeXDocker.push] Tagging docker image edgex-modbus-simulator with the following tags: [2020-09-02T14:52:37.432Z] 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:52:37.432Z] latest [2020-09-02T14:52:37.432Z] edgex-modbus-simulator [2020-09-02T14:52:37.432Z] 0.0.1 [2020-09-02T14:52:37.432Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:37.936Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:38.265Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:52:38.265Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-09-02T14:52:38.265Z] 9d927a7501be: Preparing [2020-09-02T14:52:38.860Z] 9d927a7501be: Pushed [2020-09-02T14:52:38.860Z] 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7: digest: sha256:768f38d01d5c633ad7eb697ea1fc1881bb090fc3007a44b4e75d56a969750de1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:39.219Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:39.554Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [2020-09-02T14:52:39.554Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-09-02T14:52:39.554Z] 9d927a7501be: Preparing [2020-09-02T14:52:39.554Z] 9d927a7501be: Layer already exists [2020-09-02T14:52:39.554Z] latest: digest: sha256:768f38d01d5c633ad7eb697ea1fc1881bb090fc3007a44b4e75d56a969750de1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:39.924Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:40.268Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [2020-09-02T14:52:40.268Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-09-02T14:52:40.268Z] 9d927a7501be: Preparing [2020-09-02T14:52:40.268Z] 9d927a7501be: Layer already exists [2020-09-02T14:52:40.268Z] edgex-modbus-simulator: digest: sha256:768f38d01d5c633ad7eb697ea1fc1881bb090fc3007a44b4e75d56a969750de1 size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:40.581Z] + docker tag edgex-devops/edgex-modbus-simulator nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:0.0.1 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:52:40.886Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:0.0.1 [2020-09-02T14:52:40.887Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator] [2020-09-02T14:52:40.887Z] 9d927a7501be: Preparing [2020-09-02T14:52:40.887Z] 9d927a7501be: Layer already exists [2020-09-02T14:52:40.887Z] 0.0.1: digest: sha256:768f38d01d5c633ad7eb697ea1fc1881bb090fc3007a44b4e75d56a969750de1 size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-02T14:52:41.075Z] ===================================================== [Pipeline] echo [2020-09-02T14:52:41.124Z] taggedImages: [2020-09-02T14:52:41.124Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:52:41.124Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:latest [2020-09-02T14:52:41.124Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:edgex-modbus-simulator [2020-09-02T14:52:41.124Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:0.0.1 [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-09-02T14:53:37.099Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1172 in /w/workspace/modbus-go_edgex-modbus-simulator [Pipeline] { [Pipeline] checkout [2020-09-02T14:53:41.911Z] using credential edgex-jenkins-ssh [2020-09-02T14:53:41.971Z] Cloning the remote Git repository [2020-09-02T14:53:41.971Z] Cloning with configured refspecs honoured and without tags [2020-09-02T14:53:42.041Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-02T14:53:42.149Z] > git init /w/workspace/modbus-go_edgex-modbus-simulator # timeout=10 [2020-09-02T14:53:42.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-02T14:53:42.226Z] > git --version # timeout=10 [2020-09-02T14:53:42.243Z] > git --version # 'git version 2.17.1' [2020-09-02T14:53:42.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-02T14:53:42.298Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-09-02T14:53:43.024Z] Fetching without tags [2020-09-02T14:53:43.510Z] Checking out Revision 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 (edgex-modbus-simulator) [2020-09-02T14:53:42.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-02T14:53:42.977Z] > git config --add remote.origin.fetch +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-09-02T14:53:43.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-02T14:53:43.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-02T14:53:43.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-02T14:53:43.057Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/edgex-modbus-simulator:refs/remotes/origin/edgex-modbus-simulator # timeout=10 [2020-09-02T14:53:43.547Z] > git config core.sparsecheckout # timeout=10 [2020-09-02T14:53:43.565Z] > git checkout -f 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 # timeout=10 [2020-09-02T14:53:48.289Z] Commit message: "Merge pull request #170 from weichou1229/issue-161-3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-02T14:53:50.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-02T14:53:50.677Z] + ls -al . [2020-09-02T14:53:50.677Z] total 24 [2020-09-02T14:53:50.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 14:53 . [2020-09-02T14:53:50.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 14:53 .. [2020-09-02T14:53:50.677Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 14:53 .git [2020-09-02T14:53:50.677Z] -rw-rw-r-- 1 jenkins jenkins 1256 Sep 2 14:53 Dockerfile [2020-09-02T14:53:50.677Z] -rw-rw-r-- 1 jenkins jenkins 912 Sep 2 14:53 Jenkinsfile [2020-09-02T14:53:50.677Z] -rw-rw-r-- 1 jenkins jenkins 239 Sep 2 14:53 README.md [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:53:51.048Z] + docker build -t edgex-devops/edgex-modbus-simulator-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 --label arch=arm64 . [2020-09-02T14:53:51.678Z] Sending build context to Docker daemon 216.6kB [2020-09-02T14:53:51.959Z] Step 1/15 : FROM golang:1.13-alpine AS builder [2020-09-02T14:53:52.581Z] 1.13-alpine: Pulling from library/golang [2020-09-02T14:53:52.906Z] b538f80385f9: Pulling fs layer [2020-09-02T14:53:52.906Z] 74f711af9a0d: Pulling fs layer [2020-09-02T14:53:52.906Z] 99f96fe45779: Pulling fs layer [2020-09-02T14:53:52.906Z] 098003ea900c: Pulling fs layer [2020-09-02T14:53:52.906Z] 03943c3330d5: Pulling fs layer [2020-09-02T14:53:52.906Z] 098003ea900c: Waiting [2020-09-02T14:53:52.906Z] 03943c3330d5: Waiting [2020-09-02T14:53:52.906Z] 99f96fe45779: Download complete [2020-09-02T14:53:52.906Z] 74f711af9a0d: Verifying Checksum [2020-09-02T14:53:52.906Z] 74f711af9a0d: Download complete [2020-09-02T14:53:52.906Z] b538f80385f9: Verifying Checksum [2020-09-02T14:53:52.906Z] b538f80385f9: Download complete [2020-09-02T14:53:53.195Z] 03943c3330d5: Verifying Checksum [2020-09-02T14:53:53.195Z] 03943c3330d5: Download complete [2020-09-02T14:53:53.828Z] b538f80385f9: Pull complete [2020-09-02T14:53:54.441Z] 74f711af9a0d: Pull complete [2020-09-02T14:53:54.724Z] 99f96fe45779: Pull complete [2020-09-02T14:53:56.180Z] 098003ea900c: Verifying Checksum [2020-09-02T14:53:56.180Z] 098003ea900c: Download complete [2020-09-02T14:54:08.627Z] 098003ea900c: Pull complete [2020-09-02T14:54:08.627Z] 03943c3330d5: Pull complete [2020-09-02T14:54:08.627Z] Digest: sha256:e74b83b94d499cb34c7edf55fbdff9d3cfabd238a35f9cb1b59d0e74f50b1ddd [2020-09-02T14:54:08.627Z] Status: Downloaded newer image for golang:1.13-alpine [2020-09-02T14:54:08.627Z] ---> 13ecd043bf2d [2020-09-02T14:54:08.627Z] Step 2/15 : WORKDIR /go/src/github.com/edgexfoundry/device-modbus-go/simulator [2020-09-02T14:54:10.078Z] ---> Running in 5f6469206297 [2020-09-02T14:54:10.672Z] Removing intermediate container 5f6469206297 [2020-09-02T14:54:10.672Z] ---> 0887c3c9f6a1 [2020-09-02T14:54:10.672Z] Step 3/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-02T14:54:10.672Z] ---> Running in de259e384561 [2020-09-02T14:54:13.284Z] Removing intermediate container de259e384561 [2020-09-02T14:54:13.284Z] ---> 8b1d115d153a [2020-09-02T14:54:13.284Z] Step 4/15 : RUN apk update && apk add libsodium-dev pkgconfig build-base git [2020-09-02T14:54:13.565Z] ---> Running in e4924176b93d [2020-09-02T14:54:15.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-02T14:54:15.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-02T14:54:16.581Z] v3.12.0-283-g612cd12ab6 [http://nl.alpinelinux.org/alpine/v3.12/main] [2020-09-02T14:54:16.581Z] v3.12.0-276-gbdd3966958 [http://nl.alpinelinux.org/alpine/v3.12/community] [2020-09-02T14:54:16.581Z] OK: 12617 distinct packages available [2020-09-02T14:54:17.172Z] (1/28) Installing libgcc (9.3.0-r2) [2020-09-02T14:54:17.441Z] (2/28) Installing libstdc++ (9.3.0-r2) [2020-09-02T14:54:17.711Z] (3/28) Installing binutils (2.34-r1) [2020-09-02T14:54:18.679Z] (4/28) Installing libmagic (5.38-r0) [2020-09-02T14:54:18.950Z] (5/28) Installing file (5.38-r0) [2020-09-02T14:54:18.950Z] (6/28) Installing gmp (6.2.0-r0) [2020-09-02T14:54:19.220Z] (7/28) Installing isl (0.18-r0) [2020-09-02T14:54:19.490Z] (8/28) Installing libgomp (9.3.0-r2) [2020-09-02T14:54:19.490Z] (9/28) Installing libatomic (9.3.0-r2) [2020-09-02T14:54:19.490Z] (10/28) Installing libgphobos (9.3.0-r2) [2020-09-02T14:54:20.458Z] (11/28) Installing mpfr4 (4.0.2-r4) [2020-09-02T14:54:20.458Z] (12/28) Installing mpc1 (1.1.0-r1) [2020-09-02T14:54:20.458Z] (13/28) Installing gcc (9.3.0-r2) [2020-09-02T14:54:28.696Z] (14/28) Installing musl-dev (1.1.24-r9) [2020-09-02T14:54:28.965Z] (15/28) Installing libc-dev (0.7.2-r3) [2020-09-02T14:54:29.236Z] (16/28) Installing g++ (9.3.0-r2) [2020-09-02T14:54:33.513Z] (17/28) Installing make (4.3-r0) [2020-09-02T14:54:33.782Z] (18/28) Installing fortify-headers (1.1-r0) [2020-09-02T14:54:33.782Z] (19/28) Installing patch (2.7.6-r6) [2020-09-02T14:54:33.782Z] (20/28) Installing build-base (0.5-r2) [2020-09-02T14:54:34.051Z] (21/28) Installing nghttp2-libs (1.41.0-r0) [2020-09-02T14:54:34.051Z] (22/28) Installing libcurl (7.69.1-r0) [2020-09-02T14:54:34.051Z] (23/28) Installing expat (2.2.9-r1) [2020-09-02T14:54:34.320Z] (24/28) Installing pcre2 (10.35-r0) [2020-09-02T14:54:34.320Z] (25/28) Installing git (2.26.2-r0) [2020-09-02T14:54:36.915Z] (26/28) Installing libsodium (1.0.18-r0) [2020-09-02T14:54:36.915Z] (27/28) Installing pkgconf (1.7.2-r0) [2020-09-02T14:54:36.915Z] (28/28) Installing libsodium-dev (1.0.18-r0) [2020-09-02T14:54:36.915Z] Executing busybox-1.31.1-r16.trigger [2020-09-02T14:54:36.915Z] OK: 207 MiB in 43 packages [2020-09-02T14:54:45.197Z] Removing intermediate container e4924176b93d [2020-09-02T14:54:45.197Z] ---> 6aedac64e8a6 [2020-09-02T14:54:45.197Z] Step 5/15 : RUN git clone https://github.com/edgexfoundry/device-modbus-go.git [2020-09-02T14:54:45.476Z] ---> Running in e6b4f5c3d67d [2020-09-02T14:54:46.906Z] Cloning into 'device-modbus-go'... [2020-09-02T14:54:48.350Z] Removing intermediate container e6b4f5c3d67d [2020-09-02T14:54:48.350Z] ---> 33472d10a12f [2020-09-02T14:54:48.350Z] Step 6/15 : RUN mv ./device-modbus-go/simulator/* . [2020-09-02T14:54:48.622Z] ---> Running in 44b52b9cf4e1 [2020-09-02T14:54:51.263Z] Removing intermediate container 44b52b9cf4e1 [2020-09-02T14:54:51.263Z] ---> d71ae894dec5 [2020-09-02T14:54:51.263Z] Step 7/15 : RUN CGO_ENABLED=0 GO111MODULE=on go build [2020-09-02T14:54:51.263Z] ---> Running in 2fd3c11a7966 [2020-09-02T14:54:53.252Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-02T14:54:53.252Z] go: downloading github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:54:53.252Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-02T14:54:53.252Z] go: extracting github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:54:53.252Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-02T14:54:53.252Z] go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 [2020-09-02T14:54:58.645Z] Removing intermediate container 2fd3c11a7966 [2020-09-02T14:54:58.645Z] ---> a4b0fb200bb0 [2020-09-02T14:54:58.645Z] Step 8/15 : FROM scratch [2020-09-02T14:54:58.645Z] ---> [2020-09-02T14:54:58.645Z] Step 9/15 : ENV APP_PORT=1502 [2020-09-02T14:54:58.645Z] ---> Running in c93bebcbdf17 [2020-09-02T14:54:58.918Z] Removing intermediate container c93bebcbdf17 [2020-09-02T14:54:58.918Z] ---> 0d640258fae7 [2020-09-02T14:54:58.918Z] Step 10/15 : EXPOSE $APP_PORT [2020-09-02T14:54:59.190Z] ---> Running in 4a4841bfa386 [2020-09-02T14:54:59.785Z] Removing intermediate container 4a4841bfa386 [2020-09-02T14:54:59.785Z] ---> 0bbef2a68a8d [2020-09-02T14:54:59.785Z] Step 11/15 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/simulator / [2020-09-02T14:55:00.769Z] ---> 27e7adb99a4d [2020-09-02T14:55:00.769Z] Step 12/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-09-02T14:55:01.043Z] ---> Running in 1f7422b12282 [2020-09-02T14:55:01.634Z] Removing intermediate container 1f7422b12282 [2020-09-02T14:55:01.634Z] ---> 19857e84f8a2 [2020-09-02T14:55:01.634Z] Step 13/15 : ENTRYPOINT ["/simulator"] [2020-09-02T14:55:01.634Z] ---> Running in 690b0996ef9f [2020-09-02T14:55:02.230Z] Removing intermediate container 690b0996ef9f [2020-09-02T14:55:02.230Z] ---> 6e4dc7f0a32f [2020-09-02T14:55:02.230Z] Step 14/15 : LABEL arch=arm64 [2020-09-02T14:55:02.506Z] ---> Running in a87b155f74da [2020-09-02T14:55:03.102Z] Removing intermediate container a87b155f74da [2020-09-02T14:55:03.102Z] ---> ba926b82a5b5 [2020-09-02T14:55:03.102Z] Step 15/15 : LABEL git_sha=6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:03.102Z] ---> Running in 6a214e1630b6 [2020-09-02T14:55:03.692Z] Removing intermediate container 6a214e1630b6 [2020-09-02T14:55:03.692Z] ---> b764ea4a4857 [2020-09-02T14:55:03.692Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-02T14:55:03.692Z] Successfully built b764ea4a4857 [2020-09-02T14:55:03.692Z] Successfully tagged edgex-devops/edgex-modbus-simulator-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-09-02T14:55:04.162Z] provisioning config files... [2020-09-02T14:55:04.202Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config6319679579482281352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:55:04.677Z] ---> docker-login.sh [2020-09-02T14:55:04.677Z] nexus3.edgexfoundry.org:10001 [2020-09-02T14:55:04.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:55:04.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:55:04.947Z] Configure a credential helper to remove this warning. See [2020-09-02T14:55:04.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:55:04.947Z] [2020-09-02T14:55:04.947Z] Login Succeeded [2020-09-02T14:55:05.220Z] nexus3.edgexfoundry.org:10002 [2020-09-02T14:55:05.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:55:05.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:55:05.491Z] Configure a credential helper to remove this warning. See [2020-09-02T14:55:05.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:55:05.491Z] [2020-09-02T14:55:05.491Z] Login Succeeded [2020-09-02T14:55:05.766Z] nexus3.edgexfoundry.org:10003 [2020-09-02T14:55:06.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:55:06.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:55:06.042Z] Configure a credential helper to remove this warning. See [2020-09-02T14:55:06.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:55:06.042Z] [2020-09-02T14:55:06.042Z] Login Succeeded [2020-09-02T14:55:06.042Z] nexus3.edgexfoundry.org:10004 [2020-09-02T14:55:06.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:55:06.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:55:06.638Z] Configure a credential helper to remove this warning. See [2020-09-02T14:55:06.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:55:06.638Z] [2020-09-02T14:55:06.638Z] Login Succeeded [2020-09-02T14:55:06.638Z] docker.io [2020-09-02T14:55:06.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-09-02T14:55:07.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-09-02T14:55:07.496Z] Configure a credential helper to remove this warning. See [2020-09-02T14:55:07.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-09-02T14:55:07.496Z] [2020-09-02T14:55:07.496Z] Login Succeeded [2020-09-02T14:55:07.496Z] ---> docker-login.sh ends [Pipeline] } [2020-09-02T14:55:07.511Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-02T14:55:07.685Z] [edgeXDocker.push] Tagging docker image edgex-modbus-simulator-arm64 with the following tags: [2020-09-02T14:55:07.685Z] 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:07.685Z] latest [2020-09-02T14:55:07.685Z] edgex-modbus-simulator [2020-09-02T14:55:07.685Z] 0.0.1 [2020-09-02T14:55:07.685Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:08.195Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:08.534Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:08.534Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-09-02T14:55:08.534Z] 3327f6d65d77: Preparing [2020-09-02T14:55:09.514Z] 3327f6d65d77: Pushed [2020-09-02T14:55:09.787Z] 6a6c29a72f88d3a47f3f645b37a2c00d64238ef7: digest: sha256:1851a8ee6218a4693652cf3caf1b023ca94a36faf5ae4f9b4375fd7ed09865af size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:10.129Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:10.463Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [2020-09-02T14:55:10.463Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-09-02T14:55:10.463Z] 3327f6d65d77: Preparing [2020-09-02T14:55:10.463Z] 3327f6d65d77: Layer already exists [2020-09-02T14:55:10.735Z] latest: digest: sha256:1851a8ee6218a4693652cf3caf1b023ca94a36faf5ae4f9b4375fd7ed09865af size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:11.072Z] + 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-09-02T14:55:11.405Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:edgex-modbus-simulator [2020-09-02T14:55:11.405Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-09-02T14:55:11.405Z] 3327f6d65d77: Preparing [2020-09-02T14:55:11.405Z] 3327f6d65d77: Layer already exists [2020-09-02T14:55:11.676Z] edgex-modbus-simulator: digest: sha256:1851a8ee6218a4693652cf3caf1b023ca94a36faf5ae4f9b4375fd7ed09865af size: 528 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:12.016Z] + docker tag edgex-devops/edgex-modbus-simulator-arm64 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:0.0.1 [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:12.630Z] + docker push nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:0.0.1 [2020-09-02T14:55:12.630Z] The push refers to repository [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64] [2020-09-02T14:55:12.630Z] 3327f6d65d77: Preparing [2020-09-02T14:55:12.630Z] 3327f6d65d77: Layer already exists [2020-09-02T14:55:12.903Z] 0.0.1: digest: sha256:1851a8ee6218a4693652cf3caf1b023ca94a36faf5ae4f9b4375fd7ed09865af size: 528 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-09-02T14:55:13.059Z] ===================================================== [Pipeline] echo [2020-09-02T14:55:13.097Z] taggedImages: [2020-09-02T14:55:13.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:13.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:latest [2020-09-02T14:55:13.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:edgex-modbus-simulator [2020-09-02T14:55:13.097Z] - nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:0.0.1 [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] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:14.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:14.554Z] [2020-09-02T14:55:14.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:14.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:14.905Z] latest: Pulling from edgex-devops/edgex-klar [2020-09-02T14:55:14.906Z] e7c96db7181b: Pulling fs layer [2020-09-02T14:55:14.906Z] 1868ca2cb446: Pulling fs layer [2020-09-02T14:55:14.906Z] 136be5d0fe8e: Pulling fs layer [2020-09-02T14:55:14.906Z] 894bfe63afcb: Pulling fs layer [2020-09-02T14:55:14.906Z] 894bfe63afcb: Waiting [2020-09-02T14:55:14.906Z] 1868ca2cb446: Verifying Checksum [2020-09-02T14:55:14.906Z] 1868ca2cb446: Download complete [2020-09-02T14:55:14.906Z] 136be5d0fe8e: Download complete [2020-09-02T14:55:14.906Z] e7c96db7181b: Verifying Checksum [2020-09-02T14:55:14.906Z] e7c96db7181b: Download complete [2020-09-02T14:55:15.213Z] 894bfe63afcb: Verifying Checksum [2020-09-02T14:55:15.213Z] 894bfe63afcb: Download complete [2020-09-02T14:55:15.557Z] e7c96db7181b: Pull complete [2020-09-02T14:55:15.934Z] 1868ca2cb446: Pull complete [2020-09-02T14:55:16.198Z] 136be5d0fe8e: Pull complete [2020-09-02T14:55:16.461Z] 894bfe63afcb: Pull complete [2020-09-02T14:55:16.461Z] Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 [2020-09-02T14:55:16.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:16.461Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer [2020-09-02T14:55:16.740Z] prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container [2020-09-02T14:55:16.887Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-02T14:55:18.082Z] $ docker top 5c50f12e91a497c7b7830bee26edfeba41cc0d55b3cac690049913d4f18dad2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-02T14:55:18.673Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:18.673Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-02T14:55:20.664Z] $ docker stop --time=1 5c50f12e91a497c7b7830bee26edfeba41cc0d55b3cac690049913d4f18dad2d [2020-09-02T14:55:22.411Z] $ docker rm -f 5c50f12e91a497c7b7830bee26edfeba41cc0d55b3cac690049913d4f18dad2d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:22.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:22.998Z] . [Pipeline] withDockerContainer [2020-09-02T14:55:23.214Z] prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container [2020-09-02T14:55:23.285Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-02T14:55:24.191Z] $ docker top b25c9af1afdd0bc19f99b7ca1e4508e389d289a867e38d20397ec859d7b76ae7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-02T14:55:24.764Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:24.764Z] + tee [2020-09-02T14:55:24.764Z] clair timeout 1m0s [2020-09-02T14:55:24.764Z] docker timeout: 1m0s [2020-09-02T14:55:24.764Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-02T14:55:25.462Z] $ docker stop --time=1 b25c9af1afdd0bc19f99b7ca1e4508e389d289a867e38d20397ec859d7b76ae7 [2020-09-02T14:55:26.987Z] $ docker rm -f b25c9af1afdd0bc19f99b7ca1e4508e389d289a867e38d20397ec859d7b76ae7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-02T14:55:27.489Z] + mkdir -p /w/workspace/modbus-go_edgex-modbus-simulator/clair-reports [Pipeline] echo [2020-09-02T14:55:27.505Z] Generated HTML Table Report. Writing to /w/workspace/modbus-go_edgex-modbus-simulator/clair-reports/clair_results_edgex-modbus-simulator_6a6c29a72f88d3a47f3f645b37a2c00d64238ef7.html [Pipeline] writeFile [Pipeline] step [2020-09-02T14:55:27.556Z] Archiving artifacts [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:28.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:28.426Z] . [Pipeline] withDockerContainer [2020-09-02T14:55:28.564Z] prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container [2020-09-02T14:55:28.681Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-02T14:55:29.545Z] $ docker top 563603369a79d7d5e4ec1b9f7d4dd40e2b604fd1f6cc36e51c7f3f342655800a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-02T14:55:30.113Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:30.113Z] + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-02T14:55:31.762Z] $ docker stop --time=1 563603369a79d7d5e4ec1b9f7d4dd40e2b604fd1f6cc36e51c7f3f342655800a [2020-09-02T14:55:33.316Z] $ docker rm -f 563603369a79d7d5e4ec1b9f7d4dd40e2b604fd1f6cc36e51c7f3f342655800a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:33.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [2020-09-02T14:55:33.824Z] . [Pipeline] withDockerContainer [2020-09-02T14:55:33.954Z] prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container [2020-09-02T14:55:34.141Z] $ docker run -t -d -u 1001:1001 --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest cat [2020-09-02T14:55:34.854Z] $ docker top acd5fc53955e2192e7d63429d808b7162aa5c30899f4892e7628058c1ee5664b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-02T14:55:35.400Z] + /klar nexus3.edgexfoundry.org:10003/edgex-devops/edgex-modbus-simulator-arm64:6a6c29a72f88d3a47f3f645b37a2c00d64238ef7 [2020-09-02T14:55:35.400Z] + tee [2020-09-02T14:55:35.400Z] clair timeout 1m0s [2020-09-02T14:55:35.400Z] docker timeout: 1m0s [2020-09-02T14:55:35.400Z] no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-09-02T14:55:36.069Z] $ docker stop --time=1 acd5fc53955e2192e7d63429d808b7162aa5c30899f4892e7628058c1ee5664b [2020-09-02T14:55:37.590Z] $ docker rm -f acd5fc53955e2192e7d63429d808b7162aa5c30899f4892e7628058c1ee5664b [Pipeline] // withDockerContainer [Pipeline] sh [2020-09-02T14:55:38.068Z] + mkdir -p /w/workspace/modbus-go_edgex-modbus-simulator/clair-reports [Pipeline] echo [2020-09-02T14:55:38.080Z] Generated HTML Table Report. Writing to /w/workspace/modbus-go_edgex-modbus-simulator/clair-reports/clair_results_edgex-modbus-simulator-arm64_6a6c29a72f88d3a47f3f645b37a2c00d64238ef7.html [Pipeline] writeFile [Pipeline] step [2020-09-02T14:55:38.124Z] Archiving artifacts [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-09-02T14:55:39.210Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:55:39.797Z] ---> package-listing.sh [2020-09-02T14:55:39.797Z] ++ facter osfamily [2020-09-02T14:55:39.797Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-02T14:55:40.061Z] + OS_FAMILY=redhat [2020-09-02T14:55:40.061Z] + workspace=/w/workspace/modbus-go_edgex-modbus-simulator [2020-09-02T14:55:40.061Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-02T14:55:40.061Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-02T14:55:40.061Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-02T14:55:40.061Z] + PACKAGES=/tmp/packages_start.txt [2020-09-02T14:55:40.061Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-09-02T14:55:40.061Z] + PACKAGES=/tmp/packages_end.txt [2020-09-02T14:55:40.061Z] + case "${OS_FAMILY}" in [2020-09-02T14:55:40.061Z] + rpm -qa [2020-09-02T14:55:40.061Z] + sort [2020-09-02T14:55:44.305Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-02T14:55:44.305Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-02T14:55:44.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-02T14:55:44.305Z] + '[' /w/workspace/modbus-go_edgex-modbus-simulator ']' [2020-09-02T14:55:44.305Z] + mkdir -p /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [2020-09-02T14:55:44.305Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/modbus-go_edgex-modbus-simulator/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:45.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-02T14:55:45.212Z] [2020-09-02T14:55:45.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-02T14:55:45.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-02T14:55:45.592Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-02T14:55:45.592Z] c9b1b535fdd9: Pulling fs layer [2020-09-02T14:55:45.592Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-02T14:55:45.592Z] 756a868c4378: Pulling fs layer [2020-09-02T14:55:45.592Z] 444b2fc9a129: Pulling fs layer [2020-09-02T14:55:45.592Z] ea15f1150254: Pulling fs layer [2020-09-02T14:55:45.592Z] 41b27a9f41bf: Pulling fs layer [2020-09-02T14:55:45.592Z] 28c525ee5125: Pulling fs layer [2020-09-02T14:55:45.592Z] 094b1ea09ed8: Pulling fs layer [2020-09-02T14:55:45.592Z] 138eaada9080: Pulling fs layer [2020-09-02T14:55:45.592Z] ea15f1150254: Waiting [2020-09-02T14:55:45.592Z] 41b27a9f41bf: Waiting [2020-09-02T14:55:45.592Z] 444b2fc9a129: Waiting [2020-09-02T14:55:45.592Z] 0622d0fa9048: Pulling fs layer [2020-09-02T14:55:45.592Z] 28c525ee5125: Waiting [2020-09-02T14:55:45.592Z] 094b1ea09ed8: Waiting [2020-09-02T14:55:45.592Z] 138eaada9080: Waiting [2020-09-02T14:55:45.592Z] 0622d0fa9048: Waiting [2020-09-02T14:55:45.592Z] 2cc5ad85d9ab: Download complete [2020-09-02T14:55:45.592Z] 444b2fc9a129: Verifying Checksum [2020-09-02T14:55:45.592Z] 444b2fc9a129: Download complete [2020-09-02T14:55:45.861Z] c9b1b535fdd9: Download complete [2020-09-02T14:55:45.861Z] ea15f1150254: Verifying Checksum [2020-09-02T14:55:45.861Z] ea15f1150254: Download complete [2020-09-02T14:55:45.861Z] 28c525ee5125: Verifying Checksum [2020-09-02T14:55:45.861Z] 28c525ee5125: Download complete [2020-09-02T14:55:46.455Z] c9b1b535fdd9: Pull complete [2020-09-02T14:55:46.455Z] 756a868c4378: Verifying Checksum [2020-09-02T14:55:46.455Z] 756a868c4378: Download complete [2020-09-02T14:55:46.825Z] 2cc5ad85d9ab: Pull complete [2020-09-02T14:55:46.825Z] 094b1ea09ed8: Download complete [2020-09-02T14:55:46.825Z] 138eaada9080: Verifying Checksum [2020-09-02T14:55:46.825Z] 138eaada9080: Download complete [2020-09-02T14:55:47.167Z] 0622d0fa9048: Verifying Checksum [2020-09-02T14:55:47.167Z] 0622d0fa9048: Download complete [2020-09-02T14:55:47.460Z] 41b27a9f41bf: Verifying Checksum [2020-09-02T14:55:47.461Z] 41b27a9f41bf: Download complete [2020-09-02T14:55:49.534Z] 756a868c4378: Pull complete [2020-09-02T14:55:49.534Z] 444b2fc9a129: Pull complete [2020-09-02T14:55:50.560Z] ea15f1150254: Pull complete [2020-09-02T14:55:56.113Z] 41b27a9f41bf: Pull complete [2020-09-02T14:55:56.113Z] 28c525ee5125: Pull complete [2020-09-02T14:56:00.641Z] 094b1ea09ed8: Pull complete [2020-09-02T14:56:00.641Z] 138eaada9080: Pull complete [2020-09-02T14:56:00.905Z] 0622d0fa9048: Pull complete [2020-09-02T14:56:00.905Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-02T14:56:00.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-02T14:56:00.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-02T14:56:01.227Z] prd-centos7-docker-4c-2g-1171 does not seem to be running inside a container [2020-09-02T14:56:01.281Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-02T14:56:03.893Z] $ docker top 9f271c961dbdfffb93f130b98772b52dc0c033b2e2344528f225c02dfb852bc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-02T14:56:04.214Z] provisioning config files... [2020-09-02T14:56:04.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/modbus-go_edgex-modbus-simulator@tmp/config2996518261860296276tmp [Pipeline] { [Pipeline] echo [2020-09-02T14:56:04.441Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:56:04.779Z] ---> create-netrc.sh [Pipeline] echo [2020-09-02T14:56:05.057Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-02T14:56:05.758Z] ---> logs-deploy.sh [2020-09-02T14:56:05.758Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/edgex-modbus-simulator/4 [2020-09-02T14:56:05.758Z] INFO: archiving workspace using pattern(s): [2020-09-02T14:56:07.159Z] Archives upload complete. [2020-09-02T14:56:07.159Z] INFO: archiving logs to Nexus