Pull request #353 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 507254801b4bd25e3cafbbcdc25f775c4bd94e1c+a7b844beee09313a8b0584ee433be2eeca10ef2f (8461bc0462e01e22fffe202032b01fb336bb6674) 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-ssh15829695751304333323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12399603814929821945.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4442101690627703717.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh14920986446305959601.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-353/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8212258474809772287.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [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-10755 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [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-353 # 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 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 507254801b4bd25e3cafbbcdc25f775c4bd94e1c Merge succeeded, producing 507254801b4bd25e3cafbbcdc25f775c4bd94e1c Checking out Revision 507254801b4bd25e3cafbbcdc25f775c4bd94e1c (PR-353) > 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/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 Commit message: "Merge branch 'main' into enable-gosec-lint" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 23979b14864c4d8b6460998dad3a6673d7111ecf # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T15:58:28.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T15:58:28.254Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T15:58:28.265Z] ========================================================= [2022-04-05T15:58:28.265Z] EdgeX Global Pipelines Version Info [2022-04-05T15:58:28.265Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T15:58:29.042Z] ------------------- [2022-04-05T15:58:29.042Z] stable info: [2022-04-05T15:58:29.042Z] ------------------- [2022-04-05T15:58:29.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T15:58:29.042Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T15:58:29.042Z] Message: update stable to v1.0.221 [2022-04-05T15:58:29.614Z] ------------------- [2022-04-05T15:58:29.614Z] experimental info: [2022-04-05T15:58:29.614Z] ------------------- [2022-04-05T15:58:29.614Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T15:58:29.614Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T15:58:29.614Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T15:58:29.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-05T15:58:29.757Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-05T15:58:29.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T15:58:29.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T15:58:29.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T15:58:29.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T15:58:29.835Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T15:58:29.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T15:58:29.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T15:58:29.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T15:58:29.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T15:58:29.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-05T15:58:29.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T15:58:29.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T15:58:29.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T15:58:29.976Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T15:58:29.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T15:58:30.004Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T15:58:30.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T15:58:30.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-05T15:58:30.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T15:58:30.067Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T15:58:30.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T15:58:30.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T15:58:30.112Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T15:58:30.124Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T15:58:30.137Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2022-04-05T15:58:30.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2022-04-05T15:58:30.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2022-04-05T15:58:30.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo [2022-04-05T15:58:30.210Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5072548 [Pipeline] echo [2022-04-05T15:58:30.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T15:58:30.281Z] provisioning config files... [2022-04-05T15:58:30.295Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config4014159549017330294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T15:58:30.607Z] ---> docker-login.sh [2022-04-05T15:58:30.607Z] nexus3.edgexfoundry.org:10001 [2022-04-05T15:58:30.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:30.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:30.869Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:30.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:30.869Z] [2022-04-05T15:58:30.869Z] Login Succeeded [2022-04-05T15:58:30.869Z] nexus3.edgexfoundry.org:10002 [2022-04-05T15:58:31.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:31.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:31.133Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:31.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:31.133Z] [2022-04-05T15:58:31.133Z] Login Succeeded [2022-04-05T15:58:31.133Z] nexus3.edgexfoundry.org:10003 [2022-04-05T15:58:31.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:31.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:31.394Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:31.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:31.394Z] [2022-04-05T15:58:31.394Z] Login Succeeded [2022-04-05T15:58:31.394Z] nexus3.edgexfoundry.org:10004 [2022-04-05T15:58:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:31.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:31.394Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:31.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:31.394Z] [2022-04-05T15:58:31.394Z] Login Succeeded [2022-04-05T15:58:31.394Z] docker.io [2022-04-05T15:58:31.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:31.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:31.969Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:31.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:31.969Z] [2022-04-05T15:58:31.969Z] Login Succeeded [2022-04-05T15:58:31.969Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T15:58:31.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T15:58:32.371Z] + git rev-list -1 --merges 507254801b4bd25e3cafbbcdc25f775c4bd94e1c~1..507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo [2022-04-05T15:58:32.401Z] -----------> git rev-list -1 --merges 507254801b4bd25e3cafbbcdc25f775c4bd94e1c~1..507254801b4bd25e3cafbbcdc25f775c4bd94e1c 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [2022-04-05T15:58:32.401Z] 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [false] [Pipeline] sh [2022-04-05T15:58:32.693Z] + git log --format=format:%s -1 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo [2022-04-05T15:58:32.714Z] ========================================================= [2022-04-05T15:58:32.714Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T15:58:32.714Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T15:58:33.053Z] + git log --format=format:%s -1 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] echo [2022-04-05T15:58:33.068Z] [semverPrep] GIT_COMMIT: 507254801b4bd25e3cafbbcdc25f775c4bd94e1c, Commit Message: Merge branch 'main' into enable-gosec-lint [Pipeline] echo [2022-04-05T15:58:33.077Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T15:58:33.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T15:58:33.517Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T15:58:33.517Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T15:58:33.517Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T15:58:33.517Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T15:58:33.517Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T15:58:33.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:58:34.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T15:58:34.008Z] [2022-04-05T15:58:34.008Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:58:34.316Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T15:58:34.316Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T15:58:34.316Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T15:58:34.316Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T15:58:34.316Z] 4c7163046ea9: Pulling fs layer [2022-04-05T15:58:34.316Z] 0c2d73faf560: Pulling fs layer [2022-04-05T15:58:34.317Z] 0c2d73faf560: Waiting [2022-04-05T15:58:34.317Z] 3e5f54012d9b: Download complete [2022-04-05T15:58:34.317Z] a0d0a0d46f8b: Download complete [2022-04-05T15:58:34.317Z] 4c7163046ea9: Verifying Checksum [2022-04-05T15:58:34.317Z] 4c7163046ea9: Download complete [2022-04-05T15:58:34.317Z] 0c2d73faf560: Verifying Checksum [2022-04-05T15:58:34.317Z] 0c2d73faf560: Download complete [2022-04-05T15:58:34.577Z] a0d0a0d46f8b: Pull complete [2022-04-05T15:58:34.577Z] 3e5f54012d9b: Pull complete [2022-04-05T15:58:34.837Z] 4c7163046ea9: Pull complete [2022-04-05T15:58:35.096Z] 0c2d73faf560: Pull complete [2022-04-05T15:58:35.096Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T15:58:35.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T15:58:35.096Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T15:58:35.248Z] prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container [2022-04-05T15:58:35.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T15:58:36.028Z] $ docker top 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T15:58:36.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T15:58:36.129Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T15:58:36.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T15:58:36.266Z] $ docker exec 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent [2022-04-05T15:58:36.377Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlBoLlB/agent.14 [2022-04-05T15:58:36.377Z] SSH_AGENT_PID=21 [2022-04-05T15:58:36.388Z] Running ssh-add (command line suppressed) [2022-04-05T15:58:36.542Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2597332716159365612.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2597332716159365612.key) [2022-04-05T15:58:36.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T15:58:36.846Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T15:58:36.875Z] $ docker exec --env ******** --env ******** 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent -k [2022-04-05T15:58:36.990Z] unset SSH_AUTH_SOCK; [2022-04-05T15:58:36.991Z] unset SSH_AGENT_PID; [2022-04-05T15:58:36.991Z] echo Agent pid 21 killed; [2022-04-05T15:58:37.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T15:58:37.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T15:58:37.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T15:58:37.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T15:58:37.166Z] $ docker exec 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent [2022-04-05T15:58:37.283Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaPmAdl/agent.53 [2022-04-05T15:58:37.283Z] SSH_AGENT_PID=59 [2022-04-05T15:58:37.290Z] Running ssh-add (command line suppressed) [2022-04-05T15:58:37.414Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_3318837568316202084.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_3318837568316202084.key) [2022-04-05T15:58:37.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T15:58:37.715Z] + git semver init [2022-04-05T15:58:37.716Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T15:58:37.716Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git [2022-04-05T15:58:37.716Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-05T15:58:37.716Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T15:58:37.716Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T15:58:37.716Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T15:58:37.716Z] # $SEMVER_BRANCH = PR-353 [2022-04-05T15:58:37.716Z] # $SEMVER_TEMP = /tmp/semver-773553464 [2022-04-05T15:58:37.716Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-05T15:58:38.661Z] # '/tmp/semver-773553464' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' [2022-04-05T15:58:38.661Z] # -> Force: false [2022-04-05T15:58:38.661Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } [2022-04-05T15:58:38.680Z] $ docker exec --env ******** --env ******** 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 ssh-agent -k [2022-04-05T15:58:38.811Z] unset SSH_AUTH_SOCK; [2022-04-05T15:58:38.811Z] unset SSH_AGENT_PID; [2022-04-05T15:58:38.811Z] echo Agent pid 59 killed; [2022-04-05T15:58:38.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T15:58:39.140Z] + git semver [Pipeline] } [2022-04-05T15:58:39.161Z] $ docker stop --time=1 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 [2022-04-05T15:58:40.550Z] $ docker rm -f 7ac565444a1565a8a2619f2017725433ce04cb6b47d171afa86b8200db42dd85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T15:58:40.907Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T15:58:41.164Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T15:58:41.168Z] [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 [2022-04-05T15:58:41.333Z] provisioning config files... [2022-04-05T15:58:41.344Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config6791272409765367666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T15:58:41.645Z] ---> docker-login.sh [2022-04-05T15:58:41.645Z] nexus3.edgexfoundry.org:10001 [2022-04-05T15:58:41.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:41.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:41.645Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:41.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:41.645Z] [2022-04-05T15:58:41.645Z] Login Succeeded [2022-04-05T15:58:41.645Z] nexus3.edgexfoundry.org:10002 [2022-04-05T15:58:41.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:41.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:41.907Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:41.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:41.907Z] [2022-04-05T15:58:41.907Z] Login Succeeded [2022-04-05T15:58:41.907Z] nexus3.edgexfoundry.org:10003 [2022-04-05T15:58:41.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:41.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:41.908Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:41.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:41.908Z] [2022-04-05T15:58:41.908Z] Login Succeeded [2022-04-05T15:58:41.908Z] nexus3.edgexfoundry.org:10004 [2022-04-05T15:58:41.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:42.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:42.170Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:42.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:42.170Z] [2022-04-05T15:58:42.170Z] Login Succeeded [2022-04-05T15:58:42.170Z] docker.io [2022-04-05T15:58:42.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T15:58:42.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T15:58:42.432Z] Configure a credential helper to remove this warning. See [2022-04-05T15:58:42.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T15:58:42.432Z] [2022-04-05T15:58:42.432Z] Login Succeeded [2022-04-05T15:58:42.432Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T15:58:42.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T15:58:42.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T15:58:42.518Z] ========================================================= [2022-04-05T15:58:42.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T15:58:42.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:58:42.836Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T15:58:42.836Z] Sending build context to Docker daemon 5.842MB [2022-04-05T15:58:42.836Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T15:58:42.836Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T15:58:42.836Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T15:58:42.836Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T15:58:42.836Z] 666ba61612fd: Pulling fs layer [2022-04-05T15:58:42.836Z] 8ed8ca486205: Pulling fs layer [2022-04-05T15:58:42.836Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T15:58:42.836Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T15:58:42.836Z] 22a0e8bec74d: Waiting [2022-04-05T15:58:42.836Z] 4fe6c5a15a65: Waiting [2022-04-05T15:58:42.836Z] 640e595b4fbd: Pulling fs layer [2022-04-05T15:58:42.836Z] 763cafe07f6e: Pulling fs layer [2022-04-05T15:58:42.836Z] 0c0b528cf693: Pulling fs layer [2022-04-05T15:58:42.836Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T15:58:42.836Z] 640e595b4fbd: Waiting [2022-04-05T15:58:42.836Z] 763cafe07f6e: Waiting [2022-04-05T15:58:42.836Z] 0c0b528cf693: Waiting [2022-04-05T15:58:42.836Z] 10935f4eaf8b: Waiting [2022-04-05T15:58:42.836Z] 8ed8ca486205: Verifying Checksum [2022-04-05T15:58:42.836Z] 8ed8ca486205: Download complete [2022-04-05T15:58:42.836Z] 666ba61612fd: Verifying Checksum [2022-04-05T15:58:42.836Z] 666ba61612fd: Download complete [2022-04-05T15:58:43.097Z] 22a0e8bec74d: Verifying Checksum [2022-04-05T15:58:43.097Z] 22a0e8bec74d: Download complete [2022-04-05T15:58:43.097Z] 640e595b4fbd: Verifying Checksum [2022-04-05T15:58:43.097Z] 640e595b4fbd: Download complete [2022-04-05T15:58:43.097Z] 59bf1c3509f3: Verifying Checksum [2022-04-05T15:58:43.097Z] 59bf1c3509f3: Download complete [2022-04-05T15:58:43.097Z] 763cafe07f6e: Verifying Checksum [2022-04-05T15:58:43.097Z] 763cafe07f6e: Download complete [2022-04-05T15:58:43.097Z] 0c0b528cf693: Verifying Checksum [2022-04-05T15:58:43.097Z] 0c0b528cf693: Download complete [2022-04-05T15:58:43.097Z] 59bf1c3509f3: Pull complete [2022-04-05T15:58:43.363Z] 666ba61612fd: Pull complete [2022-04-05T15:58:43.363Z] 8ed8ca486205: Pull complete [2022-04-05T15:58:43.624Z] 4fe6c5a15a65: Verifying Checksum [2022-04-05T15:58:43.624Z] 4fe6c5a15a65: Download complete [2022-04-05T15:58:43.884Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T15:58:43.884Z] 10935f4eaf8b: Download complete [2022-04-05T15:58:48.082Z] 4fe6c5a15a65: Pull complete [2022-04-05T15:58:48.082Z] 22a0e8bec74d: Pull complete [2022-04-05T15:58:48.082Z] 640e595b4fbd: Pull complete [2022-04-05T15:58:48.082Z] 763cafe07f6e: Pull complete [2022-04-05T15:58:48.343Z] 0c0b528cf693: Pull complete [2022-04-05T15:58:50.880Z] 10935f4eaf8b: Pull complete [2022-04-05T15:58:50.880Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T15:58:50.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T15:58:50.880Z] ---> 99d49a6021b9 [2022-04-05T15:58:50.880Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T15:58:51.826Z] ---> Running in 7b5e72838e84 [2022-04-05T15:58:51.826Z] Removing intermediate container 7b5e72838e84 [2022-04-05T15:58:51.826Z] ---> 3819c5ddddec [2022-04-05T15:58:51.826Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T15:58:51.826Z] ---> Running in 4c3bd3c9a3b1 [2022-04-05T15:58:52.086Z] Removing intermediate container 4c3bd3c9a3b1 [2022-04-05T15:58:52.086Z] ---> 2de39eccad2c [2022-04-05T15:58:52.086Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T15:58:52.086Z] ---> Running in 84c553d111b8 [2022-04-05T15:58:52.655Z] Removing intermediate container 84c553d111b8 [2022-04-05T15:58:52.655Z] ---> e0bb5d753fbb [2022-04-05T15:58:52.655Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T15:58:52.655Z] ---> Running in bc4b68ffc1d4 [2022-04-05T15:58:52.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T15:58:53.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T15:58:54.123Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T15:58:54.384Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T15:58:54.384Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T15:58:54.384Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T15:58:54.646Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T15:58:54.646Z] OK: 224 MiB in 56 packages [2022-04-05T15:58:54.906Z] Removing intermediate container bc4b68ffc1d4 [2022-04-05T15:58:54.906Z] ---> 25d8d227e418 [2022-04-05T15:58:54.906Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-05T15:58:55.167Z] ---> Running in 4c9ceb1d7087 [2022-04-05T15:58:55.167Z] Removing intermediate container 4c9ceb1d7087 [2022-04-05T15:58:55.167Z] ---> ab2f96995f7c [2022-04-05T15:58:55.167Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T15:58:55.167Z] ---> 793b1eae1880 [2022-04-05T15:58:55.167Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T15:58:55.428Z] ---> Running in 17d3ea9167a5 [2022-04-05T15:58:56.295Z] Still waiting to schedule task [2022-04-05T15:58:56.295Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-05T15:59:22.014Z] Removing intermediate container 17d3ea9167a5 [2022-04-05T15:59:22.014Z] ---> 7a61dd8d820c [2022-04-05T15:59:22.014Z] Step 10/12 : COPY . . [2022-04-05T15:59:22.014Z] ---> 659bbfcd1e1a [2022-04-05T15:59:22.014Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T15:59:22.014Z] ---> Running in 3ba0835722cc [2022-04-05T15:59:22.014Z] Removing intermediate container 3ba0835722cc [2022-04-05T15:59:22.014Z] ---> 1e23efa11492 [2022-04-05T15:59:22.014Z] Step 12/12 : RUN $MAKE [2022-04-05T15:59:22.014Z] ---> Running in 6ddebb2bb335 [2022-04-05T15:59:22.014Z] noop [2022-04-05T15:59:22.276Z] Removing intermediate container 6ddebb2bb335 [2022-04-05T15:59:22.276Z] ---> 4018d4131693 [2022-04-05T15:59:22.276Z] Successfully built 4018d4131693 [2022-04-05T15:59:22.276Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:59:22.581Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T15:59:22.581Z] . [Pipeline] withDockerContainer [2022-04-05T15:59:22.654Z] prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container [2022-04-05T15:59:22.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T15:59:23.114Z] $ docker top 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T15:59:23.482Z] + go version [2022-04-05T15:59:23.482Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T15:59:23.500Z] $ docker stop --time=1 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 [2022-04-05T15:59:24.819Z] $ docker rm -f 8c4cd60235e863244061d8c3695ec756bf325485d420bcd96af54581f1e04fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:59:25.247Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T15:59:25.247Z] . [Pipeline] withDockerContainer [2022-04-05T15:59:25.323Z] prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container [2022-04-05T15:59:25.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T15:59:25.761Z] $ docker top bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T15:59:26.140Z] + make test [2022-04-05T15:59:26.141Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T15:59:26.401Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-05T15:59:32.980Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-05T15:59:33.240Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-04-05T15:59:33.240Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-05T15:59:39.831Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T15:59:42.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T15:59:42.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T15:59:42.375Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T15:59:42.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T15:59:42.674Z] $ docker stop --time=1 bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 [2022-04-05T15:59:44.369Z] $ docker rm -f bf9d4b3d988dc69bb2d43b7243b039378b9bde3389c8885e0427d653524445f9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T15:59:44.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T15:59:44.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T15:59:45.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T15:59:46.192Z] + ls -al . [2022-04-05T15:59:46.192Z] total 188 [2022-04-05T15:59:46.192Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 15:59 . [2022-04-05T15:59:46.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 15:58 .. [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 15:58 .dockerignore [2022-04-05T15:59:46.192Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 15:58 .git [2022-04-05T15:59:46.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 .github [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 15:58 .gitignore [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 15:58 .golangci.yml [2022-04-05T15:59:46.192Z] drwx------ 3 jenkins jenkins 4096 Apr 5 15:58 .semver [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 15:58 Attribution.txt [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 15:58 CHANGELOG.md [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 15:58 Dockerfile [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 15:58 GOVERNANCE.md [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 15:58 Jenkinsfile [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 15:58 LICENSE [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 15:58 Makefile [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 15:58 OWNERS.md [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 15:58 README.md [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 15:58 VERSION [2022-04-05T15:59:46.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 15:58 bin [2022-04-05T15:59:46.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 cmd [2022-04-05T15:59:46.192Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 15:59 coverage.out [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 15:58 go.mod [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 15:58 go.sum [2022-04-05T15:59:46.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 15:58 internal [2022-04-05T15:59:46.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 15:58 mock [2022-04-05T15:59:46.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 15:58 snap [2022-04-05T15:59:46.192Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 15:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T15:59:46.491Z] + 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=507254801b4bd25e3cafbbcdc25f775c4bd94e1c --label arch=amd64 --label version=0.0.0 . [2022-04-05T15:59:46.491Z] Sending build context to Docker daemon 5.861MB [2022-04-05T15:59:46.491Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T15:59:46.491Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T15:59:46.491Z] ---> 4018d4131693 [2022-04-05T15:59:46.491Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T15:59:46.491Z] ---> Running in 170b3ce184de [2022-04-05T15:59:46.752Z] Removing intermediate container 170b3ce184de [2022-04-05T15:59:46.752Z] ---> 0bfd71af0ce5 [2022-04-05T15:59:46.752Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T15:59:46.752Z] ---> Running in 2ad8eafb05b7 [2022-04-05T15:59:46.752Z] Removing intermediate container 2ad8eafb05b7 [2022-04-05T15:59:46.752Z] ---> bb47435fff4a [2022-04-05T15:59:46.752Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T15:59:46.752Z] ---> Running in ef535993aaab [2022-04-05T15:59:47.323Z] Removing intermediate container ef535993aaab [2022-04-05T15:59:47.323Z] ---> 0bf7acf43720 [2022-04-05T15:59:47.323Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T15:59:47.323Z] ---> Running in bfbc61acf04f [2022-04-05T15:59:47.894Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T15:59:48.469Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T15:59:49.041Z] OK: 224 MiB in 56 packages [2022-04-05T15:59:49.301Z] Removing intermediate container bfbc61acf04f [2022-04-05T15:59:49.301Z] ---> 41f28416b6ba [2022-04-05T15:59:49.301Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-05T15:59:49.301Z] ---> Running in 222c7fbca5d1 [2022-04-05T15:59:49.301Z] Removing intermediate container 222c7fbca5d1 [2022-04-05T15:59:49.301Z] ---> bc4af82b89d1 [2022-04-05T15:59:49.301Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-05T15:59:49.561Z] ---> 212135e5bb0e [2022-04-05T15:59:49.561Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T15:59:49.561Z] ---> Running in 32af6e1ceec7 [2022-04-05T15:59:50.133Z] Removing intermediate container 32af6e1ceec7 [2022-04-05T15:59:50.133Z] ---> 80becfceddbc [2022-04-05T15:59:50.133Z] Step 10/24 : COPY . . [2022-04-05T15:59:50.396Z] ---> f3132750b1d0 [2022-04-05T15:59:50.396Z] Step 11/24 : ARG MAKE='make build' [2022-04-05T15:59:50.657Z] ---> Running in 75407c0c7e60 [2022-04-05T15:59:50.657Z] Removing intermediate container 75407c0c7e60 [2022-04-05T15:59:50.657Z] ---> 2b58e7d5811d [2022-04-05T15:59:50.657Z] Step 12/24 : RUN $MAKE [2022-04-05T15:59:50.657Z] ---> Running in 2cd9eec7eced [2022-04-05T15:59:50.917Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-05T15:59:59.052Z] Removing intermediate container 2cd9eec7eced [2022-04-05T15:59:59.052Z] ---> 5a34fee2d4aa [2022-04-05T15:59:59.052Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T15:59:59.052Z] 3.14: Pulling from library/alpine [2022-04-05T15:59:59.052Z] 8663204ce13b: Pulling fs layer [2022-04-05T15:59:59.053Z] 8663204ce13b: Verifying Checksum [2022-04-05T15:59:59.053Z] 8663204ce13b: Download complete [2022-04-05T15:59:59.315Z] 8663204ce13b: Pull complete [2022-04-05T15:59:59.315Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T15:59:59.315Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T15:59:59.315Z] ---> e04c818066af [2022-04-05T15:59:59.315Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-05T15:59:59.577Z] ---> Running in 018fa2d1cd6e [2022-04-05T15:59:59.577Z] Removing intermediate container 018fa2d1cd6e [2022-04-05T15:59:59.577Z] ---> d62cd38930c7 [2022-04-05T15:59:59.577Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T15:59:59.577Z] ---> Running in 58ef560ecc35 [2022-04-05T15:59:59.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T15:59:59.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T16:00:00.098Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T16:00:00.098Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T16:00:00.098Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T16:00:00.098Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T16:00:00.098Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T16:00:00.098Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T16:00:00.098Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T16:00:00.098Z] OK: 8 MiB in 20 packages [2022-04-05T16:00:00.671Z] Removing intermediate container 58ef560ecc35 [2022-04-05T16:00:00.671Z] ---> 66f8b090f6ab [2022-04-05T16:00:00.671Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-05T16:00:00.932Z] ---> 8699fc41f42c [2022-04-05T16:00:00.932Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-05T16:00:01.199Z] ---> f07b5b96ec0d [2022-04-05T16:00:01.199Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-05T16:00:01.199Z] ---> c3ec2d1cee3b [2022-04-05T16:00:01.199Z] Step 19/24 : EXPOSE 59982 [2022-04-05T16:00:01.461Z] ---> Running in bb3573838ba9 [2022-04-05T16:00:01.461Z] Removing intermediate container bb3573838ba9 [2022-04-05T16:00:01.461Z] ---> c1770dc0d8a8 [2022-04-05T16:00:01.461Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-05T16:00:01.461Z] ---> Running in 61c521920ae8 [2022-04-05T16:00:01.723Z] Removing intermediate container 61c521920ae8 [2022-04-05T16:00:01.723Z] ---> 38a155d9bd05 [2022-04-05T16:00:01.723Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T16:00:01.723Z] ---> Running in 4bd77b40f08c [2022-04-05T16:00:01.723Z] Removing intermediate container 4bd77b40f08c [2022-04-05T16:00:01.723Z] ---> ef705ba68962 [2022-04-05T16:00:01.723Z] Step 22/24 : LABEL arch=amd64 [2022-04-05T16:00:01.723Z] ---> Running in a6dd590d077c [2022-04-05T16:00:01.984Z] Removing intermediate container a6dd590d077c [2022-04-05T16:00:01.984Z] ---> 09516129f3df [2022-04-05T16:00:01.984Z] Step 23/24 : LABEL git_sha=507254801b4bd25e3cafbbcdc25f775c4bd94e1c [2022-04-05T16:00:01.984Z] ---> Running in fa4a7ed2152f [2022-04-05T16:00:01.984Z] Removing intermediate container fa4a7ed2152f [2022-04-05T16:00:01.984Z] ---> 70bb9dbce723 [2022-04-05T16:00:01.984Z] Step 24/24 : LABEL version=0.0.0 [2022-04-05T16:00:01.984Z] ---> Running in 033543e829cd [2022-04-05T16:00:02.245Z] Removing intermediate container 033543e829cd [2022-04-05T16:00:02.245Z] ---> 6b8be8ea9505 [2022-04-05T16:00:02.245Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T16:00:02.245Z] Successfully built 6b8be8ea9505 [2022-04-05T16:00:02.245Z] Successfully tagged device-mqtt:latest [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] sh [2022-04-05T16:00:02.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T16:00:02.656Z] [2022-04-05T16:00:02.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:00:02.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T16:00:02.960Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T16:00:02.960Z] 5eb5b503b376: Pulling fs layer [2022-04-05T16:00:02.960Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T16:00:02.960Z] ec43610c2a17: Pulling fs layer [2022-04-05T16:00:02.960Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T16:00:02.960Z] 33b1e0a273af: Pulling fs layer [2022-04-05T16:00:02.960Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T16:00:02.960Z] 2f39f015ded8: Pulling fs layer [2022-04-05T16:00:02.960Z] 3a2ae6a8a46f: Waiting [2022-04-05T16:00:02.960Z] 33b1e0a273af: Waiting [2022-04-05T16:00:02.960Z] 5d3b04190fa2: Waiting [2022-04-05T16:00:02.960Z] 2f39f015ded8: Waiting [2022-04-05T16:00:02.960Z] 5c69ac0246d0: Verifying Checksum [2022-04-05T16:00:02.960Z] 5c69ac0246d0: Download complete [2022-04-05T16:00:02.960Z] 3a2ae6a8a46f: Download complete [2022-04-05T16:00:02.960Z] ec43610c2a17: Verifying Checksum [2022-04-05T16:00:02.960Z] ec43610c2a17: Download complete [2022-04-05T16:00:02.960Z] 33b1e0a273af: Verifying Checksum [2022-04-05T16:00:02.960Z] 33b1e0a273af: Download complete [2022-04-05T16:00:02.960Z] 5d3b04190fa2: Verifying Checksum [2022-04-05T16:00:02.960Z] 5d3b04190fa2: Download complete [2022-04-05T16:00:03.221Z] 5eb5b503b376: Verifying Checksum [2022-04-05T16:00:03.221Z] 5eb5b503b376: Download complete [2022-04-05T16:00:03.790Z] 2f39f015ded8: Download complete [2022-04-05T16:00:04.360Z] 5eb5b503b376: Pull complete [2022-04-05T16:00:04.620Z] 5c69ac0246d0: Pull complete [2022-04-05T16:00:04.881Z] ec43610c2a17: Pull complete [2022-04-05T16:00:05.141Z] 3a2ae6a8a46f: Pull complete [2022-04-05T16:00:05.402Z] 33b1e0a273af: Pull complete [2022-04-05T16:00:05.402Z] 5d3b04190fa2: Pull complete [2022-04-05T16:00:10.688Z] 2f39f015ded8: Pull complete [2022-04-05T16:00:10.688Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T16:00:10.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T16:00:10.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T16:00:10.754Z] prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container [2022-04-05T16:00:10.794Z] $ 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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T16:00:12.577Z] $ docker top b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:00:13.000Z] ---> job-cost.sh [2022-04-05T16:00:13.000Z] lf-activate-venv: SKIPPING [2022-04-05T16:00:13.000Z] INFO: No Stack... [2022-04-05T16:00:13.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T16:00:13.831Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T16:00:14.123Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv [2022-04-05T16:00:14.123Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T16:00:14.142Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [2022-04-05T16:00:14.147Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] did not exist. Created. [2022-04-05T16:00:14.148Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T16:00:14.481Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T16:00:14.507Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T16:00:14.513Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T16:00:14.532Z] $ docker stop --time=1 b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 [2022-04-05T16:00:15.698Z] $ docker rm -f b4a4359ddb4d65dbc2a87e6c686d9a129cb5b9e0fe8d113868c948a485639540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T16:00:29.176Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10756 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws [2022-04-05T16:00:29.190Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-04-05T16:00:29.545Z] Selected Git installation does not exist. Using Default [2022-04-05T16:00:29.545Z] The recommended git tool is: NONE [2022-04-05T16:00:35.904Z] using credential edgex-jenkins-ssh [2022-04-05T16:00:35.926Z] Cloning the remote Git repository [2022-04-05T16:00:36.001Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-05T16:00:36.111Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-04-05T16:00:36.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-05T16:00:36.214Z] > git --version # timeout=10 [2022-04-05T16:00:36.250Z] > git --version # 'git version 2.25.1' [2022-04-05T16:00:36.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T16:00:36.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T16:00:37.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-05T16:00:37.824Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T16:00:37.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-05T16:00:37.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-05T16:00:37.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T16:00:37.905Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-05T16:00:38.508Z] Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [2022-04-05T16:00:38.703Z] Merge succeeded, producing 507254801b4bd25e3cafbbcdc25f775c4bd94e1c [2022-04-05T16:00:38.704Z] Checking out Revision 507254801b4bd25e3cafbbcdc25f775c4bd94e1c (PR-353) [2022-04-05T16:00:38.530Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T16:00:38.543Z] > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 [2022-04-05T16:00:38.628Z] > git remote # timeout=10 [2022-04-05T16:00:38.644Z] > git config --get remote.origin.url # timeout=10 [2022-04-05T16:00:38.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T16:00:38.669Z] > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-05T16:00:38.693Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-05T16:00:38.715Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T16:00:38.736Z] > git checkout -f 507254801b4bd25e3cafbbcdc25f775c4bd94e1c # timeout=10 [2022-04-05T16:00:42.822Z] Commit message: "Merge branch 'main' into enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T16:00:43.770Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T16:00:43.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T16:00:43.770Z] Dload Upload Total Spent Left Speed [2022-04-05T16:00:43.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-04-05T16:00:44.282Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T16:00:44.625Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T16:00:44.625Z] + sudo tee /etc/docker/daemon.new [2022-04-05T16:00:44.625Z] { [2022-04-05T16:00:44.625Z] "registry-mirrors": [ [2022-04-05T16:00:44.625Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T16:00:44.625Z] ], [2022-04-05T16:00:44.625Z] "bip": "10.250.0.254/24", [2022-04-05T16:00:44.625Z] "hosts": [ [2022-04-05T16:00:44.625Z] "tcp://0.0.0.0:5555", [2022-04-05T16:00:44.625Z] "unix:///var/run/docker.sock" [2022-04-05T16:00:44.625Z] ], [2022-04-05T16:00:44.625Z] "mtu": 1458, [2022-04-05T16:00:44.625Z] "selinux-enabled": true, [2022-04-05T16:00:44.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T16:00:44.625Z] } [Pipeline] sh [2022-04-05T16:00:44.970Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T16:00:45.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T16:01:03.759Z] provisioning config files... [2022-04-05T16:01:03.786Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config6417494972858808500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:01:04.141Z] ---> docker-login.sh [2022-04-05T16:01:04.141Z] nexus3.edgexfoundry.org:10001 [2022-04-05T16:01:04.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T16:01:05.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T16:01:05.009Z] Configure a credential helper to remove this warning. See [2022-04-05T16:01:05.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T16:01:05.009Z] [2022-04-05T16:01:05.009Z] Login Succeeded [2022-04-05T16:01:05.009Z] nexus3.edgexfoundry.org:10002 [2022-04-05T16:01:05.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T16:01:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T16:01:05.282Z] Configure a credential helper to remove this warning. See [2022-04-05T16:01:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T16:01:05.282Z] [2022-04-05T16:01:05.282Z] Login Succeeded [2022-04-05T16:01:05.282Z] nexus3.edgexfoundry.org:10003 [2022-04-05T16:01:05.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T16:01:05.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T16:01:05.881Z] Configure a credential helper to remove this warning. See [2022-04-05T16:01:05.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T16:01:05.881Z] [2022-04-05T16:01:05.881Z] Login Succeeded [2022-04-05T16:01:05.881Z] nexus3.edgexfoundry.org:10004 [2022-04-05T16:01:06.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T16:01:06.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T16:01:06.158Z] Configure a credential helper to remove this warning. See [2022-04-05T16:01:06.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T16:01:06.158Z] [2022-04-05T16:01:06.158Z] Login Succeeded [2022-04-05T16:01:06.158Z] docker.io [2022-04-05T16:01:06.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T16:01:07.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T16:01:07.036Z] Configure a credential helper to remove this warning. See [2022-04-05T16:01:07.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T16:01:07.036Z] [2022-04-05T16:01:07.036Z] Login Succeeded [2022-04-05T16:01:07.036Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T16:01:07.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T16:01:07.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T16:01:07.521Z] ========================================================= [2022-04-05T16:01:07.521Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T16:01:07.521Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:01:07.877Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T16:01:08.150Z] Sending build context to Docker daemon 3.07MB [2022-04-05T16:01:08.150Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T16:01:08.150Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T16:01:08.428Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T16:01:08.428Z] 9b3977197b4f: Pulling fs layer [2022-04-05T16:01:08.428Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T16:01:08.428Z] 94645a83ff95: Pulling fs layer [2022-04-05T16:01:08.428Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T16:01:08.428Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T16:01:08.428Z] f7c0051592d6: Pulling fs layer [2022-04-05T16:01:08.428Z] a227ed2f7395: Pulling fs layer [2022-04-05T16:01:08.428Z] 7b1c46037f91: Pulling fs layer [2022-04-05T16:01:08.428Z] 3f3a8bcf1eab: Waiting [2022-04-05T16:01:08.428Z] 0c92f367c5e7: Waiting [2022-04-05T16:01:08.428Z] f7c0051592d6: Waiting [2022-04-05T16:01:08.428Z] 7b1c46037f91: Waiting [2022-04-05T16:01:08.428Z] a227ed2f7395: Waiting [2022-04-05T16:01:08.428Z] 94645a83ff95: Download complete [2022-04-05T16:01:08.428Z] 1a89e8eeedd5: Verifying Checksum [2022-04-05T16:01:08.428Z] 1a89e8eeedd5: Download complete [2022-04-05T16:01:08.428Z] 0c92f367c5e7: Verifying Checksum [2022-04-05T16:01:08.428Z] 0c92f367c5e7: Download complete [2022-04-05T16:01:08.428Z] f7c0051592d6: Download complete [2022-04-05T16:01:08.428Z] 9b3977197b4f: Verifying Checksum [2022-04-05T16:01:08.428Z] 9b3977197b4f: Download complete [2022-04-05T16:01:08.428Z] a227ed2f7395: Verifying Checksum [2022-04-05T16:01:08.428Z] a227ed2f7395: Download complete [2022-04-05T16:01:09.421Z] 9b3977197b4f: Pull complete [2022-04-05T16:01:09.699Z] 1a89e8eeedd5: Pull complete [2022-04-05T16:01:09.978Z] 94645a83ff95: Pull complete [2022-04-05T16:01:10.579Z] 7b1c46037f91: Verifying Checksum [2022-04-05T16:01:10.579Z] 7b1c46037f91: Download complete [2022-04-05T16:01:10.851Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T16:01:10.851Z] 3f3a8bcf1eab: Download complete [2022-04-05T16:01:23.267Z] 3f3a8bcf1eab: Pull complete [2022-04-05T16:01:23.267Z] 0c92f367c5e7: Pull complete [2022-04-05T16:01:23.267Z] f7c0051592d6: Pull complete [2022-04-05T16:01:23.543Z] a227ed2f7395: Pull complete [2022-04-05T16:01:30.273Z] 7b1c46037f91: Pull complete [2022-04-05T16:01:30.273Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T16:01:30.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T16:01:30.273Z] ---> f79e39bc4007 [2022-04-05T16:01:30.273Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T16:01:30.886Z] ---> Running in e750f23317af [2022-04-05T16:01:31.491Z] Removing intermediate container e750f23317af [2022-04-05T16:01:31.491Z] ---> e0b1cd7e6c6d [2022-04-05T16:01:31.491Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T16:01:31.491Z] ---> Running in 6cba0e31054a [2022-04-05T16:01:31.765Z] Removing intermediate container 6cba0e31054a [2022-04-05T16:01:31.765Z] ---> 8804c3744626 [2022-04-05T16:01:31.765Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T16:01:31.765Z] ---> Running in a5e82b0006c6 [2022-04-05T16:01:33.764Z] Removing intermediate container a5e82b0006c6 [2022-04-05T16:01:33.764Z] ---> dd1f597a5cdd [2022-04-05T16:01:33.764Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T16:01:33.764Z] ---> Running in 1756a9db9c06 [2022-04-05T16:01:34.744Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T16:01:35.339Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T16:01:36.319Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T16:01:36.319Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T16:01:36.319Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T16:01:36.599Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T16:01:36.599Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T16:01:36.875Z] OK: 224 MiB in 56 packages [2022-04-05T16:01:37.868Z] Removing intermediate container 1756a9db9c06 [2022-04-05T16:01:37.868Z] ---> d920410cb426 [2022-04-05T16:01:37.868Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-05T16:01:37.868Z] ---> Running in b62e9c11ecf0 [2022-04-05T16:01:38.148Z] Removing intermediate container b62e9c11ecf0 [2022-04-05T16:01:38.148Z] ---> 0b552a66305e [2022-04-05T16:01:38.148Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T16:01:40.778Z] ---> 7f1470228d33 [2022-04-05T16:01:40.778Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T16:01:40.778Z] ---> Running in ee18c863e756 [2022-04-05T16:03:02.609Z] Removing intermediate container ee18c863e756 [2022-04-05T16:03:02.609Z] ---> 3397137bbfe3 [2022-04-05T16:03:02.609Z] Step 10/12 : COPY . . [2022-04-05T16:03:02.609Z] ---> 92d14ff49133 [2022-04-05T16:03:02.609Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T16:03:02.609Z] ---> Running in 4f919aa7fbf1 [2022-04-05T16:03:02.609Z] Removing intermediate container 4f919aa7fbf1 [2022-04-05T16:03:02.609Z] ---> df20fcaaba10 [2022-04-05T16:03:02.609Z] Step 12/12 : RUN $MAKE [2022-04-05T16:03:02.609Z] ---> Running in 632416ddbb8f [2022-04-05T16:03:02.609Z] noop [2022-04-05T16:03:02.609Z] Removing intermediate container 632416ddbb8f [2022-04-05T16:03:02.609Z] ---> 43f72dc6eb6e [2022-04-05T16:03:02.609Z] Successfully built 43f72dc6eb6e [2022-04-05T16:03:02.609Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:03:02.950Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T16:03:02.950Z] . [Pipeline] withDockerContainer [2022-04-05T16:03:03.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container [2022-04-05T16:03:03.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T16:03:04.585Z] $ docker top b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T16:03:05.498Z] + go version [2022-04-05T16:03:05.498Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T16:03:05.532Z] $ docker stop --time=1 b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 [2022-04-05T16:03:07.203Z] $ docker rm -f b1b685bb81c5e6ed1a7e667dad800ed87d5081e53a0bdc9bd2211583c4b83b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:03:07.821Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T16:03:07.821Z] . [Pipeline] withDockerContainer [2022-04-05T16:03:08.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container [2022-04-05T16:03:08.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T16:03:09.442Z] $ docker top b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T16:03:10.357Z] + make test [2022-04-05T16:03:10.357Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T16:03:11.798Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-05T16:03:58.838Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-05T16:04:01.464Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 21.8% of statements [2022-04-05T16:04:01.464Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-05T16:04:01.464Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T16:04:01.464Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T16:04:19.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T16:04:19.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T16:04:19.806Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T16:04:21.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T16:04:21.300Z] $ docker stop --time=1 b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 [2022-04-05T16:04:23.022Z] $ docker rm -f b90384bfae8e9bf2c294bf613d7a2e1adefca7e3ec71d95dfb0618b599c88445 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T16:04:23.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T16:04:23.835Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T16:04:24.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T16:04:24.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T16:04:25.031Z] + ls -al . [2022-04-05T16:04:25.031Z] total 184 [2022-04-05T16:04:25.031Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 16:04 . [2022-04-05T16:04:25.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 16:00 .. [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 16:00 .dockerignore [2022-04-05T16:04:25.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 16:00 .git [2022-04-05T16:04:25.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 .github [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 16:00 .gitignore [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 16:00 .golangci.yml [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 16:00 Attribution.txt [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 16:00 CHANGELOG.md [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 16:00 Dockerfile [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 16:00 GOVERNANCE.md [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 16:00 Jenkinsfile [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 16:00 LICENSE [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 16:00 Makefile [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 16:00 OWNERS.md [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 16:00 README.md [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 15:58 VERSION [2022-04-05T16:04:25.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 16:00 bin [2022-04-05T16:04:25.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 cmd [2022-04-05T16:04:25.031Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 16:04 coverage.out [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 16:00 go.mod [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 16:00 go.sum [2022-04-05T16:04:25.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 16:00 internal [2022-04-05T16:04:25.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 16:00 mock [2022-04-05T16:04:25.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 16:00 snap [2022-04-05T16:04:25.031Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 16:00 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:04:25.372Z] + 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=507254801b4bd25e3cafbbcdc25f775c4bd94e1c --label arch=arm64 --label version=0.0.0 . [2022-04-05T16:04:25.654Z] Sending build context to Docker daemon 3.088MB [2022-04-05T16:04:25.654Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T16:04:25.654Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T16:04:25.654Z] ---> 43f72dc6eb6e [2022-04-05T16:04:25.654Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T16:04:25.929Z] ---> Running in 2bc31ef02d3b [2022-04-05T16:04:26.200Z] Removing intermediate container 2bc31ef02d3b [2022-04-05T16:04:26.200Z] ---> 10a7f80608c8 [2022-04-05T16:04:26.200Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T16:04:26.200Z] ---> Running in 923c83a4798f [2022-04-05T16:04:26.490Z] Removing intermediate container 923c83a4798f [2022-04-05T16:04:26.490Z] ---> eae31042899c [2022-04-05T16:04:26.490Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T16:04:26.763Z] ---> Running in 2eed76d36cb6 [2022-04-05T16:04:28.206Z] Removing intermediate container 2eed76d36cb6 [2022-04-05T16:04:28.206Z] ---> 07b611927373 [2022-04-05T16:04:28.206Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T16:04:28.206Z] ---> Running in 7ba5b843c93d [2022-04-05T16:04:29.200Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T16:04:30.176Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T16:04:31.161Z] OK: 224 MiB in 56 packages [2022-04-05T16:04:31.764Z] Removing intermediate container 7ba5b843c93d [2022-04-05T16:04:31.764Z] ---> 6b01c79cd852 [2022-04-05T16:04:31.764Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-05T16:04:32.037Z] ---> Running in 64ccd233068c [2022-04-05T16:04:32.312Z] Removing intermediate container 64ccd233068c [2022-04-05T16:04:32.312Z] ---> 977ae702ca80 [2022-04-05T16:04:32.312Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-05T16:04:32.913Z] ---> e2cd081f3e3c [2022-04-05T16:04:32.913Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T16:04:32.913Z] ---> Running in d962f109c2ee [2022-04-05T16:04:34.899Z] Removing intermediate container d962f109c2ee [2022-04-05T16:04:34.899Z] ---> 071e167b3dd1 [2022-04-05T16:04:34.899Z] Step 10/24 : COPY . . [2022-04-05T16:04:35.883Z] ---> 33e99fa47575 [2022-04-05T16:04:35.883Z] Step 11/24 : ARG MAKE='make build' [2022-04-05T16:04:35.883Z] ---> Running in 09708dbadc16 [2022-04-05T16:04:36.160Z] Removing intermediate container 09708dbadc16 [2022-04-05T16:04:36.160Z] ---> ad97812e9104 [2022-04-05T16:04:36.160Z] Step 12/24 : RUN $MAKE [2022-04-05T16:04:36.160Z] ---> Running in c826a3b09aab [2022-04-05T16:04:37.151Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-05T16:05:16.190Z] Removing intermediate container c826a3b09aab [2022-04-05T16:05:16.190Z] ---> 199267bf7aab [2022-04-05T16:05:16.190Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T16:05:17.168Z] 3.14: Pulling from library/alpine [2022-04-05T16:05:17.168Z] 455c02918c45: Pulling fs layer [2022-04-05T16:05:17.444Z] 455c02918c45: Verifying Checksum [2022-04-05T16:05:17.444Z] 455c02918c45: Download complete [2022-04-05T16:05:18.041Z] 455c02918c45: Pull complete [2022-04-05T16:05:18.041Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T16:05:18.041Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T16:05:18.041Z] ---> ac73e934f311 [2022-04-05T16:05:18.041Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-05T16:05:18.041Z] ---> Running in 0873db09545b [2022-04-05T16:05:18.317Z] Removing intermediate container 0873db09545b [2022-04-05T16:05:18.317Z] ---> bfc19d6f5f7a [2022-04-05T16:05:18.317Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T16:05:18.317Z] ---> Running in 11f376db89b5 [2022-04-05T16:05:19.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T16:05:19.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T16:05:20.561Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T16:05:20.561Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T16:05:20.561Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T16:05:20.561Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T16:05:20.561Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T16:05:20.561Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T16:05:20.561Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T16:05:20.561Z] OK: 8 MiB in 20 packages [2022-04-05T16:05:21.547Z] Removing intermediate container 11f376db89b5 [2022-04-05T16:05:21.547Z] ---> 626c7f6d1a26 [2022-04-05T16:05:21.547Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-05T16:05:22.528Z] ---> 7639f7d90cf8 [2022-04-05T16:05:22.528Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-05T16:05:23.126Z] ---> 869ed539b4d6 [2022-04-05T16:05:23.126Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-05T16:05:23.403Z] ---> 58ebfe202c4d [2022-04-05T16:05:23.403Z] Step 19/24 : EXPOSE 59982 [2022-04-05T16:05:23.682Z] ---> Running in 5bb5e85d27e3 [2022-04-05T16:05:23.958Z] Removing intermediate container 5bb5e85d27e3 [2022-04-05T16:05:23.958Z] ---> 767894ad930b [2022-04-05T16:05:23.958Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-05T16:05:23.958Z] ---> Running in dd8501e1177d [2022-04-05T16:05:24.233Z] Removing intermediate container dd8501e1177d [2022-04-05T16:05:24.233Z] ---> 5afb79145dfd [2022-04-05T16:05:24.233Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T16:05:24.233Z] ---> Running in 56b651579459 [2022-04-05T16:05:24.510Z] Removing intermediate container 56b651579459 [2022-04-05T16:05:24.510Z] ---> f6fd7ceb61bf [2022-04-05T16:05:24.510Z] Step 22/24 : LABEL arch=arm64 [2022-04-05T16:05:24.792Z] ---> Running in 1a1b6fee14b2 [2022-04-05T16:05:25.067Z] Removing intermediate container 1a1b6fee14b2 [2022-04-05T16:05:25.067Z] ---> 7776ab55ae25 [2022-04-05T16:05:25.067Z] Step 23/24 : LABEL git_sha=507254801b4bd25e3cafbbcdc25f775c4bd94e1c [2022-04-05T16:05:25.067Z] ---> Running in feb1e64dc3e7 [2022-04-05T16:05:25.342Z] Removing intermediate container feb1e64dc3e7 [2022-04-05T16:05:25.342Z] ---> ebe3b24ff693 [2022-04-05T16:05:25.342Z] Step 24/24 : LABEL version=0.0.0 [2022-04-05T16:05:25.342Z] ---> Running in 3e6ae35fc2c2 [2022-04-05T16:05:25.616Z] Removing intermediate container 3e6ae35fc2c2 [2022-04-05T16:05:25.616Z] ---> fd31f783832d [2022-04-05T16:05:25.616Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T16:05:25.892Z] Successfully built fd31f783832d [2022-04-05T16:05:25.892Z] Successfully tagged device-mqtt-arm64:latest [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] sh [2022-04-05T16:05:26.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T16:05:26.329Z] [2022-04-05T16:05:26.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:05:26.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T16:05:26.965Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T16:05:26.965Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T16:05:26.965Z] 04944245beec: Pulling fs layer [2022-04-05T16:05:26.965Z] 699f458cf7ca: Pulling fs layer [2022-04-05T16:05:26.965Z] 765212b225bb: Pulling fs layer [2022-04-05T16:05:26.965Z] f23df028b6ca: Pulling fs layer [2022-04-05T16:05:26.965Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T16:05:26.965Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T16:05:26.965Z] 765212b225bb: Waiting [2022-04-05T16:05:26.965Z] f23df028b6ca: Waiting [2022-04-05T16:05:26.965Z] 2437ff75d9bd: Waiting [2022-04-05T16:05:26.965Z] d65c8cfc05b1: Waiting [2022-04-05T16:05:26.965Z] 04944245beec: Verifying Checksum [2022-04-05T16:05:26.965Z] 04944245beec: Download complete [2022-04-05T16:05:26.965Z] 765212b225bb: Download complete [2022-04-05T16:05:26.965Z] f23df028b6ca: Verifying Checksum [2022-04-05T16:05:26.965Z] f23df028b6ca: Download complete [2022-04-05T16:05:26.965Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T16:05:27.247Z] 699f458cf7ca: Verifying Checksum [2022-04-05T16:05:27.247Z] 699f458cf7ca: Download complete [2022-04-05T16:05:27.524Z] 8998bd30e6a1: Verifying Checksum [2022-04-05T16:05:27.524Z] 8998bd30e6a1: Download complete [2022-04-05T16:05:30.153Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T16:05:30.153Z] 2437ff75d9bd: Download complete [2022-04-05T16:05:32.134Z] 8998bd30e6a1: Pull complete [2022-04-05T16:05:32.134Z] 04944245beec: Pull complete [2022-04-05T16:05:33.574Z] 699f458cf7ca: Pull complete [2022-04-05T16:05:33.849Z] 765212b225bb: Pull complete [2022-04-05T16:05:34.833Z] f23df028b6ca: Pull complete [2022-04-05T16:05:35.107Z] d65c8cfc05b1: Pull complete [2022-04-05T16:05:50.233Z] 2437ff75d9bd: Pull complete [2022-04-05T16:05:50.233Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T16:05:50.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T16:05:50.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T16:05:50.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-10756 does not seem to be running inside a container [2022-04-05T16:05:50.567Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-05T16:05:52.976Z] $ docker top f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:05:53.882Z] ---> job-cost.sh [2022-04-05T16:05:53.882Z] lf-activate-venv: SKIPPING [2022-04-05T16:05:53.882Z] INFO: No Stack... [2022-04-05T16:05:54.154Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T16:05:55.131Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T16:05:55.799Z] + cut -d,+ -f6 [2022-04-05T16:05:55.799Z] cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock [2022-04-05T16:05:55.865Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [2022-04-05T16:05:55.871Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] did not exist. Created. [2022-04-05T16:05:55.871Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T16:05:56.555Z] /w/workspace/device-mqtt-go/4@tmp/durable-ab5594ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T16:05:57.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T16:05:57.271Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T16:05:57.319Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T16:05:57.326Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T16:05:57.354Z] $ docker stop --time=1 f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c [2022-04-05T16:05:58.879Z] $ docker rm -f f4f35b4e4d7dda29cfd28a53b5c16e71d3a93465dd38bed5da6fd6f095c55f0c [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 [2022-04-05T16:05:59.370Z] provisioning config files... [2022-04-05T16:05:59.378Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config3912649660129513591tmp [Pipeline] { [Pipeline] sh [2022-04-05T16:05:59.676Z] + set +x [2022-04-05T16:05:59.676Z] + curl -s https://codecov.io/bash [2022-04-05T16:05:59.676Z] + bash -s -- [2022-04-05T16:05:59.676Z] [2022-04-05T16:05:59.676Z] _____ _ [2022-04-05T16:05:59.676Z] / ____| | | [2022-04-05T16:05:59.676Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T16:05:59.676Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T16:05:59.676Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T16:05:59.676Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T16:05:59.676Z] Bash-1.0.6 [2022-04-05T16:05:59.676Z] [2022-04-05T16:05:59.676Z] [2022-04-05T16:05:59.676Z] ==> git version 2.25.1 found [2022-04-05T16:05:59.676Z] ==> 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 [2022-04-05T16:05:59.676Z] Release-Date: 2020-01-08 [2022-04-05T16:05:59.676Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-05T16:05:59.676Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T16:05:59.676Z] ==> Jenkins CI detected. [2022-04-05T16:05:59.676Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-05T16:05:59.676Z] project root: . [2022-04-05T16:05:59.676Z] --> token set from env [2022-04-05T16:05:59.676Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T16:05:59.676Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T16:05:59.676Z] ==> Python coveragepy not found [2022-04-05T16:05:59.676Z] ==> Searching for coverage reports in: [2022-04-05T16:05:59.676Z] + . [2022-04-05T16:05:59.676Z] -> Found 1 reports [2022-04-05T16:05:59.676Z] ==> Detecting git/mercurial file structure [2022-04-05T16:05:59.676Z] ==> Reading reports [2022-04-05T16:05:59.676Z] + ./coverage.out bytes=17887 [2022-04-05T16:05:59.676Z] ==> Appending adjustments [2022-04-05T16:05:59.676Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T16:05:59.936Z] + Found adjustments [2022-04-05T16:05:59.936Z] ==> Gzipping contents [2022-04-05T16:05:59.936Z] 4.0K /tmp/codecov.GDfqTY.gz [2022-04-05T16:05:59.936Z] ==> Uploading reports [2022-04-05T16:05:59.936Z] url: https://codecov.io [2022-04-05T16:05:59.936Z] query: branch=PR-353&commit=507254801b4bd25e3cafbbcdc25f775c4bd94e1c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-05T16:05:59.936Z] -> Pinging Codecov [2022-04-05T16:05:59.936Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-353&commit=507254801b4bd25e3cafbbcdc25f775c4bd94e1c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-05T16:06:00.197Z] -> Uploading to [2022-04-05T16:06:00.197Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/7D719EC7BBE17E464838252E33014C33/507254801b4bd25e3cafbbcdc25f775c4bd94e1c/3738751b-18bd-450d-ba4b-71af2260e91a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T160600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c91b84eab65004039f4e5e112b457892003ecf58ccece1e7041da5a0350c91a5 [2022-04-05T16:06:00.197Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T16:06:00.197Z] Dload Upload Total Spent Left Speed [2022-04-05T16:06:00.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3256 0 0 100 3256 0 13680 --:--:-- --:--:-- --:--:-- 13680 [2022-04-05T16:06:00.457Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/507254801b4bd25e3cafbbcdc25f775c4bd94e1c [Pipeline] } [2022-04-05T16:06:00.465Z] 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 [2022-04-05T16:06:01.220Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] [2022-04-05T16:06:01.220Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-05T16:06:01.220Z] total 16 [2022-04-05T16:06:01.220Z] drwxr-xr-x 3 root root 4096 Apr 5 16:00 . [2022-04-05T16:06:01.220Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 16:00 .. [2022-04-05T16:06:01.220Z] drwxr-xr-x 2 root root 4096 Apr 5 16:00 cost [2022-04-05T16:06:01.220Z] -rw-r--r-- 1 root root 85 Apr 5 16:00 cost.csv [2022-04-05T16:06:01.220Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-05T16:06:01.220Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-05T16:06:01.220Z] total 16 [2022-04-05T16:06:01.220Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 16:00 . [2022-04-05T16:06:01.220Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 16:00 .. [2022-04-05T16:06:01.220Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 16:00 cost [2022-04-05T16:06:01.220Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 5 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:01.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:02.386Z] ---> package-listing.sh [2022-04-05T16:06:02.386Z] ++ facter osfamily [2022-04-05T16:06:02.386Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T16:06:02.646Z] + OS_FAMILY=debian [2022-04-05T16:06:02.646Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-05T16:06:02.646Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T16:06:02.646Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T16:06:02.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T16:06:02.646Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T16:06:02.646Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-05T16:06:02.646Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T16:06:02.646Z] + case "${OS_FAMILY}" in [2022-04-05T16:06:02.646Z] + dpkg -l [2022-04-05T16:06:02.646Z] + grep '^ii' [2022-04-05T16:06:02.646Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T16:06:02.646Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T16:06:02.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T16:06:02.646Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-05T16:06:02.646Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [2022-04-05T16:06:02.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [Pipeline] echo [2022-04-05T16:06:02.659Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-05T16:06:02.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T16:06:03.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T16:06:03.500Z] . [Pipeline] withDockerContainer [2022-04-05T16:06:03.570Z] prd-ubuntu20.04-docker-8c-8g-10755 does not seem to be running inside a container [2022-04-05T16:06:03.611Z] $ 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-353/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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T16:06:03.881Z] $ docker top 8a2394bf1a3831f385fd2c18040e4108d22dc271c28c06342bc0f3301b660441 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T16:06:04.264Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T16:06:04.555Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T16:06:04.851Z] + ls /var/log/sa-host [2022-04-05T16:06:04.851Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T16:06:05.059Z] provisioning config files... [2022-04-05T16:06:05.072Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config2973561620779898005tmp [Pipeline] { [Pipeline] echo [2022-04-05T16:06:05.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:05.377Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T16:06:05.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:05.723Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T16:06:05.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:06.025Z] ---> sudo-logs.sh [2022-04-05T16:06:06.025Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T16:06:06.050Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:06.337Z] ---> job-cost.sh [2022-04-05T16:06:06.337Z] lf-activate-venv: SKIPPING [2022-04-05T16:06:06.337Z] DEBUG: total: 0.2199999988079071 [2022-04-05T16:06:06.337Z] INFO: Retrieving Stack Cost... [2022-04-05T16:06:06.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T16:06:07.167Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T16:06:07.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T16:06:07.469Z] ---> logs-deploy.sh [2022-04-05T16:06:07.469Z] lf-activate-venv: SKIPPING [2022-04-05T16:06:07.469Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/4 [2022-04-05T16:06:07.469Z] INFO: archiving workspace using pattern(s): [2022-04-05T16:06:08.411Z] Archives upload complete. [2022-04-05T16:06:08.411Z] INFO: archiving logs to Nexus