Pull request #500 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68+bc7652beee9a90296fe0b57947c4589a421f5e02 (d3009cd69a92e919d17d90d8d85ae61e0bfbf661) 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-ssh10172082771361694909.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17464756982760295705.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3031083179735837462.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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4078408815031254510.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17597406579846230171.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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2918148422953432637.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-7515 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-500 # 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 Merge succeeded, producing 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 Checking out Revision 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 (PR-500) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T02:39:46.674Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T02:39:46.840Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T02:39:46.935Z] ========================================================= [2023-02-27T02:39:46.935Z] EdgeX Global Pipelines Version Info [2023-02-27T02:39:46.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 # timeout=10 [2023-02-27T02:39:47.672Z] ------------------- [2023-02-27T02:39:47.672Z] stable info: [2023-02-27T02:39:47.672Z] ------------------- [2023-02-27T02:39:47.672Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T02:39:47.672Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T02:39:47.672Z] Message: update stable to v1.0.244 [2023-02-27T02:39:48.244Z] ------------------- [2023-02-27T02:39:48.244Z] experimental info: [2023-02-27T02:39:48.244Z] ------------------- [2023-02-27T02:39:48.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T02:39:48.244Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T02:39:48.244Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T02:39:48.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-27T02:39:48.641Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-27T02:39:48.684Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T02:39:48.728Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T02:39:48.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T02:39:48.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T02:39:48.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T02:39:48.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T02:39:48.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T02:39:48.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T02:39:49.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T02:39:49.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-27T02:39:49.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T02:39:49.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T02:39:49.204Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T02:39:49.246Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T02:39:49.293Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T02:39:49.337Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T02:39:49.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T02:39:49.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T02:39:49.466Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-27T02:39:49.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-27T02:39:49.550Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T02:39:49.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T02:39:49.632Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T02:39:49.671Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T02:39:49.716Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T02:39:49.757Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2023-02-27T02:39:49.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2023-02-27T02:39:49.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2023-02-27T02:39:49.878Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [Pipeline] echo [2023-02-27T02:39:49.917Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c418a1 [Pipeline] echo [2023-02-27T02:39:49.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T02:39:50.072Z] provisioning config files... [2023-02-27T02:39:50.088Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config13479375006707693264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:39:50.438Z] ---> docker-login.sh [2023-02-27T02:39:50.438Z] nexus3.edgexfoundry.org:10001 [2023-02-27T02:39:50.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:39:50.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:39:50.701Z] Configure a credential helper to remove this warning. See [2023-02-27T02:39:50.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:39:50.701Z] [2023-02-27T02:39:50.701Z] Login Succeeded [2023-02-27T02:39:50.701Z] nexus3.edgexfoundry.org:10002 [2023-02-27T02:39:50.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:39:50.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:39:50.961Z] Configure a credential helper to remove this warning. See [2023-02-27T02:39:50.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:39:50.961Z] [2023-02-27T02:39:50.961Z] Login Succeeded [2023-02-27T02:39:50.961Z] nexus3.edgexfoundry.org:10003 [2023-02-27T02:39:50.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:39:50.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:39:50.961Z] Configure a credential helper to remove this warning. See [2023-02-27T02:39:50.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:39:50.961Z] [2023-02-27T02:39:50.961Z] Login Succeeded [2023-02-27T02:39:50.961Z] nexus3.edgexfoundry.org:10004 [2023-02-27T02:39:50.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:39:50.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:39:50.961Z] Configure a credential helper to remove this warning. See [2023-02-27T02:39:50.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:39:50.961Z] [2023-02-27T02:39:50.961Z] Login Succeeded [2023-02-27T02:39:50.961Z] docker.io [2023-02-27T02:39:51.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:39:51.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:39:51.482Z] Configure a credential helper to remove this warning. See [2023-02-27T02:39:51.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:39:51.482Z] [2023-02-27T02:39:51.482Z] Login Succeeded [2023-02-27T02:39:51.482Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T02:39:51.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T02:39:52.146Z] + git rev-list -1 --merges 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68~1..4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [Pipeline] echo [2023-02-27T02:39:52.214Z] -----------> git rev-list -1 --merges 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68~1..4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [false] [Pipeline] sh [2023-02-27T02:39:52.526Z] + git log --format=format:%s -1 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [Pipeline] echo [2023-02-27T02:39:52.562Z] ========================================================= [2023-02-27T02:39:52.562Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T02:39:52.562Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T02:39:53.000Z] + git log --format=format:%s -1 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [Pipeline] echo [2023-02-27T02:39:53.032Z] [semverPrep] GIT_COMMIT: 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [Pipeline] echo [2023-02-27T02:39:53.063Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T02:39:53.437Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T02:39:53.437Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T02:39:53.437Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T02:39:53.437Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T02:39:53.437Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T02:39:53.437Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T02:39:53.437Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:39:53.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T02:39:53.865Z] [2023-02-27T02:39:53.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:39:54.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T02:39:54.258Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T02:39:54.258Z] b85a868b505f: Pulling fs layer [2023-02-27T02:39:54.258Z] e2be974225ed: Pulling fs layer [2023-02-27T02:39:54.258Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T02:39:54.258Z] 988bab9f4d93: Pulling fs layer [2023-02-27T02:39:54.258Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T02:39:54.258Z] eaf3925da568: Pulling fs layer [2023-02-27T02:39:54.258Z] bab4dde63d76: Pulling fs layer [2023-02-27T02:39:54.258Z] bde34c3a00c8: Pulling fs layer [2023-02-27T02:39:54.258Z] b352a97aabf1: Pulling fs layer [2023-02-27T02:39:54.258Z] 4872d77fe225: Pulling fs layer [2023-02-27T02:39:54.258Z] 5851b861e8e6: Pulling fs layer [2023-02-27T02:39:54.258Z] bab4dde63d76: Waiting [2023-02-27T02:39:54.258Z] bde34c3a00c8: Waiting [2023-02-27T02:39:54.258Z] b352a97aabf1: Waiting [2023-02-27T02:39:54.258Z] 1469e6f7b9e6: Waiting [2023-02-27T02:39:54.258Z] 988bab9f4d93: Waiting [2023-02-27T02:39:54.258Z] eaf3925da568: Waiting [2023-02-27T02:39:54.258Z] 5851b861e8e6: Waiting [2023-02-27T02:39:54.258Z] e2be974225ed: Verifying Checksum [2023-02-27T02:39:54.258Z] e2be974225ed: Download complete [2023-02-27T02:39:54.258Z] 988bab9f4d93: Verifying Checksum [2023-02-27T02:39:54.258Z] 988bab9f4d93: Download complete [2023-02-27T02:39:54.519Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T02:39:54.519Z] 1469e6f7b9e6: Download complete [2023-02-27T02:39:54.519Z] eaf3925da568: Verifying Checksum [2023-02-27T02:39:54.519Z] eaf3925da568: Download complete [2023-02-27T02:39:54.519Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T02:39:54.519Z] 339a4e72a1f5: Download complete [2023-02-27T02:39:54.519Z] bde34c3a00c8: Verifying Checksum [2023-02-27T02:39:54.519Z] bde34c3a00c8: Download complete [2023-02-27T02:39:54.519Z] b352a97aabf1: Download complete [2023-02-27T02:39:54.519Z] 4872d77fe225: Verifying Checksum [2023-02-27T02:39:54.519Z] 4872d77fe225: Download complete [2023-02-27T02:39:54.519Z] 5851b861e8e6: Download complete [2023-02-27T02:39:54.519Z] b85a868b505f: Verifying Checksum [2023-02-27T02:39:54.519Z] b85a868b505f: Download complete [2023-02-27T02:39:54.778Z] bab4dde63d76: Verifying Checksum [2023-02-27T02:39:54.778Z] bab4dde63d76: Download complete [2023-02-27T02:39:55.713Z] b85a868b505f: Pull complete [2023-02-27T02:39:55.973Z] e2be974225ed: Pull complete [2023-02-27T02:39:56.233Z] 339a4e72a1f5: Pull complete [2023-02-27T02:39:56.493Z] 988bab9f4d93: Pull complete [2023-02-27T02:39:56.758Z] 1469e6f7b9e6: Pull complete [2023-02-27T02:39:56.758Z] eaf3925da568: Pull complete [2023-02-27T02:39:58.662Z] bab4dde63d76: Pull complete [2023-02-27T02:39:58.662Z] bde34c3a00c8: Pull complete [2023-02-27T02:39:58.662Z] b352a97aabf1: Pull complete [2023-02-27T02:39:58.662Z] 4872d77fe225: Pull complete [2023-02-27T02:39:58.662Z] 5851b861e8e6: Pull complete [2023-02-27T02:39:58.662Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T02:39:58.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T02:39:58.662Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:39:58.893Z] prd-ubuntu20.04-docker-8c-8g-7515 does not seem to be running inside a container [2023-02-27T02:39:58.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-27T02:40:02.675Z] $ docker top d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 -eo pid,comm [2023-02-27T02:40:02.718Z] 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-02-27T02:40:02.718Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T02:40:02.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T02:40:02.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T02:40:02.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T02:40:02.981Z] $ docker exec d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 ssh-agent [2023-02-27T02:40:03.085Z] SSH_AUTH_SOCK=/tmp/ssh-XzzBre1RGWL7/agent.31 [2023-02-27T02:40:03.085Z] SSH_AGENT_PID=37 [2023-02-27T02:40:03.091Z] Running ssh-add (command line suppressed) [2023-02-27T02:40:03.184Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_10219151943758146577.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_10219151943758146577.key) [2023-02-27T02:40:03.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T02:40:03.523Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T02:40:03.553Z] $ docker exec --env ******** --env ******** d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 ssh-agent -k [2023-02-27T02:40:03.647Z] unset SSH_AUTH_SOCK; [2023-02-27T02:40:03.647Z] unset SSH_AGENT_PID; [2023-02-27T02:40:03.647Z] echo Agent pid 37 killed; [2023-02-27T02:40:03.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T02:40:03.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T02:40:03.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T02:40:03.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T02:40:03.851Z] $ docker exec d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 ssh-agent [2023-02-27T02:40:03.953Z] SSH_AUTH_SOCK=/tmp/ssh-bk6P9q3p70Iw/agent.69 [2023-02-27T02:40:03.953Z] SSH_AGENT_PID=75 [2023-02-27T02:40:03.957Z] Running ssh-add (command line suppressed) [2023-02-27T02:40:04.064Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_4593856905486698537.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_4593856905486698537.key) [2023-02-27T02:40:04.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T02:40:04.410Z] + git semver init [2023-02-27T02:40:04.674Z] 2023-02-27 02:40:04,581 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T02:40:04.674Z] 2023-02-27 02:40:04,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-02-27T02:40:04.674Z] 2023-02-27 02:40:04,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-02-27T02:40:04.674Z] 2023-02-27 02:40:04,583 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500, universal_newlines=False, shell=None, istream=None) [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,500 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.git/info/exclude [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 with force:False [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,501 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,505 [execute] INFO git cat-file --batch-check [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,511 [execute] INFO git cat-file --batch [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T02:40:05.614Z] 2023-02-27 02:40:05,515 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-02-27T02:40:05.614Z] 0.0.0 [Pipeline] } [2023-02-27T02:40:05.647Z] $ docker exec --env ******** --env ******** d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 ssh-agent -k [2023-02-27T02:40:05.733Z] unset SSH_AUTH_SOCK; [2023-02-27T02:40:05.733Z] unset SSH_AGENT_PID; [2023-02-27T02:40:05.733Z] echo Agent pid 75 killed; [2023-02-27T02:40:05.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T02:40:06.172Z] + git semver [Pipeline] } [2023-02-27T02:40:06.459Z] $ docker stop --time=1 d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 [2023-02-27T02:40:07.714Z] $ docker rm -f --volumes d932e2e7a235cea8fe6abe7bc7ede54e09c0c75faef1cc49c11b3ecebb781795 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T02:40:08.102Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T02:40:08.374Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T02:40:08.395Z] [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-02-27T02:40:09.021Z] provisioning config files... [2023-02-27T02:40:09.030Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config16211775895385138257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:40:09.379Z] ---> docker-login.sh [2023-02-27T02:40:09.380Z] nexus3.edgexfoundry.org:10001 [2023-02-27T02:40:09.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:40:09.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:40:09.380Z] Configure a credential helper to remove this warning. See [2023-02-27T02:40:09.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:40:09.380Z] [2023-02-27T02:40:09.380Z] Login Succeeded [2023-02-27T02:40:09.380Z] nexus3.edgexfoundry.org:10002 [2023-02-27T02:40:09.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:40:09.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:40:09.380Z] Configure a credential helper to remove this warning. See [2023-02-27T02:40:09.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:40:09.380Z] [2023-02-27T02:40:09.380Z] Login Succeeded [2023-02-27T02:40:09.380Z] nexus3.edgexfoundry.org:10003 [2023-02-27T02:40:09.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:40:09.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:40:09.639Z] Configure a credential helper to remove this warning. See [2023-02-27T02:40:09.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:40:09.639Z] [2023-02-27T02:40:09.639Z] Login Succeeded [2023-02-27T02:40:09.639Z] nexus3.edgexfoundry.org:10004 [2023-02-27T02:40:09.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:40:09.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:40:09.639Z] Configure a credential helper to remove this warning. See [2023-02-27T02:40:09.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:40:09.639Z] [2023-02-27T02:40:09.639Z] Login Succeeded [2023-02-27T02:40:09.639Z] docker.io [2023-02-27T02:40:09.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:40:09.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:40:09.899Z] Configure a credential helper to remove this warning. See [2023-02-27T02:40:09.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:40:09.899Z] [2023-02-27T02:40:09.899Z] Login Succeeded [2023-02-27T02:40:09.899Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T02:40:09.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T02:40:10.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T02:40:10.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T02:40:10.190Z] ========================================================= [2023-02-27T02:40:10.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T02:40:10.191Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:40:10.663Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T02:40:10.663Z] Sending build context to Docker daemon 6.336MB [2023-02-27T02:40:10.663Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T02:40:10.663Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T02:40:10.663Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T02:40:10.663Z] 213ec9aee27d: Pulling fs layer [2023-02-27T02:40:10.663Z] 4583459ba037: Pulling fs layer [2023-02-27T02:40:10.663Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T02:40:10.663Z] 53926ce57604: Pulling fs layer [2023-02-27T02:40:10.663Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T02:40:10.663Z] 22ff95d597cd: Pulling fs layer [2023-02-27T02:40:10.663Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T02:40:10.663Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T02:40:10.663Z] a7acece74701: Pulling fs layer [2023-02-27T02:40:10.663Z] 53926ce57604: Waiting [2023-02-27T02:40:10.663Z] 21b2b0c7a3f4: Waiting [2023-02-27T02:40:10.663Z] 22ff95d597cd: Waiting [2023-02-27T02:40:10.663Z] 12d6caf4c0d1: Waiting [2023-02-27T02:40:10.663Z] 96b7cbca73a9: Waiting [2023-02-27T02:40:10.663Z] a7acece74701: Waiting [2023-02-27T02:40:10.663Z] 93c1e223e6f2: Verifying Checksum [2023-02-27T02:40:10.663Z] 93c1e223e6f2: Download complete [2023-02-27T02:40:10.663Z] 4583459ba037: Verifying Checksum [2023-02-27T02:40:10.663Z] 4583459ba037: Download complete [2023-02-27T02:40:10.926Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T02:40:10.926Z] 21b2b0c7a3f4: Download complete [2023-02-27T02:40:10.926Z] 22ff95d597cd: Download complete [2023-02-27T02:40:10.926Z] 213ec9aee27d: Verifying Checksum [2023-02-27T02:40:10.926Z] 12d6caf4c0d1: Download complete [2023-02-27T02:40:10.926Z] 213ec9aee27d: Pull complete [2023-02-27T02:40:11.195Z] 4583459ba037: Pull complete [2023-02-27T02:40:11.195Z] 93c1e223e6f2: Pull complete [2023-02-27T02:40:11.458Z] a7acece74701: Verifying Checksum [2023-02-27T02:40:11.458Z] a7acece74701: Download complete [2023-02-27T02:40:11.717Z] 53926ce57604: Verifying Checksum [2023-02-27T02:40:11.717Z] 53926ce57604: Download complete [2023-02-27T02:40:11.717Z] 96b7cbca73a9: Verifying Checksum [2023-02-27T02:40:11.717Z] 96b7cbca73a9: Download complete [2023-02-27T02:40:14.996Z] 53926ce57604: Pull complete [2023-02-27T02:40:14.996Z] 21b2b0c7a3f4: Pull complete [2023-02-27T02:40:14.996Z] 22ff95d597cd: Pull complete [2023-02-27T02:40:14.996Z] 12d6caf4c0d1: Pull complete [2023-02-27T02:40:16.895Z] 96b7cbca73a9: Pull complete [2023-02-27T02:40:17.463Z] a7acece74701: Pull complete [2023-02-27T02:40:17.463Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T02:40:17.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T02:40:17.463Z] ---> db6d94c90886 [2023-02-27T02:40:17.463Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T02:40:22.761Z] ---> Running in fb0427047ef9 [2023-02-27T02:40:22.761Z] Removing intermediate container fb0427047ef9 [2023-02-27T02:40:22.761Z] ---> 755e248af251 [2023-02-27T02:40:22.761Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T02:40:22.761Z] ---> Running in f18585a550ce [2023-02-27T02:40:22.761Z] Removing intermediate container f18585a550ce [2023-02-27T02:40:22.761Z] ---> cd929a566835 [2023-02-27T02:40:22.761Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T02:40:23.019Z] ---> Running in ce06ad6ea4b7 [2023-02-27T02:40:23.019Z] Removing intermediate container ce06ad6ea4b7 [2023-02-27T02:40:23.019Z] ---> 77594d4e42b8 [2023-02-27T02:40:23.019Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T02:40:23.019Z] ---> Running in c3050df3bc0e [2023-02-27T02:40:23.019Z] Removing intermediate container c3050df3bc0e [2023-02-27T02:40:23.019Z] ---> 9b3434bd5f3a [2023-02-27T02:40:23.019Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T02:40:23.019Z] ---> Running in 94d722de17ae [2023-02-27T02:40:23.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T02:40:23.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T02:40:23.796Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T02:40:23.796Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T02:40:23.796Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T02:40:23.796Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T02:40:23.796Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T02:40:23.796Z] OK: 216 MiB in 55 packages [2023-02-27T02:40:23.829Z] Still waiting to schedule task [2023-02-27T02:40:23.830Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7509’ is offline [2023-02-27T02:40:24.363Z] Removing intermediate container 94d722de17ae [2023-02-27T02:40:24.363Z] ---> 30ddef59a848 [2023-02-27T02:40:24.363Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-27T02:40:24.363Z] ---> Running in 6a85813ab345 [2023-02-27T02:40:24.363Z] Removing intermediate container 6a85813ab345 [2023-02-27T02:40:24.363Z] ---> e969fed1404d [2023-02-27T02:40:24.363Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T02:40:24.629Z] ---> 4f65d6be3659 [2023-02-27T02:40:24.629Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T02:40:24.629Z] ---> Running in 4c7fedce6091 [2023-02-27T02:40:56.717Z] Removing intermediate container 4c7fedce6091 [2023-02-27T02:40:56.717Z] ---> b3c83fd9231b [2023-02-27T02:40:56.717Z] Step 11/12 : COPY . . [2023-02-27T02:40:56.717Z] ---> 625cdab23d7c [2023-02-27T02:40:56.717Z] Step 12/12 : RUN $MAKE [2023-02-27T02:40:56.717Z] ---> Running in 49478e309a18 [2023-02-27T02:40:56.717Z] noop [2023-02-27T02:40:56.718Z] Removing intermediate container 49478e309a18 [2023-02-27T02:40:56.718Z] ---> b416a591d990 [2023-02-27T02:40:56.718Z] Successfully built b416a591d990 [2023-02-27T02:40:56.718Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:40:57.178Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T02:40:57.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:40:57.320Z] prd-ubuntu20.04-docker-8c-8g-7515 does not seem to be running inside a container [2023-02-27T02:40:57.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T02:40:57.687Z] $ docker top c458dc0147653a3c49786e13b4450226ec85265505d0f20cc2c876ec22ac4aed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T02:40:58.058Z] + go version [2023-02-27T02:40:58.059Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T02:40:58.093Z] $ docker stop --time=1 c458dc0147653a3c49786e13b4450226ec85265505d0f20cc2c876ec22ac4aed [2023-02-27T02:40:59.326Z] $ docker rm -f --volumes c458dc0147653a3c49786e13b4450226ec85265505d0f20cc2c876ec22ac4aed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:41:00.039Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T02:41:00.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:41:00.188Z] prd-ubuntu20.04-docker-8c-8g-7515 does not seem to be running inside a container [2023-02-27T02:41:00.233Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T02:41:00.552Z] $ docker top 93c72a636d22b430ece2c31c9cb1c5e65eb3a1740cb0250c51dc7722479c3064 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T02:41:00.927Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] fileExists [Pipeline] sh [2023-02-27T02:41:01.285Z] + make test [2023-02-27T02:41:01.285Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T02:41:01.543Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-27T02:41:09.744Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-27T02:41:09.744Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-02-27T02:41:09.744Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-27T02:41:16.311Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-27T02:41:16.311Z] go vet ./... [2023-02-27T02:41:18.837Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T02:41:18.837Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T02:41:18.837Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T02:41:18.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T02:41:18.908Z] $ docker stop --time=1 93c72a636d22b430ece2c31c9cb1c5e65eb3a1740cb0250c51dc7722479c3064 [2023-02-27T02:41:21.949Z] $ docker rm -f --volumes 93c72a636d22b430ece2c31c9cb1c5e65eb3a1740cb0250c51dc7722479c3064 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T02:41:22.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T02:41:22.516Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T02:41:23.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T02:41:23.534Z] + ls -al . [2023-02-27T02:41:23.534Z] total 192 [2023-02-27T02:41:23.534Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 02:41 . [2023-02-27T02:41:23.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 02:39 .. [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 02:39 .dockerignore [2023-02-27T02:41:23.534Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 02:41 .git [2023-02-27T02:41:23.534Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:39 .github [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 02:39 .gitignore [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 02:39 .golangci.yml [2023-02-27T02:41:23.534Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 02:40 .semver [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 27 02:39 Attribution.txt [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 27 02:39 CHANGELOG.md [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 27 02:39 Dockerfile [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 02:39 GOVERNANCE.md [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 27 02:39 Jenkinsfile [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 02:39 LICENSE [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 27 02:39 Makefile [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 02:39 OWNERS.md [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 27 02:39 README.md [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 02:40 VERSION [2023-02-27T02:41:23.534Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 02:39 bin [2023-02-27T02:41:23.534Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:39 cmd [2023-02-27T02:41:23.534Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 27 02:41 coverage.out [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 3464 Feb 27 02:39 go.mod [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 45013 Feb 27 02:39 go.sum [2023-02-27T02:41:23.534Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:39 internal [2023-02-27T02:41:23.534Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 02:39 mock [2023-02-27T02:41:23.534Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 02:39 snap [2023-02-27T02:41:23.534Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 27 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:41:23.953Z] + 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=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 --label arch=amd64 --label version=0.0.0 . [2023-02-27T02:41:23.953Z] Sending build context to Docker daemon 6.354MB [2023-02-27T02:41:23.953Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T02:41:23.953Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-27T02:41:23.953Z] ---> b416a591d990 [2023-02-27T02:41:23.953Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-27T02:41:23.953Z] ---> Running in 0c13e3603be7 [2023-02-27T02:41:24.213Z] Removing intermediate container 0c13e3603be7 [2023-02-27T02:41:24.213Z] ---> 7d9937f16625 [2023-02-27T02:41:24.213Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T02:41:24.213Z] ---> Running in 47aeca99f20f [2023-02-27T02:41:24.213Z] Removing intermediate container 47aeca99f20f [2023-02-27T02:41:24.213Z] ---> 76c31d19254a [2023-02-27T02:41:24.213Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T02:41:24.213Z] ---> Running in 621ca6b16075 [2023-02-27T02:41:24.213Z] Removing intermediate container 621ca6b16075 [2023-02-27T02:41:24.213Z] ---> cbe5f9918ae6 [2023-02-27T02:41:24.213Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T02:41:24.472Z] ---> Running in fb00c7f5e1f4 [2023-02-27T02:41:24.472Z] Removing intermediate container fb00c7f5e1f4 [2023-02-27T02:41:24.472Z] ---> 8282d4e5acd4 [2023-02-27T02:41:24.472Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T02:41:24.472Z] ---> Running in 108e0e8cde59 [2023-02-27T02:41:24.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T02:41:24.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T02:41:25.251Z] OK: 216 MiB in 55 packages [2023-02-27T02:41:25.512Z] Removing intermediate container 108e0e8cde59 [2023-02-27T02:41:25.512Z] ---> d39b714cd0f4 [2023-02-27T02:41:25.512Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-27T02:41:25.512Z] ---> Running in 1b84ead9ddaa [2023-02-27T02:41:25.512Z] Removing intermediate container 1b84ead9ddaa [2023-02-27T02:41:25.512Z] ---> 3874d05a16f8 [2023-02-27T02:41:25.512Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-27T02:41:25.772Z] ---> c3c2dfeb58eb [2023-02-27T02:41:25.772Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T02:41:25.772Z] ---> Running in d5e8bac038d5 [2023-02-27T02:41:26.338Z] Removing intermediate container d5e8bac038d5 [2023-02-27T02:41:26.338Z] ---> f702c3fccb4d [2023-02-27T02:41:26.338Z] Step 11/24 : COPY . . [2023-02-27T02:41:27.020Z] ---> fb23312007fe [2023-02-27T02:41:27.021Z] Step 12/24 : RUN $MAKE [2023-02-27T02:41:27.021Z] ---> Running in 4fcd0bbc2c97 [2023-02-27T02:41:27.279Z] 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-02-27T02:41:49.390Z] Removing intermediate container 4fcd0bbc2c97 [2023-02-27T02:41:49.390Z] ---> fd5cbf6f6142 [2023-02-27T02:41:49.390Z] Step 13/24 : FROM alpine:3.16 [2023-02-27T02:41:49.390Z] 3.16: Pulling from library/alpine [2023-02-27T02:41:49.390Z] ef5531b6e74e: Pulling fs layer [2023-02-27T02:41:49.390Z] ef5531b6e74e: Verifying Checksum [2023-02-27T02:41:49.390Z] ef5531b6e74e: Download complete [2023-02-27T02:41:49.390Z] ef5531b6e74e: Pull complete [2023-02-27T02:41:49.390Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T02:41:49.390Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T02:41:49.390Z] ---> dfd21b5a31f5 [2023-02-27T02:41:49.390Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-27T02:41:49.390Z] ---> Running in 6c9b042d5e9c [2023-02-27T02:41:49.390Z] Removing intermediate container 6c9b042d5e9c [2023-02-27T02:41:49.390Z] ---> 894ee2e4d649 [2023-02-27T02:41:49.390Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-27T02:41:49.390Z] ---> Running in 8d19a4fabf7c [2023-02-27T02:41:49.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T02:41:49.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T02:41:49.390Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T02:41:49.390Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T02:41:49.390Z] OK: 6 MiB in 15 packages [2023-02-27T02:41:49.390Z] Removing intermediate container 8d19a4fabf7c [2023-02-27T02:41:49.390Z] ---> f4f74f67bf48 [2023-02-27T02:41:49.390Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-27T02:41:49.390Z] ---> 1c9e513a7ecd [2023-02-27T02:41:49.390Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-27T02:41:49.390Z] ---> afd8a836d968 [2023-02-27T02:41:49.390Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-27T02:41:49.651Z] ---> 061d8118041c [2023-02-27T02:41:49.651Z] Step 19/24 : EXPOSE 59982 [2023-02-27T02:41:49.651Z] ---> Running in 66a8a669cb83 [2023-02-27T02:41:49.651Z] Removing intermediate container 66a8a669cb83 [2023-02-27T02:41:49.651Z] ---> 23ce617c9449 [2023-02-27T02:41:49.651Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-27T02:41:49.651Z] ---> Running in 891a332cfe92 [2023-02-27T02:41:49.651Z] Removing intermediate container 891a332cfe92 [2023-02-27T02:41:49.651Z] ---> 836cb2fee832 [2023-02-27T02:41:49.651Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T02:41:49.651Z] ---> Running in a0b706286286 [2023-02-27T02:41:49.909Z] Removing intermediate container a0b706286286 [2023-02-27T02:41:49.909Z] ---> 1f5c1bac93e4 [2023-02-27T02:41:49.909Z] Step 22/24 : LABEL arch=amd64 [2023-02-27T02:41:49.909Z] ---> Running in d19bbfa65ef4 [2023-02-27T02:41:49.909Z] Removing intermediate container d19bbfa65ef4 [2023-02-27T02:41:49.909Z] ---> 327ee17cf3ad [2023-02-27T02:41:49.909Z] Step 23/24 : LABEL git_sha=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [2023-02-27T02:41:49.909Z] ---> Running in 9f2e76abb33e [2023-02-27T02:41:49.909Z] Removing intermediate container 9f2e76abb33e [2023-02-27T02:41:49.909Z] ---> b4c40e965a08 [2023-02-27T02:41:49.909Z] Step 24/24 : LABEL version=0.0.0 [2023-02-27T02:41:49.909Z] ---> Running in 63009278ea6c [2023-02-27T02:41:50.169Z] Removing intermediate container 63009278ea6c [2023-02-27T02:41:50.169Z] ---> ab95e299dfd6 [2023-02-27T02:41:50.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T02:41:50.169Z] Successfully built ab95e299dfd6 [2023-02-27T02:41:50.169Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:41:51.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T02:41:51.018Z] [2023-02-27T02:41:51.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:41:51.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T02:41:51.393Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T02:41:51.393Z] 5eb5b503b376: Pulling fs layer [2023-02-27T02:41:51.393Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T02:41:51.393Z] ec43610c2a17: Pulling fs layer [2023-02-27T02:41:51.393Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T02:41:51.393Z] 33b1e0a273af: Pulling fs layer [2023-02-27T02:41:51.393Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T02:41:51.393Z] 2f39f015ded8: Pulling fs layer [2023-02-27T02:41:51.393Z] 3a2ae6a8a46f: Waiting [2023-02-27T02:41:51.393Z] 33b1e0a273af: Waiting [2023-02-27T02:41:51.393Z] 5d3b04190fa2: Waiting [2023-02-27T02:41:51.393Z] 2f39f015ded8: Waiting [2023-02-27T02:41:51.393Z] 5c69ac0246d0: Download complete [2023-02-27T02:41:51.393Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T02:41:51.393Z] 3a2ae6a8a46f: Download complete [2023-02-27T02:41:51.652Z] 33b1e0a273af: Verifying Checksum [2023-02-27T02:41:51.652Z] 33b1e0a273af: Download complete [2023-02-27T02:41:51.652Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T02:41:51.652Z] 5d3b04190fa2: Download complete [2023-02-27T02:41:51.652Z] ec43610c2a17: Verifying Checksum [2023-02-27T02:41:51.652Z] ec43610c2a17: Download complete [2023-02-27T02:41:51.652Z] 5eb5b503b376: Verifying Checksum [2023-02-27T02:41:51.652Z] 5eb5b503b376: Download complete [2023-02-27T02:41:52.218Z] 2f39f015ded8: Download complete [2023-02-27T02:41:52.784Z] 5eb5b503b376: Pull complete [2023-02-27T02:41:52.784Z] 5c69ac0246d0: Pull complete [2023-02-27T02:41:53.349Z] ec43610c2a17: Pull complete [2023-02-27T02:41:53.349Z] 3a2ae6a8a46f: Pull complete [2023-02-27T02:41:53.607Z] 33b1e0a273af: Pull complete [2023-02-27T02:41:53.607Z] 5d3b04190fa2: Pull complete [2023-02-27T02:41:57.784Z] 2f39f015ded8: Pull complete [2023-02-27T02:41:57.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T02:41:57.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T02:41:57.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:41:57.998Z] prd-ubuntu20.04-docker-8c-8g-7515 does not seem to be running inside a container [2023-02-27T02:41:58.035Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T02:42:02.748Z] $ docker top a57af29233b50706cd2269b30ec20277445a74003621cef2da4bb0f4ea98a04d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:42:03.192Z] ---> job-cost.sh [2023-02-27T02:42:03.192Z] lf-activate-venv: SKIPPING [2023-02-27T02:42:03.192Z] INFO: No Stack... [2023-02-27T02:42:03.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T02:42:03.709Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T02:42:04.026Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/cost.csv [2023-02-27T02:42:04.026Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T02:42:04.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [2023-02-27T02:42:04.072Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] did not exist. Created. [2023-02-27T02:42:04.072Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T02:42:04.470Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T02:42:04.519Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T02:42:04.551Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T02:42:04.630Z] $ docker stop --time=1 a57af29233b50706cd2269b30ec20277445a74003621cef2da4bb0f4ea98a04d [2023-02-27T02:42:05.780Z] $ docker rm -f --volumes a57af29233b50706cd2269b30ec20277445a74003621cef2da4bb0f4ea98a04d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T02:42:37.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7517 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] { [Pipeline] ws [2023-02-27T02:42:37.222Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-27T02:42:37.308Z] Selected Git installation does not exist. Using Default [2023-02-27T02:42:37.308Z] The recommended git tool is: NONE [2023-02-27T02:42:42.795Z] using credential edgex-jenkins-ssh [2023-02-27T02:42:42.813Z] Cloning the remote Git repository [2023-02-27T02:42:42.864Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-27T02:42:42.936Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-27T02:42:43.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-27T02:42:43.085Z] > git --version # timeout=10 [2023-02-27T02:42:43.111Z] > git --version # 'git version 2.25.1' [2023-02-27T02:42:43.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T02:42:43.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T02:42:44.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-27T02:42:44.368Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T02:42:45.756Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [2023-02-27T02:42:45.972Z] Merge succeeded, producing 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [2023-02-27T02:42:45.973Z] Checking out Revision 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 (PR-500) [2023-02-27T02:42:45.159Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-27T02:42:45.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-27T02:42:45.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T02:42:45.223Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T02:42:45.780Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T02:42:45.796Z] > git checkout -f 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 # timeout=10 [2023-02-27T02:42:45.879Z] > git remote # timeout=10 [2023-02-27T02:42:45.896Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T02:42:45.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T02:42:45.934Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-27T02:42:45.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T02:42:45.984Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T02:42:46.005Z] > git checkout -f 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 # timeout=10 [2023-02-27T02:42:46.439Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" [2023-02-27T02:42:46.495Z] > git --version # timeout=10 [2023-02-27T02:42:46.510Z] > git --version # 'git version 2.25.1' [2023-02-27T02:42:46.522Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T02:42:47.575Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T02:42:47.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T02:42:47.575Z] Dload Upload Total Spent Left Speed [2023-02-27T02:42:47.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-02-27T02:42:48.169Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T02:42:48.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-02-27T02:42:48.516Z] sudo tee /etc/docker/daemon.new [2023-02-27T02:42:48.516Z] { [2023-02-27T02:42:48.516Z] "registry-mirrors": [ [2023-02-27T02:42:48.516Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T02:42:48.516Z] ], [2023-02-27T02:42:48.516Z] "bip": "10.250.0.254/24", [2023-02-27T02:42:48.516Z] "hosts": [ [2023-02-27T02:42:48.516Z] "tcp://0.0.0.0:5555", [2023-02-27T02:42:48.516Z] "unix:///var/run/docker.sock" [2023-02-27T02:42:48.516Z] ], [2023-02-27T02:42:48.516Z] "mtu": 1458, [2023-02-27T02:42:48.516Z] "selinux-enabled": true, [2023-02-27T02:42:48.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T02:42:48.516Z] } [Pipeline] sh [2023-02-27T02:42:48.861Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T02:42:49.235Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T02:43:07.559Z] provisioning config files... [2023-02-27T02:43:07.588Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8520291496275614175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:43:07.987Z] ---> docker-login.sh [2023-02-27T02:43:07.988Z] nexus3.edgexfoundry.org:10001 [2023-02-27T02:43:08.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:43:08.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:43:08.574Z] Configure a credential helper to remove this warning. See [2023-02-27T02:43:08.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:43:08.574Z] [2023-02-27T02:43:08.574Z] Login Succeeded [2023-02-27T02:43:08.574Z] nexus3.edgexfoundry.org:10002 [2023-02-27T02:43:08.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:43:08.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:43:08.842Z] Configure a credential helper to remove this warning. See [2023-02-27T02:43:08.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:43:08.842Z] [2023-02-27T02:43:08.842Z] Login Succeeded [2023-02-27T02:43:08.842Z] nexus3.edgexfoundry.org:10003 [2023-02-27T02:43:09.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:43:09.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:43:09.381Z] Configure a credential helper to remove this warning. See [2023-02-27T02:43:09.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:43:09.381Z] [2023-02-27T02:43:09.381Z] Login Succeeded [2023-02-27T02:43:09.381Z] nexus3.edgexfoundry.org:10004 [2023-02-27T02:43:09.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:43:09.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:43:09.654Z] Configure a credential helper to remove this warning. See [2023-02-27T02:43:09.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:43:09.654Z] [2023-02-27T02:43:09.654Z] Login Succeeded [2023-02-27T02:43:09.654Z] docker.io [2023-02-27T02:43:09.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T02:43:10.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T02:43:10.190Z] Configure a credential helper to remove this warning. See [2023-02-27T02:43:10.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T02:43:10.190Z] [2023-02-27T02:43:10.190Z] Login Succeeded [2023-02-27T02:43:10.190Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T02:43:10.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T02:43:10.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T02:43:10.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T02:43:10.659Z] ========================================================= [2023-02-27T02:43:10.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T02:43:10.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:43:11.174Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T02:43:11.446Z] Sending build context to Docker daemon 3.289MB [2023-02-27T02:43:11.446Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T02:43:11.446Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T02:43:11.725Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T02:43:11.725Z] 9b18e9b68314: Pulling fs layer [2023-02-27T02:43:11.725Z] 35d82f9e3411: Pulling fs layer [2023-02-27T02:43:11.725Z] e16973657156: Pulling fs layer [2023-02-27T02:43:11.725Z] fc693d55d65f: Pulling fs layer [2023-02-27T02:43:11.725Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T02:43:11.725Z] dda99020689f: Pulling fs layer [2023-02-27T02:43:11.725Z] db1c61fa0a46: Pulling fs layer [2023-02-27T02:43:11.725Z] 891c053d2c06: Pulling fs layer [2023-02-27T02:43:11.725Z] dda99020689f: Waiting [2023-02-27T02:43:11.725Z] db1c61fa0a46: Waiting [2023-02-27T02:43:11.725Z] 891c053d2c06: Waiting [2023-02-27T02:43:11.725Z] fc693d55d65f: Waiting [2023-02-27T02:43:11.725Z] 7e9fc2657dce: Waiting [2023-02-27T02:43:11.726Z] e16973657156: Verifying Checksum [2023-02-27T02:43:11.726Z] e16973657156: Download complete [2023-02-27T02:43:11.726Z] 35d82f9e3411: Verifying Checksum [2023-02-27T02:43:11.726Z] 35d82f9e3411: Download complete [2023-02-27T02:43:11.726Z] 7e9fc2657dce: Download complete [2023-02-27T02:43:11.726Z] dda99020689f: Verifying Checksum [2023-02-27T02:43:11.726Z] dda99020689f: Download complete [2023-02-27T02:43:11.726Z] 9b18e9b68314: Verifying Checksum [2023-02-27T02:43:11.726Z] 9b18e9b68314: Download complete [2023-02-27T02:43:12.691Z] 9b18e9b68314: Pull complete [2023-02-27T02:43:12.691Z] 891c053d2c06: Verifying Checksum [2023-02-27T02:43:12.691Z] 891c053d2c06: Download complete [2023-02-27T02:43:13.290Z] 35d82f9e3411: Pull complete [2023-02-27T02:43:13.565Z] e16973657156: Pull complete [2023-02-27T02:43:14.162Z] db1c61fa0a46: Verifying Checksum [2023-02-27T02:43:14.162Z] db1c61fa0a46: Download complete [2023-02-27T02:43:14.441Z] fc693d55d65f: Download complete [2023-02-27T02:43:26.764Z] fc693d55d65f: Pull complete [2023-02-27T02:43:26.764Z] 7e9fc2657dce: Pull complete [2023-02-27T02:43:26.764Z] dda99020689f: Pull complete [2023-02-27T02:43:32.152Z] db1c61fa0a46: Pull complete [2023-02-27T02:43:35.648Z] 891c053d2c06: Pull complete [2023-02-27T02:43:35.648Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T02:43:35.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T02:43:35.648Z] ---> f96f9c87975a [2023-02-27T02:43:35.648Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T02:43:37.625Z] ---> Running in ff689baa0fcb [2023-02-27T02:43:37.625Z] Removing intermediate container ff689baa0fcb [2023-02-27T02:43:37.625Z] ---> db784a12e479 [2023-02-27T02:43:37.625Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T02:43:37.625Z] ---> Running in 2931faaaf3c8 [2023-02-27T02:43:37.894Z] Removing intermediate container 2931faaaf3c8 [2023-02-27T02:43:37.895Z] ---> db566270f28c [2023-02-27T02:43:37.895Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T02:43:38.162Z] ---> Running in 43826dffe428 [2023-02-27T02:43:38.436Z] Removing intermediate container 43826dffe428 [2023-02-27T02:43:38.436Z] ---> 99bea83e3b4e [2023-02-27T02:43:38.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T02:43:38.436Z] ---> Running in 639621e29065 [2023-02-27T02:43:38.704Z] Removing intermediate container 639621e29065 [2023-02-27T02:43:38.704Z] ---> 41a981e57c11 [2023-02-27T02:43:38.704Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T02:43:38.704Z] ---> Running in 7cbf76c0a955 [2023-02-27T02:43:40.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T02:43:40.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T02:43:41.349Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T02:43:41.349Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T02:43:41.349Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T02:43:41.618Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T02:43:41.618Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T02:43:41.618Z] OK: 226 MiB in 55 packages [2023-02-27T02:43:42.589Z] Removing intermediate container 7cbf76c0a955 [2023-02-27T02:43:42.589Z] ---> 3b76842c7933 [2023-02-27T02:43:42.589Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-27T02:43:42.589Z] ---> Running in 84b650e73175 [2023-02-27T02:43:43.174Z] Removing intermediate container 84b650e73175 [2023-02-27T02:43:43.174Z] ---> 8fec5b546b1e [2023-02-27T02:43:43.174Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T02:43:43.452Z] ---> cd813d36fef4 [2023-02-27T02:43:43.452Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T02:43:43.721Z] ---> Running in cad170c93c5e [2023-02-27T02:44:40.156Z] Removing intermediate container cad170c93c5e [2023-02-27T02:44:40.156Z] ---> 6b2578916f52 [2023-02-27T02:44:40.156Z] Step 11/12 : COPY . . [2023-02-27T02:44:40.440Z] ---> 279621ca899a [2023-02-27T02:44:40.440Z] Step 12/12 : RUN $MAKE [2023-02-27T02:44:40.440Z] ---> Running in b94ee6ec4713 [2023-02-27T02:44:41.412Z] noop [2023-02-27T02:44:42.394Z] Removing intermediate container b94ee6ec4713 [2023-02-27T02:44:42.394Z] ---> 09892fbe5e55 [2023-02-27T02:44:42.394Z] Successfully built 09892fbe5e55 [2023-02-27T02:44:42.394Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:44:42.880Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T02:44:42.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:44:43.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-7517 does not seem to be running inside a container [2023-02-27T02:44:43.246Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-27T02:44:44.531Z] $ docker top 8bd73aa12ad031272840575a9bca69d1b91540b3de9de41b159db41faca282ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T02:44:45.431Z] + go version [2023-02-27T02:44:45.431Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T02:44:45.470Z] $ docker stop --time=1 8bd73aa12ad031272840575a9bca69d1b91540b3de9de41b159db41faca282ae [2023-02-27T02:44:47.129Z] $ docker rm -f --volumes 8bd73aa12ad031272840575a9bca69d1b91540b3de9de41b159db41faca282ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:44:47.986Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T02:44:47.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:44:48.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-7517 does not seem to be running inside a container [2023-02-27T02:44:48.318Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-27T02:44:49.515Z] $ docker top 6f7d7f383c85509e8faa2a610c38703deecba749242354917dbbe97ff534830d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T02:44:50.413Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-27T02:44:51.134Z] + make test [2023-02-27T02:44:51.134Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T02:44:52.564Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-27T02:46:14.256Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-27T02:46:15.219Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 21.8% of statements [2023-02-27T02:46:15.219Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-27T02:46:15.804Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T02:46:15.804Z] go vet ./... [2023-02-27T02:46:37.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T02:46:37.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T02:46:37.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T02:46:38.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T02:46:38.533Z] $ docker stop --time=1 6f7d7f383c85509e8faa2a610c38703deecba749242354917dbbe97ff534830d [2023-02-27T02:46:40.303Z] $ docker rm -f --volumes 6f7d7f383c85509e8faa2a610c38703deecba749242354917dbbe97ff534830d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T02:46:41.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T02:46:41.336Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T02:46:42.219Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T02:46:42.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T02:46:43.168Z] + ls -al . [2023-02-27T02:46:43.168Z] total 188 [2023-02-27T02:46:43.168Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 02:44 . [2023-02-27T02:46:43.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 02:42 .. [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 02:42 .dockerignore [2023-02-27T02:46:43.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 02:42 .git [2023-02-27T02:46:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:42 .github [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 27 02:42 .gitignore [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 02:42 .golangci.yml [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 27 02:42 Attribution.txt [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 27 02:42 CHANGELOG.md [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 27 02:42 Dockerfile [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 02:42 GOVERNANCE.md [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 27 02:42 Jenkinsfile [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 02:42 LICENSE [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 27 02:42 Makefile [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 02:42 OWNERS.md [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 27 02:42 README.md [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 02:40 VERSION [2023-02-27T02:46:43.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 02:42 bin [2023-02-27T02:46:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:42 cmd [2023-02-27T02:46:43.168Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 27 02:46 coverage.out [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 3464 Feb 27 02:42 go.mod [2023-02-27T02:46:43.168Z] -rw-rw-r-- 1 jenkins jenkins 45013 Feb 27 02:42 go.sum [2023-02-27T02:46:43.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 02:42 internal [2023-02-27T02:46:43.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 02:42 mock [2023-02-27T02:46:43.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 02:42 snap [2023-02-27T02:46:43.169Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 27 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:46:43.638Z] + 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=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 --label arch=arm64 --label version=0.0.0 . [2023-02-27T02:46:43.913Z] Sending build context to Docker daemon 3.308MB [2023-02-27T02:46:43.913Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T02:46:43.913Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-27T02:46:43.913Z] ---> 09892fbe5e55 [2023-02-27T02:46:43.913Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-27T02:46:44.189Z] ---> Running in 7e90a175bf17 [2023-02-27T02:46:44.460Z] Removing intermediate container 7e90a175bf17 [2023-02-27T02:46:44.460Z] ---> 430221b924bc [2023-02-27T02:46:44.460Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T02:46:44.460Z] ---> Running in 083e28474936 [2023-02-27T02:46:44.728Z] Removing intermediate container 083e28474936 [2023-02-27T02:46:44.728Z] ---> 3e31c15af59c [2023-02-27T02:46:44.728Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T02:46:44.728Z] ---> Running in 00710949c47c [2023-02-27T02:46:44.997Z] Removing intermediate container 00710949c47c [2023-02-27T02:46:44.997Z] ---> 61a50499ce09 [2023-02-27T02:46:44.997Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T02:46:44.997Z] ---> Running in 95d4af92402b [2023-02-27T02:46:45.267Z] Removing intermediate container 95d4af92402b [2023-02-27T02:46:45.267Z] ---> 2f8374d32f50 [2023-02-27T02:46:45.267Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T02:46:45.551Z] ---> Running in 682b2ea257e4 [2023-02-27T02:46:46.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T02:46:46.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T02:46:47.774Z] OK: 226 MiB in 55 packages [2023-02-27T02:46:48.978Z] Removing intermediate container 682b2ea257e4 [2023-02-27T02:46:48.978Z] ---> 0fb3fef99268 [2023-02-27T02:46:48.978Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-27T02:46:48.978Z] ---> Running in face0c3287e7 [2023-02-27T02:46:49.258Z] Removing intermediate container face0c3287e7 [2023-02-27T02:46:49.258Z] ---> 786c9e65ea95 [2023-02-27T02:46:49.258Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-27T02:46:49.856Z] ---> 9149a858a404 [2023-02-27T02:46:49.856Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T02:46:49.856Z] ---> Running in 080740dc4462 [2023-02-27T02:46:51.830Z] Removing intermediate container 080740dc4462 [2023-02-27T02:46:51.830Z] ---> dfb92ae385fb [2023-02-27T02:46:51.830Z] Step 11/24 : COPY . . [2023-02-27T02:46:53.276Z] ---> cbd9648c63d8 [2023-02-27T02:46:53.276Z] Step 12/24 : RUN $MAKE [2023-02-27T02:46:53.276Z] ---> Running in 8e373025b077 [2023-02-27T02:46:54.248Z] 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-02-27T02:49:16.531Z] Removing intermediate container 8e373025b077 [2023-02-27T02:49:16.531Z] ---> 8a9d051ec257 [2023-02-27T02:49:16.531Z] Step 13/24 : FROM alpine:3.16 [2023-02-27T02:49:16.531Z] 3.16: Pulling from library/alpine [2023-02-27T02:49:16.531Z] 3760b48202b3: Pulling fs layer [2023-02-27T02:49:16.531Z] 3760b48202b3: Verifying Checksum [2023-02-27T02:49:16.531Z] 3760b48202b3: Download complete [2023-02-27T02:49:16.531Z] 3760b48202b3: Pull complete [2023-02-27T02:49:16.531Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T02:49:16.531Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T02:49:16.531Z] ---> 4c81e5bf8899 [2023-02-27T02:49:16.531Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-27T02:49:16.531Z] ---> Running in abef0f51ee6c [2023-02-27T02:49:16.531Z] Removing intermediate container abef0f51ee6c [2023-02-27T02:49:16.531Z] ---> c57e764af6a1 [2023-02-27T02:49:16.531Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-27T02:49:16.531Z] ---> Running in 4348a6b148eb [2023-02-27T02:49:16.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T02:49:16.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T02:49:16.531Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T02:49:16.531Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T02:49:16.531Z] OK: 5 MiB in 15 packages [2023-02-27T02:49:17.113Z] Removing intermediate container 4348a6b148eb [2023-02-27T02:49:17.113Z] ---> 0f313612d8b4 [2023-02-27T02:49:17.113Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-27T02:49:18.522Z] ---> 2261ee333e3b [2023-02-27T02:49:18.522Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-27T02:49:19.109Z] ---> 570cc830776d [2023-02-27T02:49:19.109Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-27T02:49:19.377Z] ---> dd0d94a09f07 [2023-02-27T02:49:19.377Z] Step 19/24 : EXPOSE 59982 [2023-02-27T02:49:19.377Z] ---> Running in 3f70e8f8225b [2023-02-27T02:49:19.961Z] Removing intermediate container 3f70e8f8225b [2023-02-27T02:49:19.961Z] ---> 426226864722 [2023-02-27T02:49:19.961Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-27T02:49:19.961Z] ---> Running in 4b08d078b59d [2023-02-27T02:49:20.232Z] Removing intermediate container 4b08d078b59d [2023-02-27T02:49:20.232Z] ---> 55997bf1ff87 [2023-02-27T02:49:20.232Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-27T02:49:20.232Z] ---> Running in 5780a53f3b96 [2023-02-27T02:49:20.499Z] Removing intermediate container 5780a53f3b96 [2023-02-27T02:49:20.499Z] ---> 0d19822a84e1 [2023-02-27T02:49:20.499Z] Step 22/24 : LABEL arch=arm64 [2023-02-27T02:49:20.499Z] ---> Running in 9e7aa1798751 [2023-02-27T02:49:20.768Z] Removing intermediate container 9e7aa1798751 [2023-02-27T02:49:20.768Z] ---> def97ef6f03d [2023-02-27T02:49:20.768Z] Step 23/24 : LABEL git_sha=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [2023-02-27T02:49:21.036Z] ---> Running in 266d30b974dd [2023-02-27T02:49:21.304Z] Removing intermediate container 266d30b974dd [2023-02-27T02:49:21.304Z] ---> 98631f6ecf82 [2023-02-27T02:49:21.304Z] Step 24/24 : LABEL version=0.0.0 [2023-02-27T02:49:21.305Z] ---> Running in 4b35f3715803 [2023-02-27T02:49:21.570Z] Removing intermediate container 4b35f3715803 [2023-02-27T02:49:21.570Z] ---> 456a5d403421 [2023-02-27T02:49:21.570Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T02:49:21.570Z] Successfully built 456a5d403421 [2023-02-27T02:49:21.570Z] 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-02-27T02:49:22.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T02:49:22.340Z] [2023-02-27T02:49:22.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:49:22.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T02:49:22.739Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T02:49:22.739Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T02:49:22.739Z] 04944245beec: Pulling fs layer [2023-02-27T02:49:22.739Z] 699f458cf7ca: Pulling fs layer [2023-02-27T02:49:22.739Z] 765212b225bb: Pulling fs layer [2023-02-27T02:49:22.739Z] f23df028b6ca: Pulling fs layer [2023-02-27T02:49:22.739Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T02:49:22.739Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T02:49:22.739Z] 765212b225bb: Waiting [2023-02-27T02:49:22.739Z] f23df028b6ca: Waiting [2023-02-27T02:49:22.739Z] d65c8cfc05b1: Waiting [2023-02-27T02:49:22.739Z] 2437ff75d9bd: Waiting [2023-02-27T02:49:23.011Z] 04944245beec: Verifying Checksum [2023-02-27T02:49:23.012Z] 04944245beec: Download complete [2023-02-27T02:49:23.012Z] 765212b225bb: Verifying Checksum [2023-02-27T02:49:23.012Z] 765212b225bb: Download complete [2023-02-27T02:49:23.012Z] f23df028b6ca: Verifying Checksum [2023-02-27T02:49:23.012Z] f23df028b6ca: Download complete [2023-02-27T02:49:23.012Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T02:49:23.012Z] d65c8cfc05b1: Download complete [2023-02-27T02:49:23.282Z] 699f458cf7ca: Verifying Checksum [2023-02-27T02:49:23.282Z] 699f458cf7ca: Download complete [2023-02-27T02:49:23.550Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T02:49:23.550Z] 8998bd30e6a1: Download complete [2023-02-27T02:49:26.130Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T02:49:26.131Z] 2437ff75d9bd: Download complete [2023-02-27T02:49:27.537Z] 8998bd30e6a1: Pull complete [2023-02-27T02:49:27.804Z] 04944245beec: Pull complete [2023-02-27T02:49:29.213Z] 699f458cf7ca: Pull complete [2023-02-27T02:49:29.213Z] 765212b225bb: Pull complete [2023-02-27T02:49:30.310Z] f23df028b6ca: Pull complete [2023-02-27T02:49:30.310Z] d65c8cfc05b1: Pull complete [2023-02-27T02:49:45.415Z] 2437ff75d9bd: Pull complete [2023-02-27T02:49:45.415Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T02:49:45.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T02:49:45.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:49:45.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-7517 does not seem to be running inside a container [2023-02-27T02:49:45.773Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-27T02:49:48.316Z] $ docker top 2b6685b01a24d94bb407a713f89b0a33889262661e1706b603b3eea9fb6c905b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:49:49.219Z] ---> job-cost.sh [2023-02-27T02:49:49.219Z] lf-activate-venv: SKIPPING [2023-02-27T02:49:49.219Z] INFO: No Stack... [2023-02-27T02:49:49.801Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T02:49:50.382Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T02:49:51.042Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-27T02:49:51.042Z] cut -d, -f6 [Pipeline] lock [2023-02-27T02:49:51.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [2023-02-27T02:49:51.130Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] did not exist. Created. [2023-02-27T02:49:51.130Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T02:49:51.539Z] /w/workspace/device-mqtt-go/1@tmp/durable-2a54bf85/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T02:49:51.899Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T02:49:51.933Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T02:49:51.974Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T02:49:51.991Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T02:49:52.075Z] $ docker stop --time=1 2b6685b01a24d94bb407a713f89b0a33889262661e1706b603b3eea9fb6c905b [2023-02-27T02:49:53.572Z] $ docker rm -f --volumes 2b6685b01a24d94bb407a713f89b0a33889262661e1706b603b3eea9fb6c905b [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-02-27T02:49:54.552Z] provisioning config files... [2023-02-27T02:49:54.560Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config6864284787638380078tmp [Pipeline] { [Pipeline] sh [2023-02-27T02:49:54.902Z] + set +x [2023-02-27T02:49:54.902Z] + + bash -s -- [2023-02-27T02:49:54.902Z] curl -s https://codecov.io/bash [2023-02-27T02:49:54.902Z] [2023-02-27T02:49:54.902Z] _____ _ [2023-02-27T02:49:54.902Z] / ____| | | [2023-02-27T02:49:54.902Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T02:49:54.902Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T02:49:54.902Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T02:49:54.902Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T02:49:54.902Z] Bash-1.0.6 [2023-02-27T02:49:54.902Z] [2023-02-27T02:49:54.902Z] [2023-02-27T02:49:54.902Z] ==> git version 2.25.1 found [2023-02-27T02:49:54.902Z] ==> 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-02-27T02:49:54.902Z] Release-Date: 2020-01-08 [2023-02-27T02:49:54.902Z] 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-02-27T02:49:54.902Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T02:49:54.902Z] ==> Jenkins CI detected. [2023-02-27T02:49:54.902Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-02-27T02:49:54.902Z] project root: . [2023-02-27T02:49:54.902Z] --> token set from env [2023-02-27T02:49:54.902Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T02:49:54.902Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T02:49:54.902Z] ==> Python coveragepy not found [2023-02-27T02:49:54.902Z] ==> Searching for coverage reports in: [2023-02-27T02:49:54.902Z] + . [2023-02-27T02:49:54.902Z] -> Found 1 reports [2023-02-27T02:49:54.902Z] ==> Detecting git/mercurial file structure [2023-02-27T02:49:54.902Z] ==> Reading reports [2023-02-27T02:49:54.902Z] + ./coverage.out bytes=17887 [2023-02-27T02:49:54.902Z] ==> Appending adjustments [2023-02-27T02:49:54.902Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T02:49:55.163Z] + Found adjustments [2023-02-27T02:49:55.163Z] ==> Gzipping contents [2023-02-27T02:49:55.163Z] 4.0K /tmp/codecov.obD8gP.gz [2023-02-27T02:49:55.163Z] ==> Uploading reports [2023-02-27T02:49:55.163Z] url: https://codecov.io [2023-02-27T02:49:55.163Z] query: branch=PR-500&commit=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-02-27T02:49:55.163Z] -> Pinging Codecov [2023-02-27T02:49:55.163Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-500&commit=4c418a1867c4bf59d8868412e0cd3bfb6c2fee68&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-02-27T02:49:55.163Z] -> Uploading to [2023-02-27T02:49:55.163Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/7D719EC7BBE17E464838252E33014C33/4c418a1867c4bf59d8868412e0cd3bfb6c2fee68/c7422f05-a4ec-4462-9bb4-889e99a69c25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T024955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7689d7995df3192b5cc80aed89f70d50533f12bdecc4a973a40c724cc522427 [2023-02-27T02:49:55.163Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T02:49:55.163Z] Dload Upload Total Spent Left Speed [2023-02-27T02:49:55.423Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 9984 --:--:-- --:--:-- --:--:-- 9952 [2023-02-27T02:49:55.423Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 [Pipeline] } [2023-02-27T02:49:55.456Z] 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-02-27T02:49:57.156Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives ] [2023-02-27T02:49:57.156Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-02-27T02:49:57.156Z] total 16 [2023-02-27T02:49:57.156Z] drwxr-xr-x 3 root root 4096 Feb 27 02:42 . [2023-02-27T02:49:57.156Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 02:42 .. [2023-02-27T02:49:57.156Z] drwxr-xr-x 2 root root 4096 Feb 27 02:42 cost [2023-02-27T02:49:57.156Z] -rw-r--r-- 1 root root 86 Feb 27 02:42 cost.csv [2023-02-27T02:49:57.156Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-02-27T02:49:57.156Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-02-27T02:49:57.156Z] total 16 [2023-02-27T02:49:57.156Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 02:42 . [2023-02-27T02:49:57.156Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 02:42 .. [2023-02-27T02:49:57.156Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 02:42 cost [2023-02-27T02:49:57.156Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 27 02:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:49:57.479Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:49:58.373Z] ---> package-listing.sh [2023-02-27T02:49:58.373Z] ++ facter osfamily [2023-02-27T02:49:58.373Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T02:49:58.632Z] + OS_FAMILY=debian [2023-02-27T02:49:58.632Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-02-27T02:49:58.632Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T02:49:58.632Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T02:49:58.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T02:49:58.632Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T02:49:58.632Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-02-27T02:49:58.632Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T02:49:58.632Z] + case "${OS_FAMILY}" in [2023-02-27T02:49:58.632Z] + dpkg -l [2023-02-27T02:49:58.632Z] + grep '^ii' [2023-02-27T02:49:58.632Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T02:49:58.632Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T02:49:58.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T02:49:58.632Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-02-27T02:49:58.632Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [2023-02-27T02:49:58.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [Pipeline] echo [2023-02-27T02:49:58.668Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T02:49:58.963Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T02:49:59.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T02:49:59.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T02:49:59.740Z] prd-ubuntu20.04-docker-8c-8g-7515 does not seem to be running inside a container [2023-02-27T02:49:59.768Z] $ 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-500/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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T02:49:59.949Z] $ docker top 224ff5f28e79a7b265510bd339920a995857d832d710587adb3f0e09d4eb5c4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T02:50:00.348Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T02:50:00.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T02:50:00.963Z] + ls /var/log/sa-host [2023-02-27T02:50:00.964Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T02:50:01.113Z] provisioning config files... [2023-02-27T02:50:01.122Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config10748552770009594513tmp [Pipeline] { [Pipeline] echo [2023-02-27T02:50:01.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:50:01.487Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T02:50:01.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:50:01.913Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T02:50:01.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:50:02.270Z] ---> sudo-logs.sh [2023-02-27T02:50:02.270Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T02:50:02.353Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:50:02.669Z] ---> job-cost.sh [2023-02-27T02:50:02.669Z] lf-activate-venv: SKIPPING [2023-02-27T02:50:02.669Z] DEBUG: total: 0.2199999988079071 [2023-02-27T02:50:02.669Z] INFO: Retrieving Stack Cost... [2023-02-27T02:50:02.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T02:50:03.501Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T02:50:03.538Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T02:50:03.855Z] ---> logs-deploy.sh [2023-02-27T02:50:03.855Z] lf-activate-venv: SKIPPING [2023-02-27T02:50:03.855Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-500/1 [2023-02-27T02:50:03.855Z] INFO: archiving workspace using pattern(s): [2023-02-27T02:50:04.790Z] Archives upload complete. [2023-02-27T02:50:04.790Z] INFO: archiving logs to Nexus