Pull request #579 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 marcpfuller for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at e2c07314706493d6366513279fddb5169d0fbe38 rather than 8063191af159c74b038ece1c3e27bd6a5bcc355b Obtained Jenkinsfile from e2c07314706493d6366513279fddb5169d0fbe38 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-ssh11593710525844969537.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14361031672951906235.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-mqtt-go/branches/PR-579/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-mqtt-go/branches/PR-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9940309758929976628.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-mqtt-go/branches/PR-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15754895010003912248.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh10622596167849668782.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-mqtt-go/branches/PR-579/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-mqtt-go/branches/PR-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15640526119975750719.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-mqtt-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-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10861 in /w/workspace/gexfoundry_device-mqtt-go_PR-579 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-579 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit 8063191af159c74b038ece1c3e27bd6a5bcc355b Merge succeeded, producing 2311851825edac656fedf64e6c1305d79ec5cf89 Checking out Revision 2311851825edac656fedf64e6c1305d79ec5cf89 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f 8063191af159c74b038ece1c3e27bd6a5bcc355b # 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 e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2311851825edac656fedf64e6c1305d79ec5cf89 # timeout=10 Commit message: "Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-25T18:44:57.987Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T18:44:58.361Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T18:44:58.529Z] ========================================================= [2023-04-25T18:44:58.529Z] EdgeX Global Pipelines Version Info [2023-04-25T18:44:58.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:44:59.265Z] ------------------- [2023-04-25T18:44:59.265Z] stable info: [2023-04-25T18:44:59.265Z] ------------------- [2023-04-25T18:44:59.265Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T18:44:59.265Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T18:44:59.265Z] Message: update stable to v1.0.248 [2023-04-25T18:44:59.836Z] ------------------- [2023-04-25T18:44:59.836Z] experimental info: [2023-04-25T18:44:59.836Z] ------------------- [2023-04-25T18:44:59.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T18:44:59.836Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T18:44:59.836Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T18:45:00.122Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-25T18:45:00.171Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-25T18:45:00.222Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T18:45:00.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T18:45:00.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T18:45:00.353Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T18:45:00.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T18:45:00.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-25T18:45:00.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T18:45:00.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T18:45:00.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T18:45:00.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-25T18:45:00.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T18:45:00.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T18:45:00.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T18:45:00.783Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T18:45:00.827Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T18:45:00.872Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T18:45:00.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T18:45:00.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T18:45:01.010Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-25T18:45:01.055Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-25T18:45:01.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T18:45:01.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T18:45:01.253Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T18:45:01.297Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T18:45:01.340Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T18:45:01.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo [2023-04-25T18:45:01.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo [2023-04-25T18:45:01.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo [2023-04-25T18:45:01.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2311851825edac656fedf64e6c1305d79ec5cf89 [Pipeline] echo [2023-04-25T18:45:01.566Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2311851 [Pipeline] echo [2023-04-25T18:45:01.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T18:45:01.811Z] provisioning config files... [2023-04-25T18:45:01.831Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config14982140747717002011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:45:02.276Z] ---> docker-login.sh [2023-04-25T18:45:02.276Z] nexus3.edgexfoundry.org:10001 [2023-04-25T18:45:02.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:02.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:02.538Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:02.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:02.538Z] [2023-04-25T18:45:02.538Z] Login Succeeded [2023-04-25T18:45:02.801Z] nexus3.edgexfoundry.org:10002 [2023-04-25T18:45:02.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:02.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:02.801Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:02.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:02.801Z] [2023-04-25T18:45:02.801Z] Login Succeeded [2023-04-25T18:45:02.801Z] nexus3.edgexfoundry.org:10003 [2023-04-25T18:45:02.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:02.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:02.801Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:02.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:02.801Z] [2023-04-25T18:45:02.801Z] Login Succeeded [2023-04-25T18:45:03.068Z] nexus3.edgexfoundry.org:10004 [2023-04-25T18:45:03.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:03.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:03.068Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:03.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:03.068Z] [2023-04-25T18:45:03.068Z] Login Succeeded [2023-04-25T18:45:03.068Z] docker.io [2023-04-25T18:45:03.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:04.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:04.980Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:04.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:04.980Z] [2023-04-25T18:45:04.980Z] Login Succeeded [2023-04-25T18:45:04.980Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T18:45:05.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T18:45:05.634Z] + git rev-list -1 --merges 2311851825edac656fedf64e6c1305d79ec5cf89~1..2311851825edac656fedf64e6c1305d79ec5cf89 [Pipeline] echo [2023-04-25T18:45:05.697Z] -----------> git rev-list -1 --merges 2311851825edac656fedf64e6c1305d79ec5cf89~1..2311851825edac656fedf64e6c1305d79ec5cf89 2311851825edac656fedf64e6c1305d79ec5cf89 [2023-04-25T18:45:05.697Z] 2311851825edac656fedf64e6c1305d79ec5cf89 [false] [Pipeline] sh [2023-04-25T18:45:06.005Z] + git log --format=format:%s -1 2311851825edac656fedf64e6c1305d79ec5cf89 [Pipeline] echo [2023-04-25T18:45:06.046Z] ========================================================= [2023-04-25T18:45:06.047Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T18:45:06.047Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T18:45:06.472Z] + git log --format=format:%s -1 2311851825edac656fedf64e6c1305d79ec5cf89 [Pipeline] echo [2023-04-25T18:45:06.505Z] [semverPrep] GIT_COMMIT: 2311851825edac656fedf64e6c1305d79ec5cf89, Commit Message: Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD [Pipeline] echo [2023-04-25T18:45:06.535Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T18:45:06.950Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T18:45:06.950Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T18:45:06.950Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T18:45:06.950Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T18:45:06.950Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-25T18:45:06.950Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-25T18:45:06.950Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:45:07.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T18:45:07.439Z] [2023-04-25T18:45:07.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:45:07.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T18:45:07.807Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T18:45:07.807Z] b85a868b505f: Pulling fs layer [2023-04-25T18:45:07.807Z] e2be974225ed: Pulling fs layer [2023-04-25T18:45:07.807Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T18:45:07.807Z] 988bab9f4d93: Pulling fs layer [2023-04-25T18:45:07.807Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T18:45:07.807Z] eaf3925da568: Pulling fs layer [2023-04-25T18:45:07.807Z] bab4dde63d76: Pulling fs layer [2023-04-25T18:45:07.807Z] bde34c3a00c8: Pulling fs layer [2023-04-25T18:45:07.807Z] bab4dde63d76: Waiting [2023-04-25T18:45:07.807Z] eaf3925da568: Waiting [2023-04-25T18:45:07.807Z] 1469e6f7b9e6: Waiting [2023-04-25T18:45:07.807Z] 988bab9f4d93: Waiting [2023-04-25T18:45:07.807Z] b352a97aabf1: Pulling fs layer [2023-04-25T18:45:07.807Z] bde34c3a00c8: Waiting [2023-04-25T18:45:07.807Z] 4872d77fe225: Pulling fs layer [2023-04-25T18:45:07.807Z] 5851b861e8e6: Pulling fs layer [2023-04-25T18:45:07.807Z] b352a97aabf1: Waiting [2023-04-25T18:45:07.807Z] 4872d77fe225: Waiting [2023-04-25T18:45:07.807Z] 5851b861e8e6: Waiting [2023-04-25T18:45:07.807Z] e2be974225ed: Verifying Checksum [2023-04-25T18:45:07.807Z] e2be974225ed: Download complete [2023-04-25T18:45:07.807Z] 988bab9f4d93: Download complete [2023-04-25T18:45:07.807Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T18:45:07.807Z] 1469e6f7b9e6: Download complete [2023-04-25T18:45:07.807Z] eaf3925da568: Download complete [2023-04-25T18:45:07.807Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T18:45:07.807Z] 339a4e72a1f5: Download complete [2023-04-25T18:45:08.065Z] bde34c3a00c8: Verifying Checksum [2023-04-25T18:45:08.065Z] bde34c3a00c8: Download complete [2023-04-25T18:45:08.065Z] b352a97aabf1: Verifying Checksum [2023-04-25T18:45:08.065Z] b352a97aabf1: Download complete [2023-04-25T18:45:08.065Z] 4872d77fe225: Download complete [2023-04-25T18:45:08.065Z] 5851b861e8e6: Verifying Checksum [2023-04-25T18:45:08.065Z] 5851b861e8e6: Download complete [2023-04-25T18:45:08.065Z] b85a868b505f: Verifying Checksum [2023-04-25T18:45:08.065Z] b85a868b505f: Download complete [2023-04-25T18:45:08.323Z] bab4dde63d76: Verifying Checksum [2023-04-25T18:45:08.323Z] bab4dde63d76: Download complete [2023-04-25T18:45:09.296Z] b85a868b505f: Pull complete [2023-04-25T18:45:09.582Z] e2be974225ed: Pull complete [2023-04-25T18:45:10.160Z] 339a4e72a1f5: Pull complete [2023-04-25T18:45:10.160Z] 988bab9f4d93: Pull complete [2023-04-25T18:45:10.421Z] 1469e6f7b9e6: Pull complete [2023-04-25T18:45:10.421Z] eaf3925da568: Pull complete [2023-04-25T18:45:12.340Z] bab4dde63d76: Pull complete [2023-04-25T18:45:12.601Z] bde34c3a00c8: Pull complete [2023-04-25T18:45:12.601Z] b352a97aabf1: Pull complete [2023-04-25T18:45:12.862Z] 4872d77fe225: Pull complete [2023-04-25T18:45:12.862Z] 5851b861e8e6: Pull complete [2023-04-25T18:45:12.862Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T18:45:12.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T18:45:12.862Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:45:13.220Z] prd-ubuntu20.04-docker-8c-8g-10861 does not seem to be running inside a container [2023-04-25T18:45:13.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-25T18:45:16.148Z] $ docker top d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 -eo pid,comm [2023-04-25T18:45:16.207Z] 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-04-25T18:45:16.207Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T18:45:16.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T18:45:16.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T18:45:16.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T18:45:16.465Z] $ docker exec d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 ssh-agent [2023-04-25T18:45:16.569Z] SSH_AUTH_SOCK=/tmp/ssh-6FP9uXNAGdLF/agent.32 [2023-04-25T18:45:16.569Z] SSH_AGENT_PID=38 [2023-04-25T18:45:16.576Z] Running ssh-add (command line suppressed) [2023-04-25T18:45:16.669Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_15371190719926438154.key (/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_15371190719926438154.key) [2023-04-25T18:45:16.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T18:45:17.016Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T18:45:17.040Z] $ docker exec --env ******** --env ******** d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 ssh-agent -k [2023-04-25T18:45:17.144Z] unset SSH_AUTH_SOCK; [2023-04-25T18:45:17.144Z] unset SSH_AGENT_PID; [2023-04-25T18:45:17.144Z] echo Agent pid 38 killed; [2023-04-25T18:45:17.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T18:45:17.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T18:45:17.245Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T18:45:17.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T18:45:17.378Z] $ docker exec d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 ssh-agent [2023-04-25T18:45:17.499Z] SSH_AUTH_SOCK=/tmp/ssh-72Y5FNdxMYyo/agent.70 [2023-04-25T18:45:17.500Z] SSH_AGENT_PID=76 [2023-04-25T18:45:17.505Z] Running ssh-add (command line suppressed) [2023-04-25T18:45:17.614Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_7139800047275131347.key (/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/private_key_7139800047275131347.key) [2023-04-25T18:45:17.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T18:45:17.969Z] + git semver init [2023-04-25T18:45:18.231Z] 2023-04-25 18:45:18,166 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T18:45:18.231Z] 2023-04-25 18:45:18,167 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver [2023-04-25T18:45:18.231Z] 2023-04-25 18:45:18,167 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver [2023-04-25T18:45:18.231Z] 2023-04-25 18:45:18,168 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579, universal_newlines=False, shell=None, istream=None) [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,984 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.git/info/exclude [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,985 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 with force:False [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,985 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,990 [execute] INFO git cat-file --batch-check [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,997 [execute] INFO git cat-file --batch [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:18,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T18:45:19.170Z] 2023-04-25 18:45:19,003 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-579/.semver/PR-579 [2023-04-25T18:45:19.170Z] 0.0.0 [Pipeline] } [2023-04-25T18:45:19.198Z] $ docker exec --env ******** --env ******** d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 ssh-agent -k [2023-04-25T18:45:19.303Z] unset SSH_AUTH_SOCK; [2023-04-25T18:45:19.303Z] unset SSH_AGENT_PID; [2023-04-25T18:45:19.303Z] echo Agent pid 76 killed; [2023-04-25T18:45:19.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T18:45:19.757Z] + git semver [Pipeline] } [2023-04-25T18:45:20.041Z] $ docker stop --time=1 d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 [2023-04-25T18:45:21.352Z] $ docker rm -f --volumes d87b813b2dfa976dd5aac95d0af1b7c1e10748f7a3e976d7e93e0d33220db648 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T18:45:21.763Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T18:45:22.033Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T18:45:22.053Z] [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-04-25T18:45:22.664Z] provisioning config files... [2023-04-25T18:45:22.674Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config15273169333037615056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:45:23.018Z] ---> docker-login.sh [2023-04-25T18:45:23.018Z] nexus3.edgexfoundry.org:10001 [2023-04-25T18:45:23.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:23.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:23.018Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:23.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:23.018Z] [2023-04-25T18:45:23.018Z] Login Succeeded [2023-04-25T18:45:23.018Z] nexus3.edgexfoundry.org:10002 [2023-04-25T18:45:23.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:23.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:23.279Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:23.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:23.279Z] [2023-04-25T18:45:23.279Z] Login Succeeded [2023-04-25T18:45:23.279Z] nexus3.edgexfoundry.org:10003 [2023-04-25T18:45:23.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:23.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:23.279Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:23.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:23.279Z] [2023-04-25T18:45:23.279Z] Login Succeeded [2023-04-25T18:45:23.279Z] nexus3.edgexfoundry.org:10004 [2023-04-25T18:45:23.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:23.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:23.279Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:23.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:23.279Z] [2023-04-25T18:45:23.279Z] Login Succeeded [2023-04-25T18:45:23.279Z] docker.io [2023-04-25T18:45:23.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:45:23.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:45:23.538Z] Configure a credential helper to remove this warning. See [2023-04-25T18:45:23.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:45:23.538Z] [2023-04-25T18:45:23.538Z] Login Succeeded [2023-04-25T18:45:23.538Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T18:45:23.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T18:45:23.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T18:45:23.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T18:45:23.842Z] ========================================================= [2023-04-25T18:45:23.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T18:45:23.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:45:24.322Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T18:45:24.322Z] Sending build context to Docker daemon 6.506MB [2023-04-25T18:45:24.322Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T18:45:24.322Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-25T18:45:24.322Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T18:45:24.322Z] f56be85fc22e: Pulling fs layer [2023-04-25T18:45:24.322Z] 85791d961cd3: Pulling fs layer [2023-04-25T18:45:24.322Z] d694b5ae8c79: Pulling fs layer [2023-04-25T18:45:24.322Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T18:45:24.322Z] 4d19c01a9841: Pulling fs layer [2023-04-25T18:45:24.322Z] 9325e15d5711: Pulling fs layer [2023-04-25T18:45:24.322Z] 556b6ee489ea: Pulling fs layer [2023-04-25T18:45:24.322Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T18:45:24.322Z] 4d19c01a9841: Waiting [2023-04-25T18:45:24.322Z] 9325e15d5711: Waiting [2023-04-25T18:45:24.322Z] c5a4b2cf53e6: Waiting [2023-04-25T18:45:24.322Z] 556b6ee489ea: Waiting [2023-04-25T18:45:24.322Z] 9f32a84ed3da: Waiting [2023-04-25T18:45:24.322Z] 85791d961cd3: Download complete [2023-04-25T18:45:24.582Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T18:45:24.582Z] 9f32a84ed3da: Download complete [2023-04-25T18:45:24.582Z] 4d19c01a9841: Verifying Checksum [2023-04-25T18:45:24.582Z] 4d19c01a9841: Download complete [2023-04-25T18:45:24.582Z] f56be85fc22e: Download complete [2023-04-25T18:45:24.582Z] 9325e15d5711: Verifying Checksum [2023-04-25T18:45:24.582Z] 9325e15d5711: Download complete [2023-04-25T18:45:24.582Z] f56be85fc22e: Pull complete [2023-04-25T18:45:24.843Z] 85791d961cd3: Pull complete [2023-04-25T18:45:25.103Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T18:45:25.103Z] c5a4b2cf53e6: Download complete [2023-04-25T18:45:25.103Z] d694b5ae8c79: Verifying Checksum [2023-04-25T18:45:25.103Z] d694b5ae8c79: Download complete [2023-04-25T18:45:25.362Z] 556b6ee489ea: Verifying Checksum [2023-04-25T18:45:25.362Z] 556b6ee489ea: Download complete [2023-04-25T18:45:28.655Z] d694b5ae8c79: Pull complete [2023-04-25T18:45:28.655Z] 9f32a84ed3da: Pull complete [2023-04-25T18:45:28.914Z] 4d19c01a9841: Pull complete [2023-04-25T18:45:28.914Z] 9325e15d5711: Pull complete [2023-04-25T18:45:31.445Z] 556b6ee489ea: Pull complete [2023-04-25T18:45:32.380Z] c5a4b2cf53e6: Pull complete [2023-04-25T18:45:32.380Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T18:45:32.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T18:45:32.380Z] ---> c4be618373d6 [2023-04-25T18:45:32.380Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-25T18:45:36.572Z] ---> Running in 232ea7da03c0 [2023-04-25T18:45:36.831Z] Removing intermediate container 232ea7da03c0 [2023-04-25T18:45:36.831Z] ---> 3886517356fe [2023-04-25T18:45:36.831Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T18:45:36.831Z] ---> Running in e6754e6efe80 [2023-04-25T18:45:36.831Z] Removing intermediate container e6754e6efe80 [2023-04-25T18:45:36.831Z] ---> a4d04922a0da [2023-04-25T18:45:36.831Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T18:45:36.831Z] ---> Running in 03992d322e77 [2023-04-25T18:45:37.090Z] Removing intermediate container 03992d322e77 [2023-04-25T18:45:37.090Z] ---> d53dc70bb230 [2023-04-25T18:45:37.090Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T18:45:37.090Z] ---> Running in 11d732e3f936 [2023-04-25T18:45:37.090Z] Removing intermediate container 11d732e3f936 [2023-04-25T18:45:37.090Z] ---> 8448fee2b6c6 [2023-04-25T18:45:37.090Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T18:45:37.090Z] ---> Running in a9c5db46df89 [2023-04-25T18:45:37.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T18:45:37.476Z] Still waiting to schedule task [2023-04-25T18:45:37.476Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-25T18:45:37.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T18:45:37.867Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T18:45:37.867Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-25T18:45:37.867Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T18:45:37.867Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T18:45:37.867Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T18:45:37.867Z] OK: 269 MiB in 57 packages [2023-04-25T18:45:38.432Z] Removing intermediate container a9c5db46df89 [2023-04-25T18:45:38.432Z] ---> 1eb28c63189a [2023-04-25T18:45:38.432Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-25T18:45:38.432Z] ---> Running in 6622adca5ca9 [2023-04-25T18:45:38.432Z] Removing intermediate container 6622adca5ca9 [2023-04-25T18:45:38.432Z] ---> cb884f2601ff [2023-04-25T18:45:38.432Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-25T18:45:38.693Z] ---> bd925189da48 [2023-04-25T18:45:38.693Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T18:45:38.693Z] ---> Running in e5eeefb5ad3e [2023-04-25T18:46:25.398Z] Removing intermediate container e5eeefb5ad3e [2023-04-25T18:46:25.398Z] ---> 7a77a2b4d5ff [2023-04-25T18:46:25.398Z] Step 11/12 : COPY . . [2023-04-25T18:46:25.398Z] ---> f7a17d7f51d0 [2023-04-25T18:46:25.398Z] Step 12/12 : RUN $MAKE [2023-04-25T18:46:25.398Z] ---> Running in ec6183e83fce [2023-04-25T18:46:25.398Z] noop [2023-04-25T18:46:25.398Z] Removing intermediate container ec6183e83fce [2023-04-25T18:46:25.398Z] ---> 9314434d8ec6 [2023-04-25T18:46:25.398Z] Successfully built 9314434d8ec6 [2023-04-25T18:46:25.398Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:46:25.862Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T18:46:25.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:46:26.017Z] prd-ubuntu20.04-docker-8c-8g-10861 does not seem to be running inside a container [2023-04-25T18:46:26.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@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 ******** ci-base-image-x86_64 cat [2023-04-25T18:46:26.406Z] $ docker top b4f13d09fbab66b05b91d0b77b5055b3e2267a198189f8d55dbb1896d2f6db40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T18:46:26.792Z] + go version [2023-04-25T18:46:26.792Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T18:46:26.831Z] $ docker stop --time=1 b4f13d09fbab66b05b91d0b77b5055b3e2267a198189f8d55dbb1896d2f6db40 [2023-04-25T18:46:28.087Z] $ docker rm -f --volumes b4f13d09fbab66b05b91d0b77b5055b3e2267a198189f8d55dbb1896d2f6db40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:46:28.793Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T18:46:28.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:46:28.954Z] prd-ubuntu20.04-docker-8c-8g-10861 does not seem to be running inside a container [2023-04-25T18:46:28.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@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 ******** ci-base-image-x86_64 cat [2023-04-25T18:46:29.325Z] $ docker top 3818486e3de4a8fc97878546d98ce2e93692e69d4dd07eebc48fdb19079d098b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T18:46:29.716Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-579 [Pipeline] fileExists [Pipeline] sh [2023-04-25T18:46:30.072Z] + make test [2023-04-25T18:46:30.073Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T18:46:34.264Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-25T18:46:44.226Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-25T18:46:44.227Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-25T18:46:44.227Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 24.6% of statements [2023-04-25T18:46:49.499Z] go vet ./... [2023-04-25T18:46:52.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T18:46:52.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T18:46:52.785Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T18:46:52.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T18:46:52.855Z] $ docker stop --time=1 3818486e3de4a8fc97878546d98ce2e93692e69d4dd07eebc48fdb19079d098b [2023-04-25T18:46:56.048Z] $ docker rm -f --volumes 3818486e3de4a8fc97878546d98ce2e93692e69d4dd07eebc48fdb19079d098b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T18:46:56.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T18:46:56.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T18:46:57.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T18:46:57.637Z] + ls -al . [2023-04-25T18:46:57.637Z] total 180 [2023-04-25T18:46:57.637Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 18:46 . [2023-04-25T18:46:57.637Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 18:44 .. [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 18:44 .dockerignore [2023-04-25T18:46:57.637Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 18:45 .git [2023-04-25T18:46:57.637Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:44 .github [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 18:44 .gitignore [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 18:44 .golangci.yml [2023-04-25T18:46:57.637Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 18:45 .semver [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 25 18:44 Attribution.txt [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 25 18:44 CHANGELOG.md [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 25 18:44 Dockerfile [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 18:44 GOVERNANCE.md [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 18:44 Jenkinsfile [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 18:44 LICENSE [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 25 18:44 Makefile [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 18:44 OWNERS.md [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 25 18:44 README.md [2023-04-25T18:46:57.637Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 18:45 VERSION [2023-04-25T18:46:57.637Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 18:44 bin [2023-04-25T18:46:57.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:44 cmd [2023-04-25T18:46:57.638Z] -rw-r--r-- 1 jenkins jenkins 16535 Apr 25 18:46 coverage.out [2023-04-25T18:46:57.638Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 25 18:44 go.mod [2023-04-25T18:46:57.638Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 18:44 go.sum [2023-04-25T18:46:57.638Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:44 internal [2023-04-25T18:46:57.638Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 18:44 mock [2023-04-25T18:46:57.638Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 18:44 snap [2023-04-25T18:46:57.638Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:46:58.093Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2311851825edac656fedf64e6c1305d79ec5cf89 --label arch=amd64 --label version=0.0.0 . [2023-04-25T18:46:58.093Z] Sending build context to Docker daemon 6.523MB [2023-04-25T18:46:58.093Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T18:46:58.093Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-25T18:46:58.093Z] ---> 9314434d8ec6 [2023-04-25T18:46:58.093Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-25T18:46:58.351Z] ---> Running in 29adc59793bc [2023-04-25T18:46:58.351Z] Removing intermediate container 29adc59793bc [2023-04-25T18:46:58.351Z] ---> 295302511615 [2023-04-25T18:46:58.351Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T18:46:58.351Z] ---> Running in 45d2eb8e44ed [2023-04-25T18:46:58.351Z] Removing intermediate container 45d2eb8e44ed [2023-04-25T18:46:58.351Z] ---> 683756bb43f3 [2023-04-25T18:46:58.351Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T18:46:58.351Z] ---> Running in c6456ddfcc84 [2023-04-25T18:46:58.611Z] Removing intermediate container c6456ddfcc84 [2023-04-25T18:46:58.611Z] ---> 13d756d5c6cb [2023-04-25T18:46:58.611Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T18:46:58.611Z] ---> Running in 6fb29351a30f [2023-04-25T18:46:58.611Z] Removing intermediate container 6fb29351a30f [2023-04-25T18:46:58.611Z] ---> 75300da95c26 [2023-04-25T18:46:58.611Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T18:46:58.611Z] ---> Running in f2a3b7e9c584 [2023-04-25T18:46:58.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T18:46:59.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T18:46:59.129Z] OK: 269 MiB in 57 packages [2023-04-25T18:46:59.699Z] Removing intermediate container f2a3b7e9c584 [2023-04-25T18:46:59.699Z] ---> 4494587c59e6 [2023-04-25T18:46:59.699Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-25T18:46:59.699Z] ---> Running in 8406fc1e1d4f [2023-04-25T18:46:59.699Z] Removing intermediate container 8406fc1e1d4f [2023-04-25T18:46:59.699Z] ---> 4473b57141a7 [2023-04-25T18:46:59.699Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-25T18:46:59.699Z] ---> f028697710f8 [2023-04-25T18:46:59.699Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T18:46:59.699Z] ---> Running in 8abc1493e67e [2023-04-25T18:47:00.759Z] Removing intermediate container 8abc1493e67e [2023-04-25T18:47:00.759Z] ---> d74ee7e1c096 [2023-04-25T18:47:00.759Z] Step 11/24 : COPY . . [2023-04-25T18:47:01.018Z] ---> 8f96ddf6f51e [2023-04-25T18:47:01.018Z] Step 12/24 : RUN $MAKE [2023-04-25T18:47:01.018Z] ---> Running in 521ca5c1377f [2023-04-25T18:47:01.277Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-25T18:47:10.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10862 in /w/workspace/gexfoundry_device-mqtt-go_PR-579 [Pipeline] { [Pipeline] ws [2023-04-25T18:47:11.042Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-25T18:47:11.125Z] Selected Git installation does not exist. Using Default [2023-04-25T18:47:11.125Z] The recommended git tool is: NONE [2023-04-25T18:47:16.215Z] using credential edgex-jenkins-ssh [2023-04-25T18:47:16.236Z] Cloning the remote Git repository [2023-04-25T18:47:16.284Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-25T18:47:16.389Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-25T18:47:16.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-25T18:47:16.532Z] > git --version # timeout=10 [2023-04-25T18:47:16.551Z] > git --version # 'git version 2.25.1' [2023-04-25T18:47:16.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T18:47:16.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T18:47:19.342Z] Removing intermediate container 521ca5c1377f [2023-04-25T18:47:19.342Z] ---> 84afac0afca7 [2023-04-25T18:47:19.342Z] Step 13/24 : FROM alpine:3.17 [2023-04-25T18:47:19.601Z] 3.17: Pulling from library/alpine [2023-04-25T18:47:19.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-25T18:47:19.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T18:47:19.860Z] f56be85fc22e: Already exists [2023-04-25T18:47:19.860Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T18:47:19.860Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T18:47:19.860Z] ---> 9ed4aefc74f6 [2023-04-25T18:47:19.860Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-25T18:47:19.860Z] ---> Running in e31e117fdb58 [2023-04-25T18:47:20.118Z] Removing intermediate container e31e117fdb58 [2023-04-25T18:47:20.118Z] ---> f620dfe331dd [2023-04-25T18:47:20.118Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-25T18:47:20.118Z] ---> Running in 2f6c3f3fb66d [2023-04-25T18:47:20.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T18:47:20.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T18:47:20.637Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T18:47:20.637Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T18:47:20.637Z] OK: 7 MiB in 16 packages [2023-04-25T18:47:20.815Z] Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit 8063191af159c74b038ece1c3e27bd6a5bcc355b [2023-04-25T18:47:20.895Z] Removing intermediate container 2f6c3f3fb66d [2023-04-25T18:47:20.895Z] ---> 4f886c6ab558 [2023-04-25T18:47:20.895Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-25T18:47:21.147Z] Merge succeeded, producing 481898a812190d9751794065b05ae235fd744a6b [2023-04-25T18:47:21.148Z] Checking out Revision 481898a812190d9751794065b05ae235fd744a6b (PR-579) [2023-04-25T18:47:20.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-25T18:47:20.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-25T18:47:20.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T18:47:20.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-25T18:47:20.835Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T18:47:20.924Z] > git checkout -f 8063191af159c74b038ece1c3e27bd6a5bcc355b # timeout=10 [2023-04-25T18:47:21.015Z] > git remote # timeout=10 [2023-04-25T18:47:21.037Z] > git config --get remote.origin.url # timeout=10 [2023-04-25T18:47:21.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T18:47:21.072Z] > git merge e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 [2023-04-25T18:47:21.132Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-25T18:47:21.830Z] ---> ddbbf5065fb4 [2023-04-25T18:47:21.830Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-25T18:47:21.830Z] ---> ead3136edba3 [2023-04-25T18:47:21.830Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-25T18:47:22.089Z] ---> db98a7d26633 [2023-04-25T18:47:22.089Z] Step 19/24 : EXPOSE 59982 [2023-04-25T18:47:22.089Z] ---> Running in d39387bf4eff [2023-04-25T18:47:22.089Z] Removing intermediate container d39387bf4eff [2023-04-25T18:47:22.089Z] ---> ec70da830f0a [2023-04-25T18:47:22.089Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-25T18:47:22.089Z] ---> Running in 5dd18d456014 [2023-04-25T18:47:22.089Z] Removing intermediate container 5dd18d456014 [2023-04-25T18:47:22.089Z] ---> da7e12fb264b [2023-04-25T18:47:22.089Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T18:47:22.089Z] ---> Running in 9a7632566d92 [2023-04-25T18:47:22.347Z] Removing intermediate container 9a7632566d92 [2023-04-25T18:47:22.347Z] ---> 850632c861fc [2023-04-25T18:47:22.347Z] Step 22/24 : LABEL arch=amd64 [2023-04-25T18:47:22.347Z] ---> Running in b945377500ed [2023-04-25T18:47:22.347Z] Removing intermediate container b945377500ed [2023-04-25T18:47:22.347Z] ---> 264da072eead [2023-04-25T18:47:22.347Z] Step 23/24 : LABEL git_sha=2311851825edac656fedf64e6c1305d79ec5cf89 [2023-04-25T18:47:22.347Z] ---> Running in 420c3a092a77 [2023-04-25T18:47:22.347Z] Removing intermediate container 420c3a092a77 [2023-04-25T18:47:22.347Z] ---> 52a6fa34e512 [2023-04-25T18:47:22.347Z] Step 24/24 : LABEL version=0.0.0 [2023-04-25T18:47:22.347Z] ---> Running in 01d671eaf100 [2023-04-25T18:47:22.607Z] Removing intermediate container 01d671eaf100 [2023-04-25T18:47:22.607Z] ---> c00547b14d2a [2023-04-25T18:47:22.607Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T18:47:22.607Z] Successfully built c00547b14d2a [2023-04-25T18:47:22.607Z] Successfully tagged device-mqtt:latest [2023-04-25T18:47:21.157Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T18:47:21.173Z] > git checkout -f 481898a812190d9751794065b05ae235fd744a6b # timeout=10 [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-04-25T18:47:23.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T18:47:23.487Z] [2023-04-25T18:47:23.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:47:23.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T18:47:23.860Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T18:47:23.860Z] 5eb5b503b376: Pulling fs layer [2023-04-25T18:47:23.860Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T18:47:23.860Z] ec43610c2a17: Pulling fs layer [2023-04-25T18:47:23.860Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T18:47:23.860Z] 33b1e0a273af: Pulling fs layer [2023-04-25T18:47:23.860Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T18:47:23.860Z] 2f39f015ded8: Pulling fs layer [2023-04-25T18:47:23.860Z] 33b1e0a273af: Waiting [2023-04-25T18:47:23.860Z] 5d3b04190fa2: Waiting [2023-04-25T18:47:23.860Z] 2f39f015ded8: Waiting [2023-04-25T18:47:23.860Z] 3a2ae6a8a46f: Waiting [2023-04-25T18:47:23.860Z] 5c69ac0246d0: Download complete [2023-04-25T18:47:23.860Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-25T18:47:23.860Z] 3a2ae6a8a46f: Download complete [2023-04-25T18:47:23.860Z] 33b1e0a273af: Verifying Checksum [2023-04-25T18:47:23.860Z] 33b1e0a273af: Download complete [2023-04-25T18:47:23.860Z] ec43610c2a17: Verifying Checksum [2023-04-25T18:47:23.860Z] ec43610c2a17: Download complete [2023-04-25T18:47:23.860Z] 5d3b04190fa2: Verifying Checksum [2023-04-25T18:47:23.860Z] 5d3b04190fa2: Download complete [2023-04-25T18:47:24.118Z] 5eb5b503b376: Verifying Checksum [2023-04-25T18:47:24.118Z] 5eb5b503b376: Download complete [2023-04-25T18:47:24.632Z] Commit message: "Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD" [2023-04-25T18:47:24.633Z] First time build. Skipping changelog. [2023-04-25T18:47:24.695Z] 2f39f015ded8: Verifying Checksum [2023-04-25T18:47:24.695Z] 2f39f015ded8: Download complete [2023-04-25T18:47:24.684Z] > git --version # timeout=10 [2023-04-25T18:47:24.694Z] > git --version # 'git version 2.25.1' [2023-04-25T18:47:24.706Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T18:47:25.175Z] [2023-04-25T18:47:25.175Z] GitHub has been notified of this commit’s build result [2023-04-25T18:47:25.175Z] [Pipeline] withEnv [Pipeline] { [2023-04-25T18:47:25.261Z] 5eb5b503b376: Pull complete [2023-04-25T18:47:25.261Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T18:47:25.829Z] ec43610c2a17: Pull complete [2023-04-25T18:47:25.829Z] 3a2ae6a8a46f: Pull complete [2023-04-25T18:47:25.909Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T18:47:25.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T18:47:25.909Z] Dload Upload Total Spent Left Speed [2023-04-25T18:47:25.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [2023-04-25T18:47:26.087Z] 33b1e0a273af: Pull complete [2023-04-25T18:47:26.087Z] 5d3b04190fa2: Pull complete [Pipeline] sh [2023-04-25T18:47:26.612Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T18:47:26.953Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-25T18:47:26.953Z] + sudo tee /etc/docker/daemon.new [2023-04-25T18:47:26.953Z] { [2023-04-25T18:47:26.953Z] "registry-mirrors": [ [2023-04-25T18:47:26.953Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T18:47:26.953Z] ], [2023-04-25T18:47:26.953Z] "bip": "10.250.0.254/24", [2023-04-25T18:47:26.953Z] "hosts": [ [2023-04-25T18:47:26.953Z] "tcp://0.0.0.0:5555", [2023-04-25T18:47:26.953Z] "unix:///var/run/docker.sock" [2023-04-25T18:47:26.953Z] ], [2023-04-25T18:47:26.953Z] "mtu": 1458, [2023-04-25T18:47:26.953Z] "selinux-enabled": true, [2023-04-25T18:47:26.953Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T18:47:26.953Z] } [Pipeline] sh [2023-04-25T18:47:27.298Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T18:47:27.653Z] + sudo service docker restart [2023-04-25T18:47:30.273Z] 2f39f015ded8: Pull complete [2023-04-25T18:47:30.273Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T18:47:30.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T18:47:30.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:47:30.496Z] prd-ubuntu20.04-docker-8c-8g-10861 does not seem to be running inside a container [2023-04-25T18:47:30.535Z] $ 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/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@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-04-25T18:47:34.419Z] $ docker top 950ec04931cca9c3dc733ede62b9de0c08db3fb5befc5c85146176c926396d82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:47:34.868Z] ---> job-cost.sh [2023-04-25T18:47:34.868Z] lf-activate-venv: SKIPPING [2023-04-25T18:47:34.868Z] INFO: No Stack... [2023-04-25T18:47:35.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T18:47:35.696Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T18:47:36.014Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/cost.csv [2023-04-25T18:47:36.014Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T18:47:36.056Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [2023-04-25T18:47:36.060Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] did not exist. Created. [2023-04-25T18:47:36.060Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T18:47:36.447Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T18:47:36.505Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T18:47:36.531Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T18:47:36.625Z] $ docker stop --time=1 950ec04931cca9c3dc733ede62b9de0c08db3fb5befc5c85146176c926396d82 [2023-04-25T18:47:37.790Z] $ docker rm -f --volumes 950ec04931cca9c3dc733ede62b9de0c08db3fb5befc5c85146176c926396d82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T18:47:45.959Z] provisioning config files... [2023-04-25T18:47:45.994Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2390498456281810555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:47:46.389Z] ---> docker-login.sh [2023-04-25T18:47:46.389Z] nexus3.edgexfoundry.org:10001 [2023-04-25T18:47:46.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:47:46.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:47:46.932Z] Configure a credential helper to remove this warning. See [2023-04-25T18:47:46.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:47:46.932Z] [2023-04-25T18:47:46.932Z] Login Succeeded [2023-04-25T18:47:46.932Z] nexus3.edgexfoundry.org:10002 [2023-04-25T18:47:47.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:47:47.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:47:47.472Z] Configure a credential helper to remove this warning. See [2023-04-25T18:47:47.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:47:47.472Z] [2023-04-25T18:47:47.472Z] Login Succeeded [2023-04-25T18:47:47.472Z] nexus3.edgexfoundry.org:10003 [2023-04-25T18:47:47.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:47:47.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:47:47.742Z] Configure a credential helper to remove this warning. See [2023-04-25T18:47:47.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:47:47.742Z] [2023-04-25T18:47:47.742Z] Login Succeeded [2023-04-25T18:47:47.742Z] nexus3.edgexfoundry.org:10004 [2023-04-25T18:47:48.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:47:48.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:47:48.014Z] Configure a credential helper to remove this warning. See [2023-04-25T18:47:48.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:47:48.014Z] [2023-04-25T18:47:48.014Z] Login Succeeded [2023-04-25T18:47:48.014Z] docker.io [2023-04-25T18:47:48.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T18:47:48.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T18:47:48.551Z] Configure a credential helper to remove this warning. See [2023-04-25T18:47:48.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T18:47:48.551Z] [2023-04-25T18:47:48.551Z] Login Succeeded [2023-04-25T18:47:48.551Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T18:47:48.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T18:47:48.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T18:47:48.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T18:47:49.022Z] ========================================================= [2023-04-25T18:47:49.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T18:47:49.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:47:49.532Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-25T18:47:49.802Z] Sending build context to Docker daemon 3.407MB [2023-04-25T18:47:49.802Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T18:47:49.802Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-25T18:47:50.071Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T18:47:50.071Z] c41833b44d91: Pulling fs layer [2023-04-25T18:47:50.071Z] ed15518f5707: Pulling fs layer [2023-04-25T18:47:50.071Z] feae8fd75edb: Pulling fs layer [2023-04-25T18:47:50.071Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T18:47:50.071Z] 3cdef696dda3: Pulling fs layer [2023-04-25T18:47:50.071Z] 2ced38df9373: Pulling fs layer [2023-04-25T18:47:50.071Z] 58f1dce35555: Pulling fs layer [2023-04-25T18:47:50.071Z] 3cdef696dda3: Waiting [2023-04-25T18:47:50.071Z] 242c74f7c9fa: Waiting [2023-04-25T18:47:50.071Z] 2ced38df9373: Waiting [2023-04-25T18:47:50.071Z] 58f1dce35555: Waiting [2023-04-25T18:47:50.071Z] ed15518f5707: Verifying Checksum [2023-04-25T18:47:50.071Z] ed15518f5707: Download complete [2023-04-25T18:47:50.071Z] 242c74f7c9fa: Download complete [2023-04-25T18:47:50.071Z] 3cdef696dda3: Verifying Checksum [2023-04-25T18:47:50.071Z] 3cdef696dda3: Download complete [2023-04-25T18:47:50.071Z] c41833b44d91: Verifying Checksum [2023-04-25T18:47:51.501Z] c41833b44d91: Pull complete [2023-04-25T18:47:51.501Z] 58f1dce35555: Verifying Checksum [2023-04-25T18:47:51.501Z] 58f1dce35555: Download complete [2023-04-25T18:47:51.774Z] ed15518f5707: Pull complete [2023-04-25T18:47:52.752Z] feae8fd75edb: Verifying Checksum [2023-04-25T18:47:52.752Z] feae8fd75edb: Download complete [2023-04-25T18:47:52.752Z] 2ced38df9373: Verifying Checksum [2023-04-25T18:47:52.752Z] 2ced38df9373: Download complete [2023-04-25T18:48:05.086Z] feae8fd75edb: Pull complete [2023-04-25T18:48:05.086Z] 242c74f7c9fa: Pull complete [2023-04-25T18:48:05.086Z] 3cdef696dda3: Pull complete [2023-04-25T18:48:11.742Z] 2ced38df9373: Pull complete [2023-04-25T18:48:13.157Z] 58f1dce35555: Pull complete [2023-04-25T18:48:13.157Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T18:48:13.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T18:48:13.157Z] ---> fadd8f120f05 [2023-04-25T18:48:13.157Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-25T18:48:14.592Z] ---> Running in 801e3648be97 [2023-04-25T18:48:14.592Z] Removing intermediate container 801e3648be97 [2023-04-25T18:48:14.592Z] ---> f9a380193fe2 [2023-04-25T18:48:14.592Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T18:48:14.859Z] ---> Running in d8e4b3cf84ff [2023-04-25T18:48:15.127Z] Removing intermediate container d8e4b3cf84ff [2023-04-25T18:48:15.127Z] ---> 8e4a319fd973 [2023-04-25T18:48:15.127Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T18:48:15.127Z] ---> Running in 443008ad62ed [2023-04-25T18:48:15.396Z] Removing intermediate container 443008ad62ed [2023-04-25T18:48:15.396Z] ---> 8bc48e5528fe [2023-04-25T18:48:15.396Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T18:48:15.396Z] ---> Running in 95218a49d5ad [2023-04-25T18:48:15.980Z] Removing intermediate container 95218a49d5ad [2023-04-25T18:48:15.980Z] ---> 16d612861742 [2023-04-25T18:48:15.980Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T18:48:15.980Z] ---> Running in 5eef58a9088b [2023-04-25T18:48:16.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T18:48:17.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T18:48:18.489Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T18:48:18.489Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-25T18:48:18.489Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T18:48:18.489Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T18:48:18.489Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T18:48:18.755Z] OK: 268 MiB in 57 packages [2023-04-25T18:48:19.716Z] Removing intermediate container 5eef58a9088b [2023-04-25T18:48:19.716Z] ---> 4288baa91b94 [2023-04-25T18:48:19.716Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-25T18:48:19.716Z] ---> Running in 9edd2a9376cf [2023-04-25T18:48:19.984Z] Removing intermediate container 9edd2a9376cf [2023-04-25T18:48:19.984Z] ---> c0c1c93eec5a [2023-04-25T18:48:19.984Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-25T18:48:20.568Z] ---> 841d5ed1544e [2023-04-25T18:48:20.568Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T18:48:20.568Z] ---> Running in 8e29932b330a [2023-04-25T18:49:28.461Z] Removing intermediate container 8e29932b330a [2023-04-25T18:49:28.461Z] ---> 3014080e803d [2023-04-25T18:49:28.461Z] Step 11/12 : COPY . . [2023-04-25T18:49:28.461Z] ---> 334c91dcbbed [2023-04-25T18:49:28.461Z] Step 12/12 : RUN $MAKE [2023-04-25T18:49:28.461Z] ---> Running in 7e484ce5d2f6 [2023-04-25T18:49:28.461Z] noop [2023-04-25T18:49:28.461Z] Removing intermediate container 7e484ce5d2f6 [2023-04-25T18:49:28.461Z] ---> 9dc3a33a2cb9 [2023-04-25T18:49:28.461Z] Successfully built 9dc3a33a2cb9 [2023-04-25T18:49:28.461Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:49:28.948Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T18:49:28.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:49:29.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-10862 does not seem to be running inside a container [2023-04-25T18:49:29.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-04-25T18:49:30.542Z] $ docker top d1b51d9feeaca9d43daca1ced27ca790bae7418b11c1747df07ea95aa635d082 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T18:49:31.444Z] + go version [2023-04-25T18:49:31.445Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T18:49:31.480Z] $ docker stop --time=1 d1b51d9feeaca9d43daca1ced27ca790bae7418b11c1747df07ea95aa635d082 [2023-04-25T18:49:33.122Z] $ docker rm -f --volumes d1b51d9feeaca9d43daca1ced27ca790bae7418b11c1747df07ea95aa635d082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:49:33.954Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T18:49:33.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:49:34.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-10862 does not seem to be running inside a container [2023-04-25T18:49:34.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-04-25T18:49:35.445Z] $ docker top 2a304f09711cd7d828147f6ae5c8ed1d6a297b615c06de6206721468f6a43f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T18:49:36.340Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-25T18:49:37.050Z] + make test [2023-04-25T18:49:37.051Z] go test ./... -coverprofile=coverage.out ./... [2023-04-25T18:50:09.282Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-25T18:52:00.935Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-25T18:52:00.935Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-25T18:52:00.935Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 24.6% of statements [2023-04-25T18:52:00.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T18:52:00.935Z] go vet ./... [2023-04-25T18:52:33.191Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T18:52:33.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T18:52:33.191Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T18:52:33.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T18:52:33.260Z] $ docker stop --time=1 2a304f09711cd7d828147f6ae5c8ed1d6a297b615c06de6206721468f6a43f57 [2023-04-25T18:52:37.357Z] $ docker rm -f --volumes 2a304f09711cd7d828147f6ae5c8ed1d6a297b615c06de6206721468f6a43f57 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T18:52:38.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T18:52:38.558Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T18:52:39.010Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T18:52:39.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T18:52:39.942Z] + ls -al . [2023-04-25T18:52:39.942Z] total 176 [2023-04-25T18:52:39.942Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 18:49 . [2023-04-25T18:52:39.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 18:47 .. [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 18:47 .dockerignore [2023-04-25T18:52:39.942Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 18:47 .git [2023-04-25T18:52:39.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:47 .github [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 18:47 .gitignore [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 18:47 .golangci.yml [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 25 18:47 Attribution.txt [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 25 18:47 CHANGELOG.md [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 25 18:47 Dockerfile [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 18:47 GOVERNANCE.md [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 18:47 Jenkinsfile [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 18:47 LICENSE [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 25 18:47 Makefile [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 18:47 OWNERS.md [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 25 18:47 README.md [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 18:45 VERSION [2023-04-25T18:52:39.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 18:47 bin [2023-04-25T18:52:39.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:47 cmd [2023-04-25T18:52:39.942Z] -rw-r--r-- 1 jenkins jenkins 16535 Apr 25 18:51 coverage.out [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 25 18:47 go.mod [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 18:47 go.sum [2023-04-25T18:52:39.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 18:47 internal [2023-04-25T18:52:39.942Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 18:47 mock [2023-04-25T18:52:39.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 18:47 snap [2023-04-25T18:52:39.942Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:52:40.442Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=481898a812190d9751794065b05ae235fd744a6b --label arch=arm64 --label version=0.0.0 . [2023-04-25T18:52:40.739Z] Sending build context to Docker daemon 3.425MB [2023-04-25T18:52:40.739Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T18:52:40.739Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-25T18:52:40.739Z] ---> 9dc3a33a2cb9 [2023-04-25T18:52:40.739Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-25T18:52:40.739Z] ---> Running in 3b836336c4f2 [2023-04-25T18:52:41.039Z] Removing intermediate container 3b836336c4f2 [2023-04-25T18:52:41.039Z] ---> da6e29006359 [2023-04-25T18:52:41.039Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T18:52:41.341Z] ---> Running in 3f1d8580961f [2023-04-25T18:52:41.632Z] Removing intermediate container 3f1d8580961f [2023-04-25T18:52:41.632Z] ---> 927bcf7e9818 [2023-04-25T18:52:41.632Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-25T18:52:41.632Z] ---> Running in 8cfa0265e503 [2023-04-25T18:52:41.908Z] Removing intermediate container 8cfa0265e503 [2023-04-25T18:52:41.908Z] ---> 06386b9fdd45 [2023-04-25T18:52:41.908Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-25T18:52:41.908Z] ---> Running in d01f34c6b765 [2023-04-25T18:52:42.186Z] Removing intermediate container d01f34c6b765 [2023-04-25T18:52:42.186Z] ---> fa69bc9abc80 [2023-04-25T18:52:42.186Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-25T18:52:42.478Z] ---> Running in 2ba732fe84dd [2023-04-25T18:52:43.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T18:52:44.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T18:52:45.013Z] OK: 268 MiB in 57 packages [2023-04-25T18:52:45.988Z] Removing intermediate container 2ba732fe84dd [2023-04-25T18:52:45.988Z] ---> db6a490e77bb [2023-04-25T18:52:45.988Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-25T18:52:45.988Z] ---> Running in 891071192b50 [2023-04-25T18:52:46.263Z] Removing intermediate container 891071192b50 [2023-04-25T18:52:46.264Z] ---> ebbf68b4c807 [2023-04-25T18:52:46.264Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-25T18:52:48.853Z] ---> 8e42608f12f3 [2023-04-25T18:52:48.853Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T18:52:48.853Z] ---> Running in 508b8176961d [2023-04-25T18:52:51.447Z] Removing intermediate container 508b8176961d [2023-04-25T18:52:51.447Z] ---> 36a72bba7bd8 [2023-04-25T18:52:51.447Z] Step 11/24 : COPY . . [2023-04-25T18:52:52.414Z] ---> 8f7b477241af [2023-04-25T18:52:52.414Z] Step 12/24 : RUN $MAKE [2023-04-25T18:52:52.414Z] ---> Running in 47e3ce647d26 [2023-04-25T18:52:53.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-25T18:55:00.092Z] Removing intermediate container 47e3ce647d26 [2023-04-25T18:55:00.092Z] ---> 6d0a1fc25036 [2023-04-25T18:55:00.092Z] Step 13/24 : FROM alpine:3.17 [2023-04-25T18:55:00.092Z] 3.17: Pulling from library/alpine [2023-04-25T18:55:00.092Z] c41833b44d91: Already exists [2023-04-25T18:55:00.092Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T18:55:00.092Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T18:55:00.092Z] ---> 51e60588ff2c [2023-04-25T18:55:00.092Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-25T18:55:00.092Z] ---> Running in 50c30dbf60d5 [2023-04-25T18:55:00.092Z] Removing intermediate container 50c30dbf60d5 [2023-04-25T18:55:00.092Z] ---> dac0484e1737 [2023-04-25T18:55:00.092Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-25T18:55:00.092Z] ---> Running in 3effee710a02 [2023-04-25T18:55:00.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T18:55:00.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T18:55:00.363Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T18:55:00.363Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T18:55:00.363Z] OK: 8 MiB in 16 packages [2023-04-25T18:55:02.944Z] Removing intermediate container 3effee710a02 [2023-04-25T18:55:02.945Z] ---> 43624a7ccd45 [2023-04-25T18:55:02.945Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-25T18:55:04.355Z] ---> 1af9326d2128 [2023-04-25T18:55:04.355Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-25T18:55:04.621Z] ---> 4e74d0db896c [2023-04-25T18:55:04.621Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-25T18:55:05.205Z] ---> 986a0e2ab005 [2023-04-25T18:55:05.205Z] Step 19/24 : EXPOSE 59982 [2023-04-25T18:55:05.205Z] ---> Running in 3ce630f51cca [2023-04-25T18:55:05.473Z] Removing intermediate container 3ce630f51cca [2023-04-25T18:55:05.473Z] ---> b0e3b50049f6 [2023-04-25T18:55:05.473Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-25T18:55:05.473Z] ---> Running in 503a4ae4b864 [2023-04-25T18:55:05.742Z] Removing intermediate container 503a4ae4b864 [2023-04-25T18:55:05.742Z] ---> b061a5c392ae [2023-04-25T18:55:05.742Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T18:55:05.742Z] ---> Running in 30836246cabf [2023-04-25T18:55:06.010Z] Removing intermediate container 30836246cabf [2023-04-25T18:55:06.010Z] ---> 7b527b2281c5 [2023-04-25T18:55:06.010Z] Step 22/24 : LABEL arch=arm64 [2023-04-25T18:55:06.278Z] ---> Running in 056d65cd3663 [2023-04-25T18:55:06.544Z] Removing intermediate container 056d65cd3663 [2023-04-25T18:55:06.544Z] ---> ca95b1f86487 [2023-04-25T18:55:06.544Z] Step 23/24 : LABEL git_sha=481898a812190d9751794065b05ae235fd744a6b [2023-04-25T18:55:06.544Z] ---> Running in 30b680f4119b [2023-04-25T18:55:06.816Z] Removing intermediate container 30b680f4119b [2023-04-25T18:55:06.816Z] ---> 2d5ae32d398c [2023-04-25T18:55:06.816Z] Step 24/24 : LABEL version=0.0.0 [2023-04-25T18:55:06.816Z] ---> Running in 02ec0405f84c [2023-04-25T18:55:07.084Z] Removing intermediate container 02ec0405f84c [2023-04-25T18:55:07.084Z] ---> 79d6edddb8b0 [2023-04-25T18:55:07.084Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T18:55:07.351Z] Successfully built 79d6edddb8b0 [2023-04-25T18:55:07.351Z] Successfully tagged device-mqtt-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-04-25T18:55:08.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T18:55:08.147Z] [2023-04-25T18:55:08.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:55:08.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T18:55:08.552Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T18:55:08.552Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T18:55:08.552Z] 04944245beec: Pulling fs layer [2023-04-25T18:55:08.552Z] 699f458cf7ca: Pulling fs layer [2023-04-25T18:55:08.552Z] 765212b225bb: Pulling fs layer [2023-04-25T18:55:08.552Z] f23df028b6ca: Pulling fs layer [2023-04-25T18:55:08.552Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T18:55:08.552Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T18:55:08.552Z] 765212b225bb: Waiting [2023-04-25T18:55:08.552Z] f23df028b6ca: Waiting [2023-04-25T18:55:08.552Z] d65c8cfc05b1: Waiting [2023-04-25T18:55:08.820Z] 04944245beec: Verifying Checksum [2023-04-25T18:55:08.820Z] 04944245beec: Download complete [2023-04-25T18:55:08.820Z] 765212b225bb: Verifying Checksum [2023-04-25T18:55:08.820Z] 765212b225bb: Download complete [2023-04-25T18:55:08.820Z] f23df028b6ca: Verifying Checksum [2023-04-25T18:55:08.820Z] f23df028b6ca: Download complete [2023-04-25T18:55:08.820Z] d65c8cfc05b1: Download complete [2023-04-25T18:55:08.820Z] 699f458cf7ca: Verifying Checksum [2023-04-25T18:55:08.820Z] 699f458cf7ca: Download complete [2023-04-25T18:55:09.405Z] 8998bd30e6a1: Verifying Checksum [2023-04-25T18:55:09.405Z] 8998bd30e6a1: Download complete [2023-04-25T18:55:11.355Z] 2437ff75d9bd: Verifying Checksum [2023-04-25T18:55:11.355Z] 2437ff75d9bd: Download complete [2023-04-25T18:55:13.314Z] 8998bd30e6a1: Pull complete [2023-04-25T18:55:13.900Z] 04944245beec: Pull complete [2023-04-25T18:55:15.310Z] 699f458cf7ca: Pull complete [2023-04-25T18:55:15.577Z] 765212b225bb: Pull complete [2023-04-25T18:55:16.158Z] f23df028b6ca: Pull complete [2023-04-25T18:55:16.427Z] d65c8cfc05b1: Pull complete [2023-04-25T18:55:31.419Z] 2437ff75d9bd: Pull complete [2023-04-25T18:55:31.419Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T18:55:31.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T18:55:31.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:55:31.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-10862 does not seem to be running inside a container [2023-04-25T18:55:31.800Z] $ 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-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-04-25T18:55:34.270Z] $ docker top 06d30fdb20a04038843679c6582680d8156f31be4ad79c6a8fc5556eaf3ad6e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:34.820Z] ---> job-cost.sh [2023-04-25T18:55:35.085Z] lf-activate-venv: SKIPPING [2023-04-25T18:55:35.085Z] INFO: No Stack... [2023-04-25T18:55:35.350Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T18:55:36.304Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T18:55:36.641Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-04-25T18:55:36.641Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T18:55:36.721Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [2023-04-25T18:55:36.726Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] did not exist. Created. [2023-04-25T18:55:36.726Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T18:55:37.134Z] /w/workspace/device-mqtt-go/1@tmp/durable-67edfb55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T18:55:37.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T18:55:37.519Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T18:55:37.562Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T18:55:37.578Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T18:55:37.665Z] $ docker stop --time=1 06d30fdb20a04038843679c6582680d8156f31be4ad79c6a8fc5556eaf3ad6e5 [2023-04-25T18:55:41.135Z] $ docker rm -f --volumes 06d30fdb20a04038843679c6582680d8156f31be4ad79c6a8fc5556eaf3ad6e5 [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-04-25T18:55:42.211Z] provisioning config files... [2023-04-25T18:55:42.217Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config14779344369356779681tmp [Pipeline] { [Pipeline] sh [2023-04-25T18:55:42.557Z] + set +x [2023-04-25T18:55:42.557Z] + curl -s https://codecov.io/bash [2023-04-25T18:55:42.557Z] + bash -s -- [2023-04-25T18:55:42.557Z] [2023-04-25T18:55:42.557Z] _____ _ [2023-04-25T18:55:42.557Z] / ____| | | [2023-04-25T18:55:42.557Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T18:55:42.557Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T18:55:42.557Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T18:55:42.557Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T18:55:42.557Z] Bash-1.0.6 [2023-04-25T18:55:42.557Z] [2023-04-25T18:55:42.557Z] [2023-04-25T18:55:42.557Z] ==> git version 2.25.1 found [2023-04-25T18:55:42.557Z] ==> 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-04-25T18:55:42.557Z] Release-Date: 2020-01-08 [2023-04-25T18:55:42.557Z] 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-04-25T18:55:42.557Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T18:55:42.557Z] ==> Jenkins CI detected. [2023-04-25T18:55:42.557Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-579 [2023-04-25T18:55:42.557Z] project root: . [2023-04-25T18:55:42.557Z] --> token set from env [2023-04-25T18:55:42.557Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T18:55:42.816Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T18:55:42.816Z] ==> Python coveragepy not found [2023-04-25T18:55:42.816Z] ==> Searching for coverage reports in: [2023-04-25T18:55:42.816Z] + . [2023-04-25T18:55:42.816Z] -> Found 1 reports [2023-04-25T18:55:42.816Z] ==> Detecting git/mercurial file structure [2023-04-25T18:55:42.816Z] ==> Reading reports [2023-04-25T18:55:42.816Z] + ./coverage.out bytes=16535 [2023-04-25T18:55:42.816Z] ==> Appending adjustments [2023-04-25T18:55:42.816Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T18:55:42.816Z] + Found adjustments [2023-04-25T18:55:42.816Z] ==> Gzipping contents [2023-04-25T18:55:42.816Z] 4.0K /tmp/codecov.JXxN2w.gz [2023-04-25T18:55:42.816Z] ==> Uploading reports [2023-04-25T18:55:42.816Z] url: https://codecov.io [2023-04-25T18:55:42.816Z] query: branch=PR-579&commit=2311851825edac656fedf64e6c1305d79ec5cf89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=579&job=&cmd_args= [2023-04-25T18:55:42.816Z] -> Pinging Codecov [2023-04-25T18:55:42.816Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-579&commit=2311851825edac656fedf64e6c1305d79ec5cf89&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=579&job=&cmd_args= [2023-04-25T18:55:43.075Z] -> Uploading to [2023-04-25T18:55:43.075Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/7D719EC7BBE17E464838252E33014C33/2311851825edac656fedf64e6c1305d79ec5cf89/2bcb2ff0-b386-4f9b-a6e8-7667bea2a279.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T185542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c393bb5f2559bc57b2b608d176cfce7791874fc371ba21160925f271f78965e [2023-04-25T18:55:43.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T18:55:43.075Z] Dload Upload Total Spent Left Speed [2023-04-25T18:55:43.335Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 13117 --:--:-- --:--:-- --:--:-- 13117 [2023-04-25T18:55:43.335Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2311851825edac656fedf64e6c1305d79ec5cf89 [Pipeline] } [2023-04-25T18:55:43.364Z] 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-04-25T18:55:45.249Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives ] [2023-04-25T18:55:45.249Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives [2023-04-25T18:55:45.249Z] total 16 [2023-04-25T18:55:45.249Z] drwxr-xr-x 3 root root 4096 Apr 25 18:47 . [2023-04-25T18:55:45.249Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 18:47 .. [2023-04-25T18:55:45.249Z] drwxr-xr-x 2 root root 4096 Apr 25 18:47 cost [2023-04-25T18:55:45.249Z] -rw-r--r-- 1 root root 86 Apr 25 18:47 cost.csv [2023-04-25T18:55:45.249Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives [2023-04-25T18:55:45.249Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives [2023-04-25T18:55:45.249Z] total 16 [2023-04-25T18:55:45.249Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 18:47 . [2023-04-25T18:55:45.249Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 18:47 .. [2023-04-25T18:55:45.249Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 18:47 cost [2023-04-25T18:55:45.249Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 25 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:45.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:46.464Z] ---> package-listing.sh [2023-04-25T18:55:46.464Z] ++ facter osfamily [2023-04-25T18:55:46.464Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T18:55:46.723Z] + OS_FAMILY=debian [2023-04-25T18:55:46.723Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-579 [2023-04-25T18:55:46.723Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T18:55:46.723Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T18:55:46.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T18:55:46.723Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T18:55:46.723Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-579 ']' [2023-04-25T18:55:46.723Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T18:55:46.723Z] + case "${OS_FAMILY}" in [2023-04-25T18:55:46.723Z] + dpkg -l [2023-04-25T18:55:46.723Z] + grep '^ii' [2023-04-25T18:55:46.723Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T18:55:46.723Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T18:55:46.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T18:55:46.723Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-579 ']' [2023-04-25T18:55:46.723Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/ [2023-04-25T18:55:46.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-579/archives/ [Pipeline] echo [2023-04-25T18:55:46.757Z] 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/gexfoundry_device-mqtt-go_PR-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-25T18:55:47.049Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T18:55:47.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T18:55:47.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T18:55:47.827Z] prd-ubuntu20.04-docker-8c-8g-10861 does not seem to be running inside a container [2023-04-25T18:55:47.871Z] $ 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/gexfoundry_device-mqtt-go_PR-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-579 -v /w/workspace/gexfoundry_device-mqtt-go_PR-579:/w/workspace/gexfoundry_device-mqtt-go_PR-579:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-579@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T18:55:48.055Z] $ docker top c8d2139809907a1913ccf60d593aca977e1b1658dba8437abfe5f497d56fb819 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T18:55:48.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T18:55:48.745Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T18:55:49.127Z] + ls /var/log/sa-host [2023-04-25T18:55:49.127Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T18:55:49.357Z] provisioning config files... [2023-04-25T18:55:49.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-579@tmp/config7044128159722869677tmp [Pipeline] { [Pipeline] echo [2023-04-25T18:55:49.419Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:49.730Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T18:55:49.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:50.160Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T18:55:50.195Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:50.507Z] ---> sudo-logs.sh [2023-04-25T18:55:50.507Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T18:55:50.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:50.909Z] ---> job-cost.sh [2023-04-25T18:55:50.909Z] lf-activate-venv: SKIPPING [2023-04-25T18:55:50.909Z] DEBUG: total: 0.2199999988079071 [2023-04-25T18:55:50.909Z] INFO: Retrieving Stack Cost... [2023-04-25T18:55:51.478Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T18:55:51.738Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T18:55:51.771Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T18:55:52.080Z] ---> logs-deploy.sh [2023-04-25T18:55:52.081Z] lf-activate-venv: SKIPPING [2023-04-25T18:55:52.081Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-579/1 [2023-04-25T18:55:52.081Z] INFO: archiving workspace using pattern(s): [2023-04-25T18:55:53.021Z] Archives upload complete. [2023-04-25T18:55:53.281Z] INFO: archiving logs to Nexus