Pull request #376 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c2e0f675d3f4f9009a8b9434d51a991f7e5265cd+53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (068f3717d569caffc1336da674f3457995501425) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14458402731134284230.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4749253859528210912.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5744354659388868817.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11707862768894335977.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3794963831261007638.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE 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/PR-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9571358002391713417.key Verifying host key using known hosts file > 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 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-680 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-376 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Merge succeeded, producing c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Checking out Revision c2e0f675d3f4f9009a8b9434d51a991f7e5265cd (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T23:01:03.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T23:01:03.713Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T23:01:03.824Z] ========================================================= [2022-09-22T23:01:03.824Z] EdgeX Global Pipelines Version Info [2022-09-22T23:01:03.824Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:01:04.573Z] ------------------- [2022-09-22T23:01:04.573Z] stable info: [2022-09-22T23:01:04.573Z] ------------------- [2022-09-22T23:01:04.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T23:01:04.573Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:01:04.573Z] Message: update stable to v1.0.239 [2022-09-22T23:01:05.142Z] ------------------- [2022-09-22T23:01:05.142Z] experimental info: [2022-09-22T23:01:05.142Z] ------------------- [2022-09-22T23:01:05.142Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T23:01:05.142Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:01:05.142Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T23:01:05.418Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-22T23:01:05.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-22T23:01:05.503Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T23:01:05.541Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T23:01:05.580Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T23:01:05.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T23:01:05.659Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T23:01:05.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T23:01:05.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T23:01:05.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T23:01:05.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T23:01:05.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-22T23:01:06.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T23:01:06.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T23:01:06.120Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:01:06.160Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:01:06.199Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:01:06.242Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:01:06.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T23:01:06.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T23:01:06.368Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T23:01:06.411Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T23:01:06.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T23:01:06.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T23:01:06.531Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T23:01:06.575Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T23:01:06.616Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T23:01:06.657Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo [2022-09-22T23:01:06.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo [2022-09-22T23:01:06.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo [2022-09-22T23:01:06.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo [2022-09-22T23:01:06.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2e0f67 [Pipeline] echo [2022-09-22T23:01:06.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:01:06.974Z] provisioning config files... [2022-09-22T23:01:06.990Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config15772676056780401257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:01:07.329Z] ---> docker-login.sh [2022-09-22T23:01:07.329Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:01:07.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:07.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:07.590Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:07.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:07.590Z] [2022-09-22T23:01:07.590Z] Login Succeeded [2022-09-22T23:01:07.590Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:01:07.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:07.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:07.851Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:07.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:07.851Z] [2022-09-22T23:01:07.851Z] Login Succeeded [2022-09-22T23:01:07.851Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:01:07.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:07.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:07.851Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:07.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:07.851Z] [2022-09-22T23:01:07.851Z] Login Succeeded [2022-09-22T23:01:07.851Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:01:07.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:07.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:07.851Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:07.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:07.851Z] [2022-09-22T23:01:07.851Z] Login Succeeded [2022-09-22T23:01:08.111Z] docker.io [2022-09-22T23:01:08.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:08.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:08.372Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:08.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:08.372Z] [2022-09-22T23:01:08.372Z] Login Succeeded [2022-09-22T23:01:08.372Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:01:08.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T23:01:09.023Z] + git rev-list -1 --merges c2e0f675d3f4f9009a8b9434d51a991f7e5265cd~1..c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo [2022-09-22T23:01:09.075Z] -----------> git rev-list -1 --merges c2e0f675d3f4f9009a8b9434d51a991f7e5265cd~1..c2e0f675d3f4f9009a8b9434d51a991f7e5265cd c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [false] [Pipeline] sh [2022-09-22T23:01:09.383Z] + git log --format=format:%s -1 c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo [2022-09-22T23:01:09.418Z] ========================================================= [2022-09-22T23:01:09.418Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T23:01:09.418Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:01:09.850Z] + git log --format=format:%s -1 c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo [2022-09-22T23:01:09.881Z] [semverPrep] GIT_COMMIT: c2e0f675d3f4f9009a8b9434d51a991f7e5265cd, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T23:01:09.911Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T23:01:10.297Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T23:01:10.297Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T23:01:10.297Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T23:01:10.297Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T23:01:10.297Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T23:01:10.297Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T23:01:10.297Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:10.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:01:10.754Z] [2022-09-22T23:01:10.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:11.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:01:11.143Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T23:01:11.143Z] b85a868b505f: Pulling fs layer [2022-09-22T23:01:11.143Z] e2be974225ed: Pulling fs layer [2022-09-22T23:01:11.143Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T23:01:11.143Z] 988bab9f4d93: Pulling fs layer [2022-09-22T23:01:11.143Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T23:01:11.143Z] eaf3925da568: Pulling fs layer [2022-09-22T23:01:11.143Z] bab4dde63d76: Pulling fs layer [2022-09-22T23:01:11.143Z] bde34c3a00c8: Pulling fs layer [2022-09-22T23:01:11.143Z] b352a97aabf1: Pulling fs layer [2022-09-22T23:01:11.143Z] 4872d77fe225: Pulling fs layer [2022-09-22T23:01:11.143Z] 5851b861e8e6: Pulling fs layer [2022-09-22T23:01:11.143Z] bab4dde63d76: Waiting [2022-09-22T23:01:11.143Z] bde34c3a00c8: Waiting [2022-09-22T23:01:11.143Z] b352a97aabf1: Waiting [2022-09-22T23:01:11.143Z] 1469e6f7b9e6: Waiting [2022-09-22T23:01:11.143Z] 988bab9f4d93: Waiting [2022-09-22T23:01:11.143Z] 4872d77fe225: Waiting [2022-09-22T23:01:11.143Z] 5851b861e8e6: Waiting [2022-09-22T23:01:11.143Z] eaf3925da568: Waiting [2022-09-22T23:01:11.143Z] e2be974225ed: Download complete [2022-09-22T23:01:11.143Z] 988bab9f4d93: Verifying Checksum [2022-09-22T23:01:11.143Z] 988bab9f4d93: Download complete [2022-09-22T23:01:11.404Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T23:01:11.404Z] 339a4e72a1f5: Download complete [2022-09-22T23:01:11.404Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T23:01:11.404Z] 1469e6f7b9e6: Download complete [2022-09-22T23:01:11.404Z] eaf3925da568: Verifying Checksum [2022-09-22T23:01:11.404Z] eaf3925da568: Download complete [2022-09-22T23:01:11.404Z] bde34c3a00c8: Verifying Checksum [2022-09-22T23:01:11.404Z] bde34c3a00c8: Download complete [2022-09-22T23:01:11.404Z] b352a97aabf1: Verifying Checksum [2022-09-22T23:01:11.404Z] b352a97aabf1: Download complete [2022-09-22T23:01:11.404Z] 4872d77fe225: Verifying Checksum [2022-09-22T23:01:11.404Z] 4872d77fe225: Download complete [2022-09-22T23:01:11.404Z] 5851b861e8e6: Verifying Checksum [2022-09-22T23:01:11.404Z] b85a868b505f: Verifying Checksum [2022-09-22T23:01:11.404Z] b85a868b505f: Download complete [2022-09-22T23:01:11.662Z] bab4dde63d76: Verifying Checksum [2022-09-22T23:01:11.662Z] bab4dde63d76: Download complete [2022-09-22T23:01:12.597Z] b85a868b505f: Pull complete [2022-09-22T23:01:12.855Z] e2be974225ed: Pull complete [2022-09-22T23:01:13.425Z] 339a4e72a1f5: Pull complete [2022-09-22T23:01:13.425Z] 988bab9f4d93: Pull complete [2022-09-22T23:01:13.690Z] 1469e6f7b9e6: Pull complete [2022-09-22T23:01:13.690Z] eaf3925da568: Pull complete [2022-09-22T23:01:15.612Z] bab4dde63d76: Pull complete [2022-09-22T23:01:15.612Z] bde34c3a00c8: Pull complete [2022-09-22T23:01:15.871Z] b352a97aabf1: Pull complete [2022-09-22T23:01:15.871Z] 4872d77fe225: Pull complete [2022-09-22T23:01:16.129Z] 5851b861e8e6: Pull complete [2022-09-22T23:01:16.129Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T23:01:16.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:01:16.129Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:01:16.356Z] prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container [2022-09-22T23:01:16.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -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/py-git-semver:0.1.4 cat [2022-09-22T23:01:17.915Z] $ docker top 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c -eo pid,comm [2022-09-22T23:01:17.991Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T23:01:17.991Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T23:01:18.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:01:18.118Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:01:18.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:01:18.242Z] $ docker exec 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent [2022-09-22T23:01:18.362Z] SSH_AUTH_SOCK=/tmp/ssh-0zPru5skzWIy/agent.32 [2022-09-22T23:01:18.362Z] SSH_AGENT_PID=38 [2022-09-22T23:01:18.368Z] Running ssh-add (command line suppressed) [2022-09-22T23:01:18.458Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_8167531921790865756.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_8167531921790865756.key) [2022-09-22T23:01:18.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:01:18.815Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T23:01:18.836Z] $ docker exec --env ******** --env ******** 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent -k [2022-09-22T23:01:18.933Z] unset SSH_AUTH_SOCK; [2022-09-22T23:01:18.933Z] unset SSH_AGENT_PID; [2022-09-22T23:01:18.933Z] echo Agent pid 38 killed; [2022-09-22T23:01:18.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T23:01:19.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:01:19.033Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:01:19.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:01:19.141Z] $ docker exec 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent [2022-09-22T23:01:19.271Z] SSH_AUTH_SOCK=/tmp/ssh-mrXkTrmbE5pr/agent.70 [2022-09-22T23:01:19.271Z] SSH_AGENT_PID=76 [2022-09-22T23:01:19.275Z] Running ssh-add (command line suppressed) [2022-09-22T23:01:19.373Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_17735347826544285011.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_17735347826544285011.key) [2022-09-22T23:01:19.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:01:19.719Z] + git semver init [2022-09-22T23:01:19.978Z] 2022-09-22 23:01:19,912 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T23:01:19.978Z] 2022-09-22 23:01:19,913 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-22T23:01:19.978Z] 2022-09-22 23:01:19,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-22T23:01:19.978Z] 2022-09-22 23:01:19,914 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-376/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376, universal_newlines=False, shell=None, istream=None) [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,800 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,800 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,800 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,805 [execute] INFO git cat-file --batch-check [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,811 [execute] INFO git cat-file --batch [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T23:01:20.917Z] 2022-09-22 23:01:20,817 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-22T23:01:20.917Z] 0.0.0 [Pipeline] } [2022-09-22T23:01:20.938Z] $ docker exec --env ******** --env ******** 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent -k [2022-09-22T23:01:21.042Z] unset SSH_AUTH_SOCK; [2022-09-22T23:01:21.045Z] unset SSH_AGENT_PID; [2022-09-22T23:01:21.045Z] echo Agent pid 76 killed; [2022-09-22T23:01:21.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T23:01:21.487Z] + git semver [Pipeline] } [2022-09-22T23:01:21.766Z] $ docker stop --time=1 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c [2022-09-22T23:01:23.102Z] $ docker rm -f 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:01:23.515Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T23:01:23.750Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T23:01:23.767Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:01:24.339Z] provisioning config files... [2022-09-22T23:01:24.350Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config10276189703791962915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:01:24.690Z] ---> docker-login.sh [2022-09-22T23:01:24.690Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:01:24.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:24.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:24.690Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:24.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:24.690Z] [2022-09-22T23:01:24.690Z] Login Succeeded [2022-09-22T23:01:24.690Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:01:24.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:24.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:24.690Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:24.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:24.690Z] [2022-09-22T23:01:24.690Z] Login Succeeded [2022-09-22T23:01:24.690Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:01:24.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:24.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:24.949Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:24.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:24.949Z] [2022-09-22T23:01:24.949Z] Login Succeeded [2022-09-22T23:01:24.949Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:01:24.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:24.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:24.949Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:24.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:24.949Z] [2022-09-22T23:01:24.949Z] Login Succeeded [2022-09-22T23:01:24.949Z] docker.io [2022-09-22T23:01:25.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:01:25.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:01:25.475Z] Configure a credential helper to remove this warning. See [2022-09-22T23:01:25.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:01:25.475Z] [2022-09-22T23:01:25.475Z] Login Succeeded [2022-09-22T23:01:25.475Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:01:25.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:01:25.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:01:25.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:01:25.768Z] ========================================================= [2022-09-22T23:01:25.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T23:01:25.768Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:26.218Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T23:01:26.218Z] Sending build context to Docker daemon 6.172MB [2022-09-22T23:01:26.218Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:01:26.218Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T23:01:26.218Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T23:01:26.218Z] 2408cc74d12b: Pulling fs layer [2022-09-22T23:01:26.218Z] ea60b727a1ce: Pulling fs layer [2022-09-22T23:01:26.218Z] 30c4a7721957: Pulling fs layer [2022-09-22T23:01:26.218Z] 370296b7ddb6: Pulling fs layer [2022-09-22T23:01:26.218Z] 7c6cee850709: Pulling fs layer [2022-09-22T23:01:26.218Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T23:01:26.218Z] d94ebbe4e438: Pulling fs layer [2022-09-22T23:01:26.218Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T23:01:26.218Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T23:01:26.218Z] d94ebbe4e438: Waiting [2022-09-22T23:01:26.218Z] 7c6cee850709: Waiting [2022-09-22T23:01:26.218Z] 39a5fcdaea64: Waiting [2022-09-22T23:01:26.218Z] bcfd1f05c69d: Waiting [2022-09-22T23:01:26.218Z] 370296b7ddb6: Waiting [2022-09-22T23:01:26.218Z] 59ccb84bbe0f: Waiting [2022-09-22T23:01:26.218Z] 30c4a7721957: Download complete [2022-09-22T23:01:26.218Z] ea60b727a1ce: Verifying Checksum [2022-09-22T23:01:26.218Z] ea60b727a1ce: Download complete [2022-09-22T23:01:26.218Z] 7c6cee850709: Verifying Checksum [2022-09-22T23:01:26.218Z] 7c6cee850709: Download complete [2022-09-22T23:01:26.485Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T23:01:26.485Z] 39a5fcdaea64: Download complete [2022-09-22T23:01:26.485Z] 2408cc74d12b: Download complete [2022-09-22T23:01:26.485Z] d94ebbe4e438: Verifying Checksum [2022-09-22T23:01:26.485Z] d94ebbe4e438: Download complete [2022-09-22T23:01:26.485Z] 2408cc74d12b: Pull complete [2022-09-22T23:01:26.751Z] ea60b727a1ce: Pull complete [2022-09-22T23:01:26.751Z] 30c4a7721957: Pull complete [2022-09-22T23:01:27.014Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T23:01:27.014Z] 59ccb84bbe0f: Download complete [2022-09-22T23:01:27.014Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T23:01:27.014Z] bcfd1f05c69d: Download complete [2022-09-22T23:01:27.273Z] 370296b7ddb6: Verifying Checksum [2022-09-22T23:01:27.273Z] 370296b7ddb6: Download complete [2022-09-22T23:01:31.478Z] 370296b7ddb6: Pull complete [2022-09-22T23:01:31.478Z] 7c6cee850709: Pull complete [2022-09-22T23:01:31.478Z] 39a5fcdaea64: Pull complete [2022-09-22T23:01:31.478Z] d94ebbe4e438: Pull complete [2022-09-22T23:01:34.014Z] bcfd1f05c69d: Pull complete [2022-09-22T23:01:34.272Z] 59ccb84bbe0f: Pull complete [2022-09-22T23:01:34.272Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T23:01:34.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T23:01:34.272Z] ---> a4fb48ad2a94 [2022-09-22T23:01:34.272Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:01:36.179Z] ---> Running in 539eae019ee0 [2022-09-22T23:01:36.179Z] Removing intermediate container 539eae019ee0 [2022-09-22T23:01:36.179Z] ---> 370496654cdd [2022-09-22T23:01:36.179Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:01:36.179Z] ---> Running in 5d9f8dd5a25a [2022-09-22T23:01:36.438Z] Removing intermediate container 5d9f8dd5a25a [2022-09-22T23:01:36.438Z] ---> f89aeb5a4380 [2022-09-22T23:01:36.438Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:01:36.438Z] ---> Running in adc267d05b6b [2022-09-22T23:01:37.014Z] Removing intermediate container adc267d05b6b [2022-09-22T23:01:37.014Z] ---> e22730328b93 [2022-09-22T23:01:37.014Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T23:01:37.273Z] ---> Running in 34565b90c248 [2022-09-22T23:01:37.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:01:38.465Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:01:38.465Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:01:38.733Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-22T23:01:38.733Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:01:38.991Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:01:38.991Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-22T23:01:38.991Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-22T23:01:39.167Z] Still waiting to schedule task [2022-09-22T23:01:39.167Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-22T23:01:39.250Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-22T23:01:39.250Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-22T23:01:39.250Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:01:39.250Z] OK: 217 MiB in 59 packages [2022-09-22T23:01:39.822Z] Removing intermediate container 34565b90c248 [2022-09-22T23:01:39.822Z] ---> 5f61143957d8 [2022-09-22T23:01:39.822Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-22T23:01:39.822Z] ---> Running in 42befec48604 [2022-09-22T23:01:40.081Z] Removing intermediate container 42befec48604 [2022-09-22T23:01:40.081Z] ---> 52911a7eaac4 [2022-09-22T23:01:40.081Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T23:01:40.081Z] ---> 9d7521a56471 [2022-09-22T23:01:40.081Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:01:40.340Z] ---> Running in 9c5057fec9f9 [2022-09-22T23:01:55.519Z] Removing intermediate container 9c5057fec9f9 [2022-09-22T23:01:55.519Z] ---> 6a5f733095a0 [2022-09-22T23:01:55.519Z] Step 10/11 : COPY . . [2022-09-22T23:01:55.519Z] ---> 32e8078adeb0 [2022-09-22T23:01:55.519Z] Step 11/11 : RUN ${MAKE} [2022-09-22T23:01:55.519Z] ---> Running in 8cb7ae7f12fe [2022-09-22T23:01:55.519Z] noop [2022-09-22T23:01:55.779Z] Removing intermediate container 8cb7ae7f12fe [2022-09-22T23:01:55.779Z] ---> 8095c9970a4f [2022-09-22T23:01:55.779Z] Successfully built 8095c9970a4f [2022-09-22T23:01:55.779Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:56.206Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:01:56.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:01:56.348Z] prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container [2022-09-22T23:01:56.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T23:01:56.793Z] $ docker top 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:01:57.183Z] + go version [2022-09-22T23:01:57.183Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T23:01:57.218Z] $ docker stop --time=1 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 [2022-09-22T23:01:58.491Z] $ docker rm -f 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:59.195Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:01:59.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:01:59.339Z] prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container [2022-09-22T23:01:59.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T23:01:59.751Z] $ docker top 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:02:00.142Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:02:00.495Z] + make test [2022-09-22T23:02:00.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T23:02:00.753Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-22T23:02:10.712Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-22T23:02:10.712Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements [2022-09-22T23:02:17.272Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T23:02:17.272Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:02:20.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:02:20.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:02:20.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:02:20.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:02:20.622Z] $ docker stop --time=1 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 [2022-09-22T23:02:22.387Z] $ docker rm -f 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:02:22.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:02:22.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T23:02:23.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:02:23.857Z] + ls -al . [2022-09-22T23:02:23.857Z] total 188 [2022-09-22T23:02:23.857Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:02 . [2022-09-22T23:02:23.857Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 .. [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:00 .dockerignore [2022-09-22T23:02:23.857Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:02 .git [2022-09-22T23:02:23.857Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 .github [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 22 23:00 .gitignore [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:00 .golangci.yml [2022-09-22T23:02:23.857Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:01 .semver [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 22 23:00 Attribution.txt [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 22 23:00 CHANGELOG.md [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 22 23:00 Dockerfile [2022-09-22T23:02:23.857Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:00 GOVERNANCE.md [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 23:00 Jenkinsfile [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:00 LICENSE [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 22 23:00 Makefile [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 22 23:00 OWNERS.md [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 22 23:00 README.md [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:01 VERSION [2022-09-22T23:02:23.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 bin [2022-09-22T23:02:23.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 cmd [2022-09-22T23:02:23.858Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 22 23:02 coverage.out [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 22 23:00 go.mod [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 22 23:00 go.sum [2022-09-22T23:02:23.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 internal [2022-09-22T23:02:23.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 simulator [2022-09-22T23:02:23.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 snap [2022-09-22T23:02:23.858Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 22 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:24.241Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd --label arch=amd64 --label version=0.0.0 . [2022-09-22T23:02:24.242Z] Sending build context to Docker daemon 6.196MB [2022-09-22T23:02:24.242Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:02:24.242Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-22T23:02:24.242Z] ---> 8095c9970a4f [2022-09-22T23:02:24.242Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:02:24.242Z] ---> Running in 484772a033c3 [2022-09-22T23:02:24.502Z] Removing intermediate container 484772a033c3 [2022-09-22T23:02:24.502Z] ---> d8f81d2c34ff [2022-09-22T23:02:24.502Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:02:24.502Z] ---> Running in 04be31be8772 [2022-09-22T23:02:24.502Z] Removing intermediate container 04be31be8772 [2022-09-22T23:02:24.502Z] ---> cafee02c8235 [2022-09-22T23:02:24.502Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:02:24.761Z] ---> Running in 6736b303ce42 [2022-09-22T23:02:25.329Z] Removing intermediate container 6736b303ce42 [2022-09-22T23:02:25.329Z] ---> 19a565f459ab [2022-09-22T23:02:25.329Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T23:02:25.329Z] ---> Running in 88e0770ed7d9 [2022-09-22T23:02:25.588Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:26.524Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:26.782Z] OK: 217 MiB in 59 packages [2022-09-22T23:02:27.042Z] Removing intermediate container 88e0770ed7d9 [2022-09-22T23:02:27.042Z] ---> 7c82def087be [2022-09-22T23:02:27.042Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-22T23:02:27.042Z] ---> Running in 20fad8caa4e0 [2022-09-22T23:02:27.322Z] Removing intermediate container 20fad8caa4e0 [2022-09-22T23:02:27.322Z] ---> 15039f4d5bc4 [2022-09-22T23:02:27.322Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-22T23:02:27.322Z] ---> b977ec107895 [2022-09-22T23:02:27.322Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:02:27.581Z] ---> Running in b5b2b41bf5e6 [2022-09-22T23:02:28.148Z] Removing intermediate container b5b2b41bf5e6 [2022-09-22T23:02:28.148Z] ---> d31a7defd62f [2022-09-22T23:02:28.148Z] Step 10/24 : COPY . . [2022-09-22T23:02:28.407Z] ---> 5aef227a9f33 [2022-09-22T23:02:28.407Z] Step 11/24 : RUN ${MAKE} [2022-09-22T23:02:28.666Z] ---> Running in a6e0f0477b3c [2022-09-22T23:02:28.666Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-22T23:02:51.479Z] Removing intermediate container a6e0f0477b3c [2022-09-22T23:02:51.479Z] ---> 7ec5c2e3fc6f [2022-09-22T23:02:51.479Z] Step 12/24 : FROM alpine:3.14 [2022-09-22T23:02:51.479Z] 3.14: Pulling from library/alpine [2022-09-22T23:02:51.479Z] c7ed990a2339: Pulling fs layer [2022-09-22T23:02:51.479Z] c7ed990a2339: Verifying Checksum [2022-09-22T23:02:51.479Z] c7ed990a2339: Download complete [2022-09-22T23:02:51.479Z] c7ed990a2339: Pull complete [2022-09-22T23:02:51.479Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-22T23:02:51.479Z] Status: Downloaded newer image for alpine:3.14 [2022-09-22T23:02:51.479Z] ---> dd53f409bf0b [2022-09-22T23:02:51.479Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-22T23:02:51.479Z] ---> Running in d82361f1311b [2022-09-22T23:02:51.479Z] Removing intermediate container d82361f1311b [2022-09-22T23:02:51.479Z] ---> b7383b7491cc [2022-09-22T23:02:51.479Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:02:51.479Z] ---> Running in f085a9fa1edb [2022-09-22T23:02:51.479Z] Removing intermediate container f085a9fa1edb [2022-09-22T23:02:51.479Z] ---> 7369b2874747 [2022-09-22T23:02:51.479Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:02:51.479Z] ---> Running in d514a1a69bae [2022-09-22T23:02:51.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:51.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:51.738Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:02:51.998Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-22T23:02:51.998Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:02:51.998Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-22T23:02:52.256Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:02:52.256Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:02:52.515Z] Executing busybox-1.33.1-r8.trigger [2022-09-22T23:02:52.515Z] OK: 8 MiB in 20 packages [2022-09-22T23:02:53.082Z] Removing intermediate container d514a1a69bae [2022-09-22T23:02:53.082Z] ---> 81cffcc2c668 [2022-09-22T23:02:53.082Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-22T23:02:53.647Z] ---> ed800a52af29 [2022-09-22T23:02:53.647Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-22T23:02:53.647Z] ---> e3f03a823c12 [2022-09-22T23:02:53.647Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-22T23:02:53.906Z] ---> 9f12f5f37ebf [2022-09-22T23:02:53.906Z] Step 19/24 : EXPOSE 59901 [2022-09-22T23:02:53.906Z] ---> Running in 690f8cb22c5b [2022-09-22T23:02:54.167Z] Removing intermediate container 690f8cb22c5b [2022-09-22T23:02:54.167Z] ---> d93c20b5b0a3 [2022-09-22T23:02:54.167Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-22T23:02:54.167Z] ---> Running in a2482eb581a4 [2022-09-22T23:02:54.167Z] Removing intermediate container a2482eb581a4 [2022-09-22T23:02:54.167Z] ---> 860ee55da9ab [2022-09-22T23:02:54.167Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T23:02:54.167Z] ---> Running in 547aebf96306 [2022-09-22T23:02:54.425Z] Removing intermediate container 547aebf96306 [2022-09-22T23:02:54.425Z] ---> c90e8cb96019 [2022-09-22T23:02:54.425Z] Step 22/24 : LABEL arch=amd64 [2022-09-22T23:02:54.425Z] ---> Running in 8298f92543cb [2022-09-22T23:02:54.425Z] Removing intermediate container 8298f92543cb [2022-09-22T23:02:54.425Z] ---> 8fa688620306 [2022-09-22T23:02:54.425Z] Step 23/24 : LABEL git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [2022-09-22T23:02:54.425Z] ---> Running in 4cec92b25396 [2022-09-22T23:02:54.684Z] Removing intermediate container 4cec92b25396 [2022-09-22T23:02:54.684Z] ---> ee75bc8e0e1e [2022-09-22T23:02:54.684Z] Step 24/24 : LABEL version=0.0.0 [2022-09-22T23:02:54.684Z] ---> Running in a0e07fdd4857 [2022-09-22T23:02:54.684Z] Removing intermediate container a0e07fdd4857 [2022-09-22T23:02:54.684Z] ---> e8401c360027 [2022-09-22T23:02:54.684Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:02:54.684Z] Successfully built e8401c360027 [2022-09-22T23:02:54.684Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:55.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:55.556Z] [2022-09-22T23:02:55.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:55.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:55.930Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T23:02:55.930Z] 5eb5b503b376: Pulling fs layer [2022-09-22T23:02:55.930Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T23:02:55.930Z] ec43610c2a17: Pulling fs layer [2022-09-22T23:02:55.930Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T23:02:55.930Z] 33b1e0a273af: Pulling fs layer [2022-09-22T23:02:55.930Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T23:02:55.930Z] 2f39f015ded8: Pulling fs layer [2022-09-22T23:02:55.930Z] 3a2ae6a8a46f: Waiting [2022-09-22T23:02:55.930Z] 33b1e0a273af: Waiting [2022-09-22T23:02:55.930Z] 2f39f015ded8: Waiting [2022-09-22T23:02:55.930Z] 5d3b04190fa2: Waiting [2022-09-22T23:02:55.930Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T23:02:55.930Z] 5c69ac0246d0: Download complete [2022-09-22T23:02:55.930Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T23:02:55.930Z] 3a2ae6a8a46f: Download complete [2022-09-22T23:02:56.190Z] 33b1e0a273af: Verifying Checksum [2022-09-22T23:02:56.190Z] 33b1e0a273af: Download complete [2022-09-22T23:02:56.190Z] ec43610c2a17: Verifying Checksum [2022-09-22T23:02:56.190Z] ec43610c2a17: Download complete [2022-09-22T23:02:56.190Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T23:02:56.190Z] 5d3b04190fa2: Download complete [2022-09-22T23:02:56.190Z] 5eb5b503b376: Verifying Checksum [2022-09-22T23:02:56.190Z] 5eb5b503b376: Download complete [2022-09-22T23:02:56.756Z] 2f39f015ded8: Download complete [2022-09-22T23:02:57.332Z] 5eb5b503b376: Pull complete [2022-09-22T23:02:57.594Z] 5c69ac0246d0: Pull complete [2022-09-22T23:02:58.161Z] ec43610c2a17: Pull complete [2022-09-22T23:02:58.161Z] 3a2ae6a8a46f: Pull complete [2022-09-22T23:02:58.420Z] 33b1e0a273af: Pull complete [2022-09-22T23:02:58.420Z] 5d3b04190fa2: Pull complete [2022-09-22T23:03:03.687Z] 2f39f015ded8: Pull complete [2022-09-22T23:03:03.687Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T23:03:03.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:03:03.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:03:03.907Z] prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container [2022-09-22T23:03:03.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -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:latest cat [2022-09-22T23:03:05.603Z] $ docker top 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:06.037Z] ---> job-cost.sh [2022-09-22T23:03:06.037Z] lf-activate-venv: SKIPPING [2022-09-22T23:03:06.037Z] INFO: No Stack... [2022-09-22T23:03:06.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:03:06.863Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:03:07.187Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv [2022-09-22T23:03:07.187Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:03:07.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [2022-09-22T23:03:07.233Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] did not exist. Created. [2022-09-22T23:03:07.234Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:03:07.619Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T23:03:07.669Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:03:07.701Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:03:07.787Z] $ docker stop --time=1 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 [2022-09-22T23:03:08.966Z] $ docker rm -f 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T23:04:50.602Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-683 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws [2022-09-22T23:04:50.647Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T23:04:50.734Z] Selected Git installation does not exist. Using Default [2022-09-22T23:04:50.734Z] The recommended git tool is: NONE [2022-09-22T23:04:55.986Z] using credential edgex-jenkins-ssh [2022-09-22T23:04:56.000Z] Cloning the remote Git repository [2022-09-22T23:04:56.048Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-22T23:04:56.125Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-09-22T23:04:56.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-22T23:04:56.288Z] > git --version # timeout=10 [2022-09-22T23:04:56.316Z] > git --version # 'git version 2.25.1' [2022-09-22T23:04:56.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:04:56.369Z] Verifying host key using known hosts file [2022-09-22T23:04:56.584Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:04:56.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:04:57.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-22T23:04:57.751Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:04:59.384Z] Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [2022-09-22T23:04:58.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-22T23:04:58.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-22T23:04:58.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:04:58.707Z] Verifying host key using known hosts file [2022-09-22T23:04:58.714Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:04:58.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T23:04:59.405Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:04:59.429Z] > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [2022-09-22T23:04:59.512Z] > git remote # timeout=10 [2022-09-22T23:04:59.534Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T23:04:59.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:04:59.553Z] Verifying host key using known hosts file [2022-09-22T23:04:59.557Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:04:59.565Z] > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 [2022-09-22T23:04:59.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T23:04:59.612Z] Merge succeeded, producing c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [2022-09-22T23:04:59.612Z] Checking out Revision c2e0f675d3f4f9009a8b9434d51a991f7e5265cd (PR-376) [2022-09-22T23:04:59.621Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:04:59.634Z] > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [2022-09-22T23:05:03.137Z] Commit message: "build: Add option to build Service with NATS Capability" [2022-09-22T23:05:03.194Z] > git --version # timeout=10 [2022-09-22T23:05:03.209Z] > git --version # 'git version 2.25.1' [2022-09-22T23:05:03.231Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:05:04.305Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T23:05:04.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:05:04.305Z] Dload Upload Total Spent Left Speed [2022-09-22T23:05:04.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-09-22T23:05:05.048Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T23:05:05.397Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T23:05:05.397Z] + sudo tee /etc/docker/daemon.new [2022-09-22T23:05:05.397Z] { [2022-09-22T23:05:05.397Z] "registry-mirrors": [ [2022-09-22T23:05:05.397Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T23:05:05.397Z] ], [2022-09-22T23:05:05.397Z] "bip": "10.250.0.254/24", [2022-09-22T23:05:05.397Z] "hosts": [ [2022-09-22T23:05:05.397Z] "tcp://0.0.0.0:5555", [2022-09-22T23:05:05.397Z] "unix:///var/run/docker.sock" [2022-09-22T23:05:05.397Z] ], [2022-09-22T23:05:05.397Z] "mtu": 1458, [2022-09-22T23:05:05.397Z] "selinux-enabled": true, [2022-09-22T23:05:05.397Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T23:05:05.397Z] } [Pipeline] sh [2022-09-22T23:05:05.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T23:05:06.104Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:05:24.440Z] provisioning config files... [2022-09-22T23:05:24.468Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10792461342537075716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:05:24.860Z] ---> docker-login.sh [2022-09-22T23:05:24.860Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:05:25.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:05:25.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:05:25.415Z] Configure a credential helper to remove this warning. See [2022-09-22T23:05:25.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:05:25.415Z] [2022-09-22T23:05:25.415Z] Login Succeeded [2022-09-22T23:05:25.415Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:05:25.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:05:25.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:05:25.683Z] Configure a credential helper to remove this warning. See [2022-09-22T23:05:25.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:05:25.683Z] [2022-09-22T23:05:25.683Z] Login Succeeded [2022-09-22T23:05:25.683Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:05:25.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:05:26.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:05:26.220Z] Configure a credential helper to remove this warning. See [2022-09-22T23:05:26.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:05:26.220Z] [2022-09-22T23:05:26.220Z] Login Succeeded [2022-09-22T23:05:26.220Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:05:26.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:05:26.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:05:26.489Z] Configure a credential helper to remove this warning. See [2022-09-22T23:05:26.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:05:26.489Z] [2022-09-22T23:05:26.489Z] Login Succeeded [2022-09-22T23:05:26.489Z] docker.io [2022-09-22T23:05:26.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:05:27.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:05:27.023Z] Configure a credential helper to remove this warning. See [2022-09-22T23:05:27.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:05:27.023Z] [2022-09-22T23:05:27.023Z] Login Succeeded [2022-09-22T23:05:27.023Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:05:27.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:05:27.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:05:27.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:05:27.407Z] ========================================================= [2022-09-22T23:05:27.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T23:05:27.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:05:27.903Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T23:05:28.173Z] Sending build context to Docker daemon 3.224MB [2022-09-22T23:05:28.173Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:05:28.173Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T23:05:28.447Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T23:05:28.447Z] b3c136eddcbf: Pulling fs layer [2022-09-22T23:05:28.447Z] c0a3192eca97: Pulling fs layer [2022-09-22T23:05:28.447Z] a050256f5b6f: Pulling fs layer [2022-09-22T23:05:28.447Z] 656be50a0ddc: Pulling fs layer [2022-09-22T23:05:28.447Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T23:05:28.447Z] 46d945488cbd: Pulling fs layer [2022-09-22T23:05:28.447Z] 8a5474983e97: Pulling fs layer [2022-09-22T23:05:28.447Z] 329c88fbcd65: Pulling fs layer [2022-09-22T23:05:28.447Z] 656be50a0ddc: Waiting [2022-09-22T23:05:28.447Z] 46d945488cbd: Waiting [2022-09-22T23:05:28.447Z] 2bbca73fdf42: Waiting [2022-09-22T23:05:28.447Z] 8a5474983e97: Waiting [2022-09-22T23:05:28.447Z] 329c88fbcd65: Waiting [2022-09-22T23:05:28.447Z] a050256f5b6f: Verifying Checksum [2022-09-22T23:05:28.447Z] a050256f5b6f: Download complete [2022-09-22T23:05:28.447Z] c0a3192eca97: Verifying Checksum [2022-09-22T23:05:28.447Z] c0a3192eca97: Download complete [2022-09-22T23:05:28.447Z] 2bbca73fdf42: Download complete [2022-09-22T23:05:28.447Z] 46d945488cbd: Verifying Checksum [2022-09-22T23:05:28.447Z] 46d945488cbd: Download complete [2022-09-22T23:05:28.447Z] b3c136eddcbf: Verifying Checksum [2022-09-22T23:05:28.447Z] b3c136eddcbf: Download complete [2022-09-22T23:05:29.442Z] b3c136eddcbf: Pull complete [2022-09-22T23:05:29.442Z] 329c88fbcd65: Verifying Checksum [2022-09-22T23:05:29.442Z] 329c88fbcd65: Download complete [2022-09-22T23:05:30.034Z] c0a3192eca97: Pull complete [2022-09-22T23:05:30.304Z] a050256f5b6f: Pull complete [2022-09-22T23:05:30.577Z] 8a5474983e97: Verifying Checksum [2022-09-22T23:05:30.577Z] 8a5474983e97: Download complete [2022-09-22T23:05:31.544Z] 656be50a0ddc: Verifying Checksum [2022-09-22T23:05:31.544Z] 656be50a0ddc: Download complete [2022-09-22T23:05:43.872Z] 656be50a0ddc: Pull complete [2022-09-22T23:05:43.872Z] 2bbca73fdf42: Pull complete [2022-09-22T23:05:43.872Z] 46d945488cbd: Pull complete [2022-09-22T23:05:49.228Z] 8a5474983e97: Pull complete [2022-09-22T23:05:51.187Z] 329c88fbcd65: Pull complete [2022-09-22T23:05:51.187Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T23:05:51.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T23:05:51.187Z] ---> ff4287adb874 [2022-09-22T23:05:51.187Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:05:53.152Z] ---> Running in 8c15dce5dfcc [2022-09-22T23:05:53.152Z] Removing intermediate container 8c15dce5dfcc [2022-09-22T23:05:53.152Z] ---> b21402f89023 [2022-09-22T23:05:53.152Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:05:53.420Z] ---> Running in a68d3af358b5 [2022-09-22T23:05:53.686Z] Removing intermediate container a68d3af358b5 [2022-09-22T23:05:53.686Z] ---> 020b8d2165c2 [2022-09-22T23:05:53.686Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:05:53.686Z] ---> Running in 02dce3699947 [2022-09-22T23:05:55.637Z] Removing intermediate container 02dce3699947 [2022-09-22T23:05:55.637Z] ---> 098b49d3be8c [2022-09-22T23:05:55.637Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T23:05:55.638Z] ---> Running in 5424aff06247 [2022-09-22T23:05:56.604Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:05:57.563Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:05:58.525Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:05:58.525Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-22T23:05:58.525Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:05:58.793Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:05:58.793Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-22T23:05:59.061Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-22T23:05:59.061Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-22T23:05:59.061Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-22T23:05:59.327Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:05:59.327Z] OK: 228 MiB in 59 packages [2022-09-22T23:06:00.293Z] Removing intermediate container 5424aff06247 [2022-09-22T23:06:00.293Z] ---> 1483b4070ad9 [2022-09-22T23:06:00.293Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-22T23:06:00.293Z] ---> Running in e9115f6fa756 [2022-09-22T23:06:00.879Z] Removing intermediate container e9115f6fa756 [2022-09-22T23:06:00.879Z] ---> 420e1af0f54e [2022-09-22T23:06:00.879Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T23:06:01.147Z] ---> c9813b739198 [2022-09-22T23:06:01.147Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:06:01.436Z] ---> Running in 97b4b8c89b57 [2022-09-22T23:06:48.314Z] Removing intermediate container 97b4b8c89b57 [2022-09-22T23:06:48.315Z] ---> aa6f9edf28a7 [2022-09-22T23:06:48.315Z] Step 10/11 : COPY . . [2022-09-22T23:06:49.282Z] ---> 0be96331b973 [2022-09-22T23:06:49.282Z] Step 11/11 : RUN ${MAKE} [2022-09-22T23:06:49.282Z] ---> Running in 9bf378dede38 [2022-09-22T23:06:50.240Z] noop [2022-09-22T23:06:50.825Z] Removing intermediate container 9bf378dede38 [2022-09-22T23:06:50.825Z] ---> a1d4c0b7bad8 [2022-09-22T23:06:50.825Z] Successfully built a1d4c0b7bad8 [2022-09-22T23:06:50.825Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:06:51.304Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:06:51.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:06:51.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container [2022-09-22T23:06:51.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:06:52.800Z] $ docker top daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:06:53.691Z] + go version [2022-09-22T23:06:53.691Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T23:06:53.723Z] $ docker stop --time=1 daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 [2022-09-22T23:06:55.336Z] $ docker rm -f daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:06:56.186Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:06:56.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:06:56.437Z] prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container [2022-09-22T23:06:56.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:06:57.629Z] $ docker top 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:06:58.183Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:06:58.890Z] + make test [2022-09-22T23:06:58.890Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T23:07:00.302Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-22T23:08:36.992Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-22T23:08:36.992Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.101s coverage: 47.7% of statements [2022-09-22T23:08:36.992Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T23:08:36.992Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:08:49.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:08:49.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:08:49.337Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:08:49.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:08:49.404Z] $ docker stop --time=1 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 [2022-09-22T23:08:51.172Z] $ docker rm -f 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:08:52.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:08:52.214Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T23:08:52.648Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:08:53.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:08:53.590Z] + ls -al . [2022-09-22T23:08:53.590Z] total 184 [2022-09-22T23:08:53.590Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:06 . [2022-09-22T23:08:53.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:04 .. [2022-09-22T23:08:53.590Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:04 .dockerignore [2022-09-22T23:08:53.590Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:04 .git [2022-09-22T23:08:53.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 .github [2022-09-22T23:08:53.590Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 22 23:04 .gitignore [2022-09-22T23:08:53.590Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:04 .golangci.yml [2022-09-22T23:08:53.590Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 22 23:04 Attribution.txt [2022-09-22T23:08:53.590Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 22 23:04 CHANGELOG.md [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 22 23:04 Dockerfile [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:04 GOVERNANCE.md [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 23:04 Jenkinsfile [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:04 LICENSE [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 22 23:04 Makefile [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 22 23:04 OWNERS.md [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 22 23:04 README.md [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:01 VERSION [2022-09-22T23:08:53.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:04 bin [2022-09-22T23:08:53.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 cmd [2022-09-22T23:08:53.591Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 22 23:08 coverage.out [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 22 23:04 go.mod [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 22 23:04 go.sum [2022-09-22T23:08:53.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 internal [2022-09-22T23:08:53.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:04 simulator [2022-09-22T23:08:53.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:04 snap [2022-09-22T23:08:53.591Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 22 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:08:54.005Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd --label arch=arm64 --label version=0.0.0 . [2022-09-22T23:08:54.273Z] Sending build context to Docker daemon 3.248MB [2022-09-22T23:08:54.273Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:08:54.273Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-22T23:08:54.273Z] ---> a1d4c0b7bad8 [2022-09-22T23:08:54.273Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:08:54.867Z] ---> Running in c124ee086402 [2022-09-22T23:08:55.138Z] Removing intermediate container c124ee086402 [2022-09-22T23:08:55.138Z] ---> 0916a323e27b [2022-09-22T23:08:55.138Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:08:55.138Z] ---> Running in 1dc77ae587ec [2022-09-22T23:08:55.406Z] Removing intermediate container 1dc77ae587ec [2022-09-22T23:08:55.406Z] ---> c94a9c78fd39 [2022-09-22T23:08:55.406Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:08:55.406Z] ---> Running in e2e3db208ef8 [2022-09-22T23:08:57.355Z] Removing intermediate container e2e3db208ef8 [2022-09-22T23:08:57.355Z] ---> 1ad0b70be6d9 [2022-09-22T23:08:57.355Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T23:08:57.355Z] ---> Running in 038ee54ad533 [2022-09-22T23:08:58.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:08:59.286Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:09:00.247Z] OK: 228 MiB in 59 packages [2022-09-22T23:09:01.218Z] Removing intermediate container 038ee54ad533 [2022-09-22T23:09:01.218Z] ---> 049bb524d89d [2022-09-22T23:09:01.218Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-22T23:09:01.218Z] ---> Running in d9df76319717 [2022-09-22T23:09:01.484Z] Removing intermediate container d9df76319717 [2022-09-22T23:09:01.484Z] ---> 06f2a7d9e6c7 [2022-09-22T23:09:01.484Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-22T23:09:02.073Z] ---> 7814bc4b90b0 [2022-09-22T23:09:02.073Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:09:02.073Z] ---> Running in e27d0e340e98 [2022-09-22T23:09:04.019Z] Removing intermediate container e27d0e340e98 [2022-09-22T23:09:04.019Z] ---> 3929f07a3c2d [2022-09-22T23:09:04.019Z] Step 10/24 : COPY . . [2022-09-22T23:09:04.985Z] ---> 03a735d79f05 [2022-09-22T23:09:04.986Z] Step 11/24 : RUN ${MAKE} [2022-09-22T23:09:04.986Z] ---> Running in c2bcfdce4d71 [2022-09-22T23:09:05.949Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-22T23:11:42.911Z] Removing intermediate container c2bcfdce4d71 [2022-09-22T23:11:42.911Z] ---> b86661c53928 [2022-09-22T23:11:42.911Z] Step 12/24 : FROM alpine:3.14 [2022-09-22T23:11:42.911Z] 3.14: Pulling from library/alpine [2022-09-22T23:11:42.911Z] 90cda3b7c325: Pulling fs layer [2022-09-22T23:11:42.911Z] 90cda3b7c325: Verifying Checksum [2022-09-22T23:11:42.911Z] 90cda3b7c325: Download complete [2022-09-22T23:11:42.911Z] 90cda3b7c325: Pull complete [2022-09-22T23:11:42.911Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-22T23:11:42.911Z] Status: Downloaded newer image for alpine:3.14 [2022-09-22T23:11:42.911Z] ---> 376ba31ae3da [2022-09-22T23:11:42.911Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-22T23:11:42.911Z] ---> Running in 4c198fe5b8d4 [2022-09-22T23:11:42.911Z] Removing intermediate container 4c198fe5b8d4 [2022-09-22T23:11:42.911Z] ---> c7e21ea95e03 [2022-09-22T23:11:42.911Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:11:42.911Z] ---> Running in d7595c27a1aa [2022-09-22T23:11:43.878Z] Removing intermediate container d7595c27a1aa [2022-09-22T23:11:43.878Z] ---> 543d616734f0 [2022-09-22T23:11:43.878Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:11:43.878Z] ---> Running in 4d71bb97c338 [2022-09-22T23:11:44.837Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:11:45.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:11:46.379Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:11:46.645Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-22T23:11:46.645Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:11:46.912Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-22T23:11:46.912Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:11:47.180Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:11:47.181Z] Executing busybox-1.33.1-r8.trigger [2022-09-22T23:11:47.181Z] OK: 8 MiB in 20 packages [2022-09-22T23:11:48.140Z] Removing intermediate container 4d71bb97c338 [2022-09-22T23:11:48.140Z] ---> fb09eb52d833 [2022-09-22T23:11:48.140Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-22T23:11:49.549Z] ---> 03a85e209ca7 [2022-09-22T23:11:49.549Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-22T23:11:49.825Z] ---> ef36057ad320 [2022-09-22T23:11:49.825Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-22T23:11:50.413Z] ---> b6ecf45bd697 [2022-09-22T23:11:50.413Z] Step 19/24 : EXPOSE 59901 [2022-09-22T23:11:50.413Z] ---> Running in fe1890bdc272 [2022-09-22T23:11:50.681Z] Removing intermediate container fe1890bdc272 [2022-09-22T23:11:50.681Z] ---> 1cd5ff907ee6 [2022-09-22T23:11:50.681Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-22T23:11:50.681Z] ---> Running in 6b80780e8446 [2022-09-22T23:11:50.955Z] Removing intermediate container 6b80780e8446 [2022-09-22T23:11:50.955Z] ---> 0b010944778f [2022-09-22T23:11:50.955Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T23:11:51.220Z] ---> Running in 84eb4f415e69 [2022-09-22T23:11:51.485Z] Removing intermediate container 84eb4f415e69 [2022-09-22T23:11:51.485Z] ---> ffd6692f528b [2022-09-22T23:11:51.485Z] Step 22/24 : LABEL arch=arm64 [2022-09-22T23:11:51.485Z] ---> Running in fdc06fc74926 [2022-09-22T23:11:51.751Z] Removing intermediate container fdc06fc74926 [2022-09-22T23:11:51.751Z] ---> efccd97d894e [2022-09-22T23:11:51.751Z] Step 23/24 : LABEL git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [2022-09-22T23:11:51.751Z] ---> Running in 084b9144afc4 [2022-09-22T23:11:52.019Z] Removing intermediate container 084b9144afc4 [2022-09-22T23:11:52.019Z] ---> b09039450763 [2022-09-22T23:11:52.019Z] Step 24/24 : LABEL version=0.0.0 [2022-09-22T23:11:52.286Z] ---> Running in 68a2eff916c0 [2022-09-22T23:11:52.552Z] Removing intermediate container 68a2eff916c0 [2022-09-22T23:11:52.552Z] ---> 0e78747155ce [2022-09-22T23:11:52.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:11:52.552Z] Successfully built 0e78747155ce [2022-09-22T23:11:52.552Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:11:53.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:11:53.367Z] [2022-09-22T23:11:53.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:11:53.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:11:53.770Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T23:11:53.770Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T23:11:53.770Z] 04944245beec: Pulling fs layer [2022-09-22T23:11:53.770Z] 699f458cf7ca: Pulling fs layer [2022-09-22T23:11:53.770Z] 765212b225bb: Pulling fs layer [2022-09-22T23:11:53.770Z] f23df028b6ca: Pulling fs layer [2022-09-22T23:11:53.770Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T23:11:53.770Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T23:11:53.770Z] f23df028b6ca: Waiting [2022-09-22T23:11:53.770Z] d65c8cfc05b1: Waiting [2022-09-22T23:11:53.770Z] 2437ff75d9bd: Waiting [2022-09-22T23:11:53.770Z] 765212b225bb: Waiting [2022-09-22T23:11:54.039Z] 04944245beec: Verifying Checksum [2022-09-22T23:11:54.039Z] 04944245beec: Download complete [2022-09-22T23:11:54.039Z] 765212b225bb: Verifying Checksum [2022-09-22T23:11:54.039Z] 765212b225bb: Download complete [2022-09-22T23:11:54.039Z] f23df028b6ca: Verifying Checksum [2022-09-22T23:11:54.039Z] f23df028b6ca: Download complete [2022-09-22T23:11:54.039Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T23:11:54.039Z] d65c8cfc05b1: Download complete [2022-09-22T23:11:54.039Z] 699f458cf7ca: Verifying Checksum [2022-09-22T23:11:54.039Z] 699f458cf7ca: Download complete [2022-09-22T23:11:54.627Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T23:11:54.627Z] 8998bd30e6a1: Download complete [2022-09-22T23:11:57.210Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T23:11:57.210Z] 2437ff75d9bd: Download complete [2022-09-22T23:11:58.629Z] 8998bd30e6a1: Pull complete [2022-09-22T23:11:58.896Z] 04944245beec: Pull complete [2022-09-22T23:12:00.309Z] 699f458cf7ca: Pull complete [2022-09-22T23:12:00.309Z] 765212b225bb: Pull complete [2022-09-22T23:12:01.273Z] f23df028b6ca: Pull complete [2022-09-22T23:12:01.273Z] d65c8cfc05b1: Pull complete [2022-09-22T23:12:16.260Z] 2437ff75d9bd: Pull complete [2022-09-22T23:12:16.260Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T23:12:16.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:12:16.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:12:16.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container [2022-09-22T23:12:16.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** -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:arm64 cat [2022-09-22T23:12:19.268Z] $ docker top 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:20.173Z] ---> job-cost.sh [2022-09-22T23:12:20.173Z] lf-activate-venv: SKIPPING [2022-09-22T23:12:20.173Z] INFO: No Stack... [2022-09-22T23:12:20.755Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T23:12:21.335Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:12:21.992Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-09-22T23:12:21.992Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:12:22.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [2022-09-22T23:12:22.071Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] did not exist. Created. [2022-09-22T23:12:22.072Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:12:22.476Z] /w/workspace/device-modbus-go/1@tmp/durable-a104e55c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T23:12:22.824Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T23:12:22.865Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T23:12:22.915Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:12:22.931Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:12:23.018Z] $ docker stop --time=1 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec [2022-09-22T23:12:24.487Z] $ docker rm -f 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-22T23:12:25.479Z] provisioning config files... [2022-09-22T23:12:25.487Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config7483435845294780684tmp [Pipeline] { [Pipeline] sh [2022-09-22T23:12:25.815Z] + set +x [2022-09-22T23:12:25.815Z] + curl -s https://codecov.io/bash [2022-09-22T23:12:25.815Z] + bash -s -- [2022-09-22T23:12:25.815Z] [2022-09-22T23:12:25.815Z] _____ _ [2022-09-22T23:12:25.815Z] / ____| | | [2022-09-22T23:12:25.815Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T23:12:25.815Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T23:12:25.815Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T23:12:25.815Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T23:12:25.815Z] Bash-1.0.6 [2022-09-22T23:12:25.815Z] [2022-09-22T23:12:25.815Z] [2022-09-22T23:12:25.815Z] ==> git version 2.25.1 found [2022-09-22T23:12:25.815Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-22T23:12:25.815Z] Release-Date: 2020-01-08 [2022-09-22T23:12:25.815Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T23:12:25.815Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T23:12:25.815Z] ==> Jenkins CI detected. [2022-09-22T23:12:25.816Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-22T23:12:25.816Z] project root: . [2022-09-22T23:12:25.816Z] --> token set from env [2022-09-22T23:12:25.816Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T23:12:25.816Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T23:12:25.816Z] ==> Python coveragepy not found [2022-09-22T23:12:25.816Z] ==> Searching for coverage reports in: [2022-09-22T23:12:25.816Z] + . [2022-09-22T23:12:25.816Z] -> Found 1 reports [2022-09-22T23:12:25.816Z] ==> Detecting git/mercurial file structure [2022-09-22T23:12:25.816Z] ==> Reading reports [2022-09-22T23:12:25.816Z] + ./coverage.out bytes=23241 [2022-09-22T23:12:25.816Z] ==> Appending adjustments [2022-09-22T23:12:25.816Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T23:12:26.076Z] + Found adjustments [2022-09-22T23:12:26.076Z] ==> Gzipping contents [2022-09-22T23:12:26.076Z] 4.0K /tmp/codecov.WoIOWp.gz [2022-09-22T23:12:26.076Z] ==> Uploading reports [2022-09-22T23:12:26.076Z] url: https://codecov.io [2022-09-22T23:12:26.076Z] query: branch=PR-376&commit=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-22T23:12:26.076Z] -> Pinging Codecov [2022-09-22T23:12:26.076Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-376&commit=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-22T23:12:26.335Z] -> Uploading to [2022-09-22T23:12:26.335Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/55DBCA73C666E3227836607328DD7E49/c2e0f675d3f4f9009a8b9434d51a991f7e5265cd/9cd1ad11-b59c-48d0-a967-bd66faa4ee44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T231226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ae2569f3a3930c2aebd87de87f017bdc07b21f109f47e90412d9dc80336c20f [2022-09-22T23:12:26.335Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:12:26.335Z] Dload Upload Total Spent Left Speed [2022-09-22T23:12:26.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 17161 --:--:-- --:--:-- --:--:-- 17161 [2022-09-22T23:12:26.595Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] } [2022-09-22T23:12:26.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-22T23:12:28.383Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] [2022-09-22T23:12:28.383Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-22T23:12:28.383Z] total 16 [2022-09-22T23:12:28.383Z] drwxr-xr-x 3 root root 4096 Sep 22 23:03 . [2022-09-22T23:12:28.383Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:03 .. [2022-09-22T23:12:28.383Z] drwxr-xr-x 2 root root 4096 Sep 22 23:03 cost [2022-09-22T23:12:28.383Z] -rw-r--r-- 1 root root 88 Sep 22 23:03 cost.csv [2022-09-22T23:12:28.383Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-22T23:12:28.383Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-22T23:12:28.383Z] total 16 [2022-09-22T23:12:28.383Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:03 . [2022-09-22T23:12:28.383Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:03 .. [2022-09-22T23:12:28.383Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:03 cost [2022-09-22T23:12:28.383Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 22 23:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:28.708Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:29.594Z] ---> package-listing.sh [2022-09-22T23:12:29.594Z] ++ facter osfamily [2022-09-22T23:12:29.594Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T23:12:29.853Z] + OS_FAMILY=debian [2022-09-22T23:12:29.853Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-22T23:12:29.853Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T23:12:29.853Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T23:12:29.853Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T23:12:29.853Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T23:12:29.853Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-22T23:12:29.853Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T23:12:29.853Z] + case "${OS_FAMILY}" in [2022-09-22T23:12:29.853Z] + dpkg -l [2022-09-22T23:12:29.853Z] + grep '^ii' [2022-09-22T23:12:29.853Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T23:12:29.853Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T23:12:29.853Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T23:12:29.853Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-22T23:12:29.853Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [2022-09-22T23:12:29.853Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [Pipeline] echo [2022-09-22T23:12:29.889Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T23:12:30.179Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:12:30.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:12:30.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:12:30.947Z] prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container [2022-09-22T23:12:30.985Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -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:latest cat [2022-09-22T23:12:31.219Z] $ docker top a26d1c302356ec6d352349cbca2e002305a47224dbc816913ae1f1635183eb58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:12:31.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T23:12:31.905Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T23:12:32.212Z] + ls /var/log/sa-host [2022-09-22T23:12:32.212Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:12:32.421Z] provisioning config files... [2022-09-22T23:12:32.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config2956738534742142216tmp [Pipeline] { [Pipeline] echo [2022-09-22T23:12:32.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:32.792Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T23:12:32.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:33.212Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T23:12:33.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:33.551Z] ---> sudo-logs.sh [2022-09-22T23:12:33.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T23:12:33.636Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:33.951Z] ---> job-cost.sh [2022-09-22T23:12:33.951Z] lf-activate-venv: SKIPPING [2022-09-22T23:12:33.951Z] DEBUG: total: 0.2199999988079071 [2022-09-22T23:12:33.951Z] INFO: Retrieving Stack Cost... [2022-09-22T23:12:34.210Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:12:34.779Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T23:12:34.814Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:12:35.128Z] ---> logs-deploy.sh [2022-09-22T23:12:35.128Z] lf-activate-venv: SKIPPING [2022-09-22T23:12:35.128Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/1 [2022-09-22T23:12:35.128Z] INFO: archiving workspace using pattern(s): [2022-09-22T23:12:36.065Z] Archives upload complete. [2022-09-22T23:12:36.065Z] INFO: archiving logs to Nexus