Pull request #500 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 71524b76186fbdc8fe95e20776a6bb92c831bfb7+65be627d22220786ca580fff7b0bf73c9ac4aaab (e9f8115a1c628227ff9c77884a2f1af3d629dd66) 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-ssh491940038621480217.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17277668060258104534.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-500/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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11359169287902310239.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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15952664986293672220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17497713245807435097.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-500/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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14644268770731684311.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6018 in /w/workspace/xfoundry_device-modbus-go_PR-500 [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-500 # 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 65be627d22220786ca580fff7b0bf73c9ac4aaab into PR head commit 71524b76186fbdc8fe95e20776a6bb92c831bfb7 Merge succeeded, producing 71524b76186fbdc8fe95e20776a6bb92c831bfb7 Checking out Revision 71524b76186fbdc8fe95e20776a6bb92c831bfb7 (PR-500) > git config core.sparsecheckout # timeout=10 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # 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 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:59:28.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:59:28.904Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:59:28.992Z] ========================================================= [2023-09-12T21:59:28.992Z] EdgeX Global Pipelines Version Info [2023-09-12T21:59:28.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:29.727Z] ------------------- [2023-09-12T21:59:29.727Z] stable info: [2023-09-12T21:59:29.727Z] ------------------- [2023-09-12T21:59:29.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:59:29.727Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:59:29.727Z] Message: update stable to v1.0.254 [2023-09-12T21:59:30.297Z] ------------------- [2023-09-12T21:59:30.297Z] experimental info: [2023-09-12T21:59:30.297Z] ------------------- [2023-09-12T21:59:30.297Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:59:30.297Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:59:30.297Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:59:30.628Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-12T21:59:30.673Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-12T21:59:30.713Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:59:30.754Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:59:30.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:59:30.837Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:59:30.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:59:30.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:59:30.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:59:30.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:59:31.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:59:31.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-12T21:59:31.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:59:31.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:59:31.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:59:31.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:59:31.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:59:31.372Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:59:31.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:59:31.457Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:59:31.498Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:59:31.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:59:31.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:59:31.627Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:59:31.666Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:59:31.702Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:59:31.741Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:59:31.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2023-09-12T21:59:31.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2023-09-12T21:59:31.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2023-09-12T21:59:31.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo [2023-09-12T21:59:31.952Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71524b7 [Pipeline] echo [2023-09-12T21:59:31.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:59:32.117Z] provisioning config files... [2023-09-12T21:59:32.129Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config1079090864645109723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:32.472Z] ---> docker-login.sh [2023-09-12T21:59:32.472Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:59:32.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:32.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:32.731Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:32.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:32.731Z] [2023-09-12T21:59:32.731Z] Login Succeeded [2023-09-12T21:59:32.731Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:59:32.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:32.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:32.731Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:32.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:32.731Z] [2023-09-12T21:59:32.731Z] Login Succeeded [2023-09-12T21:59:32.731Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:59:32.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:32.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:32.990Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:32.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:32.990Z] [2023-09-12T21:59:32.990Z] Login Succeeded [2023-09-12T21:59:32.990Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:59:32.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:32.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:32.991Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:32.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:32.991Z] [2023-09-12T21:59:32.991Z] Login Succeeded [2023-09-12T21:59:32.991Z] docker.io [2023-09-12T21:59:33.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:33.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:33.250Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:33.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:33.250Z] [2023-09-12T21:59:33.250Z] Login Succeeded [2023-09-12T21:59:33.250Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:59:33.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:59:33.906Z] + git rev-list -1 --merges 71524b76186fbdc8fe95e20776a6bb92c831bfb7~1..71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo [2023-09-12T21:59:33.968Z] -----------> git rev-list -1 --merges 71524b76186fbdc8fe95e20776a6bb92c831bfb7~1..71524b76186fbdc8fe95e20776a6bb92c831bfb7 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [false] [Pipeline] sh [2023-09-12T21:59:34.278Z] + git log --format=format:%s -1 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo [2023-09-12T21:59:34.310Z] ========================================================= [2023-09-12T21:59:34.310Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:59:34.310Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:59:34.734Z] + git log --format=format:%s -1 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo [2023-09-12T21:59:34.765Z] [semverPrep] GIT_COMMIT: 71524b76186fbdc8fe95e20776a6bb92c831bfb7, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T21:59:34.799Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:59:35.176Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:59:35.176Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:59:35.176Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:59:35.176Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:59:35.176Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:59:35.176Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:59:35.176Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:35.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:35.594Z] [2023-09-12T21:59:35.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:35.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:35.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:59:35.964Z] b85a868b505f: Pulling fs layer [2023-09-12T21:59:35.964Z] e2be974225ed: Pulling fs layer [2023-09-12T21:59:35.964Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:59:35.964Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:59:35.964Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:59:35.964Z] eaf3925da568: Pulling fs layer [2023-09-12T21:59:35.964Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:59:35.964Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:59:35.964Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:59:35.964Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:59:35.964Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:59:35.964Z] bab4dde63d76: Waiting [2023-09-12T21:59:35.964Z] 4872d77fe225: Waiting [2023-09-12T21:59:35.964Z] 5851b861e8e6: Waiting [2023-09-12T21:59:35.964Z] bde34c3a00c8: Waiting [2023-09-12T21:59:35.964Z] b352a97aabf1: Waiting [2023-09-12T21:59:35.964Z] eaf3925da568: Waiting [2023-09-12T21:59:35.964Z] 988bab9f4d93: Waiting [2023-09-12T21:59:35.964Z] 1469e6f7b9e6: Waiting [2023-09-12T21:59:35.964Z] e2be974225ed: Download complete [2023-09-12T21:59:35.964Z] 988bab9f4d93: Verifying Checksum [2023-09-12T21:59:35.964Z] 988bab9f4d93: Download complete [2023-09-12T21:59:35.964Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:59:35.964Z] 1469e6f7b9e6: Download complete [2023-09-12T21:59:36.223Z] eaf3925da568: Verifying Checksum [2023-09-12T21:59:36.223Z] eaf3925da568: Download complete [2023-09-12T21:59:36.223Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:59:36.223Z] 339a4e72a1f5: Download complete [2023-09-12T21:59:36.223Z] bde34c3a00c8: Download complete [2023-09-12T21:59:36.223Z] b352a97aabf1: Download complete [2023-09-12T21:59:36.223Z] 4872d77fe225: Verifying Checksum [2023-09-12T21:59:36.223Z] 4872d77fe225: Download complete [2023-09-12T21:59:36.223Z] 5851b861e8e6: Verifying Checksum [2023-09-12T21:59:36.223Z] 5851b861e8e6: Download complete [2023-09-12T21:59:36.223Z] b85a868b505f: Verifying Checksum [2023-09-12T21:59:36.223Z] b85a868b505f: Download complete [2023-09-12T21:59:36.481Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:59:36.481Z] bab4dde63d76: Download complete [2023-09-12T21:59:37.420Z] b85a868b505f: Pull complete [2023-09-12T21:59:37.420Z] e2be974225ed: Pull complete [2023-09-12T21:59:37.988Z] 339a4e72a1f5: Pull complete [2023-09-12T21:59:37.988Z] 988bab9f4d93: Pull complete [2023-09-12T21:59:38.249Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:59:38.249Z] eaf3925da568: Pull complete [2023-09-12T21:59:40.150Z] bab4dde63d76: Pull complete [2023-09-12T21:59:40.150Z] bde34c3a00c8: Pull complete [2023-09-12T21:59:40.150Z] b352a97aabf1: Pull complete [2023-09-12T21:59:40.150Z] 4872d77fe225: Pull complete [2023-09-12T21:59:40.150Z] 5851b861e8e6: Pull complete [2023-09-12T21:59:40.411Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:59:40.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:40.411Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:40.654Z] prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container [2023-09-12T21:59:40.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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-09-12T21:59:43.443Z] $ docker top 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf -eo pid,comm [2023-09-12T21:59:43.490Z] 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-09-12T21:59:43.490Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:59:43.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:59:43.616Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:59:43.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:59:43.721Z] $ docker exec 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent [2023-09-12T21:59:43.824Z] SSH_AUTH_SOCK=/tmp/ssh-JpqHCVXXR4rt/agent.32 [2023-09-12T21:59:43.824Z] SSH_AGENT_PID=38 [2023-09-12T21:59:43.830Z] Running ssh-add (command line suppressed) [2023-09-12T21:59:43.931Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_4232504968531862303.key (/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_4232504968531862303.key) [2023-09-12T21:59:43.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:59:44.276Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:59:44.309Z] $ docker exec --env ******** --env ******** 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent -k [2023-09-12T21:59:44.398Z] unset SSH_AUTH_SOCK; [2023-09-12T21:59:44.399Z] unset SSH_AGENT_PID; [2023-09-12T21:59:44.399Z] echo Agent pid 38 killed; [2023-09-12T21:59:44.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:59:44.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:59:44.504Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:59:44.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:59:44.611Z] $ docker exec 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent [2023-09-12T21:59:44.716Z] SSH_AUTH_SOCK=/tmp/ssh-0wPd8pJEn8oW/agent.70 [2023-09-12T21:59:44.716Z] SSH_AGENT_PID=76 [2023-09-12T21:59:44.720Z] Running ssh-add (command line suppressed) [2023-09-12T21:59:44.810Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_9461037848180656455.key (/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_9461037848180656455.key) [2023-09-12T21:59:44.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:59:45.156Z] + git semver init [2023-09-12T21:59:45.416Z] 2023-09-12 21:59:45,317 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:59:45.416Z] 2023-09-12 21:59:45,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver [2023-09-12T21:59:45.416Z] 2023-09-12 21:59:45,319 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-500/.semver [2023-09-12T21:59:45.416Z] 2023-09-12 21:59:45,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-500/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,124 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-500/.git/info/exclude [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 with force:False [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,125 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,129 [execute] INFO git cat-file --batch-check [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,135 [execute] INFO git cat-file --batch [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:59:46.359Z] 2023-09-12 21:59:46,140 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 [2023-09-12T21:59:46.359Z] 0.0.0 [Pipeline] } [2023-09-12T21:59:46.382Z] $ docker exec --env ******** --env ******** 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent -k [2023-09-12T21:59:46.476Z] unset SSH_AUTH_SOCK; [2023-09-12T21:59:46.477Z] unset SSH_AGENT_PID; [2023-09-12T21:59:46.477Z] echo Agent pid 76 killed; [2023-09-12T21:59:46.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:59:46.925Z] + git semver [Pipeline] } [2023-09-12T21:59:47.205Z] $ docker stop --time=1 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf [2023-09-12T21:59:48.789Z] $ docker rm -f --volumes 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:59:49.225Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:59:49.484Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:59:49.505Z] [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-09-12T21:59:50.115Z] provisioning config files... [2023-09-12T21:59:50.124Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config12544730224653076331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:50.485Z] ---> docker-login.sh [2023-09-12T21:59:50.485Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:59:50.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:50.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:50.485Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:50.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:50.485Z] [2023-09-12T21:59:50.485Z] Login Succeeded [2023-09-12T21:59:50.485Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:59:50.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:50.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:50.485Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:50.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:50.485Z] [2023-09-12T21:59:50.485Z] Login Succeeded [2023-09-12T21:59:50.485Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:59:50.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:50.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:50.750Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:50.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:50.750Z] [2023-09-12T21:59:50.750Z] Login Succeeded [2023-09-12T21:59:50.750Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:59:50.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:50.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:50.750Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:50.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:50.750Z] [2023-09-12T21:59:50.750Z] Login Succeeded [2023-09-12T21:59:50.750Z] docker.io [2023-09-12T21:59:51.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:59:51.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:59:51.012Z] Configure a credential helper to remove this warning. See [2023-09-12T21:59:51.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:59:51.012Z] [2023-09-12T21:59:51.012Z] Login Succeeded [2023-09-12T21:59:51.012Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:59:51.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:59:51.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:59:51.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:59:51.293Z] ========================================================= [2023-09-12T21:59:51.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:59:51.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:51.765Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:59:51.765Z] Sending build context to Docker daemon 6.428MB [2023-09-12T21:59:51.765Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:59:51.765Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T21:59:51.765Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:59:51.765Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:59:51.765Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:59:51.765Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:59:51.765Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:59:51.765Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:59:51.765Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:59:51.765Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:59:51.765Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:59:51.765Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:59:51.765Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:59:51.765Z] ad3a456e5733: Waiting [2023-09-12T21:59:51.765Z] 9250d5d63582: Waiting [2023-09-12T21:59:51.765Z] 6db16350a2e2: Waiting [2023-09-12T21:59:51.765Z] 8ac70367396e: Waiting [2023-09-12T21:59:51.765Z] 9e4f439ed901: Waiting [2023-09-12T21:59:51.765Z] 5e8b037d7d82: Waiting [2023-09-12T21:59:51.765Z] feaf6a47b606: Waiting [2023-09-12T21:59:51.765Z] c4d48a809fc2: Download complete [2023-09-12T21:59:51.765Z] ad3a456e5733: Download complete [2023-09-12T21:59:51.765Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:59:51.765Z] 9e4f439ed901: Download complete [2023-09-12T21:59:51.765Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:59:51.765Z] 7264a8db6415: Download complete [2023-09-12T21:59:52.025Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:59:52.025Z] feaf6a47b606: Download complete [2023-09-12T21:59:52.025Z] 7264a8db6415: Pull complete [2023-09-12T21:59:52.285Z] c4d48a809fc2: Pull complete [2023-09-12T21:59:52.285Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:59:52.285Z] 8ac70367396e: Download complete [2023-09-12T21:59:52.543Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:59:52.543Z] 4f1c88b9dad5: Download complete [2023-09-12T21:59:52.543Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:59:52.543Z] 6db16350a2e2: Download complete [2023-09-12T21:59:52.801Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:59:52.801Z] 5e8b037d7d82: Download complete [2023-09-12T21:59:52.801Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:59:52.801Z] 9250d5d63582: Download complete [2023-09-12T21:59:55.328Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:59:55.328Z] ad3a456e5733: Pull complete [2023-09-12T21:59:55.328Z] 9e4f439ed901: Pull complete [2023-09-12T21:59:55.587Z] feaf6a47b606: Pull complete [2023-09-12T21:59:58.113Z] 5e8b037d7d82: Pull complete [2023-09-12T21:59:58.113Z] 8ac70367396e: Pull complete [2023-09-12T21:59:58.677Z] 6db16350a2e2: Pull complete [2023-09-12T21:59:59.243Z] 9250d5d63582: Pull complete [2023-09-12T21:59:59.243Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:59:59.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:59:59.243Z] ---> fa269f55d9b9 [2023-09-12T21:59:59.243Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:00:04.931Z] Still waiting to schedule task [2023-09-12T22:00:04.931Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:00:07.365Z] ---> Running in cebcbee15103 [2023-09-12T22:00:07.365Z] Removing intermediate container cebcbee15103 [2023-09-12T22:00:07.365Z] ---> 0e944626ca0b [2023-09-12T22:00:07.365Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:00:07.365Z] ---> Running in a7dfd3c5f3d9 [2023-09-12T22:00:07.365Z] Removing intermediate container a7dfd3c5f3d9 [2023-09-12T22:00:07.365Z] ---> ea221dc5373d [2023-09-12T22:00:07.365Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:00:07.365Z] ---> Running in 8451cc44bf2d [2023-09-12T22:00:07.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:00:07.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:00:08.143Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-12T22:00:08.143Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-12T22:00:08.143Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-12T22:00:08.143Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:00:08.143Z] OK: 271 MiB in 64 packages [2023-09-12T22:00:08.711Z] Removing intermediate container 8451cc44bf2d [2023-09-12T22:00:08.711Z] ---> 0fe9f90b299c [2023-09-12T22:00:08.711Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-12T22:00:08.711Z] ---> Running in fe4e1cd88972 [2023-09-12T22:00:08.969Z] Removing intermediate container fe4e1cd88972 [2023-09-12T22:00:08.969Z] ---> 4a3d7f7d29d4 [2023-09-12T22:00:08.969Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T22:00:08.969Z] ---> 3056b0da25b9 [2023-09-12T22:00:08.969Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:00:08.969Z] ---> Running in 0eea2b248706 [2023-09-12T22:00:47.859Z] Removing intermediate container 0eea2b248706 [2023-09-12T22:00:47.859Z] ---> 67c78a4d268b [2023-09-12T22:00:47.859Z] Step 9/10 : COPY . . [2023-09-12T22:00:47.859Z] ---> 864bafc9de43 [2023-09-12T22:00:47.859Z] Step 10/10 : RUN ${MAKE} [2023-09-12T22:00:47.859Z] ---> Running in 6657e753450e [2023-09-12T22:00:47.859Z] noop [2023-09-12T22:00:47.859Z] Removing intermediate container 6657e753450e [2023-09-12T22:00:47.859Z] ---> f3550b0414fb [2023-09-12T22:00:47.859Z] Successfully built f3550b0414fb [2023-09-12T22:00:47.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:48.325Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:00:48.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:48.477Z] prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container [2023-09-12T22:00:48.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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-09-12T22:00:48.782Z] $ docker top 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:00:49.187Z] + go version [2023-09-12T22:00:49.187Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:00:49.194Z] $ docker stop --time=1 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 [2023-09-12T22:00:50.483Z] $ docker rm -f --volumes 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:51.211Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:00:51.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:51.361Z] prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container [2023-09-12T22:00:51.369Z] $ 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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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-09-12T22:00:51.685Z] $ docker top cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:00:52.101Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-500 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:00:52.467Z] + make test [2023-09-12T22:00:52.467Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:00:53.842Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-12T22:01:03.823Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-12T22:01:03.823Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements [2023-09-12T22:01:11.046Z] go vet ./... [2023-09-12T22:01:14.334Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:01:14.334Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:01:14.334Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:01:14.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:01:14.376Z] $ docker stop --time=1 cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 [2023-09-12T22:01:18.770Z] $ docker rm -f --volumes cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:01:19.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:01:19.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:01:20.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:01:20.351Z] + ls -al . [2023-09-12T22:01:20.351Z] total 192 [2023-09-12T22:01:20.351Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 . [2023-09-12T22:01:20.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:59 .. [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 21:59 .dockerignore [2023-09-12T22:01:20.351Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:01 .git [2023-09-12T22:01:20.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 .github [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 21:59 .gitignore [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:59 .golangci.yml [2023-09-12T22:01:20.351Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:59 .semver [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 21:59 Attribution.txt [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 21:59 CHANGELOG.md [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 21:59 Dockerfile [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:59 GOVERNANCE.md [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 21:59 Jenkinsfile [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:59 LICENSE [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 21:59 Makefile [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 21:59 OWNERS.md [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 21:59 README.md [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:59 VERSION [2023-09-12T22:01:20.351Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:59 bin [2023-09-12T22:01:20.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 cmd [2023-09-12T22:01:20.351Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:01 coverage.out [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 21:59 go.mod [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 21:59 go.sum [2023-09-12T22:01:20.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 internal [2023-09-12T22:01:20.351Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:59 simulator [2023-09-12T22:01:20.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:59 snap [2023-09-12T22:01:20.351Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:20.751Z] + 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=71524b76186fbdc8fe95e20776a6bb92c831bfb7 --label arch=amd64 --label version=0.0.0 . [2023-09-12T22:01:20.751Z] Sending build context to Docker daemon 6.453MB [2023-09-12T22:01:20.751Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:01:20.751Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-12T22:01:20.751Z] ---> f3550b0414fb [2023-09-12T22:01:20.751Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:01:21.011Z] ---> Running in 132525b2510b [2023-09-12T22:01:21.011Z] Removing intermediate container 132525b2510b [2023-09-12T22:01:21.011Z] ---> a3c57d42a505 [2023-09-12T22:01:21.011Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:01:21.011Z] ---> Running in d24eaa995297 [2023-09-12T22:01:21.579Z] Removing intermediate container d24eaa995297 [2023-09-12T22:01:21.579Z] ---> 985e1a09ba3d [2023-09-12T22:01:21.579Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:01:21.839Z] ---> Running in 884a74a72ab3 [2023-09-12T22:01:22.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:22.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:22.927Z] OK: 271 MiB in 64 packages [2023-09-12T22:01:23.864Z] Removing intermediate container 884a74a72ab3 [2023-09-12T22:01:23.864Z] ---> 0bfd5d67b461 [2023-09-12T22:01:23.864Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-12T22:01:23.864Z] ---> Running in 90ba6315dddb [2023-09-12T22:01:24.121Z] Removing intermediate container 90ba6315dddb [2023-09-12T22:01:24.121Z] ---> 35b50e7b811e [2023-09-12T22:01:24.121Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-12T22:01:24.687Z] ---> 8a6f4f01a7de [2023-09-12T22:01:24.688Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:01:24.948Z] ---> Running in c2b3bda9cdbb [2023-09-12T22:01:26.979Z] Removing intermediate container c2b3bda9cdbb [2023-09-12T22:01:26.979Z] ---> 705262fdefc0 [2023-09-12T22:01:26.979Z] Step 9/22 : COPY . . [2023-09-12T22:01:27.240Z] ---> acc3d9a7595d [2023-09-12T22:01:27.240Z] Step 10/22 : RUN ${MAKE} [2023-09-12T22:01:27.240Z] ---> Running in cc1ca1c305ef [2023-09-12T22:01:27.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-12T22:01:49.613Z] Removing intermediate container cc1ca1c305ef [2023-09-12T22:01:49.613Z] ---> 31d15b89912d [2023-09-12T22:01:49.613Z] Step 11/22 : FROM alpine:3.18 [2023-09-12T22:01:49.613Z] 3.18: Pulling from library/alpine [2023-09-12T22:01:49.613Z] 7264a8db6415: Already exists [2023-09-12T22:01:49.613Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:01:49.613Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:01:49.613Z] ---> 7e01a0d0a1dc [2023-09-12T22:01:49.613Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-12T22:01:49.613Z] ---> Running in d1e3e171b266 [2023-09-12T22:01:49.613Z] Removing intermediate container d1e3e171b266 [2023-09-12T22:01:49.613Z] ---> 42f74135c5d7 [2023-09-12T22:01:49.613Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:01:49.613Z] ---> Running in e61b9651bc2f [2023-09-12T22:01:49.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:49.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:01:49.613Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:01:49.613Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:01:49.613Z] OK: 7 MiB in 16 packages [2023-09-12T22:01:49.613Z] Removing intermediate container e61b9651bc2f [2023-09-12T22:01:49.613Z] ---> 29f7bd0de775 [2023-09-12T22:01:49.613Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-12T22:01:49.613Z] ---> 31c496bf3c73 [2023-09-12T22:01:49.613Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-12T22:01:49.614Z] ---> fed6c93729a1 [2023-09-12T22:01:49.614Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-12T22:01:49.614Z] ---> 892a72576492 [2023-09-12T22:01:49.614Z] Step 17/22 : EXPOSE 59901 [2023-09-12T22:01:49.614Z] ---> Running in 6be7c535ff2e [2023-09-12T22:01:49.614Z] Removing intermediate container 6be7c535ff2e [2023-09-12T22:01:49.614Z] ---> c5cd900a23a2 [2023-09-12T22:01:49.614Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-12T22:01:49.614Z] ---> Running in ccae690772b0 [2023-09-12T22:01:49.614Z] Removing intermediate container ccae690772b0 [2023-09-12T22:01:49.614Z] ---> 88602956019e [2023-09-12T22:01:49.614Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:01:49.614Z] ---> Running in c12c0b977575 [2023-09-12T22:01:49.614Z] Removing intermediate container c12c0b977575 [2023-09-12T22:01:49.614Z] ---> 6b03c3d29c03 [2023-09-12T22:01:49.614Z] Step 20/22 : LABEL arch=amd64 [2023-09-12T22:01:49.614Z] ---> Running in 464c81e36d00 [2023-09-12T22:01:49.614Z] Removing intermediate container 464c81e36d00 [2023-09-12T22:01:49.614Z] ---> 100361d940af [2023-09-12T22:01:49.614Z] Step 21/22 : LABEL git_sha=71524b76186fbdc8fe95e20776a6bb92c831bfb7 [2023-09-12T22:01:49.876Z] ---> Running in a6dbde2ae1bb [2023-09-12T22:01:49.876Z] Removing intermediate container a6dbde2ae1bb [2023-09-12T22:01:49.876Z] ---> 2f728dee5959 [2023-09-12T22:01:49.876Z] Step 22/22 : LABEL version=0.0.0 [2023-09-12T22:01:49.876Z] ---> Running in 0ee65d0120be [2023-09-12T22:01:50.134Z] Removing intermediate container 0ee65d0120be [2023-09-12T22:01:50.134Z] ---> 5c581e7de71c [2023-09-12T22:01:50.134Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:01:50.134Z] Successfully built 5c581e7de71c [2023-09-12T22:01:50.134Z] 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-09-12T22:01:50.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:01:50.981Z] [2023-09-12T22:01:50.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:51.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:01:51.352Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:01:51.352Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:01:51.352Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:01:51.352Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:01:51.352Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:01:51.352Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:01:51.352Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:01:51.352Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:01:51.352Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:01:51.352Z] 33b1e0a273af: Waiting [2023-09-12T22:01:51.352Z] 5d3b04190fa2: Waiting [2023-09-12T22:01:51.352Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:01:51.352Z] 5c69ac0246d0: Download complete [2023-09-12T22:01:51.352Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:01:51.352Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:01:51.352Z] 33b1e0a273af: Download complete [2023-09-12T22:01:51.352Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T22:01:51.352Z] 5d3b04190fa2: Download complete [2023-09-12T22:01:51.614Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:01:51.614Z] ec43610c2a17: Download complete [2023-09-12T22:01:51.614Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:01:51.614Z] 5eb5b503b376: Download complete [2023-09-12T22:01:52.180Z] 2f39f015ded8: Verifying Checksum [2023-09-12T22:01:52.180Z] 2f39f015ded8: Download complete [2023-09-12T22:01:53.117Z] 5eb5b503b376: Pull complete [2023-09-12T22:01:53.117Z] 5c69ac0246d0: Pull complete [2023-09-12T22:01:53.377Z] ec43610c2a17: Pull complete [2023-09-12T22:01:53.636Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:01:54.586Z] 33b1e0a273af: Pull complete [2023-09-12T22:01:54.586Z] 5d3b04190fa2: Pull complete [2023-09-12T22:02:00.041Z] 2f39f015ded8: Pull complete [2023-09-12T22:02:00.041Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:02:00.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:02:00.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:02:00.251Z] prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container [2023-09-12T22:02:00.259Z] $ 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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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-09-12T22:02:05.401Z] $ docker top e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:02:05.873Z] ---> job-cost.sh [2023-09-12T22:02:05.874Z] lf-activate-venv: SKIPPING [2023-09-12T22:02:05.874Z] INFO: No Stack... [2023-09-12T22:02:06.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:02:06.391Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:02:06.700Z] + cut -d, -f6 [2023-09-12T22:02:06.700Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-500/archives/cost.csv [Pipeline] lock [2023-09-12T22:02:06.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [2023-09-12T22:02:06.747Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] did not exist. Created. [2023-09-12T22:02:06.747Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:02:07.139Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:02:07.187Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:02:07.215Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:02:07.265Z] $ docker stop --time=1 e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 [2023-09-12T22:02:08.444Z] $ docker rm -f --volumes e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:02:49.378Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6021 in /w/workspace/xfoundry_device-modbus-go_PR-500 [Pipeline] { [Pipeline] ws [2023-09-12T22:02:49.435Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T22:02:49.514Z] Selected Git installation does not exist. Using Default [2023-09-12T22:02:49.514Z] The recommended git tool is: NONE [2023-09-12T22:02:54.680Z] using credential edgex-jenkins-ssh [2023-09-12T22:02:54.696Z] Cloning the remote Git repository [2023-09-12T22:02:54.735Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-12T22:02:54.835Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-09-12T22:02:55.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-12T22:02:55.019Z] > git --version # timeout=10 [2023-09-12T22:02:55.045Z] > git --version # 'git version 2.25.1' [2023-09-12T22:02:55.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:02:55.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:02:56.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-12T22:02:56.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:02:57.631Z] Merging remotes/origin/main commit 65be627d22220786ca580fff7b0bf73c9ac4aaab into PR head commit 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [2023-09-12T22:02:57.922Z] Merge succeeded, producing 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [2023-09-12T22:02:57.923Z] Checking out Revision 71524b76186fbdc8fe95e20776a6bb92c831bfb7 (PR-500) [2023-09-12T22:02:57.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-12T22:02:57.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-12T22:02:57.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:02:57.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T22:02:57.639Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:02:57.704Z] > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 [2023-09-12T22:02:57.793Z] > git remote # timeout=10 [2023-09-12T22:02:57.814Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T22:02:57.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:02:57.864Z] > git merge 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 [2023-09-12T22:02:57.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T22:02:57.918Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:02:57.933Z] > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 [2023-09-12T22:03:01.399Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T22:03:01.442Z] > git --version # timeout=10 [2023-09-12T22:03:01.453Z] > git --version # 'git version 2.25.1' [2023-09-12T22:03:01.467Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:03:02.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:03:02.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:03:02.488Z] Dload Upload Total Spent Left Speed [2023-09-12T22:03:02.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-09-12T22:03:03.186Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:03:03.535Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:03:03.535Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:03:03.535Z] { [2023-09-12T22:03:03.535Z] "registry-mirrors": [ [2023-09-12T22:03:03.535Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:03:03.535Z] ], [2023-09-12T22:03:03.535Z] "bip": "10.250.0.254/24", [2023-09-12T22:03:03.535Z] "hosts": [ [2023-09-12T22:03:03.535Z] "tcp://0.0.0.0:5555", [2023-09-12T22:03:03.535Z] "unix:///var/run/docker.sock" [2023-09-12T22:03:03.535Z] ], [2023-09-12T22:03:03.535Z] "mtu": 1458, [2023-09-12T22:03:03.535Z] "selinux-enabled": true, [2023-09-12T22:03:03.535Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:03:03.535Z] } [Pipeline] sh [2023-09-12T22:03:03.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:03:04.228Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:03:22.553Z] provisioning config files... [2023-09-12T22:03:22.579Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9502537549341726639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:03:22.963Z] ---> docker-login.sh [2023-09-12T22:03:22.964Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:03:23.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:03:23.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:03:23.554Z] Configure a credential helper to remove this warning. See [2023-09-12T22:03:23.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:03:23.554Z] [2023-09-12T22:03:23.554Z] Login Succeeded [2023-09-12T22:03:23.554Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:03:23.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:03:23.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:03:23.824Z] Configure a credential helper to remove this warning. See [2023-09-12T22:03:23.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:03:23.824Z] [2023-09-12T22:03:23.824Z] Login Succeeded [2023-09-12T22:03:23.824Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:03:24.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:03:24.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:03:24.372Z] Configure a credential helper to remove this warning. See [2023-09-12T22:03:24.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:03:24.372Z] [2023-09-12T22:03:24.372Z] Login Succeeded [2023-09-12T22:03:24.372Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:03:24.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:03:24.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:03:24.644Z] Configure a credential helper to remove this warning. See [2023-09-12T22:03:24.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:03:24.644Z] [2023-09-12T22:03:24.644Z] Login Succeeded [2023-09-12T22:03:24.644Z] docker.io [2023-09-12T22:03:24.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:03:25.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:03:25.181Z] Configure a credential helper to remove this warning. See [2023-09-12T22:03:25.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:03:25.181Z] [2023-09-12T22:03:25.181Z] Login Succeeded [2023-09-12T22:03:25.181Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:03:25.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:03:25.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:03:25.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:03:25.659Z] ========================================================= [2023-09-12T22:03:25.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:03:25.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:03:26.145Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T22:03:26.413Z] Sending build context to Docker daemon 3.338MB [2023-09-12T22:03:26.413Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:03:26.413Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T22:03:26.702Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:03:26.702Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:03:26.702Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:03:26.702Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:03:26.702Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:03:26.702Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:03:26.702Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:03:26.702Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:03:26.702Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:03:26.702Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:03:26.702Z] 1baf3a5c0e64: Waiting [2023-09-12T22:03:26.702Z] a29adfc67d43: Waiting [2023-09-12T22:03:26.702Z] 9a37bb91b891: Waiting [2023-09-12T22:03:26.702Z] d5de9f91c1a4: Waiting [2023-09-12T22:03:26.702Z] 66412af1f25a: Waiting [2023-09-12T22:03:26.702Z] f0e02332f6b5: Waiting [2023-09-12T22:03:26.702Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:03:26.702Z] 5d54e960e981: Download complete [2023-09-12T22:03:26.702Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:03:26.702Z] f0e02332f6b5: Download complete [2023-09-12T22:03:26.702Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:03:26.702Z] 66412af1f25a: Download complete [2023-09-12T22:03:26.702Z] 9fda8d8052c6: Download complete [2023-09-12T22:03:27.299Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:03:27.299Z] 9a37bb91b891: Download complete [2023-09-12T22:03:28.283Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:03:28.283Z] a29adfc67d43: Download complete [2023-09-12T22:03:28.283Z] 9fda8d8052c6: Pull complete [2023-09-12T22:03:28.880Z] 5d54e960e981: Pull complete [2023-09-12T22:03:28.880Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:03:28.880Z] d5de9f91c1a4: Download complete [2023-09-12T22:03:29.153Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:03:29.153Z] c4a7e357bf2a: Download complete [2023-09-12T22:03:30.125Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:03:30.125Z] 1baf3a5c0e64: Download complete [2023-09-12T22:03:40.782Z] c4a7e357bf2a: Pull complete [2023-09-12T22:03:40.782Z] f0e02332f6b5: Pull complete [2023-09-12T22:03:40.782Z] 66412af1f25a: Pull complete [2023-09-12T22:03:47.451Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:03:48.423Z] 9a37bb91b891: Pull complete [2023-09-12T22:03:49.401Z] a29adfc67d43: Pull complete [2023-09-12T22:03:51.356Z] d5de9f91c1a4: Pull complete [2023-09-12T22:03:51.356Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:03:51.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:03:51.356Z] ---> 746ca1b523b5 [2023-09-12T22:03:51.356Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:03:53.311Z] ---> Running in 627e39871a9b [2023-09-12T22:03:53.311Z] Removing intermediate container 627e39871a9b [2023-09-12T22:03:53.311Z] ---> 7c17cabb884b [2023-09-12T22:03:53.311Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:03:53.311Z] ---> Running in 6452718cce57 [2023-09-12T22:03:53.899Z] Removing intermediate container 6452718cce57 [2023-09-12T22:03:53.899Z] ---> b227abb9e747 [2023-09-12T22:03:53.899Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:03:53.899Z] ---> Running in 72a9b745f7d2 [2023-09-12T22:03:54.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:03:55.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:03:56.419Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-12T22:03:56.420Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-12T22:03:56.420Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-12T22:03:56.688Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:03:56.688Z] OK: 274 MiB in 64 packages [2023-09-12T22:03:57.656Z] Removing intermediate container 72a9b745f7d2 [2023-09-12T22:03:57.656Z] ---> 72ada2802d3e [2023-09-12T22:03:57.656Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-12T22:03:57.656Z] ---> Running in 8afdb00be665 [2023-09-12T22:03:58.246Z] Removing intermediate container 8afdb00be665 [2023-09-12T22:03:58.246Z] ---> 9ceedccfcfb9 [2023-09-12T22:03:58.246Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T22:03:58.518Z] ---> ae127cd3988e [2023-09-12T22:03:58.518Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:03:58.789Z] ---> Running in 39b96baa3526 [2023-09-12T22:05:06.673Z] Removing intermediate container 39b96baa3526 [2023-09-12T22:05:06.673Z] ---> 9ff89c955b6b [2023-09-12T22:05:06.673Z] Step 9/10 : COPY . . [2023-09-12T22:05:06.673Z] ---> f133ae9e1db9 [2023-09-12T22:05:06.673Z] Step 10/10 : RUN ${MAKE} [2023-09-12T22:05:06.673Z] ---> Running in 24b40163a030 [2023-09-12T22:05:06.673Z] noop [2023-09-12T22:05:06.673Z] Removing intermediate container 24b40163a030 [2023-09-12T22:05:06.673Z] ---> 5b3346ece8e1 [2023-09-12T22:05:06.673Z] Successfully built 5b3346ece8e1 [2023-09-12T22:05:06.673Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:05:07.158Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:05:07.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:05:07.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container [2023-09-12T22:05:07.540Z] $ 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-09-12T22:05:08.763Z] $ docker top 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:05:09.673Z] + go version [2023-09-12T22:05:09.673Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:05:09.708Z] $ docker stop --time=1 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 [2023-09-12T22:05:11.532Z] $ docker rm -f --volumes 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:05:12.431Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:05:12.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:05:12.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container [2023-09-12T22:05:12.813Z] $ 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-09-12T22:05:14.082Z] $ docker top b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:05:14.967Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:05:15.677Z] + make test [2023-09-12T22:05:15.677Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:05:22.344Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-12T22:07:29.064Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-12T22:07:29.064Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements [2023-09-12T22:07:29.064Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:07:29.064Z] go vet ./... [2023-09-12T22:07:51.169Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:07:51.169Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:07:51.169Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:07:51.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:07:51.243Z] $ docker stop --time=1 b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 [2023-09-12T22:07:53.242Z] $ docker rm -f --volumes b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:07:54.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:07:54.680Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:07:55.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:07:56.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:07:56.383Z] + ls -al . [2023-09-12T22:07:56.383Z] total 188 [2023-09-12T22:07:56.383Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:05 . [2023-09-12T22:07:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:02 .. [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:02 .dockerignore [2023-09-12T22:07:56.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:02 .git [2023-09-12T22:07:56.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 .github [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 22:02 .gitignore [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:02 .golangci.yml [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 22:02 Attribution.txt [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 22:02 CHANGELOG.md [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 22:02 Dockerfile [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:02 GOVERNANCE.md [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:02 Jenkinsfile [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:02 LICENSE [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 22:02 Makefile [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 22:02 OWNERS.md [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 22:02 README.md [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:59 VERSION [2023-09-12T22:07:56.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:02 bin [2023-09-12T22:07:56.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 cmd [2023-09-12T22:07:56.383Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:07 coverage.out [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 22:02 go.mod [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 22:02 go.sum [2023-09-12T22:07:56.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 internal [2023-09-12T22:07:56.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:02 simulator [2023-09-12T22:07:56.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:02 snap [2023-09-12T22:07:56.383Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 22:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:07:56.805Z] + 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=71524b76186fbdc8fe95e20776a6bb92c831bfb7 --label arch=arm64 --label version=0.0.0 . [2023-09-12T22:07:57.073Z] Sending build context to Docker daemon 3.363MB [2023-09-12T22:07:57.073Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:07:57.073Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-12T22:07:57.073Z] ---> 5b3346ece8e1 [2023-09-12T22:07:57.073Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:07:57.341Z] ---> Running in 6a05cb7d84f3 [2023-09-12T22:07:57.608Z] Removing intermediate container 6a05cb7d84f3 [2023-09-12T22:07:57.609Z] ---> ae0498f6ea4b [2023-09-12T22:07:57.609Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:07:57.609Z] ---> Running in 87ff71b2a73d [2023-09-12T22:07:57.878Z] Removing intermediate container 87ff71b2a73d [2023-09-12T22:07:57.878Z] ---> 89dfcadd37b8 [2023-09-12T22:07:57.878Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-12T22:07:58.153Z] ---> Running in 90a2c976a9a0 [2023-09-12T22:07:59.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:07:59.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:08:01.122Z] OK: 274 MiB in 64 packages [2023-09-12T22:08:02.085Z] Removing intermediate container 90a2c976a9a0 [2023-09-12T22:08:02.085Z] ---> 74d90de2f1ab [2023-09-12T22:08:02.085Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-12T22:08:02.085Z] ---> Running in 524e78f6c418 [2023-09-12T22:08:02.354Z] Removing intermediate container 524e78f6c418 [2023-09-12T22:08:02.354Z] ---> 2b32916dc3a2 [2023-09-12T22:08:02.354Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-12T22:08:02.940Z] ---> e8c816c6409d [2023-09-12T22:08:02.940Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:08:02.940Z] ---> Running in 17120ea78e99 [2023-09-12T22:08:05.528Z] Removing intermediate container 17120ea78e99 [2023-09-12T22:08:05.528Z] ---> 70751e3ce886 [2023-09-12T22:08:05.528Z] Step 9/22 : COPY . . [2023-09-12T22:08:06.119Z] ---> 619c3c7f0475 [2023-09-12T22:08:06.119Z] Step 10/22 : RUN ${MAKE} [2023-09-12T22:08:06.390Z] ---> Running in 905eb65e8831 [2023-09-12T22:08:07.362Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-12T22:10:29.121Z] Removing intermediate container 905eb65e8831 [2023-09-12T22:10:29.121Z] ---> 72718faf43cc [2023-09-12T22:10:29.121Z] Step 11/22 : FROM alpine:3.18 [2023-09-12T22:10:29.121Z] 3.18: Pulling from library/alpine [2023-09-12T22:10:29.121Z] 9fda8d8052c6: Already exists [2023-09-12T22:10:29.121Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:10:29.121Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:10:29.121Z] ---> f6648c04cd6c [2023-09-12T22:10:29.121Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-12T22:10:29.121Z] ---> Running in c167b38aea44 [2023-09-12T22:10:29.121Z] Removing intermediate container c167b38aea44 [2023-09-12T22:10:29.121Z] ---> ff2503c308f2 [2023-09-12T22:10:29.121Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:10:29.121Z] ---> Running in 6c480857d44e [2023-09-12T22:10:29.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:10:30.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:10:31.736Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:10:31.736Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:10:32.007Z] OK: 8 MiB in 16 packages [2023-09-12T22:10:32.979Z] Removing intermediate container 6c480857d44e [2023-09-12T22:10:32.979Z] ---> 94e7352c8be8 [2023-09-12T22:10:32.979Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-12T22:10:34.417Z] ---> a988ac010c96 [2023-09-12T22:10:34.417Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-12T22:10:35.004Z] ---> 53044a13507f [2023-09-12T22:10:35.004Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-12T22:10:35.598Z] ---> 03a89b061887 [2023-09-12T22:10:35.598Z] Step 17/22 : EXPOSE 59901 [2023-09-12T22:10:35.867Z] ---> Running in f4e4f8efe168 [2023-09-12T22:10:36.138Z] Removing intermediate container f4e4f8efe168 [2023-09-12T22:10:36.138Z] ---> 9ee47adaaade [2023-09-12T22:10:36.138Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-12T22:10:36.138Z] ---> Running in c7ebd369fde2 [2023-09-12T22:10:36.741Z] Removing intermediate container c7ebd369fde2 [2023-09-12T22:10:36.741Z] ---> 0fba15dbef37 [2023-09-12T22:10:36.741Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:10:36.741Z] ---> Running in 8ecf401893bc [2023-09-12T22:10:37.012Z] Removing intermediate container 8ecf401893bc [2023-09-12T22:10:37.013Z] ---> fd23588caf96 [2023-09-12T22:10:37.013Z] Step 20/22 : LABEL arch=arm64 [2023-09-12T22:10:37.013Z] ---> Running in 4296d46393ec [2023-09-12T22:10:37.603Z] Removing intermediate container 4296d46393ec [2023-09-12T22:10:37.603Z] ---> 54aaefd6fa8d [2023-09-12T22:10:37.603Z] Step 21/22 : LABEL git_sha=71524b76186fbdc8fe95e20776a6bb92c831bfb7 [2023-09-12T22:10:37.603Z] ---> Running in 980e9d676b51 [2023-09-12T22:10:37.880Z] Removing intermediate container 980e9d676b51 [2023-09-12T22:10:37.880Z] ---> bf0323290e87 [2023-09-12T22:10:37.880Z] Step 22/22 : LABEL version=0.0.0 [2023-09-12T22:10:37.880Z] ---> Running in f351f02b2f65 [2023-09-12T22:10:38.468Z] Removing intermediate container f351f02b2f65 [2023-09-12T22:10:38.468Z] ---> 820335b22210 [2023-09-12T22:10:38.468Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:10:38.468Z] Successfully built 820335b22210 [2023-09-12T22:10:38.468Z] 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-09-12T22:10:39.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:10:39.258Z] [2023-09-12T22:10:39.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:10:39.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:10:39.944Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:10:39.944Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:10:39.944Z] 04944245beec: Pulling fs layer [2023-09-12T22:10:39.944Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:10:39.944Z] 765212b225bb: Pulling fs layer [2023-09-12T22:10:39.944Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:10:39.944Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:10:39.944Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:10:39.944Z] f23df028b6ca: Waiting [2023-09-12T22:10:39.944Z] 2437ff75d9bd: Waiting [2023-09-12T22:10:39.944Z] d65c8cfc05b1: Waiting [2023-09-12T22:10:39.944Z] 765212b225bb: Waiting [2023-09-12T22:10:39.944Z] 04944245beec: Verifying Checksum [2023-09-12T22:10:39.944Z] 04944245beec: Download complete [2023-09-12T22:10:39.944Z] 765212b225bb: Verifying Checksum [2023-09-12T22:10:39.944Z] 765212b225bb: Download complete [2023-09-12T22:10:40.221Z] f23df028b6ca: Verifying Checksum [2023-09-12T22:10:40.221Z] f23df028b6ca: Download complete [2023-09-12T22:10:40.221Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:10:40.221Z] d65c8cfc05b1: Download complete [2023-09-12T22:10:40.221Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:10:40.221Z] 699f458cf7ca: Download complete [2023-09-12T22:10:40.810Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:10:40.810Z] 8998bd30e6a1: Download complete [2023-09-12T22:10:42.760Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:10:42.760Z] 2437ff75d9bd: Download complete [2023-09-12T22:10:44.713Z] 8998bd30e6a1: Pull complete [2023-09-12T22:10:44.983Z] 04944245beec: Pull complete [2023-09-12T22:10:46.398Z] 699f458cf7ca: Pull complete [2023-09-12T22:10:46.669Z] 765212b225bb: Pull complete [2023-09-12T22:10:47.637Z] f23df028b6ca: Pull complete [2023-09-12T22:10:47.637Z] d65c8cfc05b1: Pull complete [2023-09-12T22:11:02.663Z] 2437ff75d9bd: Pull complete [2023-09-12T22:11:02.663Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:11:02.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:11:02.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:11:03.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container [2023-09-12T22:11:03.094Z] $ 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-09-12T22:11:06.224Z] $ docker top bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:07.156Z] ---> job-cost.sh [2023-09-12T22:11:07.156Z] lf-activate-venv: SKIPPING [2023-09-12T22:11:07.156Z] INFO: No Stack... [2023-09-12T22:11:07.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:11:08.331Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:11:09.008Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-09-12T22:11:09.008Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:11:09.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [2023-09-12T22:11:09.111Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] did not exist. Created. [2023-09-12T22:11:09.111Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:11:09.851Z] /w/workspace/device-modbus-go/1@tmp/durable-749501f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:11:10.542Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:11:10.575Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:11:10.642Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:11:10.659Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:11:10.740Z] $ docker stop --time=1 bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 [2023-09-12T22:11:12.342Z] $ docker rm -f --volumes bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 [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-09-12T22:11:13.406Z] provisioning config files... [2023-09-12T22:11:13.413Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config6006079106089189100tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:11:13.752Z] + set +x [2023-09-12T22:11:13.752Z] + curl -s https://codecov.io/bash [2023-09-12T22:11:13.752Z] + bash -s -- [2023-09-12T22:11:13.752Z] [2023-09-12T22:11:13.752Z] _____ _ [2023-09-12T22:11:13.752Z] / ____| | | [2023-09-12T22:11:13.752Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:11:13.752Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:11:13.752Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:11:13.752Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:11:13.752Z] Bash-1.0.6 [2023-09-12T22:11:13.752Z] [2023-09-12T22:11:13.752Z] [2023-09-12T22:11:13.752Z] ==> git version 2.25.1 found [2023-09-12T22:11:13.752Z] ==> 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-09-12T22:11:13.752Z] Release-Date: 2020-01-08 [2023-09-12T22:11:13.752Z] 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-09-12T22:11:13.752Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:11:13.752Z] ==> Jenkins CI detected. [2023-09-12T22:11:13.752Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-500 [2023-09-12T22:11:13.752Z] project root: . [2023-09-12T22:11:13.752Z] --> token set from env [2023-09-12T22:11:13.752Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:11:13.752Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:11:13.752Z] ==> Python coveragepy not found [2023-09-12T22:11:13.752Z] ==> Searching for coverage reports in: [2023-09-12T22:11:13.752Z] + . [2023-09-12T22:11:13.752Z] -> Found 1 reports [2023-09-12T22:11:13.752Z] ==> Detecting git/mercurial file structure [2023-09-12T22:11:14.010Z] ==> Reading reports [2023-09-12T22:11:14.010Z] + ./coverage.out bytes=24334 [2023-09-12T22:11:14.010Z] ==> Appending adjustments [2023-09-12T22:11:14.010Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:11:14.010Z] + Found adjustments [2023-09-12T22:11:14.010Z] ==> Gzipping contents [2023-09-12T22:11:14.010Z] 4.0K /tmp/codecov.12Og95.gz [2023-09-12T22:11:14.010Z] ==> Uploading reports [2023-09-12T22:11:14.010Z] url: https://codecov.io [2023-09-12T22:11:14.010Z] query: branch=PR-500&commit=71524b76186fbdc8fe95e20776a6bb92c831bfb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-09-12T22:11:14.010Z] -> Pinging Codecov [2023-09-12T22:11:14.010Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-500&commit=71524b76186fbdc8fe95e20776a6bb92c831bfb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-09-12T22:11:14.269Z] -> Uploading to [2023-09-12T22:11:14.269Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/55DBCA73C666E3227836607328DD7E49/71524b76186fbdc8fe95e20776a6bb92c831bfb7/3672b8b8-ab1b-4a86-9d49-465b86f348ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95bd0e1caacdc3b360e3e67b53f709f33762e4b2d4a1c02823da4c5f1510e41f [2023-09-12T22:11:14.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:11:14.269Z] Dload Upload Total Spent Left Speed [2023-09-12T22:11:14.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19105 --:--:-- --:--:-- --:--:-- 19105 [2023-09-12T22:11:14.269Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] } [2023-09-12T22:11:14.297Z] 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-09-12T22:11:16.089Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-500/archives ] [2023-09-12T22:11:16.089Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-500/archives [2023-09-12T22:11:16.089Z] total 16 [2023-09-12T22:11:16.089Z] drwxr-xr-x 3 root root 4096 Sep 12 22:02 . [2023-09-12T22:11:16.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. [2023-09-12T22:11:16.089Z] drwxr-xr-x 2 root root 4096 Sep 12 22:02 cost [2023-09-12T22:11:16.089Z] -rw-r--r-- 1 root root 88 Sep 12 22:02 cost.csv [2023-09-12T22:11:16.089Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-500/archives [2023-09-12T22:11:16.089Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-500/archives [2023-09-12T22:11:16.089Z] total 16 [2023-09-12T22:11:16.089Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:02 . [2023-09-12T22:11:16.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. [2023-09-12T22:11:16.089Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:02 cost [2023-09-12T22:11:16.089Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 12 22:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:16.425Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:17.308Z] ---> package-listing.sh [2023-09-12T22:11:17.308Z] ++ facter osfamily [2023-09-12T22:11:17.308Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:11:17.567Z] + OS_FAMILY=debian [2023-09-12T22:11:17.567Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-500 [2023-09-12T22:11:17.567Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:11:17.567Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:11:17.567Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:11:17.567Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:11:17.567Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-500 ']' [2023-09-12T22:11:17.567Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:11:17.567Z] + case "${OS_FAMILY}" in [2023-09-12T22:11:17.567Z] + dpkg -l [2023-09-12T22:11:17.567Z] + grep '^ii' [2023-09-12T22:11:17.567Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:11:17.567Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:11:17.567Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:11:17.567Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-500 ']' [2023-09-12T22:11:17.567Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-500/archives/ [2023-09-12T22:11:17.567Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-500/archives/ [Pipeline] echo [2023-09-12T22:11:17.600Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T22:11:17.896Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:11:18.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:11:18.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:11:18.412Z] prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container [2023-09-12T22:11:18.446Z] $ 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-500/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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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-09-12T22:11:18.637Z] $ docker top bdccd650229123b8fe5a479aea7debd899c72fdd6404d95981574fb678c0d450 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:11:19.013Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:11:19.320Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:11:19.623Z] + ls /var/log/sa-host [2023-09-12T22:11:19.623Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:11:19.846Z] provisioning config files... [2023-09-12T22:11:19.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config16878141842710008218tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:11:19.911Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:20.216Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:11:20.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:20.659Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:11:20.696Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:21.008Z] ---> sudo-logs.sh [2023-09-12T22:11:21.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:11:21.096Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:21.407Z] ---> job-cost.sh [2023-09-12T22:11:21.407Z] lf-activate-venv: SKIPPING [2023-09-12T22:11:21.407Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:11:21.407Z] INFO: Retrieving Stack Cost... [2023-09-12T22:11:21.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:11:22.235Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:11:22.265Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:22.579Z] ---> logs-deploy.sh [2023-09-12T22:11:22.580Z] lf-activate-venv: SKIPPING [2023-09-12T22:11:22.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-500/1 [2023-09-12T22:11:22.580Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:11:23.519Z] Archives upload complete. [2023-09-12T22:11:23.519Z] INFO: archiving logs to Nexus