Pull request #485 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bed55794445f9f6d3c82cdc2f248dc5f1c649be8+bc7652beee9a90296fe0b57947c4589a421f5e02 (0c42e485f2617a0f9b78736cdcf5e53bcb92e8aa) 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-ssh2584258144732115117.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh517173354683920501.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10012405238479459641.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-485/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13045534509994874458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4496451951450550823.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-485/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-485/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13066909251176598942.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6035 in /w/workspace/gexfoundry_device-mqtt-go_PR-485 [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-485 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit bed55794445f9f6d3c82cdc2f248dc5f1c649be8 Merge succeeded, producing bed55794445f9f6d3c82cdc2f248dc5f1c649be8 Checking out Revision bed55794445f9f6d3c82cdc2f248dc5f1c649be8 (PR-485) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T01:59:56.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T01:59:56.857Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T01:59:56.963Z] ========================================================= [2023-02-15T01:59:56.963Z] EdgeX Global Pipelines Version Info [2023-02-15T01:59:56.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bed55794445f9f6d3c82cdc2f248dc5f1c649be8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bed55794445f9f6d3c82cdc2f248dc5f1c649be8 # timeout=10 [2023-02-15T01:59:57.749Z] ------------------- [2023-02-15T01:59:57.749Z] stable info: [2023-02-15T01:59:57.749Z] ------------------- [2023-02-15T01:59:57.749Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T01:59:57.749Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T01:59:57.749Z] Message: update stable to v1.0.244 [2023-02-15T01:59:58.318Z] ------------------- [2023-02-15T01:59:58.318Z] experimental info: [2023-02-15T01:59:58.318Z] ------------------- [2023-02-15T01:59:58.318Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T01:59:58.318Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T01:59:58.318Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T01:59:58.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-15T01:59:58.634Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-15T01:59:58.673Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T01:59:58.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T01:59:58.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T01:59:58.798Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T01:59:58.837Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T01:59:58.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T01:59:58.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T01:59:58.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T01:59:58.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T01:59:59.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-15T01:59:59.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T01:59:59.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T01:59:59.144Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T01:59:59.187Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T01:59:59.226Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T01:59:59.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T01:59:59.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T01:59:59.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T01:59:59.382Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T01:59:59.421Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T01:59:59.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T01:59:59.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T01:59:59.547Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T01:59:59.590Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T01:59:59.633Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T01:59:59.671Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-485 [Pipeline] echo [2023-02-15T01:59:59.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-485 [Pipeline] echo [2023-02-15T01:59:59.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-485 [Pipeline] echo [2023-02-15T01:59:59.787Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [Pipeline] echo [2023-02-15T01:59:59.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bed5579 [Pipeline] echo [2023-02-15T01:59:59.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T01:59:59.968Z] provisioning config files... [2023-02-15T01:59:59.980Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/config13049237198556770674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:00:00.336Z] ---> docker-login.sh [2023-02-15T02:00:00.336Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:00:00.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:00.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:00.856Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:00.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:00.856Z] [2023-02-15T02:00:00.856Z] Login Succeeded [2023-02-15T02:00:00.856Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:00:00.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:00.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:00.856Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:00.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:00.856Z] [2023-02-15T02:00:00.856Z] Login Succeeded [2023-02-15T02:00:00.856Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:00:00.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.121Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.121Z] [2023-02-15T02:00:01.121Z] Login Succeeded [2023-02-15T02:00:01.121Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:00:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.121Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.121Z] [2023-02-15T02:00:01.121Z] Login Succeeded [2023-02-15T02:00:01.121Z] docker.io [2023-02-15T02:00:01.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.385Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.385Z] [2023-02-15T02:00:01.385Z] Login Succeeded [2023-02-15T02:00:01.385Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:00:01.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T02:00:02.064Z] + git rev-list -1 --merges bed55794445f9f6d3c82cdc2f248dc5f1c649be8~1..bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [Pipeline] echo [2023-02-15T02:00:02.130Z] -----------> git rev-list -1 --merges bed55794445f9f6d3c82cdc2f248dc5f1c649be8~1..bed55794445f9f6d3c82cdc2f248dc5f1c649be8 bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [false] [Pipeline] sh [2023-02-15T02:00:02.429Z] + git log --format=format:%s -1 bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [Pipeline] echo [2023-02-15T02:00:02.466Z] ========================================================= [2023-02-15T02:00:02.466Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T02:00:02.466Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T02:00:02.876Z] + git log --format=format:%s -1 bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [Pipeline] echo [2023-02-15T02:00:02.907Z] [semverPrep] GIT_COMMIT: bed55794445f9f6d3c82cdc2f248dc5f1c649be8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-15T02:00:02.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T02:00:03.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.303Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T02:00:03.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.304Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T02:00:03.304Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.304Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:03.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:03.732Z] [2023-02-15T02:00:03.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:04.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:04.119Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T02:00:04.119Z] b85a868b505f: Pulling fs layer [2023-02-15T02:00:04.119Z] e2be974225ed: Pulling fs layer [2023-02-15T02:00:04.119Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T02:00:04.119Z] 988bab9f4d93: Pulling fs layer [2023-02-15T02:00:04.119Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T02:00:04.119Z] eaf3925da568: Pulling fs layer [2023-02-15T02:00:04.119Z] bab4dde63d76: Pulling fs layer [2023-02-15T02:00:04.119Z] bde34c3a00c8: Pulling fs layer [2023-02-15T02:00:04.119Z] b352a97aabf1: Pulling fs layer [2023-02-15T02:00:04.119Z] 4872d77fe225: Pulling fs layer [2023-02-15T02:00:04.119Z] 5851b861e8e6: Pulling fs layer [2023-02-15T02:00:04.119Z] 988bab9f4d93: Waiting [2023-02-15T02:00:04.119Z] 1469e6f7b9e6: Waiting [2023-02-15T02:00:04.119Z] eaf3925da568: Waiting [2023-02-15T02:00:04.119Z] bab4dde63d76: Waiting [2023-02-15T02:00:04.119Z] bde34c3a00c8: Waiting [2023-02-15T02:00:04.119Z] b352a97aabf1: Waiting [2023-02-15T02:00:04.119Z] 4872d77fe225: Waiting [2023-02-15T02:00:04.119Z] 5851b861e8e6: Waiting [2023-02-15T02:00:04.119Z] e2be974225ed: Download complete [2023-02-15T02:00:04.388Z] 988bab9f4d93: Download complete [2023-02-15T02:00:04.388Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T02:00:04.388Z] 339a4e72a1f5: Download complete [2023-02-15T02:00:04.388Z] eaf3925da568: Download complete [2023-02-15T02:00:05.382Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T02:00:05.382Z] 1469e6f7b9e6: Download complete [2023-02-15T02:00:05.382Z] bde34c3a00c8: Verifying Checksum [2023-02-15T02:00:05.382Z] bde34c3a00c8: Download complete [2023-02-15T02:00:05.382Z] bab4dde63d76: Verifying Checksum [2023-02-15T02:00:05.382Z] bab4dde63d76: Download complete [2023-02-15T02:00:05.382Z] 4872d77fe225: Verifying Checksum [2023-02-15T02:00:05.382Z] 4872d77fe225: Download complete [2023-02-15T02:00:05.647Z] 5851b861e8e6: Verifying Checksum [2023-02-15T02:00:05.647Z] 5851b861e8e6: Download complete [2023-02-15T02:00:05.647Z] b352a97aabf1: Verifying Checksum [2023-02-15T02:00:05.647Z] b352a97aabf1: Download complete [2023-02-15T02:00:05.647Z] b85a868b505f: Verifying Checksum [2023-02-15T02:00:05.647Z] b85a868b505f: Download complete [2023-02-15T02:00:07.026Z] b85a868b505f: Pull complete [2023-02-15T02:00:07.026Z] e2be974225ed: Pull complete [2023-02-15T02:00:07.285Z] 339a4e72a1f5: Pull complete [2023-02-15T02:00:07.544Z] 988bab9f4d93: Pull complete [2023-02-15T02:00:07.803Z] 1469e6f7b9e6: Pull complete [2023-02-15T02:00:07.803Z] eaf3925da568: Pull complete [2023-02-15T02:00:09.706Z] bab4dde63d76: Pull complete [2023-02-15T02:00:09.706Z] bde34c3a00c8: Pull complete [2023-02-15T02:00:09.706Z] b352a97aabf1: Pull complete [2023-02-15T02:00:09.970Z] 4872d77fe225: Pull complete [2023-02-15T02:00:09.970Z] 5851b861e8e6: Pull complete [2023-02-15T02:00:09.970Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T02:00:09.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:09.971Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:00:10.184Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-02-15T02:00:10.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-485 -v /w/workspace/gexfoundry_device-mqtt-go_PR-485:/w/workspace/gexfoundry_device-mqtt-go_PR-485:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T02:00:12.457Z] $ docker top bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 -eo pid,comm [2023-02-15T02:00:12.512Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T02:00:12.512Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T02:00:12.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T02:00:12.641Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T02:00:12.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T02:00:12.739Z] $ docker exec bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 ssh-agent [2023-02-15T02:00:12.849Z] SSH_AUTH_SOCK=/tmp/ssh-lSAUoI5bzIrP/agent.32 [2023-02-15T02:00:12.849Z] SSH_AGENT_PID=38 [2023-02-15T02:00:12.856Z] Running ssh-add (command line suppressed) [2023-02-15T02:00:12.963Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/private_key_3288058271896924353.key (/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/private_key_3288058271896924353.key) [2023-02-15T02:00:12.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T02:00:13.307Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T02:00:13.331Z] $ docker exec --env ******** --env ******** bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 ssh-agent -k [2023-02-15T02:00:13.429Z] unset SSH_AUTH_SOCK; [2023-02-15T02:00:13.429Z] unset SSH_AGENT_PID; [2023-02-15T02:00:13.430Z] echo Agent pid 38 killed; [2023-02-15T02:00:13.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T02:00:13.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T02:00:13.531Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T02:00:13.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T02:00:13.639Z] $ docker exec bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 ssh-agent [2023-02-15T02:00:13.759Z] SSH_AUTH_SOCK=/tmp/ssh-ZMclK4Z3u5Gx/agent.70 [2023-02-15T02:00:13.759Z] SSH_AGENT_PID=76 [2023-02-15T02:00:13.764Z] Running ssh-add (command line suppressed) [2023-02-15T02:00:13.859Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/private_key_11132652866312122794.key (/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/private_key_11132652866312122794.key) [2023-02-15T02:00:13.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T02:00:14.205Z] + git semver init [2023-02-15T02:00:14.463Z] 2023-02-15 02:00:14,448 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T02:00:14.464Z] 2023-02-15 02:00:14,449 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver [2023-02-15T02:00:14.464Z] 2023-02-15 02:00:14,449 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver [2023-02-15T02:00:14.464Z] 2023-02-15 02:00:14,450 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-485, universal_newlines=False, shell=None, istream=None) [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,374 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-485/.git/info/exclude [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver/PR-485 with force:False [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,375 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver/PR-485 [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,379 [execute] INFO git cat-file --batch-check [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,386 [execute] INFO git cat-file --batch [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T02:00:15.401Z] 2023-02-15 02:00:15,392 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-485/.semver/PR-485 [2023-02-15T02:00:15.401Z] 0.0.0 [Pipeline] } [2023-02-15T02:00:15.675Z] $ docker exec --env ******** --env ******** bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 ssh-agent -k [2023-02-15T02:00:15.765Z] unset SSH_AUTH_SOCK; [2023-02-15T02:00:15.765Z] unset SSH_AGENT_PID; [2023-02-15T02:00:15.766Z] echo Agent pid 76 killed; [2023-02-15T02:00:15.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T02:00:16.229Z] + git semver [Pipeline] } [2023-02-15T02:00:16.517Z] $ docker stop --time=1 bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 [2023-02-15T02:00:17.878Z] $ docker rm -f --volumes bd327879c1731942fa3cce1ac19cc5dc5a1ca6768b395d93ebf2d9dc557eeb35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T02:00:18.282Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T02:00:18.578Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T02:00:18.596Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:00:19.182Z] provisioning config files... [2023-02-15T02:00:19.192Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/config17623891286058002611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:00:19.532Z] ---> docker-login.sh [2023-02-15T02:00:19.532Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:00:19.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.532Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.532Z] [2023-02-15T02:00:19.532Z] Login Succeeded [2023-02-15T02:00:19.532Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:00:19.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.532Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.532Z] [2023-02-15T02:00:19.532Z] Login Succeeded [2023-02-15T02:00:19.532Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:00:19.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.793Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.793Z] [2023-02-15T02:00:19.793Z] Login Succeeded [2023-02-15T02:00:19.793Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:00:19.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.793Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.793Z] [2023-02-15T02:00:19.793Z] Login Succeeded [2023-02-15T02:00:19.793Z] docker.io [2023-02-15T02:00:20.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:20.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:20.053Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:20.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:20.053Z] [2023-02-15T02:00:20.053Z] Login Succeeded [2023-02-15T02:00:20.053Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:00:20.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T02:00:20.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:00:20.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:00:20.388Z] ========================================================= [2023-02-15T02:00:20.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T02:00:20.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:20.863Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T02:00:20.863Z] Sending build context to Docker daemon 6.341MB [2023-02-15T02:00:20.863Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:00:20.863Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T02:00:21.128Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T02:00:21.128Z] 213ec9aee27d: Pulling fs layer [2023-02-15T02:00:21.128Z] 4583459ba037: Pulling fs layer [2023-02-15T02:00:21.128Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T02:00:21.128Z] 53926ce57604: Pulling fs layer [2023-02-15T02:00:21.128Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T02:00:21.128Z] 22ff95d597cd: Pulling fs layer [2023-02-15T02:00:21.128Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T02:00:21.128Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T02:00:21.128Z] a7acece74701: Pulling fs layer [2023-02-15T02:00:21.128Z] 22ff95d597cd: Waiting [2023-02-15T02:00:21.128Z] 12d6caf4c0d1: Waiting [2023-02-15T02:00:21.128Z] a7acece74701: Waiting [2023-02-15T02:00:21.128Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T02:00:21.128Z] 93c1e223e6f2: Download complete [2023-02-15T02:00:21.128Z] 4583459ba037: Verifying Checksum [2023-02-15T02:00:21.128Z] 4583459ba037: Download complete [2023-02-15T02:00:21.128Z] 21b2b0c7a3f4: Download complete [2023-02-15T02:00:21.128Z] 22ff95d597cd: Verifying Checksum [2023-02-15T02:00:21.128Z] 22ff95d597cd: Download complete [2023-02-15T02:00:21.392Z] 213ec9aee27d: Verifying Checksum [2023-02-15T02:00:21.392Z] 213ec9aee27d: Download complete [2023-02-15T02:00:21.392Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T02:00:21.392Z] 12d6caf4c0d1: Download complete [2023-02-15T02:00:21.667Z] 213ec9aee27d: Pull complete [2023-02-15T02:00:21.951Z] 4583459ba037: Pull complete [2023-02-15T02:00:22.252Z] 93c1e223e6f2: Pull complete [2023-02-15T02:00:24.516Z] 53926ce57604: Verifying Checksum [2023-02-15T02:00:24.516Z] 53926ce57604: Download complete [2023-02-15T02:00:24.516Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T02:00:24.516Z] 96b7cbca73a9: Download complete [2023-02-15T02:00:25.101Z] a7acece74701: Verifying Checksum [2023-02-15T02:00:25.101Z] a7acece74701: Download complete [2023-02-15T02:00:28.395Z] 53926ce57604: Pull complete [2023-02-15T02:00:28.395Z] 21b2b0c7a3f4: Pull complete [2023-02-15T02:00:28.395Z] 22ff95d597cd: Pull complete [2023-02-15T02:00:28.395Z] 12d6caf4c0d1: Pull complete [2023-02-15T02:00:30.298Z] 96b7cbca73a9: Pull complete [2023-02-15T02:00:31.230Z] a7acece74701: Pull complete [2023-02-15T02:00:31.230Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T02:00:31.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T02:00:31.230Z] ---> db6d94c90886 [2023-02-15T02:00:31.230Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:00:33.770Z] ---> Running in 8415dd11a860 [2023-02-15T02:00:33.770Z] Removing intermediate container 8415dd11a860 [2023-02-15T02:00:33.770Z] ---> 58a875fdec21 [2023-02-15T02:00:33.770Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:00:34.002Z] Still waiting to schedule task [2023-02-15T02:00:34.002Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T02:00:34.031Z] ---> Running in afa75b3367f1 [2023-02-15T02:00:34.290Z] Removing intermediate container afa75b3367f1 [2023-02-15T02:00:34.290Z] ---> 090b9eb1e79a [2023-02-15T02:00:34.290Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:00:34.559Z] ---> Running in 6f3972cad04a [2023-02-15T02:00:34.559Z] Removing intermediate container 6f3972cad04a [2023-02-15T02:00:34.559Z] ---> e229f08cc216 [2023-02-15T02:00:34.559Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:00:34.818Z] ---> Running in ff41b86a1d96 [2023-02-15T02:00:35.077Z] Removing intermediate container ff41b86a1d96 [2023-02-15T02:00:35.077Z] ---> bdae4b525a9c [2023-02-15T02:00:35.077Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:00:35.077Z] ---> Running in 2f488b9afbf2 [2023-02-15T02:00:35.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T02:00:35.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T02:00:35.861Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T02:00:35.861Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T02:00:35.861Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T02:00:35.861Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T02:00:35.861Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:00:35.861Z] OK: 216 MiB in 55 packages [2023-02-15T02:00:36.442Z] Removing intermediate container 2f488b9afbf2 [2023-02-15T02:00:36.442Z] ---> 10ddadd14e0d [2023-02-15T02:00:36.442Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-15T02:00:36.442Z] ---> Running in bd9e745b0fd3 [2023-02-15T02:00:36.442Z] Removing intermediate container bd9e745b0fd3 [2023-02-15T02:00:36.442Z] ---> 48a71d315e2a [2023-02-15T02:00:36.442Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T02:00:36.712Z] ---> 8456ae09c875 [2023-02-15T02:00:36.712Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:00:36.712Z] ---> Running in 52d20f08a5af [2023-02-15T02:01:15.464Z] Removing intermediate container 52d20f08a5af [2023-02-15T02:01:15.464Z] ---> 53536ebd1c2d [2023-02-15T02:01:15.464Z] Step 11/12 : COPY . . [2023-02-15T02:01:15.464Z] ---> 1f0b52ffe6f5 [2023-02-15T02:01:15.464Z] Step 12/12 : RUN $MAKE [2023-02-15T02:01:15.464Z] ---> Running in b76a85e50452 [2023-02-15T02:01:15.464Z] noop [2023-02-15T02:01:15.464Z] Removing intermediate container b76a85e50452 [2023-02-15T02:01:15.464Z] ---> 91dbd2be8288 [2023-02-15T02:01:15.464Z] Successfully built 91dbd2be8288 [2023-02-15T02:01:15.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:15.899Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T02:01:15.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:01:16.038Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-02-15T02:01:16.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-485 -v /w/workspace/gexfoundry_device-mqtt-go_PR-485:/w/workspace/gexfoundry_device-mqtt-go_PR-485:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T02:01:16.475Z] $ docker top 2f30181d6083722ec8f69b2c4c687460d69c5d617077748eb80ffbe1dff821e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:01:16.858Z] + go version [2023-02-15T02:01:16.858Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T02:01:16.893Z] $ docker stop --time=1 2f30181d6083722ec8f69b2c4c687460d69c5d617077748eb80ffbe1dff821e3 [2023-02-15T02:01:18.495Z] $ docker rm -f --volumes 2f30181d6083722ec8f69b2c4c687460d69c5d617077748eb80ffbe1dff821e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:19.246Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T02:01:19.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:01:19.393Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-02-15T02:01:19.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-485 -v /w/workspace/gexfoundry_device-mqtt-go_PR-485:/w/workspace/gexfoundry_device-mqtt-go_PR-485:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T02:01:19.863Z] $ docker top ec589bffaef8fa37113b778214c495f9ed60bdb91ce7c17a4680c345c20e8ee2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:01:20.238Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-485 [Pipeline] fileExists [Pipeline] sh [2023-02-15T02:01:20.581Z] + make test [2023-02-15T02:01:20.581Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T02:01:20.839Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-15T02:01:25.023Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-02-15T02:01:25.023Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-02-15T02:01:29.207Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-02-15T02:01:29.207Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-15T02:01:29.247Z] $ docker stop --time=1 ec589bffaef8fa37113b778214c495f9ed60bdb91ce7c17a4680c345c20e8ee2 [2023-02-15T02:01:31.060Z] $ docker rm -f --volumes ec589bffaef8fa37113b778214c495f9ed60bdb91ce7c17a4680c345c20e8ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:32.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:01:32.164Z] [2023-02-15T02:01:32.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:32.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:01:32.604Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T02:01:32.604Z] 5eb5b503b376: Pulling fs layer [2023-02-15T02:01:32.604Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T02:01:32.604Z] ec43610c2a17: Pulling fs layer [2023-02-15T02:01:32.604Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T02:01:32.604Z] 33b1e0a273af: Pulling fs layer [2023-02-15T02:01:32.604Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T02:01:32.604Z] 2f39f015ded8: Pulling fs layer [2023-02-15T02:01:32.604Z] 3a2ae6a8a46f: Waiting [2023-02-15T02:01:32.604Z] 33b1e0a273af: Waiting [2023-02-15T02:01:32.604Z] 5d3b04190fa2: Waiting [2023-02-15T02:01:32.604Z] 2f39f015ded8: Waiting [2023-02-15T02:01:32.604Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T02:01:32.604Z] 5c69ac0246d0: Download complete [2023-02-15T02:01:32.604Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T02:01:32.604Z] 3a2ae6a8a46f: Download complete [2023-02-15T02:01:32.880Z] ec43610c2a17: Verifying Checksum [2023-02-15T02:01:32.880Z] ec43610c2a17: Download complete [2023-02-15T02:01:32.880Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T02:01:32.880Z] 5d3b04190fa2: Download complete [2023-02-15T02:01:32.880Z] 33b1e0a273af: Verifying Checksum [2023-02-15T02:01:32.880Z] 33b1e0a273af: Download complete [2023-02-15T02:01:32.880Z] 5eb5b503b376: Verifying Checksum [2023-02-15T02:01:32.880Z] 5eb5b503b376: Download complete [2023-02-15T02:01:33.873Z] 2f39f015ded8: Download complete [2023-02-15T02:01:34.132Z] 5eb5b503b376: Pull complete [2023-02-15T02:01:34.390Z] 5c69ac0246d0: Pull complete [2023-02-15T02:01:34.649Z] ec43610c2a17: Pull complete [2023-02-15T02:01:34.906Z] 3a2ae6a8a46f: Pull complete [2023-02-15T02:01:35.164Z] 33b1e0a273af: Pull complete [2023-02-15T02:01:35.165Z] 5d3b04190fa2: Pull complete [2023-02-15T02:01:39.348Z] 2f39f015ded8: Pull complete [2023-02-15T02:01:39.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T02:01:39.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:01:39.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:01:39.558Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-02-15T02:01:39.591Z] $ 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-485 -v /w/workspace/gexfoundry_device-mqtt-go_PR-485:/w/workspace/gexfoundry_device-mqtt-go_PR-485:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T02:01:41.588Z] $ docker top d41657c2358cd493adc900ef1af5654ceabfd41ba5595ff746fb1da1e679c300 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:01:42.028Z] ---> job-cost.sh [2023-02-15T02:01:42.028Z] lf-activate-venv: SKIPPING [2023-02-15T02:01:42.028Z] INFO: No Stack... [2023-02-15T02:01:42.287Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T02:01:42.545Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T02:01:42.859Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives/cost.csv [2023-02-15T02:01:42.859Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T02:01:42.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [2023-02-15T02:01:42.932Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] did not exist. Created. [2023-02-15T02:01:42.932Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T02:01:43.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T02:01:43.383Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T02:01:43.404Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T02:01:43.480Z] $ docker stop --time=1 d41657c2358cd493adc900ef1af5654ceabfd41ba5595ff746fb1da1e679c300 [2023-02-15T02:01:44.629Z] $ docker rm -f --volumes d41657c2358cd493adc900ef1af5654ceabfd41ba5595ff746fb1da1e679c300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T02:01:44.984Z] Failed in branch amd64 [2023-02-15T02:03:12.657Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6041 in /w/workspace/gexfoundry_device-mqtt-go_PR-485 [Pipeline] { [Pipeline] ws [2023-02-15T02:03:12.716Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T02:03:12.806Z] Selected Git installation does not exist. Using Default [2023-02-15T02:03:12.806Z] The recommended git tool is: NONE [2023-02-15T02:03:19.263Z] using credential edgex-jenkins-ssh [2023-02-15T02:03:19.288Z] Cloning the remote Git repository [2023-02-15T02:03:19.351Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:19.451Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-15T02:03:19.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:19.674Z] > git --version # timeout=10 [2023-02-15T02:03:19.702Z] > git --version # 'git version 2.25.1' [2023-02-15T02:03:19.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:19.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T02:03:21.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-15T02:03:21.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T02:03:22.989Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [2023-02-15T02:03:22.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-15T02:03:22.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:22.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:22.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/485/head:refs/remotes/origin/PR-485 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T02:03:23.011Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T02:03:23.040Z] > git checkout -f bed55794445f9f6d3c82cdc2f248dc5f1c649be8 # timeout=10 [2023-02-15T02:03:23.251Z] Merge succeeded, producing bed55794445f9f6d3c82cdc2f248dc5f1c649be8 [2023-02-15T02:03:23.251Z] Checking out Revision bed55794445f9f6d3c82cdc2f248dc5f1c649be8 (PR-485) [2023-02-15T02:03:23.876Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-15T02:03:23.933Z] > git --version # timeout=10 [2023-02-15T02:03:23.945Z] > git --version # 'git version 2.25.1' [2023-02-15T02:03:23.961Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-02-15T02:03:23.137Z] > git remote # timeout=10 [2023-02-15T02:03:23.157Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T02:03:23.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:23.197Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-15T02:03:23.228Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T02:03:23.258Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T02:03:23.277Z] > git checkout -f bed55794445f9f6d3c82cdc2f248dc5f1c649be8 # timeout=10 [Pipeline] sh [2023-02-15T02:03:25.125Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T02:03:25.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T02:03:25.125Z] Dload Upload Total Spent Left Speed [2023-02-15T02:03:25.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-02-15T02:03:25.830Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T02:03:26.194Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T02:03:26.194Z] + sudo tee /etc/docker/daemon.new [2023-02-15T02:03:26.194Z] { [2023-02-15T02:03:26.194Z] "registry-mirrors": [ [2023-02-15T02:03:26.194Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T02:03:26.194Z] ], [2023-02-15T02:03:26.194Z] "bip": "10.250.0.254/24", [2023-02-15T02:03:26.194Z] "hosts": [ [2023-02-15T02:03:26.194Z] "tcp://0.0.0.0:5555", [2023-02-15T02:03:26.194Z] "unix:///var/run/docker.sock" [2023-02-15T02:03:26.194Z] ], [2023-02-15T02:03:26.194Z] "mtu": 1458, [2023-02-15T02:03:26.194Z] "selinux-enabled": true, [2023-02-15T02:03:26.194Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T02:03:26.194Z] } [Pipeline] sh [2023-02-15T02:03:26.557Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T02:03:26.936Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:03:45.326Z] provisioning config files... [2023-02-15T02:03:45.355Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10013187199396847862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:03:45.756Z] ---> docker-login.sh [2023-02-15T02:03:45.756Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:03:46.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:46.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:46.619Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:46.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:46.619Z] [2023-02-15T02:03:46.619Z] Login Succeeded [2023-02-15T02:03:46.619Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:03:46.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:46.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:46.891Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:46.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:46.891Z] [2023-02-15T02:03:46.891Z] Login Succeeded [2023-02-15T02:03:46.891Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:03:47.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:47.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:47.438Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:47.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:47.438Z] [2023-02-15T02:03:47.438Z] Login Succeeded [2023-02-15T02:03:47.438Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:03:47.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:47.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:47.707Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:47.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:47.707Z] [2023-02-15T02:03:47.707Z] Login Succeeded [2023-02-15T02:03:47.707Z] docker.io [2023-02-15T02:03:47.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:48.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:48.251Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:48.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:48.251Z] [2023-02-15T02:03:48.251Z] Login Succeeded [2023-02-15T02:03:48.251Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:03:48.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T02:03:48.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:03:48.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:03:48.757Z] ========================================================= [2023-02-15T02:03:48.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T02:03:48.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:03:49.262Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T02:03:49.533Z] Sending build context to Docker daemon 3.277MB [2023-02-15T02:03:49.533Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:03:49.533Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T02:03:49.806Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T02:03:49.806Z] 9b18e9b68314: Pulling fs layer [2023-02-15T02:03:49.806Z] 35d82f9e3411: Pulling fs layer [2023-02-15T02:03:49.806Z] e16973657156: Pulling fs layer [2023-02-15T02:03:49.806Z] fc693d55d65f: Pulling fs layer [2023-02-15T02:03:49.806Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T02:03:49.806Z] dda99020689f: Pulling fs layer [2023-02-15T02:03:49.806Z] db1c61fa0a46: Pulling fs layer [2023-02-15T02:03:49.806Z] 891c053d2c06: Pulling fs layer [2023-02-15T02:03:49.806Z] dda99020689f: Waiting [2023-02-15T02:03:49.806Z] db1c61fa0a46: Waiting [2023-02-15T02:03:49.806Z] fc693d55d65f: Waiting [2023-02-15T02:03:49.806Z] 891c053d2c06: Waiting [2023-02-15T02:03:49.806Z] 7e9fc2657dce: Waiting [2023-02-15T02:03:49.806Z] e16973657156: Verifying Checksum [2023-02-15T02:03:49.806Z] e16973657156: Download complete [2023-02-15T02:03:49.806Z] 35d82f9e3411: Download complete [2023-02-15T02:03:49.806Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T02:03:49.806Z] 7e9fc2657dce: Download complete [2023-02-15T02:03:49.806Z] dda99020689f: Verifying Checksum [2023-02-15T02:03:49.806Z] dda99020689f: Download complete [2023-02-15T02:03:49.806Z] 9b18e9b68314: Verifying Checksum [2023-02-15T02:03:49.806Z] 9b18e9b68314: Download complete [2023-02-15T02:03:50.824Z] 9b18e9b68314: Pull complete [2023-02-15T02:03:51.105Z] 891c053d2c06: Verifying Checksum [2023-02-15T02:03:51.105Z] 891c053d2c06: Download complete [2023-02-15T02:03:51.381Z] 35d82f9e3411: Pull complete [2023-02-15T02:03:51.664Z] e16973657156: Pull complete [2023-02-15T02:03:52.267Z] db1c61fa0a46: Verifying Checksum [2023-02-15T02:03:52.267Z] db1c61fa0a46: Download complete [2023-02-15T02:03:52.870Z] fc693d55d65f: Verifying Checksum [2023-02-15T02:03:52.870Z] fc693d55d65f: Download complete [2023-02-15T02:04:07.899Z] fc693d55d65f: Pull complete [2023-02-15T02:04:07.899Z] 7e9fc2657dce: Pull complete [2023-02-15T02:04:07.899Z] dda99020689f: Pull complete [2023-02-15T02:04:13.381Z] db1c61fa0a46: Pull complete [2023-02-15T02:04:16.028Z] 891c053d2c06: Pull complete [2023-02-15T02:04:16.301Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T02:04:16.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T02:04:16.301Z] ---> f96f9c87975a [2023-02-15T02:04:16.301Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:04:17.737Z] ---> Running in 4c9c26e7d792 [2023-02-15T02:04:18.006Z] Removing intermediate container 4c9c26e7d792 [2023-02-15T02:04:18.006Z] ---> 228bac637b1c [2023-02-15T02:04:18.006Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:04:18.006Z] ---> Running in 55bd49c86bc6 [2023-02-15T02:04:18.597Z] Removing intermediate container 55bd49c86bc6 [2023-02-15T02:04:18.597Z] ---> 46a87e2f2573 [2023-02-15T02:04:18.597Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:04:18.597Z] ---> Running in d5ad5e21f32b [2023-02-15T02:04:19.182Z] Removing intermediate container d5ad5e21f32b [2023-02-15T02:04:19.182Z] ---> f753b2b3a970 [2023-02-15T02:04:19.182Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:04:19.182Z] ---> Running in ea40bc0284d1 [2023-02-15T02:04:19.451Z] Removing intermediate container ea40bc0284d1 [2023-02-15T02:04:19.451Z] ---> 6f67375e5084 [2023-02-15T02:04:19.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:04:19.451Z] ---> Running in caf3f004be94 [2023-02-15T02:04:20.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T02:04:21.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T02:04:22.101Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T02:04:22.101Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T02:04:22.101Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T02:04:22.374Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T02:04:22.374Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:04:22.374Z] OK: 226 MiB in 55 packages [2023-02-15T02:04:23.346Z] Removing intermediate container caf3f004be94 [2023-02-15T02:04:23.346Z] ---> 8667bc893e89 [2023-02-15T02:04:23.346Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-15T02:04:23.617Z] ---> Running in ac59feb61bdb [2023-02-15T02:04:23.888Z] Removing intermediate container ac59feb61bdb [2023-02-15T02:04:23.888Z] ---> fe95c3cee2eb [2023-02-15T02:04:23.888Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T02:04:24.474Z] ---> fc085243b33b [2023-02-15T02:04:24.474Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:04:24.474Z] ---> Running in 77116694f90c [2023-02-15T02:05:32.575Z] Removing intermediate container 77116694f90c [2023-02-15T02:05:32.575Z] ---> 25a8223497ff [2023-02-15T02:05:32.575Z] Step 11/12 : COPY . . [2023-02-15T02:05:32.847Z] ---> 820590f7943d [2023-02-15T02:05:32.847Z] Step 12/12 : RUN $MAKE [2023-02-15T02:05:32.847Z] ---> Running in cd6625251826 [2023-02-15T02:05:33.813Z] noop [2023-02-15T02:05:34.399Z] Removing intermediate container cd6625251826 [2023-02-15T02:05:34.399Z] ---> 378ec59c3397 [2023-02-15T02:05:34.667Z] Successfully built 378ec59c3397 [2023-02-15T02:05:34.667Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:05:35.165Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T02:05:35.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:05:35.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-6041 does not seem to be running inside a container [2023-02-15T02:05:35.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T02:05:36.802Z] $ docker top 897c1fa1af1607d777d166ecfeb841d88b9a32c8420c44d6e9139a5b824db1fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:05:37.691Z] + go version [2023-02-15T02:05:37.691Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T02:05:37.740Z] $ docker stop --time=1 897c1fa1af1607d777d166ecfeb841d88b9a32c8420c44d6e9139a5b824db1fe [2023-02-15T02:05:39.364Z] $ docker rm -f --volumes 897c1fa1af1607d777d166ecfeb841d88b9a32c8420c44d6e9139a5b824db1fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:05:40.300Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T02:05:40.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:05:40.647Z] prd-ubuntu20.04-docker-arm64-4c-16g-6041 does not seem to be running inside a container [2023-02-15T02:05:40.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T02:05:42.010Z] $ docker top bf3a82461aa1dfb9f06075823c128640848da64b3a462c80348688d933e69e34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:05:42.917Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T02:05:43.637Z] + make test [2023-02-15T02:05:43.637Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T02:05:45.617Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-15T02:06:12.345Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-02-15T02:06:12.345Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-02-15T02:07:20.225Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-02-15T02:07:20.225Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-15T02:07:20.278Z] $ docker stop --time=1 bf3a82461aa1dfb9f06075823c128640848da64b3a462c80348688d933e69e34 [2023-02-15T02:07:22.070Z] $ docker rm -f --volumes bf3a82461aa1dfb9f06075823c128640848da64b3a462c80348688d933e69e34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:07:23.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:07:23.591Z] [2023-02-15T02:07:23.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:07:23.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:07:24.270Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T02:07:24.270Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T02:07:24.270Z] 04944245beec: Pulling fs layer [2023-02-15T02:07:24.270Z] 699f458cf7ca: Pulling fs layer [2023-02-15T02:07:24.270Z] 765212b225bb: Pulling fs layer [2023-02-15T02:07:24.270Z] f23df028b6ca: Pulling fs layer [2023-02-15T02:07:24.270Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T02:07:24.270Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T02:07:24.270Z] 765212b225bb: Waiting [2023-02-15T02:07:24.270Z] f23df028b6ca: Waiting [2023-02-15T02:07:24.270Z] 2437ff75d9bd: Waiting [2023-02-15T02:07:24.270Z] d65c8cfc05b1: Waiting [2023-02-15T02:07:24.270Z] 04944245beec: Download complete [2023-02-15T02:07:24.270Z] 765212b225bb: Verifying Checksum [2023-02-15T02:07:24.270Z] 765212b225bb: Download complete [2023-02-15T02:07:24.543Z] f23df028b6ca: Download complete [2023-02-15T02:07:24.543Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T02:07:24.543Z] d65c8cfc05b1: Download complete [2023-02-15T02:07:24.543Z] 699f458cf7ca: Verifying Checksum [2023-02-15T02:07:24.543Z] 699f458cf7ca: Download complete [2023-02-15T02:07:25.136Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T02:07:25.136Z] 8998bd30e6a1: Download complete [2023-02-15T02:07:28.503Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T02:07:28.503Z] 2437ff75d9bd: Download complete [2023-02-15T02:07:30.455Z] 8998bd30e6a1: Pull complete [2023-02-15T02:07:30.724Z] 04944245beec: Pull complete [2023-02-15T02:07:32.134Z] 699f458cf7ca: Pull complete [2023-02-15T02:07:32.402Z] 765212b225bb: Pull complete [2023-02-15T02:07:33.824Z] f23df028b6ca: Pull complete [2023-02-15T02:07:33.824Z] d65c8cfc05b1: Pull complete [2023-02-15T02:07:55.916Z] 2437ff75d9bd: Pull complete [2023-02-15T02:07:55.916Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T02:07:55.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:07:55.916Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:07:56.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-6041 does not seem to be running inside a container [2023-02-15T02:07:56.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T02:07:57.961Z] $ docker top 7e2805078702b101dec733442301c387028304a4e7330e0ab6d9291422342d95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:07:58.860Z] ---> job-cost.sh [2023-02-15T02:07:58.860Z] lf-activate-venv: SKIPPING [2023-02-15T02:07:58.860Z] INFO: No Stack... [2023-02-15T02:07:59.446Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T02:08:00.032Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T02:08:00.964Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-15T02:08:00.964Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T02:08:01.051Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [2023-02-15T02:08:01.056Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] did not exist. Created. [2023-02-15T02:08:01.056Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T02:08:01.785Z] /w/workspace/device-mqtt-go/1@tmp/durable-86cb0bc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T02:08:02.466Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T02:08:02.503Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T02:08:02.974Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T02:08:02.991Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-485-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T02:08:03.081Z] $ docker stop --time=1 7e2805078702b101dec733442301c387028304a4e7330e0ab6d9291422342d95 [2023-02-15T02:08:04.607Z] $ docker rm -f --volumes 7e2805078702b101dec733442301c387028304a4e7330e0ab6d9291422342d95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T02:08:05.281Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T02:08:07.217Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives ] [2023-02-15T02:08:07.217Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives [2023-02-15T02:08:07.217Z] total 16 [2023-02-15T02:08:07.217Z] drwxr-xr-x 3 root root 4096 Feb 15 02:01 . [2023-02-15T02:08:07.217Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:01 .. [2023-02-15T02:08:07.217Z] drwxr-xr-x 2 root root 4096 Feb 15 02:01 cost [2023-02-15T02:08:07.217Z] -rw-r--r-- 1 root root 86 Feb 15 02:01 cost.csv [2023-02-15T02:08:07.217Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives [2023-02-15T02:08:07.217Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives [2023-02-15T02:08:07.217Z] total 16 [2023-02-15T02:08:07.217Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 02:01 . [2023-02-15T02:08:07.217Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:01 .. [2023-02-15T02:08:07.217Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 02:01 cost [2023-02-15T02:08:07.217Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:07.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:08.431Z] ---> package-listing.sh [2023-02-15T02:08:08.431Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T02:08:08.431Z] ++ facter osfamily [2023-02-15T02:08:08.692Z] + OS_FAMILY=debian [2023-02-15T02:08:08.692Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-485 [2023-02-15T02:08:08.692Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T02:08:08.692Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T02:08:08.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T02:08:08.692Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T02:08:08.692Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-485 ']' [2023-02-15T02:08:08.692Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T02:08:08.692Z] + case "${OS_FAMILY}" in [2023-02-15T02:08:08.692Z] + dpkg -l [2023-02-15T02:08:08.692Z] + grep '^ii' [2023-02-15T02:08:08.692Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T02:08:08.692Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T02:08:08.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T02:08:08.692Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-485 ']' [2023-02-15T02:08:08.692Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives/ [2023-02-15T02:08:08.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-485/archives/ [Pipeline] echo [2023-02-15T02:08:08.728Z] 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-485/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T02:08:09.021Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:08:09.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:08:09.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:08:09.782Z] prd-ubuntu20.04-docker-8c-8g-6035 does not seem to be running inside a container [2023-02-15T02:08:09.821Z] $ 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-485/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-485 -v /w/workspace/gexfoundry_device-mqtt-go_PR-485:/w/workspace/gexfoundry_device-mqtt-go_PR-485:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T02:08:10.075Z] $ docker top 838afdee9d0bec0c8548680f0464268ca5fd4829c0b95aa04b8183d2a5cf07e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:08:10.456Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T02:08:10.770Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T02:08:11.075Z] + ls /var/log/sa-host [2023-02-15T02:08:11.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:08:11.207Z] provisioning config files... [2023-02-15T02:08:11.216Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-485@tmp/config2199222561789832361tmp [Pipeline] { [Pipeline] echo [2023-02-15T02:08:11.266Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:11.585Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T02:08:11.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:12.016Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T02:08:12.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:12.360Z] ---> sudo-logs.sh [2023-02-15T02:08:12.360Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T02:08:12.444Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:12.759Z] ---> job-cost.sh [2023-02-15T02:08:12.759Z] lf-activate-venv: SKIPPING [2023-02-15T02:08:12.759Z] DEBUG: total: 0.2199999988079071 [2023-02-15T02:08:12.759Z] INFO: Retrieving Stack Cost... [2023-02-15T02:08:13.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T02:08:13.896Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T02:08:13.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:08:14.244Z] ---> logs-deploy.sh [2023-02-15T02:08:14.244Z] lf-activate-venv: SKIPPING [2023-02-15T02:08:14.244Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-485/1 [2023-02-15T02:08:14.244Z] INFO: archiving workspace using pattern(s): [2023-02-15T02:08:15.177Z] Archives upload complete. [2023-02-15T02:08:15.177Z] INFO: archiving logs to Nexus