Pull request #507 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0567d3a692cf00c0b07daf83bb576ce12882e74+091e49834ad2b8f5ca54fa7b36ec487638af0a66 (19e2478881c9c5e22267e5fab9ea10e7f7205fb7) 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-ssh15619279841393455927.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1320554645342533545.key > 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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-507/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-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh459808458566823945.key > 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-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12831523694782925791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3401889759055609395.key > 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-507/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-507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18076490152682314295.key > 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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8452 in /w/workspace/xfoundry_device-modbus-go_PR-507 [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-507 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 091e49834ad2b8f5ca54fa7b36ec487638af0a66 into PR head commit f0567d3a692cf00c0b07daf83bb576ce12882e74 Merge succeeded, producing f0567d3a692cf00c0b07daf83bb576ce12882e74 Checking out Revision f0567d3a692cf00c0b07daf83bb576ce12882e74 (PR-507) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T05:31:13.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T05:31:13.672Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T05:31:13.772Z] ========================================================= [2023-10-04T05:31:13.772Z] EdgeX Global Pipelines Version Info [2023-10-04T05:31:13.772Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:31:14.883Z] ------------------- [2023-10-04T05:31:14.884Z] stable info: [2023-10-04T05:31:14.884Z] ------------------- [2023-10-04T05:31:14.884Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T05:31:14.884Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T05:31:14.884Z] Message: update stable to v1.0.254 [2023-10-04T05:31:15.145Z] ------------------- [2023-10-04T05:31:15.145Z] experimental info: [2023-10-04T05:31:15.145Z] ------------------- [2023-10-04T05:31:15.145Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T05:31:15.145Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T05:31:15.145Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T05:31:15.413Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-04T05:31:15.453Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-04T05:31:15.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T05:31:15.531Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T05:31:15.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T05:31:15.612Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T05:31:15.655Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T05:31:15.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-04T05:31:15.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T05:31:15.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T05:31:15.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T05:31:15.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-04T05:31:15.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T05:31:15.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T05:31:15.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T05:31:16.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T05:31:16.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T05:31:16.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T05:31:16.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T05:31:16.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T05:31:16.250Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-04T05:31:16.292Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-04T05:31:16.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T05:31:16.371Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T05:31:16.411Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T05:31:16.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T05:31:16.493Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T05:31:16.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo [2023-10-04T05:31:16.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo [2023-10-04T05:31:16.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo [2023-10-04T05:31:16.703Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo [2023-10-04T05:31:16.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0567d3 [Pipeline] echo [2023-10-04T05:31:16.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T05:31:16.897Z] provisioning config files... [2023-10-04T05:31:16.927Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config8984264576693439494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:31:17.276Z] ---> docker-login.sh [2023-10-04T05:31:17.276Z] nexus3.edgexfoundry.org:10001 [2023-10-04T05:31:17.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:17.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:17.845Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:17.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:17.845Z] [2023-10-04T05:31:17.845Z] Login Succeeded [2023-10-04T05:31:17.845Z] nexus3.edgexfoundry.org:10002 [2023-10-04T05:31:18.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:18.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:18.104Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:18.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:18.104Z] [2023-10-04T05:31:18.104Z] Login Succeeded [2023-10-04T05:31:18.104Z] nexus3.edgexfoundry.org:10003 [2023-10-04T05:31:18.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:18.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:18.104Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:18.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:18.104Z] [2023-10-04T05:31:18.104Z] Login Succeeded [2023-10-04T05:31:18.104Z] nexus3.edgexfoundry.org:10004 [2023-10-04T05:31:18.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:18.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:18.364Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:18.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:18.364Z] [2023-10-04T05:31:18.364Z] Login Succeeded [2023-10-04T05:31:18.364Z] docker.io [2023-10-04T05:31:18.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:18.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:18.624Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:18.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:18.624Z] [2023-10-04T05:31:18.624Z] Login Succeeded [2023-10-04T05:31:18.624Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T05:31:18.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T05:31:19.302Z] + git rev-list -1 --merges f0567d3a692cf00c0b07daf83bb576ce12882e74~1..f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo [2023-10-04T05:31:19.380Z] -----------> git rev-list -1 --merges f0567d3a692cf00c0b07daf83bb576ce12882e74~1..f0567d3a692cf00c0b07daf83bb576ce12882e74 f0567d3a692cf00c0b07daf83bb576ce12882e74 [false] [Pipeline] sh [2023-10-04T05:31:19.689Z] + git log --format=format:%s -1 f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo [2023-10-04T05:31:19.726Z] ========================================================= [2023-10-04T05:31:19.726Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T05:31:19.726Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T05:31:20.178Z] + git log --format=format:%s -1 f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] echo [2023-10-04T05:31:20.210Z] [semverPrep] GIT_COMMIT: f0567d3a692cf00c0b07daf83bb576ce12882e74, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-04T05:31:20.241Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T05:31:20.625Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T05:31:20.625Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T05:31:20.625Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T05:31:20.625Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T05:31:20.625Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T05:31:20.625Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T05:31:20.625Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:31:21.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T05:31:21.124Z] [2023-10-04T05:31:21.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:31:21.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T05:31:21.516Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T05:31:21.516Z] b85a868b505f: Pulling fs layer [2023-10-04T05:31:21.516Z] e2be974225ed: Pulling fs layer [2023-10-04T05:31:21.516Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T05:31:21.516Z] 988bab9f4d93: Pulling fs layer [2023-10-04T05:31:21.516Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T05:31:21.516Z] eaf3925da568: Pulling fs layer [2023-10-04T05:31:21.516Z] bab4dde63d76: Pulling fs layer [2023-10-04T05:31:21.516Z] bde34c3a00c8: Pulling fs layer [2023-10-04T05:31:21.516Z] b352a97aabf1: Pulling fs layer [2023-10-04T05:31:21.516Z] 988bab9f4d93: Waiting [2023-10-04T05:31:21.516Z] 4872d77fe225: Pulling fs layer [2023-10-04T05:31:21.516Z] 5851b861e8e6: Pulling fs layer [2023-10-04T05:31:21.516Z] 1469e6f7b9e6: Waiting [2023-10-04T05:31:21.516Z] eaf3925da568: Waiting [2023-10-04T05:31:21.516Z] bab4dde63d76: Waiting [2023-10-04T05:31:21.516Z] bde34c3a00c8: Waiting [2023-10-04T05:31:21.516Z] 4872d77fe225: Waiting [2023-10-04T05:31:21.516Z] b352a97aabf1: Waiting [2023-10-04T05:31:21.516Z] 5851b861e8e6: Waiting [2023-10-04T05:31:21.516Z] e2be974225ed: Verifying Checksum [2023-10-04T05:31:21.516Z] e2be974225ed: Download complete [2023-10-04T05:31:21.516Z] 988bab9f4d93: Download complete [2023-10-04T05:31:21.779Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T05:31:21.779Z] 1469e6f7b9e6: Download complete [2023-10-04T05:31:21.779Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T05:31:21.779Z] 339a4e72a1f5: Download complete [2023-10-04T05:31:21.779Z] eaf3925da568: Verifying Checksum [2023-10-04T05:31:21.779Z] eaf3925da568: Download complete [2023-10-04T05:31:21.779Z] bde34c3a00c8: Verifying Checksum [2023-10-04T05:31:21.779Z] bde34c3a00c8: Download complete [2023-10-04T05:31:21.779Z] b352a97aabf1: Download complete [2023-10-04T05:31:21.779Z] 4872d77fe225: Verifying Checksum [2023-10-04T05:31:21.779Z] 4872d77fe225: Download complete [2023-10-04T05:31:21.779Z] 5851b861e8e6: Verifying Checksum [2023-10-04T05:31:21.779Z] 5851b861e8e6: Download complete [2023-10-04T05:31:21.779Z] b85a868b505f: Verifying Checksum [2023-10-04T05:31:21.779Z] b85a868b505f: Download complete [2023-10-04T05:31:22.038Z] bab4dde63d76: Verifying Checksum [2023-10-04T05:31:22.038Z] bab4dde63d76: Download complete [2023-10-04T05:31:23.412Z] b85a868b505f: Pull complete [2023-10-04T05:31:23.412Z] e2be974225ed: Pull complete [2023-10-04T05:31:23.985Z] 339a4e72a1f5: Pull complete [2023-10-04T05:31:23.985Z] 988bab9f4d93: Pull complete [2023-10-04T05:31:24.556Z] 1469e6f7b9e6: Pull complete [2023-10-04T05:31:24.556Z] eaf3925da568: Pull complete [2023-10-04T05:31:26.485Z] bab4dde63d76: Pull complete [2023-10-04T05:31:26.485Z] bde34c3a00c8: Pull complete [2023-10-04T05:31:26.747Z] b352a97aabf1: Pull complete [2023-10-04T05:31:26.747Z] 4872d77fe225: Pull complete [2023-10-04T05:31:26.747Z] 5851b861e8e6: Pull complete [2023-10-04T05:31:27.007Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T05:31:27.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T05:31:27.007Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:31:27.271Z] prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container [2023-10-04T05:31:27.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-04T05:31:31.863Z] $ docker top 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 -eo pid,comm [2023-10-04T05:31:31.920Z] 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). [2023-10-04T05:31:31.920Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T05:31:32.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T05:31:32.042Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T05:31:32.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T05:31:32.151Z] $ docker exec 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent [2023-10-04T05:31:32.263Z] SSH_AUTH_SOCK=/tmp/ssh-LABtDQtQTRWN/agent.32 [2023-10-04T05:31:32.263Z] SSH_AGENT_PID=38 [2023-10-04T05:31:32.270Z] Running ssh-add (command line suppressed) [2023-10-04T05:31:32.357Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_12130538668242134935.key (/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_12130538668242134935.key) [2023-10-04T05:31:32.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T05:31:32.710Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T05:31:32.735Z] $ docker exec --env ******** --env ******** 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent -k [2023-10-04T05:31:32.828Z] unset SSH_AUTH_SOCK; [2023-10-04T05:31:32.829Z] unset SSH_AGENT_PID; [2023-10-04T05:31:32.829Z] echo Agent pid 38 killed; [2023-10-04T05:31:32.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T05:31:32.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T05:31:32.934Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T05:31:33.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T05:31:33.050Z] $ docker exec 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent [2023-10-04T05:31:33.154Z] SSH_AUTH_SOCK=/tmp/ssh-m0xD5dDxxek8/agent.70 [2023-10-04T05:31:33.154Z] SSH_AGENT_PID=76 [2023-10-04T05:31:33.159Z] Running ssh-add (command line suppressed) [2023-10-04T05:31:33.260Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_8277535231703159147.key (/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/private_key_8277535231703159147.key) [2023-10-04T05:31:33.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T05:31:34.358Z] + git semver init [2023-10-04T05:31:34.358Z] 2023-10-04 05:31:33,778 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T05:31:34.358Z] 2023-10-04 05:31:33,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver [2023-10-04T05:31:34.358Z] 2023-10-04 05:31:33,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-507/.semver [2023-10-04T05:31:34.358Z] 2023-10-04 05:31:33,779 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-507/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507, universal_newlines=False, shell=None, istream=None) [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,641 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-507/.git/info/exclude [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 with force:False [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,642 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,646 [execute] INFO git cat-file --batch-check [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,651 [execute] INFO git cat-file --batch [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-507/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T05:31:34.931Z] 2023-10-04 05:31:34,656 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-507/.semver/PR-507 [2023-10-04T05:31:34.931Z] 0.0.0 [Pipeline] } [2023-10-04T05:31:34.955Z] $ docker exec --env ******** --env ******** 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 ssh-agent -k [2023-10-04T05:31:35.050Z] unset SSH_AUTH_SOCK; [2023-10-04T05:31:35.051Z] unset SSH_AGENT_PID; [2023-10-04T05:31:35.051Z] echo Agent pid 76 killed; [2023-10-04T05:31:35.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T05:31:35.485Z] + git semver [Pipeline] } [2023-10-04T05:31:35.770Z] $ docker stop --time=1 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 [2023-10-04T05:31:37.086Z] $ docker rm -f --volumes 458efc8e7e2bba1ea4f46aaca88ba58a9aa8974cf72029df16b2ff0b86612138 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T05:31:37.486Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T05:31:37.754Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T05:31:37.769Z] [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 [2023-10-04T05:31:38.346Z] provisioning config files... [2023-10-04T05:31:38.355Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config7466147229304304195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:31:38.711Z] ---> docker-login.sh [2023-10-04T05:31:38.711Z] nexus3.edgexfoundry.org:10001 [2023-10-04T05:31:38.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:38.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:38.711Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:38.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:38.711Z] [2023-10-04T05:31:38.711Z] Login Succeeded [2023-10-04T05:31:38.711Z] nexus3.edgexfoundry.org:10002 [2023-10-04T05:31:38.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:38.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:38.711Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:38.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:38.711Z] [2023-10-04T05:31:38.711Z] Login Succeeded [2023-10-04T05:31:38.711Z] nexus3.edgexfoundry.org:10003 [2023-10-04T05:31:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:38.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:38.971Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:38.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:38.971Z] [2023-10-04T05:31:38.971Z] Login Succeeded [2023-10-04T05:31:38.971Z] nexus3.edgexfoundry.org:10004 [2023-10-04T05:31:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:38.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:38.971Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:38.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:38.971Z] [2023-10-04T05:31:38.971Z] Login Succeeded [2023-10-04T05:31:38.971Z] docker.io [2023-10-04T05:31:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:31:39.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:31:39.229Z] Configure a credential helper to remove this warning. See [2023-10-04T05:31:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:31:39.229Z] [2023-10-04T05:31:39.229Z] Login Succeeded [2023-10-04T05:31:39.229Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T05:31:39.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T05:31:39.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T05:31:39.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T05:31:39.538Z] ========================================================= [2023-10-04T05:31:39.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T05:31:39.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:31:40.010Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T05:31:40.010Z] Sending build context to Docker daemon 6.504MB [2023-10-04T05:31:40.010Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T05:31:40.010Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T05:31:40.010Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T05:31:40.010Z] 7264a8db6415: Pulling fs layer [2023-10-04T05:31:40.010Z] c4d48a809fc2: Pulling fs layer [2023-10-04T05:31:40.010Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T05:31:40.010Z] ad3a456e5733: Pulling fs layer [2023-10-04T05:31:40.010Z] 33e27b845d1e: Pulling fs layer [2023-10-04T05:31:40.010Z] c68163c4e522: Pulling fs layer [2023-10-04T05:31:40.010Z] 50da416c3ac9: Pulling fs layer [2023-10-04T05:31:40.010Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T05:31:40.010Z] 33e27b845d1e: Waiting [2023-10-04T05:31:40.010Z] c68163c4e522: Waiting [2023-10-04T05:31:40.010Z] 23d2d4c4bb30: Waiting [2023-10-04T05:31:40.010Z] 50da416c3ac9: Waiting [2023-10-04T05:31:40.010Z] ad3a456e5733: Waiting [2023-10-04T05:31:40.450Z] c4d48a809fc2: Verifying Checksum [2023-10-04T05:31:40.450Z] c4d48a809fc2: Download complete [2023-10-04T05:31:40.450Z] ad3a456e5733: Verifying Checksum [2023-10-04T05:31:40.450Z] ad3a456e5733: Download complete [2023-10-04T05:31:40.450Z] 33e27b845d1e: Download complete [2023-10-04T05:31:40.450Z] 7264a8db6415: Verifying Checksum [2023-10-04T05:31:40.450Z] 7264a8db6415: Download complete [2023-10-04T05:31:40.450Z] 7264a8db6415: Pull complete [2023-10-04T05:31:40.450Z] c4d48a809fc2: Pull complete [2023-10-04T05:31:40.713Z] c68163c4e522: Verifying Checksum [2023-10-04T05:31:40.713Z] c68163c4e522: Download complete [2023-10-04T05:31:40.973Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T05:31:40.973Z] 23d2d4c4bb30: Download complete [2023-10-04T05:31:41.234Z] 4f1c88b9dad5: Verifying Checksum [2023-10-04T05:31:41.234Z] 4f1c88b9dad5: Download complete [2023-10-04T05:31:41.493Z] 50da416c3ac9: Verifying Checksum [2023-10-04T05:31:41.493Z] 50da416c3ac9: Download complete [2023-10-04T05:31:44.780Z] 4f1c88b9dad5: Pull complete [2023-10-04T05:31:44.780Z] ad3a456e5733: Pull complete [2023-10-04T05:31:44.780Z] 33e27b845d1e: Pull complete [2023-10-04T05:31:45.039Z] c68163c4e522: Pull complete [2023-10-04T05:31:48.328Z] 50da416c3ac9: Pull complete [2023-10-04T05:31:48.328Z] 23d2d4c4bb30: Pull complete [2023-10-04T05:31:48.328Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T05:31:48.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T05:31:48.328Z] ---> 0786185ac409 [2023-10-04T05:31:48.328Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-04T05:31:53.160Z] Still waiting to schedule task [2023-10-04T05:31:53.160Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-04T05:31:54.895Z] ---> Running in cad6230093d8 [2023-10-04T05:31:54.895Z] Removing intermediate container cad6230093d8 [2023-10-04T05:31:54.895Z] ---> 9d2695cd88b0 [2023-10-04T05:31:54.895Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T05:31:54.895Z] ---> Running in 004cc2444e31 [2023-10-04T05:31:54.895Z] Removing intermediate container 004cc2444e31 [2023-10-04T05:31:54.895Z] ---> 68ea220087a1 [2023-10-04T05:31:54.895Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-04T05:31:54.895Z] ---> Running in 306582e6cc3d [2023-10-04T05:31:55.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T05:31:55.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T05:31:55.413Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-04T05:31:55.413Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-04T05:31:55.413Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-04T05:31:55.413Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T05:31:55.413Z] OK: 270 MiB in 60 packages [2023-10-04T05:31:55.979Z] Removing intermediate container 306582e6cc3d [2023-10-04T05:31:55.979Z] ---> 5214636146d1 [2023-10-04T05:31:55.979Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-04T05:31:55.979Z] ---> Running in 01da4c872b6d [2023-10-04T05:31:55.979Z] Removing intermediate container 01da4c872b6d [2023-10-04T05:31:55.979Z] ---> 4ea8f8f5fcd4 [2023-10-04T05:31:55.979Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T05:31:56.238Z] ---> 9fd27b1d7663 [2023-10-04T05:31:56.238Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T05:31:56.238Z] ---> Running in c6451212649c [2023-10-04T05:32:34.971Z] Removing intermediate container c6451212649c [2023-10-04T05:32:34.971Z] ---> 5f0e6ca1188c [2023-10-04T05:32:34.971Z] Step 9/10 : COPY . . [2023-10-04T05:32:34.971Z] ---> 9968dad013f3 [2023-10-04T05:32:34.971Z] Step 10/10 : RUN ${MAKE} [2023-10-04T05:32:34.971Z] ---> Running in 1a332afe9d6d [2023-10-04T05:32:34.971Z] noop [2023-10-04T05:32:34.971Z] Removing intermediate container 1a332afe9d6d [2023-10-04T05:32:34.971Z] ---> 272954ac6a2c [2023-10-04T05:32:34.971Z] Successfully built 272954ac6a2c [2023-10-04T05:32:34.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:32:35.411Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T05:32:35.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:32:35.574Z] prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container [2023-10-04T05:32:35.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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 ******** ci-base-image-x86_64 cat [2023-10-04T05:32:35.971Z] $ docker top 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T05:32:36.360Z] + go version [2023-10-04T05:32:36.360Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T05:32:36.391Z] $ docker stop --time=1 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 [2023-10-04T05:32:37.658Z] $ docker rm -f --volumes 70927aac2ca806cb97596c5f65d9ac22a69b22603bbee511aa996f09b2b0ebd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:32:38.391Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T05:32:38.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:32:38.545Z] prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container [2023-10-04T05:32:38.633Z] $ 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-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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 ******** ci-base-image-x86_64 cat [2023-10-04T05:32:38.975Z] $ docker top ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T05:32:39.401Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-507 [Pipeline] fileExists [Pipeline] sh [2023-10-04T05:32:39.761Z] + make test [2023-10-04T05:32:39.761Z] go test ./... -coverprofile=coverage.out [2023-10-04T05:32:41.166Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-04T05:32:51.129Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-04T05:32:51.129Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-10-04T05:32:56.386Z] go vet ./... [2023-10-04T05:32:59.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T05:32:59.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T05:32:59.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T05:32:59.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T05:32:59.741Z] $ docker stop --time=1 ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 [2023-10-04T05:33:03.222Z] $ docker rm -f --volumes ed4a7439538d858d91789f1ee25b4bd4e6ee860894a5bba6778258b006ec30f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T05:33:03.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T05:33:03.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T05:33:04.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T05:33:04.806Z] + ls -al . [2023-10-04T05:33:04.806Z] total 192 [2023-10-04T05:33:04.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:32 . [2023-10-04T05:33:04.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:31 .. [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:31 .dockerignore [2023-10-04T05:33:04.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:32 .git [2023-10-04T05:33:04.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 .github [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 05:31 .gitignore [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:31 .golangci.yml [2023-10-04T05:33:04.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:31 .semver [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 05:31 Attribution.txt [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 05:31 CHANGELOG.md [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 05:31 Dockerfile [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:31 GOVERNANCE.md [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 05:31 Jenkinsfile [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:31 LICENSE [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 05:31 Makefile [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 05:31 OWNERS.md [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 05:31 README.md [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:31 VERSION [2023-10-04T05:33:04.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:31 bin [2023-10-04T05:33:04.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 cmd [2023-10-04T05:33:04.806Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 05:32 coverage.out [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 05:31 go.mod [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 05:31 go.sum [2023-10-04T05:33:04.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:31 internal [2023-10-04T05:33:04.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:31 simulator [2023-10-04T05:33:04.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:31 snap [2023-10-04T05:33:04.806Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:33:05.210Z] + 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=f0567d3a692cf00c0b07daf83bb576ce12882e74 --label arch=amd64 --label version=0.0.0 . [2023-10-04T05:33:05.211Z] Sending build context to Docker daemon 6.53MB [2023-10-04T05:33:05.211Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T05:33:05.211Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-04T05:33:05.211Z] ---> 272954ac6a2c [2023-10-04T05:33:05.211Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-04T05:33:05.469Z] ---> Running in bcf225cb132c [2023-10-04T05:33:05.469Z] Removing intermediate container bcf225cb132c [2023-10-04T05:33:05.469Z] ---> 4011a751dcda [2023-10-04T05:33:05.469Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T05:33:05.469Z] ---> Running in 575607f12d5e [2023-10-04T05:33:05.469Z] Removing intermediate container 575607f12d5e [2023-10-04T05:33:05.469Z] ---> 6de28289040e [2023-10-04T05:33:05.469Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-04T05:33:05.469Z] ---> Running in ffe1ad89c5c9 [2023-10-04T05:33:05.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T05:33:05.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T05:33:06.246Z] OK: 270 MiB in 60 packages [2023-10-04T05:33:06.507Z] Removing intermediate container ffe1ad89c5c9 [2023-10-04T05:33:06.507Z] ---> 7316d81f9f97 [2023-10-04T05:33:06.507Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-04T05:33:06.765Z] ---> Running in 84c821d6cb8a [2023-10-04T05:33:06.765Z] Removing intermediate container 84c821d6cb8a [2023-10-04T05:33:06.765Z] ---> 1b895099548c [2023-10-04T05:33:06.765Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-04T05:33:06.765Z] ---> 13e7d068d928 [2023-10-04T05:33:06.765Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T05:33:06.765Z] ---> Running in f6ce31dd3e3f [2023-10-04T05:33:07.331Z] Removing intermediate container f6ce31dd3e3f [2023-10-04T05:33:07.331Z] ---> 4a07f8a15334 [2023-10-04T05:33:07.331Z] Step 9/22 : COPY . . [2023-10-04T05:33:07.958Z] ---> 336a87850d8d [2023-10-04T05:33:07.958Z] Step 10/22 : RUN ${MAKE} [2023-10-04T05:33:07.958Z] ---> Running in 616c64e3aac3 [2023-10-04T05:33:08.216Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-04T05:33:24.613Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8453 in /w/workspace/xfoundry_device-modbus-go_PR-507 [Pipeline] { [Pipeline] ws [2023-10-04T05:33:24.668Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-10-04T05:33:24.753Z] Selected Git installation does not exist. Using Default [2023-10-04T05:33:24.753Z] The recommended git tool is: NONE [2023-10-04T05:33:29.538Z] using credential edgex-jenkins-ssh [2023-10-04T05:33:29.575Z] Cloning the remote Git repository [2023-10-04T05:33:29.625Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-04T05:33:29.710Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-10-04T05:33:30.153Z] Removing intermediate container 616c64e3aac3 [2023-10-04T05:33:30.153Z] ---> f82112b529e4 [2023-10-04T05:33:30.153Z] Step 11/22 : FROM alpine:3.18 [2023-10-04T05:33:30.153Z] 3.18: Pulling from library/alpine [2023-10-04T05:33:30.153Z] 96526aa774ef: Pulling fs layer [2023-10-04T05:33:30.153Z] 96526aa774ef: Download complete [2023-10-04T05:33:30.153Z] 96526aa774ef: Pull complete [2023-10-04T05:33:30.153Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T05:33:30.153Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T05:33:30.153Z] ---> 8ca4688f4f35 [2023-10-04T05:33:30.153Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-04T05:33:30.153Z] ---> Running in afac402d7094 [2023-10-04T05:33:30.153Z] Removing intermediate container afac402d7094 [2023-10-04T05:33:30.153Z] ---> b90ddf0bab2f [2023-10-04T05:33:30.153Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-04T05:33:30.153Z] ---> Running in 0c7a85d70b26 [2023-10-04T05:33:30.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T05:33:30.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T05:33:30.153Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T05:33:30.153Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T05:33:30.153Z] OK: 7 MiB in 16 packages [2023-10-04T05:33:30.153Z] Removing intermediate container 0c7a85d70b26 [2023-10-04T05:33:30.153Z] ---> 85f243d0b4cb [2023-10-04T05:33:30.153Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-04T05:33:30.153Z] ---> fb323c815f94 [2023-10-04T05:33:30.153Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-04T05:33:30.153Z] ---> 8d97a17da44a [2023-10-04T05:33:30.153Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-04T05:33:30.153Z] ---> 37bca0945f37 [2023-10-04T05:33:30.153Z] Step 17/22 : EXPOSE 59901 [2023-10-04T05:33:30.153Z] ---> Running in e2c232da305a [2023-10-04T05:33:30.153Z] Removing intermediate container e2c232da305a [2023-10-04T05:33:30.153Z] ---> fad6433dd2a0 [2023-10-04T05:33:30.153Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-04T05:33:30.153Z] ---> Running in c54d24ce138c [2023-10-04T05:33:30.153Z] Removing intermediate container c54d24ce138c [2023-10-04T05:33:30.153Z] ---> ed7d3ec36a99 [2023-10-04T05:33:30.153Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T05:33:30.153Z] ---> Running in 93b4199c59ad [2023-10-04T05:33:30.153Z] Removing intermediate container 93b4199c59ad [2023-10-04T05:33:30.153Z] ---> 3d845d44e8d7 [2023-10-04T05:33:30.153Z] Step 20/22 : LABEL arch=amd64 [2023-10-04T05:33:30.153Z] ---> Running in f3406afbd09a [2023-10-04T05:33:30.153Z] Removing intermediate container f3406afbd09a [2023-10-04T05:33:30.153Z] ---> ea852b505334 [2023-10-04T05:33:30.153Z] Step 21/22 : LABEL git_sha=f0567d3a692cf00c0b07daf83bb576ce12882e74 [2023-10-04T05:33:30.153Z] ---> Running in 3e652c956582 [2023-10-04T05:33:30.153Z] Removing intermediate container 3e652c956582 [2023-10-04T05:33:30.153Z] ---> 1cf83946cfab [2023-10-04T05:33:30.153Z] Step 22/22 : LABEL version=0.0.0 [2023-10-04T05:33:30.153Z] ---> Running in f10607152817 [2023-10-04T05:33:30.153Z] Removing intermediate container f10607152817 [2023-10-04T05:33:30.153Z] ---> c164df3dc163 [2023-10-04T05:33:30.153Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T05:33:30.153Z] Successfully built c164df3dc163 [2023-10-04T05:33:30.418Z] 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 [2023-10-04T05:33:29.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-04T05:33:29.852Z] > git --version # timeout=10 [2023-10-04T05:33:29.872Z] > git --version # 'git version 2.25.1' [2023-10-04T05:33:29.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T05:33:30.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T05:33:31.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T05:33:31.311Z] [2023-10-04T05:33:31.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:33:31.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T05:33:31.700Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T05:33:31.700Z] 5eb5b503b376: Pulling fs layer [2023-10-04T05:33:31.700Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T05:33:31.700Z] ec43610c2a17: Pulling fs layer [2023-10-04T05:33:31.700Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T05:33:31.700Z] 33b1e0a273af: Pulling fs layer [2023-10-04T05:33:31.700Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T05:33:31.700Z] 2f39f015ded8: Pulling fs layer [2023-10-04T05:33:31.700Z] 2f39f015ded8: Waiting [2023-10-04T05:33:31.700Z] 5d3b04190fa2: Waiting [2023-10-04T05:33:31.700Z] 5c69ac0246d0: Verifying Checksum [2023-10-04T05:33:31.700Z] 5c69ac0246d0: Download complete [2023-10-04T05:33:31.700Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T05:33:31.700Z] 3a2ae6a8a46f: Download complete [2023-10-04T05:33:31.700Z] 33b1e0a273af: Verifying Checksum [2023-10-04T05:33:31.700Z] 33b1e0a273af: Download complete [2023-10-04T05:33:31.700Z] 5d3b04190fa2: Download complete [2023-10-04T05:33:31.700Z] ec43610c2a17: Verifying Checksum [2023-10-04T05:33:31.700Z] ec43610c2a17: Download complete [2023-10-04T05:33:32.281Z] 5eb5b503b376: Verifying Checksum [2023-10-04T05:33:32.281Z] 5eb5b503b376: Download complete [2023-10-04T05:33:31.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-04T05:33:31.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T05:33:31.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-04T05:33:31.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-04T05:33:31.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T05:33:31.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-04T05:33:32.502Z] Merging remotes/origin/main commit 091e49834ad2b8f5ca54fa7b36ec487638af0a66 into PR head commit f0567d3a692cf00c0b07daf83bb576ce12882e74 [2023-10-04T05:33:32.750Z] Merge succeeded, producing f0567d3a692cf00c0b07daf83bb576ce12882e74 [2023-10-04T05:33:32.751Z] Checking out Revision f0567d3a692cf00c0b07daf83bb576ce12882e74 (PR-507) [2023-10-04T05:33:33.225Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-04T05:33:33.229Z] 5eb5b503b376: Pull complete [2023-10-04T05:33:33.277Z] > git --version # timeout=10 [2023-10-04T05:33:33.291Z] > git --version # 'git version 2.25.1' [2023-10-04T05:33:33.312Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T05:33:33.485Z] 5c69ac0246d0: Pull complete [2023-10-04T05:33:32.520Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T05:33:32.582Z] > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 [2023-10-04T05:33:32.663Z] > git remote # timeout=10 [2023-10-04T05:33:32.682Z] > git config --get remote.origin.url # timeout=10 [2023-10-04T05:33:32.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T05:33:32.715Z] > git merge 091e49834ad2b8f5ca54fa7b36ec487638af0a66 # timeout=10 [2023-10-04T05:33:32.736Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-04T05:33:32.758Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T05:33:32.773Z] > git checkout -f f0567d3a692cf00c0b07daf83bb576ce12882e74 # timeout=10 [2023-10-04T05:33:33.744Z] ec43610c2a17: Pull complete [2023-10-04T05:33:33.744Z] 3a2ae6a8a46f: Pull complete [2023-10-04T05:33:33.834Z] [2023-10-04T05:33:33.834Z] GitHub has been notified of this commit’s build result [2023-10-04T05:33:33.834Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-10-04T05:33:34.003Z] 33b1e0a273af: Pull complete [2023-10-04T05:33:34.003Z] 5d3b04190fa2: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T05:33:34.562Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T05:33:34.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T05:33:34.563Z] Dload Upload Total Spent Left Speed [2023-10-04T05:33:34.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-10-04T05:33:35.126Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T05:33:35.480Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T05:33:35.480Z] + sudo tee /etc/docker/daemon.new [2023-10-04T05:33:35.480Z] { [2023-10-04T05:33:35.480Z] "registry-mirrors": [ [2023-10-04T05:33:35.480Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T05:33:35.480Z] ], [2023-10-04T05:33:35.480Z] "bip": "10.250.0.254/24", [2023-10-04T05:33:35.480Z] "hosts": [ [2023-10-04T05:33:35.480Z] "tcp://0.0.0.0:5555", [2023-10-04T05:33:35.480Z] "unix:///var/run/docker.sock" [2023-10-04T05:33:35.480Z] ], [2023-10-04T05:33:35.480Z] "mtu": 1458, [2023-10-04T05:33:35.480Z] "selinux-enabled": true, [2023-10-04T05:33:35.480Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T05:33:35.480Z] } [Pipeline] sh [2023-10-04T05:33:35.829Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T05:33:36.180Z] + sudo service docker restart [2023-10-04T05:33:38.186Z] 2f39f015ded8: Pull complete [2023-10-04T05:33:38.186Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T05:33:38.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T05:33:38.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:33:38.426Z] prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container [2023-10-04T05:33:38.455Z] $ 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-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-04T05:33:43.467Z] $ docker top 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:33:43.921Z] ---> job-cost.sh [2023-10-04T05:33:43.921Z] lf-activate-venv: SKIPPING [2023-10-04T05:33:43.921Z] INFO: No Stack... [2023-10-04T05:33:44.184Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T05:33:44.751Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T05:33:45.074Z] + cut -d, -f6 [2023-10-04T05:33:45.074Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-507/archives/cost.csv [Pipeline] lock [2023-10-04T05:33:45.115Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [2023-10-04T05:33:45.121Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] did not exist. Created. [2023-10-04T05:33:45.121Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T05:33:45.516Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T05:33:45.566Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T05:33:45.604Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T05:33:45.690Z] $ docker stop --time=1 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e [2023-10-04T05:33:46.830Z] $ docker rm -f --volumes 9cd20ed421390acd175b8e01aca3c314b6a8d4096d864027eeb93ef62ad2ab5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T05:33:54.484Z] provisioning config files... [2023-10-04T05:33:54.508Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6216521754815589095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:33:54.883Z] ---> docker-login.sh [2023-10-04T05:33:54.883Z] nexus3.edgexfoundry.org:10001 [2023-10-04T05:33:55.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:33:55.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:33:55.419Z] Configure a credential helper to remove this warning. See [2023-10-04T05:33:55.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:33:55.419Z] [2023-10-04T05:33:55.419Z] Login Succeeded [2023-10-04T05:33:55.419Z] nexus3.edgexfoundry.org:10002 [2023-10-04T05:33:55.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:33:55.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:33:55.687Z] Configure a credential helper to remove this warning. See [2023-10-04T05:33:55.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:33:55.687Z] [2023-10-04T05:33:55.687Z] Login Succeeded [2023-10-04T05:33:55.687Z] nexus3.edgexfoundry.org:10003 [2023-10-04T05:33:55.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:33:55.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:33:55.954Z] Configure a credential helper to remove this warning. See [2023-10-04T05:33:55.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:33:55.954Z] [2023-10-04T05:33:55.954Z] Login Succeeded [2023-10-04T05:33:55.954Z] nexus3.edgexfoundry.org:10004 [2023-10-04T05:33:56.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:33:56.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:33:56.494Z] Configure a credential helper to remove this warning. See [2023-10-04T05:33:56.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:33:56.494Z] [2023-10-04T05:33:56.494Z] Login Succeeded [2023-10-04T05:33:56.494Z] docker.io [2023-10-04T05:33:56.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T05:33:57.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T05:33:57.078Z] Configure a credential helper to remove this warning. See [2023-10-04T05:33:57.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T05:33:57.078Z] [2023-10-04T05:33:57.078Z] Login Succeeded [2023-10-04T05:33:57.078Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T05:33:57.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T05:33:57.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T05:33:57.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T05:33:57.549Z] ========================================================= [2023-10-04T05:33:57.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T05:33:57.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:33:58.034Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-04T05:33:58.305Z] Sending build context to Docker daemon 3.378MB [2023-10-04T05:33:58.305Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T05:33:58.305Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T05:33:58.305Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T05:33:58.305Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T05:33:58.305Z] 5d54e960e981: Pulling fs layer [2023-10-04T05:33:58.305Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T05:33:58.305Z] f0e02332f6b5: Pulling fs layer [2023-10-04T05:33:58.305Z] cefa15bbcfad: Pulling fs layer [2023-10-04T05:33:58.305Z] 17808c966233: Pulling fs layer [2023-10-04T05:33:58.305Z] f4c1fc716caa: Pulling fs layer [2023-10-04T05:33:58.305Z] cefa15bbcfad: Waiting [2023-10-04T05:33:58.305Z] 17808c966233: Waiting [2023-10-04T05:33:58.305Z] f4c1fc716caa: Waiting [2023-10-04T05:33:58.305Z] f0e02332f6b5: Waiting [2023-10-04T05:33:58.572Z] 5d54e960e981: Verifying Checksum [2023-10-04T05:33:58.572Z] 5d54e960e981: Download complete [2023-10-04T05:33:58.572Z] f0e02332f6b5: Download complete [2023-10-04T05:33:58.572Z] cefa15bbcfad: Download complete [2023-10-04T05:33:58.572Z] 9fda8d8052c6: Download complete [2023-10-04T05:33:59.168Z] f4c1fc716caa: Verifying Checksum [2023-10-04T05:33:59.168Z] f4c1fc716caa: Download complete [2023-10-04T05:33:59.451Z] 9fda8d8052c6: Pull complete [2023-10-04T05:34:00.039Z] 5d54e960e981: Pull complete [2023-10-04T05:34:00.039Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T05:34:00.039Z] c4a7e357bf2a: Download complete [2023-10-04T05:34:01.001Z] 17808c966233: Verifying Checksum [2023-10-04T05:34:01.001Z] 17808c966233: Download complete [2023-10-04T05:34:13.338Z] c4a7e357bf2a: Pull complete [2023-10-04T05:34:13.338Z] f0e02332f6b5: Pull complete [2023-10-04T05:34:13.338Z] cefa15bbcfad: Pull complete [2023-10-04T05:34:18.850Z] 17808c966233: Pull complete [2023-10-04T05:34:20.270Z] f4c1fc716caa: Pull complete [2023-10-04T05:34:20.270Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T05:34:20.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T05:34:20.270Z] ---> ea914061e18c [2023-10-04T05:34:20.270Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-04T05:34:22.236Z] ---> Running in 7e176a82ba69 [2023-10-04T05:34:22.236Z] Removing intermediate container 7e176a82ba69 [2023-10-04T05:34:22.236Z] ---> efae6bb88fb3 [2023-10-04T05:34:22.236Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T05:34:22.236Z] ---> Running in b4cde03855ab [2023-10-04T05:34:22.507Z] Removing intermediate container b4cde03855ab [2023-10-04T05:34:22.508Z] ---> 23f7361b0aed [2023-10-04T05:34:22.508Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-04T05:34:22.508Z] ---> Running in cec0589aa85b [2023-10-04T05:34:23.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T05:34:24.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T05:34:25.149Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-04T05:34:25.149Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-04T05:34:25.149Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-04T05:34:25.149Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T05:34:25.149Z] OK: 272 MiB in 60 packages [2023-10-04T05:34:26.114Z] Removing intermediate container cec0589aa85b [2023-10-04T05:34:26.114Z] ---> ce0369d93b8e [2023-10-04T05:34:26.114Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-04T05:34:26.384Z] ---> Running in b20633909bf4 [2023-10-04T05:34:26.653Z] Removing intermediate container b20633909bf4 [2023-10-04T05:34:26.653Z] ---> 8e38bcc04eaa [2023-10-04T05:34:26.653Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T05:34:26.922Z] ---> 3fcdd26ba267 [2023-10-04T05:34:26.922Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T05:34:27.192Z] ---> Running in 1fcd4d32fba7 [2023-10-04T05:35:35.078Z] Removing intermediate container 1fcd4d32fba7 [2023-10-04T05:35:35.078Z] ---> 299e4b968ce9 [2023-10-04T05:35:35.078Z] Step 9/10 : COPY . . [2023-10-04T05:35:35.078Z] ---> bb005b8ebcbe [2023-10-04T05:35:35.078Z] Step 10/10 : RUN ${MAKE} [2023-10-04T05:35:35.078Z] ---> Running in 5039ced2577e [2023-10-04T05:35:36.044Z] noop [2023-10-04T05:35:36.634Z] Removing intermediate container 5039ced2577e [2023-10-04T05:35:36.634Z] ---> a784e32cd193 [2023-10-04T05:35:36.634Z] Successfully built a784e32cd193 [2023-10-04T05:35:36.634Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:35:37.125Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T05:35:37.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:35:37.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container [2023-10-04T05:35:37.472Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-04T05:35:38.626Z] $ docker top 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T05:35:39.491Z] + go version [2023-10-04T05:35:39.491Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T05:35:39.531Z] $ docker stop --time=1 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 [2023-10-04T05:35:41.103Z] $ docker rm -f --volumes 8f6bff6e35532296c3cdfb89ccf6e24d6f6bc4ad6151726943934b058e7d06d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:35:41.964Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T05:35:41.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:35:42.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container [2023-10-04T05:35:42.278Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-04T05:35:43.343Z] $ docker top 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T05:35:43.886Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-04T05:35:44.279Z] + make test [2023-10-04T05:35:44.279Z] go test ./... -coverprofile=coverage.out [2023-10-04T05:35:50.920Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-04T05:37:27.542Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-04T05:37:27.542Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements [2023-10-04T05:37:27.542Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T05:37:27.542Z] go vet ./... [2023-10-04T05:37:37.598Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T05:37:37.598Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T05:37:37.598Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T05:37:37.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T05:37:37.671Z] $ docker stop --time=1 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a [2023-10-04T05:37:39.512Z] $ docker rm -f --volumes 3e714f2e1d6ed4f44a097c267b115cb9e2f359195f57876977f58285dde1997a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T05:37:40.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T05:37:40.762Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T05:37:41.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T05:37:41.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T05:37:42.149Z] + ls -al . [2023-10-04T05:37:42.149Z] total 188 [2023-10-04T05:37:42.149Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 05:35 . [2023-10-04T05:37:42.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:33 .. [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:33 .dockerignore [2023-10-04T05:37:42.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:33 .git [2023-10-04T05:37:42.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 .github [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 4 05:33 .gitignore [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:33 .golangci.yml [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 4 05:33 Attribution.txt [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 4 05:33 CHANGELOG.md [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 4 05:33 Dockerfile [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:33 GOVERNANCE.md [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 05:33 Jenkinsfile [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:33 LICENSE [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 4 05:33 Makefile [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 05:33 OWNERS.md [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 4 05:33 README.md [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:31 VERSION [2023-10-04T05:37:42.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:33 bin [2023-10-04T05:37:42.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 cmd [2023-10-04T05:37:42.149Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 4 05:37 coverage.out [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 3941 Oct 4 05:33 go.mod [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 35965 Oct 4 05:33 go.sum [2023-10-04T05:37:42.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:33 internal [2023-10-04T05:37:42.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:33 simulator [2023-10-04T05:37:42.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:33 snap [2023-10-04T05:37:42.149Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:37:42.573Z] + 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=f0567d3a692cf00c0b07daf83bb576ce12882e74 --label arch=arm64 --label version=0.0.0 . [2023-10-04T05:37:42.839Z] Sending build context to Docker daemon 3.403MB [2023-10-04T05:37:42.840Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T05:37:42.840Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-04T05:37:42.840Z] ---> a784e32cd193 [2023-10-04T05:37:42.840Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-04T05:37:43.111Z] ---> Running in 9e331074b663 [2023-10-04T05:37:43.375Z] Removing intermediate container 9e331074b663 [2023-10-04T05:37:43.375Z] ---> 311c5a4b3381 [2023-10-04T05:37:43.375Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-04T05:37:43.375Z] ---> Running in b4fdae3389e1 [2023-10-04T05:37:43.642Z] Removing intermediate container b4fdae3389e1 [2023-10-04T05:37:43.642Z] ---> 7ce40e605c7c [2023-10-04T05:37:43.642Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-04T05:37:43.642Z] ---> Running in 9556ece27550 [2023-10-04T05:37:44.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T05:37:45.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T05:37:46.590Z] OK: 272 MiB in 60 packages [2023-10-04T05:37:47.996Z] Removing intermediate container 9556ece27550 [2023-10-04T05:37:47.996Z] ---> 8537e0696ca3 [2023-10-04T05:37:47.996Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-04T05:37:48.263Z] ---> Running in c851a9c8a9bb [2023-10-04T05:37:48.531Z] Removing intermediate container c851a9c8a9bb [2023-10-04T05:37:48.531Z] ---> f2ff0266913c [2023-10-04T05:37:48.531Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-04T05:37:49.114Z] ---> 90ee901021fe [2023-10-04T05:37:49.114Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T05:37:49.114Z] ---> Running in cbcb1b69e2b2 [2023-10-04T05:37:51.073Z] Removing intermediate container cbcb1b69e2b2 [2023-10-04T05:37:51.073Z] ---> 6e19b174e2ba [2023-10-04T05:37:51.073Z] Step 9/22 : COPY . . [2023-10-04T05:37:52.031Z] ---> 47de74c0e857 [2023-10-04T05:37:52.031Z] Step 10/22 : RUN ${MAKE} [2023-10-04T05:37:52.031Z] ---> Running in 578f724c37c3 [2023-10-04T05:37:52.993Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-04T05:39:59.657Z] Removing intermediate container 578f724c37c3 [2023-10-04T05:39:59.657Z] ---> 3fac31786975 [2023-10-04T05:39:59.657Z] Step 11/22 : FROM alpine:3.18 [2023-10-04T05:39:59.657Z] 3.18: Pulling from library/alpine [2023-10-04T05:39:59.657Z] 579b34f0a95b: Pulling fs layer [2023-10-04T05:39:59.657Z] 579b34f0a95b: Verifying Checksum [2023-10-04T05:39:59.657Z] 579b34f0a95b: Download complete [2023-10-04T05:39:59.657Z] 579b34f0a95b: Pull complete [2023-10-04T05:39:59.657Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T05:39:59.657Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T05:39:59.657Z] ---> 3cc203321400 [2023-10-04T05:39:59.657Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-04T05:39:59.657Z] ---> Running in 6d8f57dfda22 [2023-10-04T05:39:59.657Z] Removing intermediate container 6d8f57dfda22 [2023-10-04T05:39:59.657Z] ---> e73b1b20b9b8 [2023-10-04T05:39:59.657Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-04T05:39:59.657Z] ---> Running in dc275baeb563 [2023-10-04T05:39:59.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T05:39:59.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T05:39:59.657Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-04T05:39:59.657Z] Executing busybox-1.36.1-r2.trigger [2023-10-04T05:39:59.657Z] OK: 8 MiB in 16 packages [2023-10-04T05:39:59.657Z] Removing intermediate container dc275baeb563 [2023-10-04T05:39:59.657Z] ---> 5bebab192d85 [2023-10-04T05:39:59.657Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-04T05:39:59.657Z] ---> 9ebcc9798474 [2023-10-04T05:39:59.657Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-04T05:39:59.657Z] ---> b1e66ebc00f3 [2023-10-04T05:39:59.657Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-04T05:39:59.657Z] ---> 0b3193afde68 [2023-10-04T05:39:59.657Z] Step 17/22 : EXPOSE 59901 [2023-10-04T05:39:59.657Z] ---> Running in 098d6bf0647c [2023-10-04T05:39:59.657Z] Removing intermediate container 098d6bf0647c [2023-10-04T05:39:59.657Z] ---> 55c5611d1fd2 [2023-10-04T05:39:59.657Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-04T05:39:59.928Z] ---> Running in 55456b12db78 [2023-10-04T05:40:00.194Z] Removing intermediate container 55456b12db78 [2023-10-04T05:40:00.194Z] ---> 6768e79e6cb9 [2023-10-04T05:40:00.194Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-04T05:40:00.194Z] ---> Running in be44033a2696 [2023-10-04T05:40:00.461Z] Removing intermediate container be44033a2696 [2023-10-04T05:40:00.461Z] ---> a9e2e52a7b3c [2023-10-04T05:40:00.461Z] Step 20/22 : LABEL arch=arm64 [2023-10-04T05:40:00.461Z] ---> Running in 204642a5954e [2023-10-04T05:40:00.729Z] Removing intermediate container 204642a5954e [2023-10-04T05:40:00.729Z] ---> 9c4f109cf621 [2023-10-04T05:40:00.729Z] Step 21/22 : LABEL git_sha=f0567d3a692cf00c0b07daf83bb576ce12882e74 [2023-10-04T05:40:00.729Z] ---> Running in b6819ee9c3f9 [2023-10-04T05:40:00.998Z] Removing intermediate container b6819ee9c3f9 [2023-10-04T05:40:00.998Z] ---> ee33fbc3ada5 [2023-10-04T05:40:00.998Z] Step 22/22 : LABEL version=0.0.0 [2023-10-04T05:40:01.266Z] ---> Running in 3d9ca9801e2c [2023-10-04T05:40:01.534Z] Removing intermediate container 3d9ca9801e2c [2023-10-04T05:40:01.534Z] ---> 71dfb961dcc8 [2023-10-04T05:40:01.534Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T05:40:01.534Z] Successfully built 71dfb961dcc8 [2023-10-04T05:40:01.534Z] 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 [2023-10-04T05:40:02.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T05:40:02.378Z] [2023-10-04T05:40:02.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:40:02.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T05:40:04.182Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T05:40:04.182Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T05:40:04.182Z] 04944245beec: Pulling fs layer [2023-10-04T05:40:04.182Z] 699f458cf7ca: Pulling fs layer [2023-10-04T05:40:04.182Z] 765212b225bb: Pulling fs layer [2023-10-04T05:40:04.182Z] f23df028b6ca: Pulling fs layer [2023-10-04T05:40:04.182Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T05:40:04.182Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T05:40:04.182Z] d65c8cfc05b1: Waiting [2023-10-04T05:40:04.182Z] 765212b225bb: Waiting [2023-10-04T05:40:04.182Z] f23df028b6ca: Waiting [2023-10-04T05:40:04.182Z] 2437ff75d9bd: Waiting [2023-10-04T05:40:04.182Z] 04944245beec: Verifying Checksum [2023-10-04T05:40:04.182Z] 04944245beec: Download complete [2023-10-04T05:40:04.182Z] 765212b225bb: Verifying Checksum [2023-10-04T05:40:04.182Z] 765212b225bb: Download complete [2023-10-04T05:40:04.465Z] f23df028b6ca: Verifying Checksum [2023-10-04T05:40:04.465Z] f23df028b6ca: Download complete [2023-10-04T05:40:04.465Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T05:40:04.465Z] d65c8cfc05b1: Download complete [2023-10-04T05:40:04.733Z] 699f458cf7ca: Verifying Checksum [2023-10-04T05:40:04.733Z] 699f458cf7ca: Download complete [2023-10-04T05:40:05.000Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T05:40:05.000Z] 8998bd30e6a1: Download complete [2023-10-04T05:40:07.583Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T05:40:07.583Z] 2437ff75d9bd: Download complete [2023-10-04T05:40:09.526Z] 8998bd30e6a1: Pull complete [2023-10-04T05:40:09.794Z] 04944245beec: Pull complete [2023-10-04T05:40:11.203Z] 699f458cf7ca: Pull complete [2023-10-04T05:40:11.470Z] 765212b225bb: Pull complete [2023-10-04T05:40:12.053Z] f23df028b6ca: Pull complete [2023-10-04T05:40:12.320Z] d65c8cfc05b1: Pull complete [2023-10-04T05:40:27.297Z] 2437ff75d9bd: Pull complete [2023-10-04T05:40:27.297Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T05:40:27.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T05:40:27.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:40:27.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-8453 does not seem to be running inside a container [2023-10-04T05:40:27.688Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-04T05:40:30.185Z] $ docker top 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:31.061Z] ---> job-cost.sh [2023-10-04T05:40:31.062Z] lf-activate-venv: SKIPPING [2023-10-04T05:40:31.062Z] INFO: No Stack... [2023-10-04T05:40:31.326Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T05:40:32.279Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T05:40:32.928Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-10-04T05:40:32.928Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T05:40:32.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [2023-10-04T05:40:33.005Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] did not exist. Created. [2023-10-04T05:40:33.005Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T05:40:33.421Z] /w/workspace/device-modbus-go/1@tmp/durable-2573143a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T05:40:33.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T05:40:33.804Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T05:40:33.855Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T05:40:33.871Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T05:40:33.981Z] $ docker stop --time=1 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 [2023-10-04T05:40:35.448Z] $ docker rm -f --volumes 7e25ab47609ccb89c53fc7e9c61d9332dec69e0e8dc907a6554ea5b49bdfe961 [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 [2023-10-04T05:40:36.570Z] provisioning config files... [2023-10-04T05:40:36.577Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config8492171466087899128tmp [Pipeline] { [Pipeline] sh [2023-10-04T05:40:36.923Z] + set +x [2023-10-04T05:40:36.923Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-10-04T05:40:36.923Z] [2023-10-04T05:40:36.923Z] [2023-10-04T05:40:36.923Z] _____ _ [2023-10-04T05:40:36.923Z] / ____| | | [2023-10-04T05:40:36.923Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T05:40:36.923Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T05:40:36.923Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T05:40:36.923Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T05:40:36.923Z] Bash-1.0.6 [2023-10-04T05:40:36.923Z] [2023-10-04T05:40:36.923Z] [2023-10-04T05:40:36.923Z] ==> git version 2.25.1 found [2023-10-04T05:40:36.923Z] ==> 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 [2023-10-04T05:40:36.923Z] Release-Date: 2020-01-08 [2023-10-04T05:40:36.923Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-04T05:40:36.923Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T05:40:36.923Z] ==> Jenkins CI detected. [2023-10-04T05:40:36.923Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-507 [2023-10-04T05:40:36.923Z] project root: . [2023-10-04T05:40:36.923Z] --> token set from env [2023-10-04T05:40:36.923Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T05:40:36.923Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T05:40:36.923Z] ==> Python coveragepy not found [2023-10-04T05:40:36.923Z] ==> Searching for coverage reports in: [2023-10-04T05:40:36.923Z] + . [2023-10-04T05:40:36.923Z] -> Found 1 reports [2023-10-04T05:40:36.923Z] ==> Detecting git/mercurial file structure [2023-10-04T05:40:37.182Z] ==> Reading reports [2023-10-04T05:40:37.182Z] + ./coverage.out bytes=24334 [2023-10-04T05:40:37.182Z] ==> Appending adjustments [2023-10-04T05:40:37.182Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T05:40:37.182Z] + Found adjustments [2023-10-04T05:40:37.182Z] ==> Gzipping contents [2023-10-04T05:40:37.182Z] 4.0K /tmp/codecov.0K3IGd.gz [2023-10-04T05:40:37.182Z] ==> Uploading reports [2023-10-04T05:40:37.182Z] url: https://codecov.io [2023-10-04T05:40:37.182Z] query: branch=PR-507&commit=f0567d3a692cf00c0b07daf83bb576ce12882e74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=507&job=&cmd_args= [2023-10-04T05:40:37.182Z] -> Pinging Codecov [2023-10-04T05:40:37.182Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-507&commit=f0567d3a692cf00c0b07daf83bb576ce12882e74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=507&job=&cmd_args= [2023-10-04T05:40:37.442Z] -> Uploading to [2023-10-04T05:40:37.442Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/55DBCA73C666E3227836607328DD7E49/f0567d3a692cf00c0b07daf83bb576ce12882e74/ea60ec82-2146-4eb1-9daf-4bccc9404981.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T054037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0771c7d81672b2333f0d3d9fb3c172f1a0ad342888a6819594a8b561bc6c885c [2023-10-04T05:40:37.442Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T05:40:37.442Z] Dload Upload Total Spent Left Speed [2023-10-04T05:40:37.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19198 --:--:-- --:--:-- --:--:-- 19105 100 3974 0 0 100 3974 0 16627 --:--:-- --:--:-- --:--:-- 16558 [2023-10-04T05:40:37.702Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f0567d3a692cf00c0b07daf83bb576ce12882e74 [Pipeline] } [2023-10-04T05:40:37.729Z] 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 [2023-10-04T05:40:39.519Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-507/archives ] [2023-10-04T05:40:39.519Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-507/archives [2023-10-04T05:40:39.519Z] total 16 [2023-10-04T05:40:39.519Z] drwxr-xr-x 3 root root 4096 Oct 4 05:33 . [2023-10-04T05:40:39.519Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 05:33 .. [2023-10-04T05:40:39.519Z] drwxr-xr-x 2 root root 4096 Oct 4 05:33 cost [2023-10-04T05:40:39.519Z] -rw-r--r-- 1 root root 88 Oct 4 05:33 cost.csv [2023-10-04T05:40:39.519Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-507/archives [2023-10-04T05:40:39.519Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-507/archives [2023-10-04T05:40:39.519Z] total 16 [2023-10-04T05:40:39.519Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:33 . [2023-10-04T05:40:39.519Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 05:33 .. [2023-10-04T05:40:39.519Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:33 cost [2023-10-04T05:40:39.519Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 4 05:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:39.845Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:40.735Z] ---> package-listing.sh [2023-10-04T05:40:40.735Z] ++ facter osfamily [2023-10-04T05:40:40.735Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T05:40:40.995Z] + OS_FAMILY=debian [2023-10-04T05:40:40.995Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-507 [2023-10-04T05:40:40.995Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T05:40:40.995Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T05:40:40.995Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T05:40:40.995Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T05:40:40.995Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-507 ']' [2023-10-04T05:40:40.995Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T05:40:40.995Z] + case "${OS_FAMILY}" in [2023-10-04T05:40:40.995Z] + dpkg -l [2023-10-04T05:40:40.995Z] + grep '^ii' [2023-10-04T05:40:40.995Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T05:40:40.995Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T05:40:40.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T05:40:40.995Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-507 ']' [2023-10-04T05:40:40.995Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-507/archives/ [2023-10-04T05:40:40.995Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-507/archives/ [Pipeline] echo [2023-10-04T05:40:41.030Z] 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-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-04T05:40:41.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T05:40:41.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T05:40:41.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T05:40:42.110Z] prd-ubuntu20.04-docker-8c-8g-8452 does not seem to be running inside a container [2023-10-04T05:40:42.137Z] $ 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-507/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-507 -v /w/workspace/xfoundry_device-modbus-go_PR-507:/w/workspace/xfoundry_device-modbus-go_PR-507:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-507@tmp:/w/workspace/xfoundry_device-modbus-go_PR-507@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-04T05:40:42.324Z] $ docker top 45606451aec5fbfab9df7aae508767ec6252b760baf1c3ed309c23af476e12f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T05:40:42.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T05:40:43.025Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T05:40:43.338Z] + ls /var/log/sa-host [2023-10-04T05:40:43.338Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T05:40:43.550Z] provisioning config files... [2023-10-04T05:40:43.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-507@tmp/config12274799194045957270tmp [Pipeline] { [Pipeline] echo [2023-10-04T05:40:43.612Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:43.922Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T05:40:43.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:44.355Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T05:40:44.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:44.698Z] ---> sudo-logs.sh [2023-10-04T05:40:44.698Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T05:40:44.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:45.100Z] ---> job-cost.sh [2023-10-04T05:40:45.100Z] lf-activate-venv: SKIPPING [2023-10-04T05:40:45.100Z] DEBUG: total: 0.2199999988079071 [2023-10-04T05:40:45.100Z] INFO: Retrieving Stack Cost... [2023-10-04T05:40:45.358Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T05:40:45.925Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T05:40:45.959Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T05:40:46.266Z] ---> logs-deploy.sh [2023-10-04T05:40:46.266Z] lf-activate-venv: SKIPPING [2023-10-04T05:40:46.266Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-507/1 [2023-10-04T05:40:46.266Z] INFO: archiving workspace using pattern(s): [2023-10-04T05:40:47.204Z] Archives upload complete. [2023-10-04T05:40:47.204Z] INFO: archiving logs to Nexus