Pull request #478 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from b665685e7969455f5fafdfddc5d3bc5fd8649751+a3185666607ac015ce8e2ed96cee91149733c6fa (a30e20772743b75114350a5c747e61c80b8c38dc) 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-ssh1138349197221148305.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1140402120394370564.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-478/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-478/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13135234098969657769.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-478/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12280264011762500069.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh17594303907428394590.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-478/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-478/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12188345836740751211.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14982 in /w/workspace/xfoundry_device-modbus-go_PR-478 [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-478 # 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/478/head:refs/remotes/origin/PR-478 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3185666607ac015ce8e2ed96cee91149733c6fa into PR head commit b665685e7969455f5fafdfddc5d3bc5fd8649751 Merge succeeded, producing b665685e7969455f5fafdfddc5d3bc5fd8649751 Checking out Revision b665685e7969455f5fafdfddc5d3bc5fd8649751 (PR-478) > git config core.sparsecheckout # timeout=10 > git checkout -f b665685e7969455f5fafdfddc5d3bc5fd8649751 # 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 a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b665685e7969455f5fafdfddc5d3bc5fd8649751 # timeout=10 Commit message: "docs: Add main branch Warning" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T22:51:13.039Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T22:51:13.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T22:51:13.309Z] ========================================================= [2023-05-10T22:51:13.309Z] EdgeX Global Pipelines Version Info [2023-05-10T22:51:13.309Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:51:14.053Z] ------------------- [2023-05-10T22:51:14.053Z] stable info: [2023-05-10T22:51:14.053Z] ------------------- [2023-05-10T22:51:14.053Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T22:51:14.053Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:51:14.053Z] Message: update stable to v1.0.249 [2023-05-10T22:51:14.623Z] ------------------- [2023-05-10T22:51:14.623Z] experimental info: [2023-05-10T22:51:14.623Z] ------------------- [2023-05-10T22:51:14.623Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T22:51:14.623Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:51:14.623Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T22:51:14.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-10T22:51:14.956Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-10T22:51:14.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T22:51:15.037Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T22:51:15.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T22:51:15.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T22:51:15.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T22:51:15.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T22:51:15.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T22:51:15.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T22:51:15.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T22:51:15.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-10T22:51:15.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T22:51:15.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T22:51:15.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:51:15.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:51:15.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:51:15.555Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:51:15.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T22:51:15.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T22:51:15.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T22:51:15.705Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T22:51:15.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T22:51:15.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T22:51:15.815Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T22:51:15.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T22:51:15.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T22:51:15.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2023-05-10T22:51:15.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2023-05-10T22:51:16.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2023-05-10T22:51:16.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b665685e7969455f5fafdfddc5d3bc5fd8649751 [Pipeline] echo [2023-05-10T22:51:16.098Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b665685 [Pipeline] echo [2023-05-10T22:51:16.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:51:16.282Z] provisioning config files... [2023-05-10T22:51:16.296Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/config9764617339705792825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:51:16.655Z] ---> docker-login.sh [2023-05-10T22:51:16.655Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:51:16.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:16.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:16.917Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:16.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:16.917Z] [2023-05-10T22:51:16.917Z] Login Succeeded [2023-05-10T22:51:16.917Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:51:17.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:17.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:17.178Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:17.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:17.178Z] [2023-05-10T22:51:17.178Z] Login Succeeded [2023-05-10T22:51:17.178Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:51:17.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:17.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:17.178Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:17.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:17.178Z] [2023-05-10T22:51:17.178Z] Login Succeeded [2023-05-10T22:51:17.178Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:51:17.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:17.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:17.438Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:17.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:17.438Z] [2023-05-10T22:51:17.438Z] Login Succeeded [2023-05-10T22:51:17.438Z] docker.io [2023-05-10T22:51:17.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:17.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:17.700Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:17.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:17.700Z] [2023-05-10T22:51:17.700Z] Login Succeeded [2023-05-10T22:51:17.700Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:51:17.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T22:51:18.361Z] + git rev-list -1 --merges b665685e7969455f5fafdfddc5d3bc5fd8649751~1..b665685e7969455f5fafdfddc5d3bc5fd8649751 [Pipeline] echo [2023-05-10T22:51:18.427Z] -----------> git rev-list -1 --merges b665685e7969455f5fafdfddc5d3bc5fd8649751~1..b665685e7969455f5fafdfddc5d3bc5fd8649751 b665685e7969455f5fafdfddc5d3bc5fd8649751 [false] [Pipeline] sh [2023-05-10T22:51:18.739Z] + git log --format=format:%s -1 b665685e7969455f5fafdfddc5d3bc5fd8649751 [Pipeline] echo [2023-05-10T22:51:18.777Z] ========================================================= [2023-05-10T22:51:18.778Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T22:51:18.778Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:51:19.235Z] + git log --format=format:%s -1 b665685e7969455f5fafdfddc5d3bc5fd8649751 [Pipeline] echo [2023-05-10T22:51:19.272Z] [semverPrep] GIT_COMMIT: b665685e7969455f5fafdfddc5d3bc5fd8649751, Commit Message: docs: Add main branch Warning [Pipeline] echo [2023-05-10T22:51:19.309Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T22:51:19.690Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T22:51:19.690Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T22:51:19.690Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T22:51:19.690Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T22:51:19.690Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T22:51:19.690Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T22:51:19.690Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:51:20.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:51:20.130Z] [2023-05-10T22:51:20.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:51:20.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:51:20.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T22:51:20.505Z] b85a868b505f: Pulling fs layer [2023-05-10T22:51:20.505Z] e2be974225ed: Pulling fs layer [2023-05-10T22:51:20.505Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T22:51:20.505Z] 988bab9f4d93: Pulling fs layer [2023-05-10T22:51:20.505Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T22:51:20.505Z] eaf3925da568: Pulling fs layer [2023-05-10T22:51:20.505Z] bab4dde63d76: Pulling fs layer [2023-05-10T22:51:20.505Z] bde34c3a00c8: Pulling fs layer [2023-05-10T22:51:20.505Z] b352a97aabf1: Pulling fs layer [2023-05-10T22:51:20.505Z] 4872d77fe225: Pulling fs layer [2023-05-10T22:51:20.505Z] 5851b861e8e6: Pulling fs layer [2023-05-10T22:51:20.505Z] 988bab9f4d93: Waiting [2023-05-10T22:51:20.505Z] 1469e6f7b9e6: Waiting [2023-05-10T22:51:20.505Z] eaf3925da568: Waiting [2023-05-10T22:51:20.505Z] bab4dde63d76: Waiting [2023-05-10T22:51:20.505Z] bde34c3a00c8: Waiting [2023-05-10T22:51:20.505Z] b352a97aabf1: Waiting [2023-05-10T22:51:20.505Z] 4872d77fe225: Waiting [2023-05-10T22:51:20.505Z] 5851b861e8e6: Waiting [2023-05-10T22:51:20.505Z] e2be974225ed: Verifying Checksum [2023-05-10T22:51:20.505Z] e2be974225ed: Download complete [2023-05-10T22:51:20.505Z] 988bab9f4d93: Verifying Checksum [2023-05-10T22:51:20.505Z] 988bab9f4d93: Download complete [2023-05-10T22:51:20.505Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T22:51:20.505Z] 1469e6f7b9e6: Download complete [2023-05-10T22:51:20.505Z] eaf3925da568: Download complete [2023-05-10T22:51:20.766Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T22:51:20.766Z] 339a4e72a1f5: Download complete [2023-05-10T22:51:20.766Z] bde34c3a00c8: Download complete [2023-05-10T22:51:20.766Z] b352a97aabf1: Download complete [2023-05-10T22:51:20.766Z] 4872d77fe225: Download complete [2023-05-10T22:51:20.766Z] 5851b861e8e6: Download complete [2023-05-10T22:51:20.766Z] b85a868b505f: Download complete [2023-05-10T22:51:21.024Z] bab4dde63d76: Verifying Checksum [2023-05-10T22:51:21.024Z] bab4dde63d76: Download complete [2023-05-10T22:51:21.971Z] b85a868b505f: Pull complete [2023-05-10T22:51:22.232Z] e2be974225ed: Pull complete [2023-05-10T22:51:22.803Z] 339a4e72a1f5: Pull complete [2023-05-10T22:51:22.803Z] 988bab9f4d93: Pull complete [2023-05-10T22:51:23.063Z] 1469e6f7b9e6: Pull complete [2023-05-10T22:51:23.063Z] eaf3925da568: Pull complete [2023-05-10T22:51:24.974Z] bab4dde63d76: Pull complete [2023-05-10T22:51:24.974Z] bde34c3a00c8: Pull complete [2023-05-10T22:51:24.974Z] b352a97aabf1: Pull complete [2023-05-10T22:51:24.974Z] 4872d77fe225: Pull complete [2023-05-10T22:51:24.974Z] 5851b861e8e6: Pull complete [2023-05-10T22:51:24.974Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T22:51:24.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:51:24.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:51:25.283Z] prd-ubuntu20.04-docker-8c-8g-14982 does not seem to be running inside a container [2023-05-10T22:51:25.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-478 -v /w/workspace/xfoundry_device-modbus-go_PR-478:/w/workspace/xfoundry_device-modbus-go_PR-478:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-478@tmp:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T22:51:27.452Z] $ docker top eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c -eo pid,comm [2023-05-10T22:51:27.509Z] 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-05-10T22:51:27.509Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T22:51:27.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:51:27.631Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:51:27.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:51:27.741Z] $ docker exec eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c ssh-agent [2023-05-10T22:51:27.854Z] SSH_AUTH_SOCK=/tmp/ssh-JMQ1ndc5spaI/agent.34 [2023-05-10T22:51:27.854Z] SSH_AGENT_PID=40 [2023-05-10T22:51:27.861Z] Running ssh-add (command line suppressed) [2023-05-10T22:51:27.960Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-478@tmp/private_key_15921447967601371328.key (/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/private_key_15921447967601371328.key) [2023-05-10T22:51:27.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:51:28.306Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T22:51:28.334Z] $ docker exec --env ******** --env ******** eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c ssh-agent -k [2023-05-10T22:51:28.448Z] unset SSH_AUTH_SOCK; [2023-05-10T22:51:28.448Z] unset SSH_AGENT_PID; [2023-05-10T22:51:28.448Z] echo Agent pid 40 killed; [2023-05-10T22:51:28.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T22:51:28.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:51:28.541Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:51:28.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:51:28.651Z] $ docker exec eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c ssh-agent [2023-05-10T22:51:28.754Z] SSH_AUTH_SOCK=/tmp/ssh-enoQTM8oemyL/agent.73 [2023-05-10T22:51:28.754Z] SSH_AGENT_PID=79 [2023-05-10T22:51:28.758Z] Running ssh-add (command line suppressed) [2023-05-10T22:51:28.853Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-478@tmp/private_key_14865776600024826428.key (/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/private_key_14865776600024826428.key) [2023-05-10T22:51:28.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:51:29.198Z] + git semver init [2023-05-10T22:51:29.458Z] 2023-05-10 22:51:29,374 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T22:51:29.458Z] 2023-05-10 22:51:29,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-478/.semver [2023-05-10T22:51:29.458Z] 2023-05-10 22:51:29,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-478/.semver [2023-05-10T22:51:29.458Z] 2023-05-10 22:51:29,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-478/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-478, universal_newlines=False, shell=None, istream=None) [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,109 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-478/.git/info/exclude [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,110 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-478/.semver/PR-478 with force:False [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,110 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-478/.semver/PR-478 [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,115 [execute] INFO git cat-file --batch-check [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-478/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,122 [execute] INFO git cat-file --batch [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,123 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-478/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T22:51:30.397Z] 2023-05-10 22:51:30,128 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-478/.semver/PR-478 [2023-05-10T22:51:30.397Z] 0.0.0 [Pipeline] } [2023-05-10T22:51:30.423Z] $ docker exec --env ******** --env ******** eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c ssh-agent -k [2023-05-10T22:51:30.517Z] unset SSH_AUTH_SOCK; [2023-05-10T22:51:30.518Z] unset SSH_AGENT_PID; [2023-05-10T22:51:30.518Z] echo Agent pid 79 killed; [2023-05-10T22:51:30.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T22:51:30.942Z] + git semver [Pipeline] } [2023-05-10T22:51:31.230Z] $ docker stop --time=1 eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c [2023-05-10T22:51:32.540Z] $ docker rm -f --volumes eb0dffd20e07a7a80750af175b42035fcf0010698a89dd4f8591d6073083167c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:51:32.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T22:51:33.194Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T22:51:33.211Z] [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-05-10T22:51:33.781Z] provisioning config files... [2023-05-10T22:51:33.794Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/config9296499819926667005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:51:34.157Z] ---> docker-login.sh [2023-05-10T22:51:34.157Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:51:34.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:34.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:34.157Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:34.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:34.157Z] [2023-05-10T22:51:34.157Z] Login Succeeded [2023-05-10T22:51:34.157Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:51:34.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:34.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:34.157Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:34.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:34.157Z] [2023-05-10T22:51:34.157Z] Login Succeeded [2023-05-10T22:51:34.157Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:51:34.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:34.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:34.427Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:34.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:34.427Z] [2023-05-10T22:51:34.427Z] Login Succeeded [2023-05-10T22:51:34.427Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:51:34.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:34.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:34.427Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:34.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:34.427Z] [2023-05-10T22:51:34.427Z] Login Succeeded [2023-05-10T22:51:34.427Z] docker.io [2023-05-10T22:51:34.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:51:34.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:51:34.687Z] Configure a credential helper to remove this warning. See [2023-05-10T22:51:34.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:51:34.687Z] [2023-05-10T22:51:34.687Z] Login Succeeded [2023-05-10T22:51:34.687Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:51:34.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T22:51:34.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:51:34.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:51:34.991Z] ========================================================= [2023-05-10T22:51:34.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T22:51:34.991Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:51:35.456Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T22:51:35.456Z] Sending build context to Docker daemon 6.523MB [2023-05-10T22:51:35.456Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:51:35.456Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T22:51:35.456Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T22:51:35.456Z] f56be85fc22e: Pulling fs layer [2023-05-10T22:51:35.456Z] 85791d961cd3: Pulling fs layer [2023-05-10T22:51:35.456Z] d694b5ae8c79: Pulling fs layer [2023-05-10T22:51:35.456Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T22:51:35.456Z] 4d19c01a9841: Pulling fs layer [2023-05-10T22:51:35.456Z] 9325e15d5711: Pulling fs layer [2023-05-10T22:51:35.456Z] 556b6ee489ea: Pulling fs layer [2023-05-10T22:51:35.456Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T22:51:35.456Z] 9f32a84ed3da: Waiting [2023-05-10T22:51:35.456Z] 556b6ee489ea: Waiting [2023-05-10T22:51:35.456Z] 4d19c01a9841: Waiting [2023-05-10T22:51:35.456Z] 9325e15d5711: Waiting [2023-05-10T22:51:35.456Z] 85791d961cd3: Verifying Checksum [2023-05-10T22:51:35.456Z] 85791d961cd3: Download complete [2023-05-10T22:51:35.716Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T22:51:35.716Z] 9f32a84ed3da: Download complete [2023-05-10T22:51:35.716Z] 4d19c01a9841: Verifying Checksum [2023-05-10T22:51:35.716Z] 4d19c01a9841: Download complete [2023-05-10T22:51:35.716Z] f56be85fc22e: Verifying Checksum [2023-05-10T22:51:35.716Z] f56be85fc22e: Download complete [2023-05-10T22:51:35.716Z] 9325e15d5711: Verifying Checksum [2023-05-10T22:51:35.716Z] 9325e15d5711: Download complete [2023-05-10T22:51:35.716Z] f56be85fc22e: Pull complete [2023-05-10T22:51:35.976Z] 85791d961cd3: Pull complete [2023-05-10T22:51:36.235Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T22:51:36.235Z] c5a4b2cf53e6: Download complete [2023-05-10T22:51:36.235Z] d694b5ae8c79: Verifying Checksum [2023-05-10T22:51:36.235Z] d694b5ae8c79: Download complete [2023-05-10T22:51:36.495Z] 556b6ee489ea: Verifying Checksum [2023-05-10T22:51:36.495Z] 556b6ee489ea: Download complete [2023-05-10T22:51:39.789Z] d694b5ae8c79: Pull complete [2023-05-10T22:51:39.789Z] 9f32a84ed3da: Pull complete [2023-05-10T22:51:39.789Z] 4d19c01a9841: Pull complete [2023-05-10T22:51:39.789Z] 9325e15d5711: Pull complete [2023-05-10T22:51:41.691Z] 556b6ee489ea: Pull complete [2023-05-10T22:51:42.625Z] c5a4b2cf53e6: Pull complete [2023-05-10T22:51:42.625Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T22:51:42.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T22:51:42.625Z] ---> c4be618373d6 [2023-05-10T22:51:42.625Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:51:45.916Z] ---> Running in 9dd83bb1804c [2023-05-10T22:51:45.916Z] Removing intermediate container 9dd83bb1804c [2023-05-10T22:51:45.916Z] ---> 7583cee3b462 [2023-05-10T22:51:45.916Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:51:45.916Z] ---> Running in 2c2ab6e2af66 [2023-05-10T22:51:45.916Z] Removing intermediate container 2c2ab6e2af66 [2023-05-10T22:51:45.916Z] ---> 3949f873be3c [2023-05-10T22:51:45.916Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T22:51:45.916Z] ---> Running in 4751507665b4 [2023-05-10T22:51:46.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:51:46.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:51:46.435Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T22:51:46.435Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T22:51:46.435Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T22:51:46.435Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T22:51:46.693Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T22:51:46.693Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T22:51:46.693Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T22:51:46.693Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T22:51:46.693Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:51:46.693Z] OK: 270 MiB in 61 packages [2023-05-10T22:51:46.953Z] Removing intermediate container 4751507665b4 [2023-05-10T22:51:46.953Z] ---> 3542e9d5bc32 [2023-05-10T22:51:46.953Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T22:51:47.212Z] ---> Running in 1a252e3bde2f [2023-05-10T22:51:47.212Z] Removing intermediate container 1a252e3bde2f [2023-05-10T22:51:47.212Z] ---> daab3dc3505b [2023-05-10T22:51:47.212Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T22:51:47.212Z] ---> 243db12d9a61 [2023-05-10T22:51:47.212Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:51:47.212Z] ---> Running in b813c52774ef [2023-05-10T22:51:48.603Z] Still waiting to schedule task [2023-05-10T22:51:48.603Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-10T22:52:13.792Z] Removing intermediate container b813c52774ef [2023-05-10T22:52:13.792Z] ---> db4aebc5d195 [2023-05-10T22:52:13.792Z] Step 9/10 : COPY . . [2023-05-10T22:52:13.792Z] ---> 2538ca2ee928 [2023-05-10T22:52:13.792Z] Step 10/10 : RUN ${MAKE} [2023-05-10T22:52:13.792Z] ---> Running in 00dc880fc403 [2023-05-10T22:52:13.792Z] noop [2023-05-10T22:52:13.792Z] Removing intermediate container 00dc880fc403 [2023-05-10T22:52:13.792Z] ---> 3d69096b299f [2023-05-10T22:52:13.792Z] Successfully built 3d69096b299f [2023-05-10T22:52:13.792Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:52:14.249Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:52:14.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:52:14.403Z] prd-ubuntu20.04-docker-8c-8g-14982 does not seem to be running inside a container [2023-05-10T22:52:14.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-478 -v /w/workspace/xfoundry_device-modbus-go_PR-478:/w/workspace/xfoundry_device-modbus-go_PR-478:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-478@tmp:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T22:52:14.781Z] $ docker top 37478cf83f73eeb8e3377123c804a000c503986aa625037c679cc4a65755826e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:52:15.163Z] + go version [2023-05-10T22:52:15.163Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T22:52:15.250Z] $ docker stop --time=1 37478cf83f73eeb8e3377123c804a000c503986aa625037c679cc4a65755826e [2023-05-10T22:52:16.520Z] $ docker rm -f --volumes 37478cf83f73eeb8e3377123c804a000c503986aa625037c679cc4a65755826e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:52:17.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:52:17.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:52:17.372Z] prd-ubuntu20.04-docker-8c-8g-14982 does not seem to be running inside a container [2023-05-10T22:52:17.404Z] $ 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-478 -v /w/workspace/xfoundry_device-modbus-go_PR-478:/w/workspace/xfoundry_device-modbus-go_PR-478:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-478@tmp:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T22:52:17.726Z] $ docker top 3057f5fdad42ac695c4ae5c581a6d5e54ead6e72e608e8777595e41fa32a1025 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:52:18.113Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-478 [Pipeline] fileExists [Pipeline] sh [2023-05-10T22:52:18.475Z] + make test [2023-05-10T22:52:18.476Z] go test ./... -coverprofile=coverage.out [2023-05-10T22:52:23.744Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T22:52:31.851Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T22:52:32.109Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.4% of statements [2023-05-10T22:52:38.681Z] go vet ./... [2023-05-10T22:52:41.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T22:52:41.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T22:52:41.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T22:52:41.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T22:52:41.548Z] $ docker stop --time=1 3057f5fdad42ac695c4ae5c581a6d5e54ead6e72e608e8777595e41fa32a1025 [2023-05-10T22:52:44.454Z] $ docker rm -f --volumes 3057f5fdad42ac695c4ae5c581a6d5e54ead6e72e608e8777595e41fa32a1025 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:52:44.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T22:52:45.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T22:52:45.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T22:52:46.020Z] + ls -al . [2023-05-10T22:52:46.020Z] total 184 [2023-05-10T22:52:46.020Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:52 . [2023-05-10T22:52:46.020Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:51 .. [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 22:51 .dockerignore [2023-05-10T22:52:46.020Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:51 .git [2023-05-10T22:52:46.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:51 .github [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 22:51 .gitignore [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:51 .golangci.yml [2023-05-10T22:52:46.020Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:51 .semver [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 22:51 Attribution.txt [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 22:51 CHANGELOG.md [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 22:51 Dockerfile [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:51 GOVERNANCE.md [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:51 Jenkinsfile [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:51 LICENSE [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 22:51 Makefile [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 22:51 OWNERS.md [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 10 22:51 README.md [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:51 VERSION [2023-05-10T22:52:46.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:51 bin [2023-05-10T22:52:46.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:51 cmd [2023-05-10T22:52:46.020Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 22:52 coverage.out [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 22:51 go.mod [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 22:51 go.sum [2023-05-10T22:52:46.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:51 internal [2023-05-10T22:52:46.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:51 simulator [2023-05-10T22:52:46.020Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:51 snap [2023-05-10T22:52:46.020Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 22:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:52:46.419Z] + 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=b665685e7969455f5fafdfddc5d3bc5fd8649751 --label arch=amd64 --label version=0.0.0 . [2023-05-10T22:52:46.419Z] Sending build context to Docker daemon 6.548MB [2023-05-10T22:52:46.419Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:52:46.419Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T22:52:46.419Z] ---> 3d69096b299f [2023-05-10T22:52:46.419Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:52:46.681Z] ---> Running in e70762b33653 [2023-05-10T22:52:46.681Z] Removing intermediate container e70762b33653 [2023-05-10T22:52:46.681Z] ---> 513870191ba5 [2023-05-10T22:52:46.681Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:52:46.681Z] ---> Running in 524ea70b455e [2023-05-10T22:52:46.681Z] Removing intermediate container 524ea70b455e [2023-05-10T22:52:46.681Z] ---> 1c6447bb6e4f [2023-05-10T22:52:46.681Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T22:52:46.681Z] ---> Running in ff72eab3a682 [2023-05-10T22:52:46.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:52:47.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:52:47.201Z] OK: 270 MiB in 61 packages [2023-05-10T22:52:47.768Z] Removing intermediate container ff72eab3a682 [2023-05-10T22:52:47.768Z] ---> acedee2fc54d [2023-05-10T22:52:47.768Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T22:52:47.768Z] ---> Running in c8cd634495fa [2023-05-10T22:52:47.768Z] Removing intermediate container c8cd634495fa [2023-05-10T22:52:47.768Z] ---> 29651f868eee [2023-05-10T22:52:47.768Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T22:52:47.768Z] ---> 12147dd1c83e [2023-05-10T22:52:47.768Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:52:47.768Z] ---> Running in 5f45f6064658 [2023-05-10T22:52:48.844Z] Removing intermediate container 5f45f6064658 [2023-05-10T22:52:48.844Z] ---> f76c8d1c511f [2023-05-10T22:52:48.844Z] Step 9/22 : COPY . . [2023-05-10T22:52:49.104Z] ---> 3ff542cc3276 [2023-05-10T22:52:49.104Z] Step 10/22 : RUN ${MAKE} [2023-05-10T22:52:49.104Z] ---> Running in b67694688b34 [2023-05-10T22:52:49.366Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T22:53:07.454Z] Removing intermediate container b67694688b34 [2023-05-10T22:53:07.454Z] ---> 625f614e8a51 [2023-05-10T22:53:07.454Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T22:53:08.023Z] 3.17: Pulling from library/alpine [2023-05-10T22:53:08.023Z] f56be85fc22e: Already exists [2023-05-10T22:53:08.284Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T22:53:08.284Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T22:53:08.284Z] ---> 9ed4aefc74f6 [2023-05-10T22:53:08.284Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T22:53:08.284Z] ---> Running in 7d2dc6cc22a0 [2023-05-10T22:53:08.284Z] Removing intermediate container 7d2dc6cc22a0 [2023-05-10T22:53:08.284Z] ---> cd8bee73889b [2023-05-10T22:53:08.284Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T22:53:08.284Z] ---> Running in 803659e31e37 [2023-05-10T22:53:08.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:53:08.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:53:08.805Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T22:53:08.805Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:53:08.805Z] OK: 7 MiB in 16 packages [2023-05-10T22:53:09.372Z] Removing intermediate container 803659e31e37 [2023-05-10T22:53:09.372Z] ---> e065a94a260e [2023-05-10T22:53:09.372Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T22:53:09.943Z] ---> 14af26b74cf6 [2023-05-10T22:53:09.943Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T22:53:09.943Z] ---> a64ff8ed44f6 [2023-05-10T22:53:09.943Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T22:53:10.205Z] ---> 335165744bb3 [2023-05-10T22:53:10.205Z] Step 17/22 : EXPOSE 59901 [2023-05-10T22:53:10.205Z] ---> Running in 7016ca5eea1c [2023-05-10T22:53:10.205Z] Removing intermediate container 7016ca5eea1c [2023-05-10T22:53:10.205Z] ---> ceb47ce1331e [2023-05-10T22:53:10.205Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T22:53:10.205Z] ---> Running in d65848a26e6a [2023-05-10T22:53:10.465Z] Removing intermediate container d65848a26e6a [2023-05-10T22:53:10.465Z] ---> 3cc312056f68 [2023-05-10T22:53:10.465Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T22:53:10.465Z] ---> Running in 695d784189e2 [2023-05-10T22:53:10.465Z] Removing intermediate container 695d784189e2 [2023-05-10T22:53:10.465Z] ---> 6762939528b2 [2023-05-10T22:53:10.465Z] Step 20/22 : LABEL arch=amd64 [2023-05-10T22:53:10.465Z] ---> Running in e8e1bf95d845 [2023-05-10T22:53:10.465Z] Removing intermediate container e8e1bf95d845 [2023-05-10T22:53:10.465Z] ---> bee690f9adf8 [2023-05-10T22:53:10.465Z] Step 21/22 : LABEL git_sha=b665685e7969455f5fafdfddc5d3bc5fd8649751 [2023-05-10T22:53:10.465Z] ---> Running in 8549b9c9f8f7 [2023-05-10T22:53:10.725Z] Removing intermediate container 8549b9c9f8f7 [2023-05-10T22:53:10.725Z] ---> 0623fe49c7c6 [2023-05-10T22:53:10.725Z] Step 22/22 : LABEL version=0.0.0 [2023-05-10T22:53:10.725Z] ---> Running in d818766fdf76 [2023-05-10T22:53:10.725Z] Removing intermediate container d818766fdf76 [2023-05-10T22:53:10.725Z] ---> ec00e4a609eb [2023-05-10T22:53:10.725Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T22:53:10.725Z] Successfully built ec00e4a609eb [2023-05-10T22:53:10.725Z] 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-05-10T22:53:11.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:53:11.645Z] [2023-05-10T22:53:11.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:53:12.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:53:12.021Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T22:53:12.021Z] 5eb5b503b376: Pulling fs layer [2023-05-10T22:53:12.021Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T22:53:12.021Z] ec43610c2a17: Pulling fs layer [2023-05-10T22:53:12.021Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T22:53:12.021Z] 33b1e0a273af: Pulling fs layer [2023-05-10T22:53:12.021Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T22:53:12.021Z] 2f39f015ded8: Pulling fs layer [2023-05-10T22:53:12.021Z] 3a2ae6a8a46f: Waiting [2023-05-10T22:53:12.021Z] 33b1e0a273af: Waiting [2023-05-10T22:53:12.021Z] 5d3b04190fa2: Waiting [2023-05-10T22:53:12.021Z] 2f39f015ded8: Waiting [2023-05-10T22:53:12.021Z] 5c69ac0246d0: Verifying Checksum [2023-05-10T22:53:12.021Z] 5c69ac0246d0: Download complete [2023-05-10T22:53:12.021Z] 3a2ae6a8a46f: Download complete [2023-05-10T22:53:12.021Z] 33b1e0a273af: Verifying Checksum [2023-05-10T22:53:12.021Z] 33b1e0a273af: Download complete [2023-05-10T22:53:12.021Z] 5d3b04190fa2: Download complete [2023-05-10T22:53:12.021Z] ec43610c2a17: Verifying Checksum [2023-05-10T22:53:12.021Z] ec43610c2a17: Download complete [2023-05-10T22:53:12.294Z] 5eb5b503b376: Download complete [2023-05-10T22:53:12.862Z] 2f39f015ded8: Download complete [2023-05-10T22:53:13.431Z] 5eb5b503b376: Pull complete [2023-05-10T22:53:13.691Z] 5c69ac0246d0: Pull complete [2023-05-10T22:53:13.950Z] ec43610c2a17: Pull complete [2023-05-10T22:53:13.950Z] 3a2ae6a8a46f: Pull complete [2023-05-10T22:53:14.208Z] 33b1e0a273af: Pull complete [2023-05-10T22:53:14.467Z] 5d3b04190fa2: Pull complete [2023-05-10T22:53:18.649Z] 2f39f015ded8: Pull complete [2023-05-10T22:53:18.649Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T22:53:18.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:53:18.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:53:18.880Z] prd-ubuntu20.04-docker-8c-8g-14982 does not seem to be running inside a container [2023-05-10T22:53:18.911Z] $ 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-478 -v /w/workspace/xfoundry_device-modbus-go_PR-478:/w/workspace/xfoundry_device-modbus-go_PR-478:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-478@tmp:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T22:53:21.639Z] $ docker top 4704a58392bb5f674275f9bfb382d9e98563941cebb8039cd937f62cf16faad7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:53:22.095Z] ---> job-cost.sh [2023-05-10T22:53:22.095Z] lf-activate-venv: SKIPPING [2023-05-10T22:53:22.095Z] INFO: No Stack... [2023-05-10T22:53:22.355Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T22:53:22.923Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T22:53:23.244Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-478/archives/cost.csv [2023-05-10T22:53:23.244Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T22:53:23.280Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [2023-05-10T22:53:23.285Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] did not exist. Created. [2023-05-10T22:53:23.286Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T22:53:23.666Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T22:53:23.714Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T22:53:23.742Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T22:53:23.823Z] $ docker stop --time=1 4704a58392bb5f674275f9bfb382d9e98563941cebb8039cd937f62cf16faad7 [2023-05-10T22:53:24.972Z] $ docker rm -f --volumes 4704a58392bb5f674275f9bfb382d9e98563941cebb8039cd937f62cf16faad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T22:57:27.223Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14995 in /w/workspace/xfoundry_device-modbus-go_PR-478 [Pipeline] { [Pipeline] ws [2023-05-10T22:57:27.274Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-05-10T22:57:27.373Z] Selected Git installation does not exist. Using Default [2023-05-10T22:57:27.373Z] The recommended git tool is: NONE [2023-05-10T22:57:36.534Z] using credential edgex-jenkins-ssh [2023-05-10T22:57:36.554Z] Cloning the remote Git repository [2023-05-10T22:57:36.613Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T22:57:36.718Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-05-10T22:57:36.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T22:57:36.898Z] > git --version # timeout=10 [2023-05-10T22:57:36.923Z] > git --version # 'git version 2.25.1' [2023-05-10T22:57:36.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:57:37.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T22:57:38.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-10T22:57:38.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T22:57:39.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-10T22:57:39.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T22:57:39.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:57:39.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-10T22:57:39.969Z] Merging remotes/origin/main commit a3185666607ac015ce8e2ed96cee91149733c6fa into PR head commit b665685e7969455f5fafdfddc5d3bc5fd8649751 [2023-05-10T22:57:40.291Z] Merge succeeded, producing b665685e7969455f5fafdfddc5d3bc5fd8649751 [2023-05-10T22:57:40.291Z] Checking out Revision b665685e7969455f5fafdfddc5d3bc5fd8649751 (PR-478) [2023-05-10T22:57:39.993Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T22:57:40.076Z] > git checkout -f b665685e7969455f5fafdfddc5d3bc5fd8649751 # timeout=10 [2023-05-10T22:57:40.179Z] > git remote # timeout=10 [2023-05-10T22:57:40.201Z] > git config --get remote.origin.url # timeout=10 [2023-05-10T22:57:40.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:57:40.238Z] > git merge a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 [2023-05-10T22:57:40.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-10T22:57:40.300Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T22:57:40.319Z] > git checkout -f b665685e7969455f5fafdfddc5d3bc5fd8649751 # timeout=10 [2023-05-10T22:57:43.859Z] Commit message: "docs: Add main branch Warning" [2023-05-10T22:57:43.912Z] > git --version # timeout=10 [2023-05-10T22:57:43.924Z] > git --version # 'git version 2.25.1' [2023-05-10T22:57:43.938Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:57:45.081Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T22:57:45.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T22:57:45.081Z] Dload Upload Total Spent Left Speed [2023-05-10T22:57:45.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-05-10T22:57:45.769Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T22:57:46.128Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T22:57:46.128Z] + sudo tee /etc/docker/daemon.new [2023-05-10T22:57:46.128Z] { [2023-05-10T22:57:46.128Z] "registry-mirrors": [ [2023-05-10T22:57:46.128Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T22:57:46.128Z] ], [2023-05-10T22:57:46.128Z] "bip": "10.250.0.254/24", [2023-05-10T22:57:46.128Z] "hosts": [ [2023-05-10T22:57:46.128Z] "tcp://0.0.0.0:5555", [2023-05-10T22:57:46.128Z] "unix:///var/run/docker.sock" [2023-05-10T22:57:46.128Z] ], [2023-05-10T22:57:46.128Z] "mtu": 1458, [2023-05-10T22:57:46.128Z] "selinux-enabled": true, [2023-05-10T22:57:46.128Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T22:57:46.128Z] } [Pipeline] sh [2023-05-10T22:57:46.489Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T22:57:46.851Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:58:05.204Z] provisioning config files... [2023-05-10T22:58:05.237Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15180799437406801963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:58:05.643Z] ---> docker-login.sh [2023-05-10T22:58:05.643Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:58:06.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:06.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:06.237Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:06.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:06.237Z] [2023-05-10T22:58:06.237Z] Login Succeeded [2023-05-10T22:58:06.237Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:58:06.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:06.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:06.524Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:06.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:06.524Z] [2023-05-10T22:58:06.524Z] Login Succeeded [2023-05-10T22:58:06.899Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:58:06.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.170Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.170Z] [2023-05-10T22:58:07.170Z] Login Succeeded [2023-05-10T22:58:07.170Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:58:07.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.446Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.446Z] [2023-05-10T22:58:07.446Z] Login Succeeded [2023-05-10T22:58:07.446Z] docker.io [2023-05-10T22:58:07.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:58:07.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:58:07.990Z] Configure a credential helper to remove this warning. See [2023-05-10T22:58:07.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:58:07.990Z] [2023-05-10T22:58:07.990Z] Login Succeeded [2023-05-10T22:58:07.990Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:58:08.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T22:58:08.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:58:08.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:58:08.534Z] ========================================================= [2023-05-10T22:58:08.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T22:58:08.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:58:09.055Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T22:58:09.336Z] Sending build context to Docker daemon 3.414MB [2023-05-10T22:58:09.336Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:58:09.336Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T22:58:09.607Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T22:58:09.607Z] c41833b44d91: Pulling fs layer [2023-05-10T22:58:09.607Z] ed15518f5707: Pulling fs layer [2023-05-10T22:58:09.607Z] feae8fd75edb: Pulling fs layer [2023-05-10T22:58:09.607Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T22:58:09.607Z] 3cdef696dda3: Pulling fs layer [2023-05-10T22:58:09.607Z] 2ced38df9373: Pulling fs layer [2023-05-10T22:58:09.607Z] 58f1dce35555: Pulling fs layer [2023-05-10T22:58:09.608Z] 3cdef696dda3: Waiting [2023-05-10T22:58:09.608Z] 242c74f7c9fa: Waiting [2023-05-10T22:58:09.608Z] 2ced38df9373: Waiting [2023-05-10T22:58:09.608Z] 58f1dce35555: Waiting [2023-05-10T22:58:09.608Z] ed15518f5707: Verifying Checksum [2023-05-10T22:58:09.608Z] ed15518f5707: Download complete [2023-05-10T22:58:09.608Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T22:58:09.608Z] 242c74f7c9fa: Download complete [2023-05-10T22:58:09.608Z] 3cdef696dda3: Verifying Checksum [2023-05-10T22:58:09.608Z] 3cdef696dda3: Download complete [2023-05-10T22:58:09.608Z] c41833b44d91: Verifying Checksum [2023-05-10T22:58:09.608Z] c41833b44d91: Download complete [2023-05-10T22:58:11.067Z] c41833b44d91: Pull complete [2023-05-10T22:58:11.067Z] 58f1dce35555: Verifying Checksum [2023-05-10T22:58:11.067Z] 58f1dce35555: Download complete [2023-05-10T22:58:11.663Z] ed15518f5707: Pull complete [2023-05-10T22:58:12.644Z] feae8fd75edb: Verifying Checksum [2023-05-10T22:58:12.644Z] feae8fd75edb: Download complete [2023-05-10T22:58:12.644Z] 2ced38df9373: Download complete [2023-05-10T22:58:22.749Z] feae8fd75edb: Pull complete [2023-05-10T22:58:23.019Z] 242c74f7c9fa: Pull complete [2023-05-10T22:58:23.287Z] 3cdef696dda3: Pull complete [2023-05-10T22:58:29.969Z] 2ced38df9373: Pull complete [2023-05-10T22:58:31.928Z] 58f1dce35555: Pull complete [2023-05-10T22:58:34.522Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T22:58:34.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T22:58:34.522Z] ---> fadd8f120f05 [2023-05-10T22:58:34.522Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:58:35.951Z] ---> Running in 23f84e28af8d [2023-05-10T22:58:36.223Z] Removing intermediate container 23f84e28af8d [2023-05-10T22:58:36.224Z] ---> 05285947388c [2023-05-10T22:58:36.224Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:58:36.224Z] ---> Running in cab3f211a0e3 [2023-05-10T22:58:37.658Z] Removing intermediate container cab3f211a0e3 [2023-05-10T22:58:37.658Z] ---> 6ccb7ea1dda1 [2023-05-10T22:58:37.658Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T22:58:37.940Z] ---> Running in 10218fa6985f [2023-05-10T22:58:38.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T22:58:39.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T22:58:40.914Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T22:58:40.914Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T22:58:40.914Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T22:58:40.914Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:58:40.914Z] OK: 270 MiB in 61 packages [2023-05-10T22:58:41.882Z] Removing intermediate container 10218fa6985f [2023-05-10T22:58:41.882Z] ---> 982db2e3bd8a [2023-05-10T22:58:41.882Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T22:58:41.882Z] ---> Running in 5a8a92bdd5d8 [2023-05-10T22:58:42.469Z] Removing intermediate container 5a8a92bdd5d8 [2023-05-10T22:58:42.469Z] ---> 3d992a5247e7 [2023-05-10T22:58:42.469Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T22:58:42.755Z] ---> 3f76c2eb031a [2023-05-10T22:58:42.755Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:58:42.755Z] ---> Running in a47209c36f13 [2023-05-10T22:59:50.653Z] Removing intermediate container a47209c36f13 [2023-05-10T22:59:50.653Z] ---> e8b69ecbe039 [2023-05-10T22:59:50.653Z] Step 9/10 : COPY . . [2023-05-10T22:59:50.653Z] ---> 64ba4fdd7b93 [2023-05-10T22:59:50.653Z] Step 10/10 : RUN ${MAKE} [2023-05-10T22:59:50.653Z] ---> Running in b278151aef2a [2023-05-10T22:59:50.653Z] noop [2023-05-10T22:59:50.653Z] Removing intermediate container b278151aef2a [2023-05-10T22:59:50.653Z] ---> 22447c28e240 [2023-05-10T22:59:50.653Z] Successfully built 22447c28e240 [2023-05-10T22:59:50.653Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:59:51.122Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T22:59:51.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:59:51.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-14995 does not seem to be running inside a container [2023-05-10T22:59:51.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T22:59:52.726Z] $ docker top a65938f1ca939bf7d9ad0c3732c427c18225d28af6d83854e23f3b8895687bb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:59:53.610Z] + go version [2023-05-10T22:59:53.610Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T22:59:53.649Z] $ docker stop --time=1 a65938f1ca939bf7d9ad0c3732c427c18225d28af6d83854e23f3b8895687bb7 [2023-05-10T22:59:55.298Z] $ docker rm -f --volumes a65938f1ca939bf7d9ad0c3732c427c18225d28af6d83854e23f3b8895687bb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:59:56.243Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T22:59:56.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:59:56.488Z] prd-ubuntu20.04-docker-arm64-4c-16g-14995 does not seem to be running inside a container [2023-05-10T22:59:56.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T22:59:57.722Z] $ docker top 9a1426740c0fab28e31b02c78c8fd9ab70250886270980080ba5c609ffbb9b35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:59:58.266Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-10T22:59:58.651Z] + make test [2023-05-10T22:59:58.651Z] go test ./... -coverprofile=coverage.out [2023-05-10T23:00:30.923Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T23:02:22.656Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T23:02:22.656Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.4% of statements [2023-05-10T23:02:22.656Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T23:02:22.656Z] go vet ./... [2023-05-10T23:02:44.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:02:45.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:02:45.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:02:45.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:02:45.344Z] $ docker stop --time=1 9a1426740c0fab28e31b02c78c8fd9ab70250886270980080ba5c609ffbb9b35 [2023-05-10T23:02:47.116Z] $ docker rm -f --volumes 9a1426740c0fab28e31b02c78c8fd9ab70250886270980080ba5c609ffbb9b35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:02:48.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:02:48.319Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T23:02:48.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:02:49.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:02:49.709Z] + ls -al . [2023-05-10T23:02:49.709Z] total 180 [2023-05-10T23:02:49.709Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:00 . [2023-05-10T23:02:49.709Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:57 .. [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 22:57 .dockerignore [2023-05-10T23:02:49.709Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:57 .git [2023-05-10T23:02:49.709Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:57 .github [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 22:57 .gitignore [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:57 .golangci.yml [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 22:57 Attribution.txt [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 22:57 CHANGELOG.md [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 22:57 Dockerfile [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:57 GOVERNANCE.md [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:57 Jenkinsfile [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:57 LICENSE [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 22:57 Makefile [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 22:57 OWNERS.md [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 10 22:57 README.md [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:51 VERSION [2023-05-10T23:02:49.709Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:57 bin [2023-05-10T23:02:49.709Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:57 cmd [2023-05-10T23:02:49.709Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 23:02 coverage.out [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 22:57 go.mod [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 22:57 go.sum [2023-05-10T23:02:49.709Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:57 internal [2023-05-10T23:02:49.709Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:57 simulator [2023-05-10T23:02:49.709Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:57 snap [2023-05-10T23:02:49.709Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 22:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:02:50.115Z] + 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=b665685e7969455f5fafdfddc5d3bc5fd8649751 --label arch=arm64 --label version=0.0.0 . [2023-05-10T23:02:50.382Z] Sending build context to Docker daemon 3.439MB [2023-05-10T23:02:50.382Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:02:50.382Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T23:02:50.382Z] ---> 22447c28e240 [2023-05-10T23:02:50.382Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:02:52.972Z] ---> Running in 43236d213c0b [2023-05-10T23:02:52.972Z] Removing intermediate container 43236d213c0b [2023-05-10T23:02:52.973Z] ---> 2434c0ae99ea [2023-05-10T23:02:52.973Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:02:53.241Z] ---> Running in 18baff14295a [2023-05-10T23:02:53.511Z] Removing intermediate container 18baff14295a [2023-05-10T23:02:53.511Z] ---> a65cd6d30ccc [2023-05-10T23:02:53.511Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T23:02:53.511Z] ---> Running in f069e62b0961 [2023-05-10T23:02:54.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:02:55.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:02:56.017Z] OK: 270 MiB in 61 packages [2023-05-10T23:02:56.996Z] Removing intermediate container f069e62b0961 [2023-05-10T23:02:56.996Z] ---> 261740093449 [2023-05-10T23:02:56.996Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T23:02:56.996Z] ---> Running in 6798151fd6e8 [2023-05-10T23:02:57.265Z] Removing intermediate container 6798151fd6e8 [2023-05-10T23:02:57.265Z] ---> 7dbdcbcbf30e [2023-05-10T23:02:57.265Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T23:02:57.851Z] ---> b4b0052e397f [2023-05-10T23:02:57.851Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:02:57.851Z] ---> Running in 5d9aa83f19d0 [2023-05-10T23:03:00.444Z] Removing intermediate container 5d9aa83f19d0 [2023-05-10T23:03:00.444Z] ---> 7a1c3ed3796e [2023-05-10T23:03:00.444Z] Step 9/22 : COPY . . [2023-05-10T23:03:01.413Z] ---> 294bdd5819ad [2023-05-10T23:03:01.413Z] Step 10/22 : RUN ${MAKE} [2023-05-10T23:03:01.413Z] ---> Running in f03f5301a8a2 [2023-05-10T23:03:02.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T23:05:24.121Z] Removing intermediate container f03f5301a8a2 [2023-05-10T23:05:24.121Z] ---> 4c42d726a03b [2023-05-10T23:05:24.121Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T23:05:24.121Z] 3.17: Pulling from library/alpine [2023-05-10T23:05:24.121Z] c41833b44d91: Already exists [2023-05-10T23:05:24.121Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:05:24.121Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:05:24.121Z] ---> 51e60588ff2c [2023-05-10T23:05:24.121Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T23:05:24.121Z] ---> Running in 5fc3beb56373 [2023-05-10T23:05:24.121Z] Removing intermediate container 5fc3beb56373 [2023-05-10T23:05:24.121Z] ---> 45c5cbe85049 [2023-05-10T23:05:24.121Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:05:24.121Z] ---> Running in dd8a7d9540cd [2023-05-10T23:05:24.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:05:24.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:05:24.121Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:05:24.121Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:05:24.121Z] OK: 8 MiB in 16 packages [2023-05-10T23:05:24.121Z] Removing intermediate container dd8a7d9540cd [2023-05-10T23:05:24.121Z] ---> 7b08aa881d98 [2023-05-10T23:05:24.121Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T23:05:24.121Z] ---> 3158abb798c7 [2023-05-10T23:05:24.121Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T23:05:24.709Z] ---> 9f32e434dbc7 [2023-05-10T23:05:24.709Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T23:05:25.295Z] ---> 064e56e2b2fa [2023-05-10T23:05:25.295Z] Step 17/22 : EXPOSE 59901 [2023-05-10T23:05:25.295Z] ---> Running in e47507c8c37f [2023-05-10T23:05:25.566Z] Removing intermediate container e47507c8c37f [2023-05-10T23:05:25.566Z] ---> 93ed19db1c0d [2023-05-10T23:05:25.566Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T23:05:25.566Z] ---> Running in a2f71fc6f358 [2023-05-10T23:05:25.835Z] Removing intermediate container a2f71fc6f358 [2023-05-10T23:05:25.835Z] ---> f0683cbb6696 [2023-05-10T23:05:25.835Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T23:05:25.835Z] ---> Running in 7d79a7914de0 [2023-05-10T23:05:26.104Z] Removing intermediate container 7d79a7914de0 [2023-05-10T23:05:26.104Z] ---> 37e832ada275 [2023-05-10T23:05:26.104Z] Step 20/22 : LABEL arch=arm64 [2023-05-10T23:05:26.378Z] ---> Running in ea645b2f9377 [2023-05-10T23:05:26.647Z] Removing intermediate container ea645b2f9377 [2023-05-10T23:05:26.647Z] ---> 9bd727a54ad0 [2023-05-10T23:05:26.647Z] Step 21/22 : LABEL git_sha=b665685e7969455f5fafdfddc5d3bc5fd8649751 [2023-05-10T23:05:26.647Z] ---> Running in 3abc8ae1c467 [2023-05-10T23:05:26.995Z] Removing intermediate container 3abc8ae1c467 [2023-05-10T23:05:26.995Z] ---> 260288c69598 [2023-05-10T23:05:26.995Z] Step 22/22 : LABEL version=0.0.0 [2023-05-10T23:05:26.995Z] ---> Running in a437a04ca5a6 [2023-05-10T23:05:27.274Z] Removing intermediate container a437a04ca5a6 [2023-05-10T23:05:27.274Z] ---> f7ffd43d3a80 [2023-05-10T23:05:27.274Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:05:27.547Z] Successfully built f7ffd43d3a80 [2023-05-10T23:05:27.547Z] 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-05-10T23:05:28.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:05:28.359Z] [2023-05-10T23:05:28.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:05:28.775Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:05:28.775Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T23:05:28.775Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T23:05:28.775Z] 04944245beec: Pulling fs layer [2023-05-10T23:05:28.775Z] 699f458cf7ca: Pulling fs layer [2023-05-10T23:05:28.775Z] 765212b225bb: Pulling fs layer [2023-05-10T23:05:28.775Z] f23df028b6ca: Pulling fs layer [2023-05-10T23:05:28.775Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T23:05:28.775Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T23:05:28.775Z] f23df028b6ca: Waiting [2023-05-10T23:05:28.775Z] 2437ff75d9bd: Waiting [2023-05-10T23:05:28.775Z] d65c8cfc05b1: Waiting [2023-05-10T23:05:28.775Z] 765212b225bb: Waiting [2023-05-10T23:05:29.067Z] 04944245beec: Verifying Checksum [2023-05-10T23:05:29.067Z] 04944245beec: Download complete [2023-05-10T23:05:29.067Z] 765212b225bb: Download complete [2023-05-10T23:05:29.067Z] f23df028b6ca: Verifying Checksum [2023-05-10T23:05:29.067Z] f23df028b6ca: Download complete [2023-05-10T23:05:29.067Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T23:05:29.067Z] d65c8cfc05b1: Download complete [2023-05-10T23:05:29.350Z] 699f458cf7ca: Verifying Checksum [2023-05-10T23:05:29.350Z] 699f458cf7ca: Download complete [2023-05-10T23:05:29.965Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T23:05:29.965Z] 8998bd30e6a1: Download complete [2023-05-10T23:05:31.946Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T23:05:31.946Z] 2437ff75d9bd: Download complete [2023-05-10T23:05:33.893Z] 8998bd30e6a1: Pull complete [2023-05-10T23:05:34.166Z] 04944245beec: Pull complete [2023-05-10T23:05:35.580Z] 699f458cf7ca: Pull complete [2023-05-10T23:05:35.851Z] 765212b225bb: Pull complete [2023-05-10T23:05:36.824Z] f23df028b6ca: Pull complete [2023-05-10T23:05:36.824Z] d65c8cfc05b1: Pull complete [2023-05-10T23:05:49.141Z] 2437ff75d9bd: Pull complete [2023-05-10T23:05:49.141Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T23:05:49.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:05:49.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:05:49.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-14995 does not seem to be running inside a container [2023-05-10T23:05:49.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-10T23:05:52.128Z] $ docker top 206d3acbf5e9957019383f4ed59068c7cbca0e1ad7990d635040c48eaa6ba357 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:05:53.037Z] ---> job-cost.sh [2023-05-10T23:05:53.037Z] lf-activate-venv: SKIPPING [2023-05-10T23:05:53.037Z] INFO: No Stack... [2023-05-10T23:05:53.623Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T23:05:54.208Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:05:54.871Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-05-10T23:05:54.871Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:05:54.955Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [2023-05-10T23:05:54.960Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] did not exist. Created. [2023-05-10T23:05:54.960Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:05:55.699Z] /w/workspace/device-modbus-go/1@tmp/durable-9118ad68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T23:05:56.369Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T23:05:56.403Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T23:05:56.452Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:05:56.467Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-478-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:05:56.554Z] $ docker stop --time=1 206d3acbf5e9957019383f4ed59068c7cbca0e1ad7990d635040c48eaa6ba357 [2023-05-10T23:05:58.103Z] $ docker rm -f --volumes 206d3acbf5e9957019383f4ed59068c7cbca0e1ad7990d635040c48eaa6ba357 [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-05-10T23:05:59.088Z] provisioning config files... [2023-05-10T23:05:59.097Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/config85081189073097299tmp [Pipeline] { [Pipeline] sh [2023-05-10T23:05:59.429Z] + set +x [2023-05-10T23:05:59.429Z] + curl -s https://codecov.io/bash [2023-05-10T23:05:59.429Z] + bash -s -- [2023-05-10T23:05:59.429Z] [2023-05-10T23:05:59.429Z] _____ _ [2023-05-10T23:05:59.429Z] / ____| | | [2023-05-10T23:05:59.429Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T23:05:59.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T23:05:59.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T23:05:59.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T23:05:59.429Z] Bash-1.0.6 [2023-05-10T23:05:59.429Z] [2023-05-10T23:05:59.429Z] [2023-05-10T23:05:59.429Z] ==> git version 2.25.1 found [2023-05-10T23:05:59.430Z] ==> 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-05-10T23:05:59.430Z] Release-Date: 2020-01-08 [2023-05-10T23:05:59.430Z] 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-05-10T23:05:59.430Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T23:05:59.430Z] ==> Jenkins CI detected. [2023-05-10T23:05:59.430Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-478 [2023-05-10T23:05:59.430Z] project root: . [2023-05-10T23:05:59.430Z] --> token set from env [2023-05-10T23:05:59.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T23:05:59.430Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T23:05:59.430Z] ==> Python coveragepy not found [2023-05-10T23:05:59.430Z] ==> Searching for coverage reports in: [2023-05-10T23:05:59.430Z] + . [2023-05-10T23:05:59.430Z] -> Found 1 reports [2023-05-10T23:05:59.430Z] ==> Detecting git/mercurial file structure [2023-05-10T23:05:59.690Z] ==> Reading reports [2023-05-10T23:05:59.691Z] + ./coverage.out bytes=24160 [2023-05-10T23:05:59.691Z] ==> Appending adjustments [2023-05-10T23:05:59.691Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T23:05:59.691Z] + Found adjustments [2023-05-10T23:05:59.691Z] ==> Gzipping contents [2023-05-10T23:05:59.691Z] 4.0K /tmp/codecov.AaorxX.gz [2023-05-10T23:05:59.691Z] ==> Uploading reports [2023-05-10T23:05:59.691Z] url: https://codecov.io [2023-05-10T23:05:59.691Z] query: branch=PR-478&commit=b665685e7969455f5fafdfddc5d3bc5fd8649751&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-478%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=478&job=&cmd_args= [2023-05-10T23:05:59.691Z] -> Pinging Codecov [2023-05-10T23:05:59.691Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-478&commit=b665685e7969455f5fafdfddc5d3bc5fd8649751&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-478%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=478&job=&cmd_args= [2023-05-10T23:05:59.950Z] -> Uploading to [2023-05-10T23:05:59.950Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/55DBCA73C666E3227836607328DD7E49/b665685e7969455f5fafdfddc5d3bc5fd8649751/88cdbc5a-c775-4224-8bba-e172a7f5fc15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T230559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e815f8869dab8f5d54b41b2b5caecfa3cc92236fe2bef65a4aeb5f5e3cafc66 [2023-05-10T23:05:59.950Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:05:59.950Z] Dload Upload Total Spent Left Speed [2023-05-10T23:06:00.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 13036 --:--:-- --:--:-- --:--:-- 13036 [2023-05-10T23:06:00.208Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b665685e7969455f5fafdfddc5d3bc5fd8649751 [Pipeline] } [2023-05-10T23:06:00.235Z] 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-05-10T23:06:01.920Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-478/archives ] [2023-05-10T23:06:01.921Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-478/archives [2023-05-10T23:06:01.921Z] total 16 [2023-05-10T23:06:01.921Z] drwxr-xr-x 3 root root 4096 May 10 22:53 . [2023-05-10T23:06:01.921Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:53 .. [2023-05-10T23:06:01.921Z] drwxr-xr-x 2 root root 4096 May 10 22:53 cost [2023-05-10T23:06:01.921Z] -rw-r--r-- 1 root root 88 May 10 22:53 cost.csv [2023-05-10T23:06:01.921Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-478/archives [2023-05-10T23:06:01.921Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-478/archives [2023-05-10T23:06:01.921Z] total 16 [2023-05-10T23:06:01.921Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:53 . [2023-05-10T23:06:01.921Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 22:53 .. [2023-05-10T23:06:01.921Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:53 cost [2023-05-10T23:06:01.921Z] -rw-r--r-- 1 jenkins jenkins 88 May 10 22:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:02.258Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:03.144Z] ---> package-listing.sh [2023-05-10T23:06:03.144Z] ++ facter osfamily [2023-05-10T23:06:03.144Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T23:06:03.404Z] + OS_FAMILY=debian [2023-05-10T23:06:03.404Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-478 [2023-05-10T23:06:03.404Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T23:06:03.404Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T23:06:03.404Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T23:06:03.404Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T23:06:03.404Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-478 ']' [2023-05-10T23:06:03.404Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T23:06:03.404Z] + case "${OS_FAMILY}" in [2023-05-10T23:06:03.404Z] + dpkg -l [2023-05-10T23:06:03.404Z] + grep '^ii' [2023-05-10T23:06:03.404Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T23:06:03.404Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T23:06:03.404Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T23:06:03.404Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-478 ']' [2023-05-10T23:06:03.404Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-478/archives/ [2023-05-10T23:06:03.404Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-478/archives/ [Pipeline] echo [2023-05-10T23:06:03.439Z] 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-478/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T23:06:03.734Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:06:04.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:06:04.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:06:04.500Z] prd-ubuntu20.04-docker-8c-8g-14982 does not seem to be running inside a container [2023-05-10T23:06:04.547Z] $ 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-478/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-478 -v /w/workspace/xfoundry_device-modbus-go_PR-478:/w/workspace/xfoundry_device-modbus-go_PR-478:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-478@tmp:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T23:06:04.721Z] $ docker top 1afeb09fc8e7822ecbf44557e1561a44d4514cca46c45c2747ecd10588c00a0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:06:05.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T23:06:05.414Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T23:06:05.727Z] + ls /var/log/sa-host [2023-05-10T23:06:05.727Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:06:05.861Z] provisioning config files... [2023-05-10T23:06:05.869Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-478@tmp/config7504250769546897740tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:06:05.923Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:06.233Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T23:06:06.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:06.656Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T23:06:06.689Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:07.005Z] ---> sudo-logs.sh [2023-05-10T23:06:07.005Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T23:06:07.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:07.398Z] ---> job-cost.sh [2023-05-10T23:06:07.398Z] lf-activate-venv: SKIPPING [2023-05-10T23:06:07.398Z] DEBUG: total: 0.2199999988079071 [2023-05-10T23:06:07.398Z] INFO: Retrieving Stack Cost... [2023-05-10T23:06:07.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:06:08.229Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T23:06:08.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:06:08.580Z] ---> logs-deploy.sh [2023-05-10T23:06:08.580Z] lf-activate-venv: SKIPPING [2023-05-10T23:06:08.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-478/1 [2023-05-10T23:06:08.580Z] INFO: archiving workspace using pattern(s): [2023-05-10T23:06:09.517Z] Archives upload complete. [2023-05-10T23:06:09.517Z] INFO: archiving logs to Nexus