Pull request #435 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 055a993d4b8b44a1cc2920f8587220a5a240b0b9+16ab89a495dc588a47662ccf315e42eca693f4b5 (0d1bbed9c24c317eb2b9ff32bfd80dee777f2f6e) 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-ssh14134002024160924172.key Verifying host key using known hosts file > 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-ssh5358037832476767361.key Verifying host key using known hosts file > 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-435/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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6582342344786955903.key Verifying host key using known hosts file > 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-435/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5785932453085708788.key Verifying host key using known hosts file > 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-ssh2626267049486562006.key Verifying host key using known hosts file > 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-435/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-435/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17973183229349960261.key Verifying host key using known hosts file > 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 ‘prd-ubuntu20.04-docker-8c-8g-117979’ Running on prd-ubuntu20.04-docker-8c-8g-117982 in /w/workspace/gexfoundry_device-mqtt-go_PR-435 [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-435 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit 055a993d4b8b44a1cc2920f8587220a5a240b0b9 Merge succeeded, producing 055a993d4b8b44a1cc2920f8587220a5a240b0b9 Checking out Revision 055a993d4b8b44a1cc2920f8587220a5a240b0b9 (PR-435) > git config core.sparsecheckout # timeout=10 > git checkout -f 055a993d4b8b44a1cc2920f8587220a5a240b0b9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 055a993d4b8b44a1cc2920f8587220a5a240b0b9 # timeout=10 Commit message: "docs: Levski Change Log" 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 [2022-11-02T21:47:28.539Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-02T21:47:28.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-02T21:47:28.830Z] ========================================================= [2022-11-02T21:47:28.830Z] EdgeX Global Pipelines Version Info [2022-11-02T21:47:28.830Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:47:29.585Z] ------------------- [2022-11-02T21:47:29.586Z] stable info: [2022-11-02T21:47:29.586Z] ------------------- [2022-11-02T21:47:29.586Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-02T21:47:29.586Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T21:47:29.586Z] Message: update stable to v1.0.244 [2022-11-02T21:47:30.155Z] ------------------- [2022-11-02T21:47:30.155Z] experimental info: [2022-11-02T21:47:30.155Z] ------------------- [2022-11-02T21:47:30.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-02T21:47:30.155Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-02T21:47:30.155Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-02T21:47:30.469Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-02T21:47:30.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-02T21:47:30.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-02T21:47:30.587Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-02T21:47:30.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-02T21:47:30.658Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-02T21:47:30.697Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-02T21:47:30.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-02T21:47:30.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-02T21:47:30.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-02T21:47:30.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-02T21:47:30.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-02T21:47:30.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-02T21:47:30.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-02T21:47:31.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T21:47:31.051Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-02T21:47:31.087Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T21:47:31.123Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-02T21:47:31.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-02T21:47:31.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-02T21:47:31.235Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-02T21:47:31.276Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-02T21:47:31.314Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-02T21:47:31.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-02T21:47:31.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-02T21:47:31.422Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-02T21:47:31.455Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-02T21:47:31.500Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-435 [Pipeline] echo [2022-11-02T21:47:31.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-435 [Pipeline] echo [2022-11-02T21:47:31.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-435 [Pipeline] echo [2022-11-02T21:47:31.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [Pipeline] echo [2022-11-02T21:47:31.642Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 055a993 [Pipeline] echo [2022-11-02T21:47:31.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T21:47:31.791Z] provisioning config files... [2022-11-02T21:47:31.804Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/config15710124486594112560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:47:32.151Z] ---> docker-login.sh [2022-11-02T21:47:32.151Z] nexus3.edgexfoundry.org:10001 [2022-11-02T21:47:32.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:32.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:32.411Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:32.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:32.411Z] [2022-11-02T21:47:32.411Z] Login Succeeded [2022-11-02T21:47:32.411Z] nexus3.edgexfoundry.org:10002 [2022-11-02T21:47:32.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:32.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:32.672Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:32.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:32.672Z] [2022-11-02T21:47:32.672Z] Login Succeeded [2022-11-02T21:47:32.672Z] nexus3.edgexfoundry.org:10003 [2022-11-02T21:47:32.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:32.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:32.672Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:32.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:32.672Z] [2022-11-02T21:47:32.672Z] Login Succeeded [2022-11-02T21:47:32.672Z] nexus3.edgexfoundry.org:10004 [2022-11-02T21:47:32.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:32.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:32.930Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:32.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:32.930Z] [2022-11-02T21:47:32.930Z] Login Succeeded [2022-11-02T21:47:32.930Z] docker.io [2022-11-02T21:47:32.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:33.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:33.189Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:33.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:33.189Z] [2022-11-02T21:47:33.189Z] Login Succeeded [2022-11-02T21:47:33.189Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T21:47:33.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-02T21:47:33.829Z] + git rev-list -1 --merges 055a993d4b8b44a1cc2920f8587220a5a240b0b9~1..055a993d4b8b44a1cc2920f8587220a5a240b0b9 [Pipeline] echo [2022-11-02T21:47:33.875Z] -----------> git rev-list -1 --merges 055a993d4b8b44a1cc2920f8587220a5a240b0b9~1..055a993d4b8b44a1cc2920f8587220a5a240b0b9 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [false] [Pipeline] sh [2022-11-02T21:47:34.190Z] + git log --format=format:%s -1 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [Pipeline] echo [2022-11-02T21:47:34.221Z] ========================================================= [2022-11-02T21:47:34.221Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-02T21:47:34.222Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T21:47:34.666Z] + git log --format=format:%s -1 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [Pipeline] echo [2022-11-02T21:47:34.696Z] [semverPrep] GIT_COMMIT: 055a993d4b8b44a1cc2920f8587220a5a240b0b9, Commit Message: docs: Levski Change Log [Pipeline] echo [2022-11-02T21:47:34.726Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-02T21:47:35.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-02T21:47:35.099Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-02T21:47:35.099Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-02T21:47:35.099Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-02T21:47:35.099Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-11-02T21:47:35.099Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-02T21:47:35.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:47:35.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T21:47:35.536Z] [2022-11-02T21:47:35.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:47:35.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T21:47:35.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-02T21:47:35.906Z] b85a868b505f: Pulling fs layer [2022-11-02T21:47:35.906Z] e2be974225ed: Pulling fs layer [2022-11-02T21:47:35.906Z] 339a4e72a1f5: Pulling fs layer [2022-11-02T21:47:35.906Z] 988bab9f4d93: Pulling fs layer [2022-11-02T21:47:35.906Z] 1469e6f7b9e6: Pulling fs layer [2022-11-02T21:47:35.906Z] eaf3925da568: Pulling fs layer [2022-11-02T21:47:35.906Z] bab4dde63d76: Pulling fs layer [2022-11-02T21:47:35.906Z] bde34c3a00c8: Pulling fs layer [2022-11-02T21:47:35.906Z] b352a97aabf1: Pulling fs layer [2022-11-02T21:47:35.906Z] 4872d77fe225: Pulling fs layer [2022-11-02T21:47:35.906Z] 5851b861e8e6: Pulling fs layer [2022-11-02T21:47:35.906Z] bab4dde63d76: Waiting [2022-11-02T21:47:35.906Z] bde34c3a00c8: Waiting [2022-11-02T21:47:35.906Z] b352a97aabf1: Waiting [2022-11-02T21:47:35.906Z] 988bab9f4d93: Waiting [2022-11-02T21:47:35.906Z] 1469e6f7b9e6: Waiting [2022-11-02T21:47:35.906Z] eaf3925da568: Waiting [2022-11-02T21:47:35.906Z] 4872d77fe225: Waiting [2022-11-02T21:47:35.906Z] 5851b861e8e6: Waiting [2022-11-02T21:47:35.906Z] e2be974225ed: Download complete [2022-11-02T21:47:35.906Z] 988bab9f4d93: Verifying Checksum [2022-11-02T21:47:35.906Z] 988bab9f4d93: Download complete [2022-11-02T21:47:36.166Z] 339a4e72a1f5: Download complete [2022-11-02T21:47:36.166Z] 1469e6f7b9e6: Verifying Checksum [2022-11-02T21:47:36.166Z] 1469e6f7b9e6: Download complete [2022-11-02T21:47:36.166Z] eaf3925da568: Verifying Checksum [2022-11-02T21:47:36.166Z] eaf3925da568: Download complete [2022-11-02T21:47:36.166Z] bde34c3a00c8: Verifying Checksum [2022-11-02T21:47:36.166Z] bde34c3a00c8: Download complete [2022-11-02T21:47:36.166Z] b352a97aabf1: Verifying Checksum [2022-11-02T21:47:36.166Z] b352a97aabf1: Download complete [2022-11-02T21:47:36.166Z] 4872d77fe225: Verifying Checksum [2022-11-02T21:47:36.166Z] 4872d77fe225: Download complete [2022-11-02T21:47:36.166Z] 5851b861e8e6: Verifying Checksum [2022-11-02T21:47:36.166Z] 5851b861e8e6: Download complete [2022-11-02T21:47:36.166Z] b85a868b505f: Verifying Checksum [2022-11-02T21:47:36.166Z] b85a868b505f: Download complete [2022-11-02T21:47:36.424Z] bab4dde63d76: Verifying Checksum [2022-11-02T21:47:36.424Z] bab4dde63d76: Download complete [2022-11-02T21:47:37.358Z] b85a868b505f: Pull complete [2022-11-02T21:47:37.617Z] e2be974225ed: Pull complete [2022-11-02T21:47:38.184Z] 339a4e72a1f5: Pull complete [2022-11-02T21:47:38.184Z] 988bab9f4d93: Pull complete [2022-11-02T21:47:38.443Z] 1469e6f7b9e6: Pull complete [2022-11-02T21:47:38.703Z] eaf3925da568: Pull complete [2022-11-02T21:47:40.607Z] bab4dde63d76: Pull complete [2022-11-02T21:47:40.607Z] bde34c3a00c8: Pull complete [2022-11-02T21:47:40.607Z] b352a97aabf1: Pull complete [2022-11-02T21:47:40.607Z] 4872d77fe225: Pull complete [2022-11-02T21:47:40.868Z] 5851b861e8e6: Pull complete [2022-11-02T21:47:40.868Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-02T21:47:40.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-02T21:47:40.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:47:41.102Z] prd-ubuntu20.04-docker-8c-8g-117982 does not seem to be running inside a container [2022-11-02T21:47:41.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-435 -v /w/workspace/gexfoundry_device-mqtt-go_PR-435:/w/workspace/gexfoundry_device-mqtt-go_PR-435:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-02T21:47:42.580Z] $ docker top b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d -eo pid,comm [2022-11-02T21:47:42.649Z] 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). [2022-11-02T21:47:42.649Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-02T21:47:42.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T21:47:42.776Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T21:47:42.888Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T21:47:42.891Z] $ docker exec b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d ssh-agent [2022-11-02T21:47:43.011Z] SSH_AUTH_SOCK=/tmp/ssh-9rOEj9Eow52j/agent.32 [2022-11-02T21:47:43.011Z] SSH_AGENT_PID=38 [2022-11-02T21:47:43.016Z] Running ssh-add (command line suppressed) [2022-11-02T21:47:43.130Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/private_key_10603406260024493263.key (/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/private_key_10603406260024493263.key) [2022-11-02T21:47:43.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T21:47:43.477Z] + git tag --points-at HEAD [Pipeline] } [2022-11-02T21:47:43.502Z] $ docker exec --env ******** --env ******** b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d ssh-agent -k [2022-11-02T21:47:43.602Z] unset SSH_AUTH_SOCK; [2022-11-02T21:47:43.602Z] unset SSH_AGENT_PID; [2022-11-02T21:47:43.603Z] echo Agent pid 38 killed; [2022-11-02T21:47:43.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-02T21:47:43.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-02T21:47:43.698Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-02T21:47:43.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-02T21:47:43.820Z] $ docker exec b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d ssh-agent [2022-11-02T21:47:43.954Z] SSH_AUTH_SOCK=/tmp/ssh-pJv9g5Vf95mJ/agent.70 [2022-11-02T21:47:43.954Z] SSH_AGENT_PID=75 [2022-11-02T21:47:43.959Z] Running ssh-add (command line suppressed) [2022-11-02T21:47:44.067Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/private_key_17607792059990759179.key (/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/private_key_17607792059990759179.key) [2022-11-02T21:47:44.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-02T21:47:44.418Z] + git semver init [2022-11-02T21:47:44.681Z] 2022-11-02 21:47:44,631 [run_init] DEBUG init version:0.0.0 force:False [2022-11-02T21:47:44.681Z] 2022-11-02 21:47:44,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver [2022-11-02T21:47:44.681Z] 2022-11-02 21:47:44,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver [2022-11-02T21:47:44.681Z] 2022-11-02 21:47:44,632 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-435, universal_newlines=False, shell=None, istream=None) [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,521 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435/.git/info/exclude [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver/PR-435 with force:False [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,522 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver/PR-435 [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,527 [execute] INFO git cat-file --batch-check [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,534 [execute] INFO git cat-file --batch [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver, universal_newlines=False, shell=None, istream=) [2022-11-02T21:47:45.628Z] 2022-11-02 21:47:45,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-435/.semver/PR-435 [2022-11-02T21:47:45.628Z] 0.0.0 [Pipeline] } [2022-11-02T21:47:45.653Z] $ docker exec --env ******** --env ******** b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d ssh-agent -k [2022-11-02T21:47:45.758Z] unset SSH_AUTH_SOCK; [2022-11-02T21:47:45.758Z] unset SSH_AGENT_PID; [2022-11-02T21:47:45.758Z] echo Agent pid 75 killed; [2022-11-02T21:47:45.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-02T21:47:46.187Z] + git semver [Pipeline] } [2022-11-02T21:47:46.470Z] $ docker stop --time=1 b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d [2022-11-02T21:47:47.805Z] $ docker rm -f b232e0f5f549058b44bccd1390b416177096ca234a8bd1525437957f2622741d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T21:47:48.194Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-02T21:47:48.416Z] Stashed 1 file(s) [Pipeline] echo [2022-11-02T21:47:48.432Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T21:47:48.985Z] provisioning config files... [2022-11-02T21:47:48.994Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/config1786052895863072718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:47:49.342Z] ---> docker-login.sh [2022-11-02T21:47:49.343Z] nexus3.edgexfoundry.org:10001 [2022-11-02T21:47:49.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:49.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:49.343Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:49.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:49.343Z] [2022-11-02T21:47:49.343Z] Login Succeeded [2022-11-02T21:47:49.343Z] nexus3.edgexfoundry.org:10002 [2022-11-02T21:47:49.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:49.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:49.343Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:49.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:49.343Z] [2022-11-02T21:47:49.343Z] Login Succeeded [2022-11-02T21:47:49.343Z] nexus3.edgexfoundry.org:10003 [2022-11-02T21:47:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:49.602Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:49.602Z] [2022-11-02T21:47:49.602Z] Login Succeeded [2022-11-02T21:47:49.602Z] nexus3.edgexfoundry.org:10004 [2022-11-02T21:47:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:49.602Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:49.602Z] [2022-11-02T21:47:49.602Z] Login Succeeded [2022-11-02T21:47:49.602Z] docker.io [2022-11-02T21:47:49.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:47:50.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:47:50.121Z] Configure a credential helper to remove this warning. See [2022-11-02T21:47:50.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:47:50.121Z] [2022-11-02T21:47:50.121Z] Login Succeeded [2022-11-02T21:47:50.121Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T21:47:50.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T21:47:50.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T21:47:50.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T21:47:50.397Z] ========================================================= [2022-11-02T21:47:50.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-02T21:47:50.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:47:50.844Z] + 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 . [2022-11-02T21:47:50.844Z] Sending build context to Docker daemon 6.24MB [2022-11-02T21:47:50.844Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T21:47:50.844Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T21:47:50.844Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-02T21:47:50.844Z] 213ec9aee27d: Pulling fs layer [2022-11-02T21:47:50.844Z] 4583459ba037: Pulling fs layer [2022-11-02T21:47:50.844Z] 93c1e223e6f2: Pulling fs layer [2022-11-02T21:47:50.844Z] 53926ce57604: Pulling fs layer [2022-11-02T21:47:50.844Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-02T21:47:50.844Z] 22ff95d597cd: Pulling fs layer [2022-11-02T21:47:50.844Z] 12d6caf4c0d1: Pulling fs layer [2022-11-02T21:47:50.844Z] 96b7cbca73a9: Pulling fs layer [2022-11-02T21:47:50.844Z] a7acece74701: Pulling fs layer [2022-11-02T21:47:50.844Z] 12d6caf4c0d1: Waiting [2022-11-02T21:47:50.844Z] 53926ce57604: Waiting [2022-11-02T21:47:50.844Z] 96b7cbca73a9: Waiting [2022-11-02T21:47:50.844Z] 21b2b0c7a3f4: Waiting [2022-11-02T21:47:50.844Z] a7acece74701: Waiting [2022-11-02T21:47:50.844Z] 93c1e223e6f2: Verifying Checksum [2022-11-02T21:47:50.844Z] 93c1e223e6f2: Download complete [2022-11-02T21:47:50.844Z] 4583459ba037: Download complete [2022-11-02T21:47:50.844Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-02T21:47:50.844Z] 21b2b0c7a3f4: Download complete [2022-11-02T21:47:51.109Z] 22ff95d597cd: Verifying Checksum [2022-11-02T21:47:51.109Z] 22ff95d597cd: Download complete [2022-11-02T21:47:51.109Z] 213ec9aee27d: Download complete [2022-11-02T21:47:51.109Z] 12d6caf4c0d1: Verifying Checksum [2022-11-02T21:47:51.109Z] 12d6caf4c0d1: Download complete [2022-11-02T21:47:51.109Z] 213ec9aee27d: Pull complete [2022-11-02T21:47:51.381Z] 4583459ba037: Pull complete [2022-11-02T21:47:51.381Z] 93c1e223e6f2: Pull complete [2022-11-02T21:47:51.381Z] a7acece74701: Verifying Checksum [2022-11-02T21:47:51.381Z] a7acece74701: Download complete [2022-11-02T21:47:51.965Z] 53926ce57604: Verifying Checksum [2022-11-02T21:47:51.965Z] 53926ce57604: Download complete [2022-11-02T21:47:51.965Z] 96b7cbca73a9: Verifying Checksum [2022-11-02T21:47:51.965Z] 96b7cbca73a9: Download complete [2022-11-02T21:47:56.158Z] 53926ce57604: Pull complete [2022-11-02T21:47:56.158Z] 21b2b0c7a3f4: Pull complete [2022-11-02T21:47:56.158Z] 22ff95d597cd: Pull complete [2022-11-02T21:47:56.158Z] 12d6caf4c0d1: Pull complete [2022-11-02T21:47:58.689Z] 96b7cbca73a9: Pull complete [2022-11-02T21:47:58.947Z] a7acece74701: Pull complete [2022-11-02T21:47:58.947Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-02T21:47:58.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-02T21:47:58.947Z] ---> db6d94c90886 [2022-11-02T21:47:58.947Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T21:48:00.854Z] ---> Running in df39988802a2 [2022-11-02T21:48:00.854Z] Removing intermediate container df39988802a2 [2022-11-02T21:48:00.854Z] ---> a09beb3189c9 [2022-11-02T21:48:00.854Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T21:48:00.854Z] ---> Running in 0a3d0d0089d3 [2022-11-02T21:48:00.854Z] Removing intermediate container 0a3d0d0089d3 [2022-11-02T21:48:00.854Z] ---> c199bd2ccd7e [2022-11-02T21:48:00.854Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T21:48:00.854Z] ---> Running in db62ad17dcc0 [2022-11-02T21:48:01.117Z] Removing intermediate container db62ad17dcc0 [2022-11-02T21:48:01.117Z] ---> 8292b574b1b3 [2022-11-02T21:48:01.117Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T21:48:01.117Z] ---> Running in 2415d394b980 [2022-11-02T21:48:01.117Z] Removing intermediate container 2415d394b980 [2022-11-02T21:48:01.117Z] ---> b4e0335e9de0 [2022-11-02T21:48:01.117Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T21:48:01.117Z] ---> Running in 36295d200234 [2022-11-02T21:48:01.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T21:48:01.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T21:48:01.633Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T21:48:01.633Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T21:48:01.633Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T21:48:01.892Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T21:48:01.892Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T21:48:01.892Z] OK: 216 MiB in 55 packages [2022-11-02T21:48:02.154Z] Removing intermediate container 36295d200234 [2022-11-02T21:48:02.154Z] ---> 68b257224c3c [2022-11-02T21:48:02.154Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-02T21:48:02.154Z] ---> Running in d5e9414c57fc [2022-11-02T21:48:02.414Z] Removing intermediate container d5e9414c57fc [2022-11-02T21:48:02.415Z] ---> 81bf0714fef9 [2022-11-02T21:48:02.415Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T21:48:02.415Z] ---> a48170cf0450 [2022-11-02T21:48:02.415Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T21:48:02.415Z] ---> Running in 137b71e905f0 [2022-11-02T21:48:03.823Z] Still waiting to schedule task [2022-11-02T21:48:03.823Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117980’ is offline [2022-11-02T21:48:20.502Z] Removing intermediate container 137b71e905f0 [2022-11-02T21:48:20.502Z] ---> ccea2b8cea70 [2022-11-02T21:48:20.502Z] Step 11/12 : COPY . . [2022-11-02T21:48:20.762Z] ---> 64794e073f17 [2022-11-02T21:48:20.762Z] Step 12/12 : RUN $MAKE [2022-11-02T21:48:20.762Z] ---> Running in 9555b2df69d0 [2022-11-02T21:48:21.021Z] noop [2022-11-02T21:48:21.590Z] Removing intermediate container 9555b2df69d0 [2022-11-02T21:48:21.590Z] ---> f4a31a554495 [2022-11-02T21:48:21.590Z] Successfully built f4a31a554495 [2022-11-02T21:48:21.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:48:22.041Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T21:48:22.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:48:22.181Z] prd-ubuntu20.04-docker-8c-8g-117982 does not seem to be running inside a container [2022-11-02T21:48:22.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-435 -v /w/workspace/gexfoundry_device-mqtt-go_PR-435:/w/workspace/gexfoundry_device-mqtt-go_PR-435:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T21:48:22.644Z] $ docker top 895e7cab34dee89fab21d82e4c1a682bd6e018716c8818a2fdcfaf5ca403eda3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T21:48:23.045Z] + go version [2022-11-02T21:48:23.045Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-02T21:48:23.075Z] $ docker stop --time=1 895e7cab34dee89fab21d82e4c1a682bd6e018716c8818a2fdcfaf5ca403eda3 [2022-11-02T21:48:24.390Z] $ docker rm -f 895e7cab34dee89fab21d82e4c1a682bd6e018716c8818a2fdcfaf5ca403eda3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:48:25.144Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-02T21:48:25.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:48:25.302Z] prd-ubuntu20.04-docker-8c-8g-117982 does not seem to be running inside a container [2022-11-02T21:48:25.330Z] $ 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-435 -v /w/workspace/gexfoundry_device-mqtt-go_PR-435:/w/workspace/gexfoundry_device-mqtt-go_PR-435:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-02T21:48:25.741Z] $ docker top 19f1cf6cc0edcae3e62f3d79af55b6e94f162d97d9bd8806022db0a9508afeea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T21:48:26.148Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-435 [Pipeline] fileExists [Pipeline] sh [2022-11-02T21:48:26.516Z] + make test [2022-11-02T21:48:26.516Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-02T21:48:27.082Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-02T21:48:37.044Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-02T21:48:37.303Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-11-02T21:48:37.303Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-02T21:48:45.413Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-02T21:48:45.413Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T21:48:47.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T21:48:47.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T21:48:47.317Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T21:48:47.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T21:48:47.385Z] $ docker stop --time=1 19f1cf6cc0edcae3e62f3d79af55b6e94f162d97d9bd8806022db0a9508afeea [2022-11-02T21:48:49.086Z] $ docker rm -f 19f1cf6cc0edcae3e62f3d79af55b6e94f162d97d9bd8806022db0a9508afeea [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T21:48:49.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T21:48:49.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-02T21:48:50.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T21:48:50.650Z] + ls -al . [2022-11-02T21:48:50.650Z] total 196 [2022-11-02T21:48:50.650Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 21:48 . [2022-11-02T21:48:50.650Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:47 .. [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 21:47 .dockerignore [2022-11-02T21:48:50.650Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 21:48 .git [2022-11-02T21:48:50.650Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:47 .github [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 2 21:47 .gitignore [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 21:47 .golangci.yml [2022-11-02T21:48:50.650Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 21:47 .semver [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 2 21:47 Attribution.txt [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 2 21:47 CHANGELOG.md [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 2 21:47 Dockerfile [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 21:47 GOVERNANCE.md [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 2 21:47 Jenkinsfile [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 21:47 LICENSE [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 2 21:47 Makefile [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 21:47 OWNERS.md [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 2 21:47 README.md [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 21:47 VERSION [2022-11-02T21:48:50.650Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:47 bin [2022-11-02T21:48:50.650Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:47 cmd [2022-11-02T21:48:50.650Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 2 21:48 coverage.out [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 2 21:47 go.mod [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 2 21:47 go.sum [2022-11-02T21:48:50.650Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:47 internal [2022-11-02T21:48:50.650Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:47 mock [2022-11-02T21:48:50.650Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:47 snap [2022-11-02T21:48:50.650Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 2 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:48:51.035Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=055a993d4b8b44a1cc2920f8587220a5a240b0b9 --label arch=amd64 --label version=0.0.0 . [2022-11-02T21:48:51.035Z] Sending build context to Docker daemon 6.258MB [2022-11-02T21:48:51.035Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T21:48:51.035Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-02T21:48:51.035Z] ---> f4a31a554495 [2022-11-02T21:48:51.035Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-02T21:48:51.035Z] ---> Running in 769737c73e74 [2022-11-02T21:48:51.293Z] Removing intermediate container 769737c73e74 [2022-11-02T21:48:51.293Z] ---> b5cc3ec8058a [2022-11-02T21:48:51.293Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T21:48:51.293Z] ---> Running in c5bb03a60daf [2022-11-02T21:48:51.293Z] Removing intermediate container c5bb03a60daf [2022-11-02T21:48:51.293Z] ---> 632c2c279892 [2022-11-02T21:48:51.293Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T21:48:51.293Z] ---> Running in ea14d66bc84a [2022-11-02T21:48:51.551Z] Removing intermediate container ea14d66bc84a [2022-11-02T21:48:51.551Z] ---> 9b6a737d8ad4 [2022-11-02T21:48:51.551Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T21:48:51.551Z] ---> Running in 1afc0aa89d46 [2022-11-02T21:48:51.551Z] Removing intermediate container 1afc0aa89d46 [2022-11-02T21:48:51.551Z] ---> 04b6c9547bd6 [2022-11-02T21:48:51.551Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T21:48:51.551Z] ---> Running in acefca859586 [2022-11-02T21:48:51.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T21:48:52.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T21:48:52.333Z] OK: 216 MiB in 55 packages [2022-11-02T21:48:52.593Z] Removing intermediate container acefca859586 [2022-11-02T21:48:52.593Z] ---> 52ad017d9d25 [2022-11-02T21:48:52.593Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-02T21:48:52.593Z] ---> Running in a48e6ac71d60 [2022-11-02T21:48:52.854Z] Removing intermediate container a48e6ac71d60 [2022-11-02T21:48:52.854Z] ---> c9bc067bdaf3 [2022-11-02T21:48:52.854Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-02T21:48:52.854Z] ---> a51cc6b26954 [2022-11-02T21:48:52.854Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T21:48:52.854Z] ---> Running in e1e51e669deb [2022-11-02T21:48:53.790Z] Removing intermediate container e1e51e669deb [2022-11-02T21:48:53.790Z] ---> b4ac40f35ef3 [2022-11-02T21:48:53.790Z] Step 11/24 : COPY . . [2022-11-02T21:48:53.790Z] ---> a7ee421a051b [2022-11-02T21:48:53.790Z] Step 12/24 : RUN $MAKE [2022-11-02T21:48:53.790Z] ---> Running in e8cfc0aa1908 [2022-11-02T21:48:54.357Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-11-02T21:49:16.271Z] Removing intermediate container e8cfc0aa1908 [2022-11-02T21:49:16.271Z] ---> ba04213aec84 [2022-11-02T21:49:16.271Z] Step 13/24 : FROM alpine:3.16 [2022-11-02T21:49:16.271Z] 3.16: Pulling from library/alpine [2022-11-02T21:49:16.271Z] 213ec9aee27d: Already exists [2022-11-02T21:49:16.271Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T21:49:16.271Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T21:49:16.271Z] ---> 9c6f07244728 [2022-11-02T21:49:16.271Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-02T21:49:16.271Z] ---> Running in 000566a2c9ff [2022-11-02T21:49:16.271Z] Removing intermediate container 000566a2c9ff [2022-11-02T21:49:16.271Z] ---> 9f465fcce8ef [2022-11-02T21:49:16.271Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T21:49:16.271Z] ---> Running in f7034576eb85 [2022-11-02T21:49:16.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-02T21:49:16.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-02T21:49:16.271Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T21:49:16.271Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T21:49:16.271Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T21:49:16.271Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T21:49:16.271Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T21:49:16.271Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T21:49:16.271Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T21:49:16.272Z] OK: 8 MiB in 20 packages [2022-11-02T21:49:16.272Z] Removing intermediate container f7034576eb85 [2022-11-02T21:49:16.272Z] ---> cbaba7f1969b [2022-11-02T21:49:16.272Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-02T21:49:16.272Z] ---> fbff1132f70d [2022-11-02T21:49:16.272Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-02T21:49:16.272Z] ---> 14cadb2c4d5d [2022-11-02T21:49:16.272Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-02T21:49:16.272Z] ---> b16461a1d087 [2022-11-02T21:49:16.272Z] Step 19/24 : EXPOSE 59982 [2022-11-02T21:49:16.272Z] ---> Running in f516f50f746f [2022-11-02T21:49:16.272Z] Removing intermediate container f516f50f746f [2022-11-02T21:49:16.272Z] ---> 83c3cc41189a [2022-11-02T21:49:16.272Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-02T21:49:16.531Z] ---> Running in 0e70c7e83aea [2022-11-02T21:49:16.531Z] Removing intermediate container 0e70c7e83aea [2022-11-02T21:49:16.531Z] ---> f04a79d9fa66 [2022-11-02T21:49:16.531Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T21:49:16.531Z] ---> Running in 76bef2dc9f34 [2022-11-02T21:49:16.531Z] Removing intermediate container 76bef2dc9f34 [2022-11-02T21:49:16.531Z] ---> 189b3b0d6f19 [2022-11-02T21:49:16.531Z] Step 22/24 : LABEL arch=amd64 [2022-11-02T21:49:16.531Z] ---> Running in 65767e090c52 [2022-11-02T21:49:16.792Z] Removing intermediate container 65767e090c52 [2022-11-02T21:49:16.792Z] ---> 90be601161cb [2022-11-02T21:49:16.792Z] Step 23/24 : LABEL git_sha=055a993d4b8b44a1cc2920f8587220a5a240b0b9 [2022-11-02T21:49:16.792Z] ---> Running in 49cdbcd78a62 [2022-11-02T21:49:16.792Z] Removing intermediate container 49cdbcd78a62 [2022-11-02T21:49:16.792Z] ---> 0e2cbd8a0a92 [2022-11-02T21:49:16.792Z] Step 24/24 : LABEL version=0.0.0 [2022-11-02T21:49:16.792Z] ---> Running in 851fb686576d [2022-11-02T21:49:17.052Z] Removing intermediate container 851fb686576d [2022-11-02T21:49:17.052Z] ---> 53a8fae48a90 [2022-11-02T21:49:17.052Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T21:49:17.052Z] Successfully built 53a8fae48a90 [2022-11-02T21:49:17.052Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:49:17.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T21:49:17.933Z] [2022-11-02T21:49:17.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:49:18.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T21:49:18.316Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-02T21:49:18.316Z] 5eb5b503b376: Pulling fs layer [2022-11-02T21:49:18.316Z] 5c69ac0246d0: Pulling fs layer [2022-11-02T21:49:18.316Z] ec43610c2a17: Pulling fs layer [2022-11-02T21:49:18.316Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-02T21:49:18.316Z] 33b1e0a273af: Pulling fs layer [2022-11-02T21:49:18.316Z] 5d3b04190fa2: Pulling fs layer [2022-11-02T21:49:18.316Z] 2f39f015ded8: Pulling fs layer [2022-11-02T21:49:18.316Z] 33b1e0a273af: Waiting [2022-11-02T21:49:18.316Z] 5d3b04190fa2: Waiting [2022-11-02T21:49:18.316Z] 2f39f015ded8: Waiting [2022-11-02T21:49:18.316Z] 3a2ae6a8a46f: Waiting [2022-11-02T21:49:18.316Z] 5c69ac0246d0: Download complete [2022-11-02T21:49:18.316Z] 3a2ae6a8a46f: Download complete [2022-11-02T21:49:18.584Z] 33b1e0a273af: Verifying Checksum [2022-11-02T21:49:18.584Z] 33b1e0a273af: Download complete [2022-11-02T21:49:18.584Z] ec43610c2a17: Verifying Checksum [2022-11-02T21:49:18.584Z] ec43610c2a17: Download complete [2022-11-02T21:49:18.584Z] 5d3b04190fa2: Verifying Checksum [2022-11-02T21:49:18.584Z] 5d3b04190fa2: Download complete [2022-11-02T21:49:18.584Z] 5eb5b503b376: Verifying Checksum [2022-11-02T21:49:18.584Z] 5eb5b503b376: Download complete [2022-11-02T21:49:19.152Z] 2f39f015ded8: Download complete [2022-11-02T21:49:19.717Z] 5eb5b503b376: Pull complete [2022-11-02T21:49:19.977Z] 5c69ac0246d0: Pull complete [2022-11-02T21:49:20.236Z] ec43610c2a17: Pull complete [2022-11-02T21:49:20.494Z] 3a2ae6a8a46f: Pull complete [2022-11-02T21:49:20.494Z] 33b1e0a273af: Pull complete [2022-11-02T21:49:20.752Z] 5d3b04190fa2: Pull complete [2022-11-02T21:49:24.934Z] 2f39f015ded8: Pull complete [2022-11-02T21:49:24.934Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-02T21:49:24.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T21:49:24.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:49:25.147Z] prd-ubuntu20.04-docker-8c-8g-117982 does not seem to be running inside a container [2022-11-02T21:49:25.171Z] $ 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-435 -v /w/workspace/gexfoundry_device-mqtt-go_PR-435:/w/workspace/gexfoundry_device-mqtt-go_PR-435:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T21:49:26.608Z] $ docker top cfc3e1409179a46c6283ff7a3dc8ccb05479d580d57f80cb65583c0bf7c099e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:49:27.060Z] ---> job-cost.sh [2022-11-02T21:49:27.061Z] lf-activate-venv: SKIPPING [2022-11-02T21:49:27.061Z] INFO: No Stack... [2022-11-02T21:49:27.320Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T21:49:27.887Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T21:49:28.199Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives/cost.csv [2022-11-02T21:49:28.199Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T21:49:28.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [2022-11-02T21:49:28.248Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] did not exist. Created. [2022-11-02T21:49:28.248Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T21:49:28.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-02T21:49:28.679Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T21:49:28.704Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T21:49:28.772Z] $ docker stop --time=1 cfc3e1409179a46c6283ff7a3dc8ccb05479d580d57f80cb65583c0bf7c099e2 [2022-11-02T21:49:29.940Z] $ docker rm -f cfc3e1409179a46c6283ff7a3dc8ccb05479d580d57f80cb65583c0bf7c099e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-02T21:49:33.167Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117985 in /w/workspace/gexfoundry_device-mqtt-go_PR-435 [Pipeline] { [Pipeline] ws [2022-11-02T21:49:33.211Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-11-02T21:49:33.298Z] Selected Git installation does not exist. Using Default [2022-11-02T21:49:33.298Z] The recommended git tool is: NONE [2022-11-02T21:49:38.456Z] using credential edgex-jenkins-ssh [2022-11-02T21:49:38.470Z] Cloning the remote Git repository [2022-11-02T21:49:38.520Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-02T21:49:38.601Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-11-02T21:49:38.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-02T21:49:38.783Z] > git --version # timeout=10 [2022-11-02T21:49:38.806Z] > git --version # 'git version 2.25.1' [2022-11-02T21:49:38.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T21:49:38.861Z] Verifying host key using known hosts file [2022-11-02T21:49:39.051Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T21:49:39.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T21:49:40.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-02T21:49:40.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-02T21:49:41.899Z] Merging remotes/origin/main commit 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [2022-11-02T21:49:41.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-02T21:49:41.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-02T21:49:41.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T21:49:41.238Z] Verifying host key using known hosts file [2022-11-02T21:49:41.245Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T21:49:41.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/435/head:refs/remotes/origin/PR-435 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-02T21:49:41.920Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T21:49:41.943Z] > git checkout -f 055a993d4b8b44a1cc2920f8587220a5a240b0b9 # timeout=10 [2022-11-02T21:49:42.039Z] > git remote # timeout=10 [2022-11-02T21:49:42.060Z] > git config --get remote.origin.url # timeout=10 [2022-11-02T21:49:42.149Z] Merge succeeded, producing 055a993d4b8b44a1cc2920f8587220a5a240b0b9 [2022-11-02T21:49:42.149Z] Checking out Revision 055a993d4b8b44a1cc2920f8587220a5a240b0b9 (PR-435) [2022-11-02T21:49:42.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-02T21:49:42.086Z] Verifying host key using known hosts file [2022-11-02T21:49:42.091Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-02T21:49:42.101Z] > git merge 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 [2022-11-02T21:49:42.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-02T21:49:42.154Z] > git config core.sparsecheckout # timeout=10 [2022-11-02T21:49:42.167Z] > git checkout -f 055a993d4b8b44a1cc2920f8587220a5a240b0b9 # timeout=10 [2022-11-02T21:49:45.661Z] Commit message: "docs: Levski Change Log" [2022-11-02T21:49:45.703Z] > git --version # timeout=10 [2022-11-02T21:49:45.717Z] > git --version # 'git version 2.25.1' [2022-11-02T21:49:45.729Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T21:49:46.821Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-02T21:49:46.821Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T21:49:46.821Z] Dload Upload Total Spent Left Speed [2022-11-02T21:49:46.821Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh [2022-11-02T21:49:47.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-02T21:49:47.853Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-02T21:49:47.853Z] + sudo tee /etc/docker/daemon.new [2022-11-02T21:49:47.853Z] { [2022-11-02T21:49:47.853Z] "registry-mirrors": [ [2022-11-02T21:49:47.853Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-02T21:49:47.853Z] ], [2022-11-02T21:49:47.853Z] "bip": "10.250.0.254/24", [2022-11-02T21:49:47.853Z] "hosts": [ [2022-11-02T21:49:47.853Z] "tcp://0.0.0.0:5555", [2022-11-02T21:49:47.853Z] "unix:///var/run/docker.sock" [2022-11-02T21:49:47.853Z] ], [2022-11-02T21:49:47.853Z] "mtu": 1458, [2022-11-02T21:49:47.853Z] "selinux-enabled": true, [2022-11-02T21:49:47.853Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-02T21:49:47.853Z] } [Pipeline] sh [2022-11-02T21:49:48.192Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-02T21:49:48.548Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T21:50:06.848Z] provisioning config files... [2022-11-02T21:50:06.874Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17882557564980967468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:50:07.274Z] ---> docker-login.sh [2022-11-02T21:50:07.274Z] nexus3.edgexfoundry.org:10001 [2022-11-02T21:50:07.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:50:07.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:50:07.862Z] Configure a credential helper to remove this warning. See [2022-11-02T21:50:07.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:50:07.862Z] [2022-11-02T21:50:07.862Z] Login Succeeded [2022-11-02T21:50:07.862Z] nexus3.edgexfoundry.org:10002 [2022-11-02T21:50:08.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:50:08.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:50:08.131Z] Configure a credential helper to remove this warning. See [2022-11-02T21:50:08.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:50:08.131Z] [2022-11-02T21:50:08.131Z] Login Succeeded [2022-11-02T21:50:08.131Z] nexus3.edgexfoundry.org:10003 [2022-11-02T21:50:08.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:50:08.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:50:08.670Z] Configure a credential helper to remove this warning. See [2022-11-02T21:50:08.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:50:08.670Z] [2022-11-02T21:50:08.670Z] Login Succeeded [2022-11-02T21:50:08.670Z] nexus3.edgexfoundry.org:10004 [2022-11-02T21:50:08.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:50:08.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:50:08.940Z] Configure a credential helper to remove this warning. See [2022-11-02T21:50:08.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:50:08.940Z] [2022-11-02T21:50:08.940Z] Login Succeeded [2022-11-02T21:50:08.940Z] docker.io [2022-11-02T21:50:09.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-02T21:50:09.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-02T21:50:09.477Z] Configure a credential helper to remove this warning. See [2022-11-02T21:50:09.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-02T21:50:09.477Z] [2022-11-02T21:50:09.477Z] Login Succeeded [2022-11-02T21:50:09.477Z] ---> docker-login.sh ends [Pipeline] } [2022-11-02T21:50:09.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-02T21:50:09.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T21:50:09.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-02T21:50:09.848Z] ========================================================= [2022-11-02T21:50:09.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-02T21:50:09.848Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:50:10.345Z] + 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 . [2022-11-02T21:50:10.613Z] Sending build context to Docker daemon 3.239MB [2022-11-02T21:50:10.613Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T21:50:10.613Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-02T21:50:10.889Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-02T21:50:10.889Z] 9b18e9b68314: Pulling fs layer [2022-11-02T21:50:10.889Z] 35d82f9e3411: Pulling fs layer [2022-11-02T21:50:10.889Z] e16973657156: Pulling fs layer [2022-11-02T21:50:10.889Z] fc693d55d65f: Pulling fs layer [2022-11-02T21:50:10.889Z] 7e9fc2657dce: Pulling fs layer [2022-11-02T21:50:10.889Z] dda99020689f: Pulling fs layer [2022-11-02T21:50:10.889Z] db1c61fa0a46: Pulling fs layer [2022-11-02T21:50:10.889Z] 891c053d2c06: Pulling fs layer [2022-11-02T21:50:10.889Z] fc693d55d65f: Waiting [2022-11-02T21:50:10.889Z] 7e9fc2657dce: Waiting [2022-11-02T21:50:10.889Z] dda99020689f: Waiting [2022-11-02T21:50:10.889Z] db1c61fa0a46: Waiting [2022-11-02T21:50:10.889Z] 891c053d2c06: Waiting [2022-11-02T21:50:10.889Z] e16973657156: Verifying Checksum [2022-11-02T21:50:10.889Z] e16973657156: Download complete [2022-11-02T21:50:10.889Z] 35d82f9e3411: Verifying Checksum [2022-11-02T21:50:10.889Z] 35d82f9e3411: Download complete [2022-11-02T21:50:10.889Z] 7e9fc2657dce: Verifying Checksum [2022-11-02T21:50:10.889Z] 7e9fc2657dce: Download complete [2022-11-02T21:50:10.889Z] dda99020689f: Verifying Checksum [2022-11-02T21:50:10.889Z] dda99020689f: Download complete [2022-11-02T21:50:10.889Z] 9b18e9b68314: Download complete [2022-11-02T21:50:11.866Z] 891c053d2c06: Verifying Checksum [2022-11-02T21:50:11.866Z] 891c053d2c06: Download complete [2022-11-02T21:50:11.866Z] 9b18e9b68314: Pull complete [2022-11-02T21:50:12.455Z] 35d82f9e3411: Pull complete [2022-11-02T21:50:12.736Z] e16973657156: Pull complete [2022-11-02T21:50:13.329Z] db1c61fa0a46: Verifying Checksum [2022-11-02T21:50:13.329Z] db1c61fa0a46: Download complete [2022-11-02T21:50:13.599Z] fc693d55d65f: Verifying Checksum [2022-11-02T21:50:13.599Z] fc693d55d65f: Download complete [2022-11-02T21:50:25.946Z] fc693d55d65f: Pull complete [2022-11-02T21:50:25.946Z] 7e9fc2657dce: Pull complete [2022-11-02T21:50:26.216Z] dda99020689f: Pull complete [2022-11-02T21:50:32.880Z] db1c61fa0a46: Pull complete [2022-11-02T21:50:34.302Z] 891c053d2c06: Pull complete [2022-11-02T21:50:34.302Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-02T21:50:34.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-02T21:50:34.302Z] ---> f96f9c87975a [2022-11-02T21:50:34.302Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-02T21:50:36.263Z] ---> Running in 4700c7edd3e9 [2022-11-02T21:50:36.536Z] Removing intermediate container 4700c7edd3e9 [2022-11-02T21:50:36.536Z] ---> ca02100674e6 [2022-11-02T21:50:36.536Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T21:50:36.805Z] ---> Running in fc69568c92da [2022-11-02T21:50:37.075Z] Removing intermediate container fc69568c92da [2022-11-02T21:50:37.075Z] ---> 84288e79a1c6 [2022-11-02T21:50:37.075Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T21:50:37.075Z] ---> Running in 398d1d7d675f [2022-11-02T21:50:37.663Z] Removing intermediate container 398d1d7d675f [2022-11-02T21:50:37.663Z] ---> 7c44aa270c09 [2022-11-02T21:50:37.663Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T21:50:37.663Z] ---> Running in 65d7c20879fc [2022-11-02T21:50:37.936Z] Removing intermediate container 65d7c20879fc [2022-11-02T21:50:37.936Z] ---> 46ea5c3da1e8 [2022-11-02T21:50:37.936Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T21:50:37.936Z] ---> Running in 493c32a25d11 [2022-11-02T21:50:39.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T21:50:39.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T21:50:40.599Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-02T21:50:40.599Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-02T21:50:40.599Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-02T21:50:40.599Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-02T21:50:40.599Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T21:50:40.599Z] OK: 226 MiB in 55 packages [2022-11-02T21:50:41.568Z] Removing intermediate container 493c32a25d11 [2022-11-02T21:50:41.568Z] ---> 6dc45eb34dfc [2022-11-02T21:50:41.568Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-02T21:50:41.841Z] ---> Running in 2f6ad8c380eb [2022-11-02T21:50:42.109Z] Removing intermediate container 2f6ad8c380eb [2022-11-02T21:50:42.109Z] ---> 841e1698d234 [2022-11-02T21:50:42.109Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-02T21:50:44.067Z] ---> a7ee139d9f33 [2022-11-02T21:50:44.067Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T21:50:44.336Z] ---> Running in 26cf14e01c2f [2022-11-02T21:51:40.780Z] Removing intermediate container 26cf14e01c2f [2022-11-02T21:51:40.780Z] ---> f9a8306ebc9f [2022-11-02T21:51:40.780Z] Step 11/12 : COPY . . [2022-11-02T21:51:40.780Z] ---> abff2663253c [2022-11-02T21:51:40.780Z] Step 12/12 : RUN $MAKE [2022-11-02T21:51:40.780Z] ---> Running in a91c55adc23a [2022-11-02T21:51:40.780Z] noop [2022-11-02T21:51:40.780Z] Removing intermediate container a91c55adc23a [2022-11-02T21:51:40.780Z] ---> 4ac9d2c02183 [2022-11-02T21:51:40.780Z] Successfully built 4ac9d2c02183 [2022-11-02T21:51:40.780Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:51:41.307Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T21:51:41.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:51:41.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-117985 does not seem to be running inside a container [2022-11-02T21:51:41.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T21:51:42.903Z] $ docker top f00c16715bc6168067b0ab8fbec86c32aac423f739f6520b4263b4d712cb8190 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T21:51:43.821Z] + go version [2022-11-02T21:51:43.821Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-02T21:51:43.852Z] $ docker stop --time=1 f00c16715bc6168067b0ab8fbec86c32aac423f739f6520b4263b4d712cb8190 [2022-11-02T21:51:45.482Z] $ docker rm -f f00c16715bc6168067b0ab8fbec86c32aac423f739f6520b4263b4d712cb8190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:51:46.386Z] + docker inspect -f . ci-base-image-arm64 [2022-11-02T21:51:46.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:51:46.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-117985 does not seem to be running inside a container [2022-11-02T21:51:46.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-02T21:51:47.820Z] $ docker top 08d0e71a92f09845a67d3045c1e253718271e12a6b9b63beef55322a3d45f10c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T21:51:48.370Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-02T21:51:48.756Z] + make test [2022-11-02T21:51:48.756Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-02T21:51:50.705Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-02T21:53:27.404Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-02T21:53:27.404Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements [2022-11-02T21:53:27.404Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-02T21:53:27.404Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-02T21:53:27.404Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-02T21:53:45.649Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-02T21:53:45.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-02T21:53:45.649Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-02T21:53:45.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-02T21:53:45.730Z] $ docker stop --time=1 08d0e71a92f09845a67d3045c1e253718271e12a6b9b63beef55322a3d45f10c [2022-11-02T21:53:47.536Z] $ docker rm -f 08d0e71a92f09845a67d3045c1e253718271e12a6b9b63beef55322a3d45f10c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-02T21:53:48.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-02T21:53:48.643Z] Warning: overwriting stash ‘coverage-report’ [2022-11-02T21:53:49.107Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-02T21:53:49.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-02T21:53:50.055Z] + ls -al . [2022-11-02T21:53:50.055Z] total 192 [2022-11-02T21:53:50.055Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 21:51 . [2022-11-02T21:53:50.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:49 .. [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 21:49 .dockerignore [2022-11-02T21:53:50.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 21:49 .git [2022-11-02T21:53:50.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:49 .github [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 2 21:49 .gitignore [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 21:49 .golangci.yml [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 2 21:49 Attribution.txt [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 2 21:49 CHANGELOG.md [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 2 21:49 Dockerfile [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 21:49 GOVERNANCE.md [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 2 21:49 Jenkinsfile [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 21:49 LICENSE [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 2 21:49 Makefile [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 21:49 OWNERS.md [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 2 21:49 README.md [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 21:47 VERSION [2022-11-02T21:53:50.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:49 bin [2022-11-02T21:53:50.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:49 cmd [2022-11-02T21:53:50.055Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 2 21:53 coverage.out [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 2 21:49 go.mod [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 2 21:49 go.sum [2022-11-02T21:53:50.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:49 internal [2022-11-02T21:53:50.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:49 mock [2022-11-02T21:53:50.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:49 snap [2022-11-02T21:53:50.055Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 2 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:53:50.475Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=055a993d4b8b44a1cc2920f8587220a5a240b0b9 --label arch=arm64 --label version=0.0.0 . [2022-11-02T21:53:50.747Z] Sending build context to Docker daemon 3.258MB [2022-11-02T21:53:50.747Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-02T21:53:50.747Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-02T21:53:50.747Z] ---> 4ac9d2c02183 [2022-11-02T21:53:50.747Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-02T21:53:51.017Z] ---> Running in aaef29d86bd1 [2022-11-02T21:53:51.284Z] Removing intermediate container aaef29d86bd1 [2022-11-02T21:53:51.284Z] ---> d9e621824d2f [2022-11-02T21:53:51.284Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-02T21:53:51.284Z] ---> Running in 4c167688674e [2022-11-02T21:53:51.552Z] Removing intermediate container 4c167688674e [2022-11-02T21:53:51.552Z] ---> 3415847b2397 [2022-11-02T21:53:51.552Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-02T21:53:51.552Z] ---> Running in c74278c4e43a [2022-11-02T21:53:52.141Z] Removing intermediate container c74278c4e43a [2022-11-02T21:53:52.141Z] ---> 1033a6ed7eaf [2022-11-02T21:53:52.141Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-02T21:53:52.141Z] ---> Running in ac37ddc16940 [2022-11-02T21:53:52.414Z] Removing intermediate container ac37ddc16940 [2022-11-02T21:53:52.414Z] ---> 5bece98a76e4 [2022-11-02T21:53:52.414Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-02T21:53:52.685Z] ---> Running in 8d7ee7560080 [2022-11-02T21:53:53.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T21:53:53.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T21:53:54.892Z] OK: 226 MiB in 55 packages [2022-11-02T21:53:56.840Z] Removing intermediate container 8d7ee7560080 [2022-11-02T21:53:56.840Z] ---> b25ead2302cc [2022-11-02T21:53:56.840Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-02T21:53:56.840Z] ---> Running in d1bac0f3147e [2022-11-02T21:53:57.110Z] Removing intermediate container d1bac0f3147e [2022-11-02T21:53:57.110Z] ---> 34f6afa5249c [2022-11-02T21:53:57.110Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-02T21:53:59.073Z] ---> f5628b36f505 [2022-11-02T21:53:59.073Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-02T21:53:59.073Z] ---> Running in c0fd9464490c [2022-11-02T21:54:01.660Z] Removing intermediate container c0fd9464490c [2022-11-02T21:54:01.660Z] ---> 1fc2f1c03fdc [2022-11-02T21:54:01.660Z] Step 11/24 : COPY . . [2022-11-02T21:54:02.246Z] ---> 14d9d1a410df [2022-11-02T21:54:02.246Z] Step 12/24 : RUN $MAKE [2022-11-02T21:54:02.246Z] ---> Running in 18f91ead184b [2022-11-02T21:54:03.670Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-11-02T21:56:55.750Z] Removing intermediate container 18f91ead184b [2022-11-02T21:56:55.750Z] ---> 51f4c75143b9 [2022-11-02T21:56:55.750Z] Step 13/24 : FROM alpine:3.16 [2022-11-02T21:56:55.750Z] 3.16: Pulling from library/alpine [2022-11-02T21:56:55.750Z] 9b18e9b68314: Already exists [2022-11-02T21:56:55.750Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-02T21:56:55.750Z] Status: Downloaded newer image for alpine:3.16 [2022-11-02T21:56:55.750Z] ---> a6215f271958 [2022-11-02T21:56:55.750Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-02T21:56:55.750Z] ---> Running in c1af73b0be51 [2022-11-02T21:56:55.750Z] Removing intermediate container c1af73b0be51 [2022-11-02T21:56:55.750Z] ---> 660ae43f8162 [2022-11-02T21:56:55.750Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-02T21:56:55.750Z] ---> Running in f1edd11528b2 [2022-11-02T21:56:55.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-02T21:56:55.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-02T21:56:55.750Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-02T21:56:55.750Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-02T21:56:55.750Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-02T21:56:55.750Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-02T21:56:55.750Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-02T21:56:55.750Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-02T21:56:55.750Z] Executing busybox-1.35.0-r17.trigger [2022-11-02T21:56:55.750Z] OK: 8 MiB in 20 packages [2022-11-02T21:56:55.750Z] Removing intermediate container f1edd11528b2 [2022-11-02T21:56:55.750Z] ---> c0f2d5835d59 [2022-11-02T21:56:55.750Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-02T21:56:55.750Z] ---> d9121f91b12d [2022-11-02T21:56:55.750Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-02T21:56:55.750Z] ---> 09b08eab1c4b [2022-11-02T21:56:55.750Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-02T21:56:55.750Z] ---> 2f994919f38a [2022-11-02T21:56:55.750Z] Step 19/24 : EXPOSE 59982 [2022-11-02T21:56:55.750Z] ---> Running in 2ee4bc6b0d6b [2022-11-02T21:56:55.750Z] Removing intermediate container 2ee4bc6b0d6b [2022-11-02T21:56:55.750Z] ---> b93c6ce79f7e [2022-11-02T21:56:55.750Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-02T21:56:55.750Z] ---> Running in 3a795989b8e7 [2022-11-02T21:56:55.750Z] Removing intermediate container 3a795989b8e7 [2022-11-02T21:56:55.750Z] ---> 4553477cfef6 [2022-11-02T21:56:55.750Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-02T21:56:55.750Z] ---> Running in ea0b4700bbb2 [2022-11-02T21:56:55.750Z] Removing intermediate container ea0b4700bbb2 [2022-11-02T21:56:55.750Z] ---> 088e76b87177 [2022-11-02T21:56:55.750Z] Step 22/24 : LABEL arch=arm64 [2022-11-02T21:56:55.750Z] ---> Running in ebbd731168bd [2022-11-02T21:56:55.750Z] Removing intermediate container ebbd731168bd [2022-11-02T21:56:55.750Z] ---> 182e003a4cb3 [2022-11-02T21:56:55.750Z] Step 23/24 : LABEL git_sha=055a993d4b8b44a1cc2920f8587220a5a240b0b9 [2022-11-02T21:56:55.750Z] ---> Running in 74715b162930 [2022-11-02T21:56:55.750Z] Removing intermediate container 74715b162930 [2022-11-02T21:56:55.750Z] ---> 94e87eb32f24 [2022-11-02T21:56:55.750Z] Step 24/24 : LABEL version=0.0.0 [2022-11-02T21:56:55.750Z] ---> Running in 53ef8ef02b0a [2022-11-02T21:56:55.750Z] Removing intermediate container 53ef8ef02b0a [2022-11-02T21:56:55.750Z] ---> f4554f5d929b [2022-11-02T21:56:55.750Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-02T21:56:55.750Z] Successfully built f4554f5d929b [2022-11-02T21:56:55.750Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:56:56.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T21:56:56.557Z] [2022-11-02T21:56:56.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:56:56.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T21:56:56.968Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-02T21:56:56.968Z] 8998bd30e6a1: Pulling fs layer [2022-11-02T21:56:56.968Z] 04944245beec: Pulling fs layer [2022-11-02T21:56:56.968Z] 699f458cf7ca: Pulling fs layer [2022-11-02T21:56:56.968Z] 765212b225bb: Pulling fs layer [2022-11-02T21:56:56.968Z] f23df028b6ca: Pulling fs layer [2022-11-02T21:56:56.968Z] d65c8cfc05b1: Pulling fs layer [2022-11-02T21:56:56.968Z] 2437ff75d9bd: Pulling fs layer [2022-11-02T21:56:56.968Z] 765212b225bb: Waiting [2022-11-02T21:56:56.968Z] f23df028b6ca: Waiting [2022-11-02T21:56:56.968Z] d65c8cfc05b1: Waiting [2022-11-02T21:56:56.968Z] 2437ff75d9bd: Waiting [2022-11-02T21:56:57.238Z] 04944245beec: Verifying Checksum [2022-11-02T21:56:57.238Z] 04944245beec: Download complete [2022-11-02T21:56:57.238Z] 765212b225bb: Verifying Checksum [2022-11-02T21:56:57.238Z] 765212b225bb: Download complete [2022-11-02T21:56:57.238Z] f23df028b6ca: Verifying Checksum [2022-11-02T21:56:57.238Z] f23df028b6ca: Download complete [2022-11-02T21:56:57.238Z] d65c8cfc05b1: Verifying Checksum [2022-11-02T21:56:57.238Z] d65c8cfc05b1: Download complete [2022-11-02T21:56:57.238Z] 699f458cf7ca: Verifying Checksum [2022-11-02T21:56:57.238Z] 699f458cf7ca: Download complete [2022-11-02T21:56:57.824Z] 8998bd30e6a1: Download complete [2022-11-02T21:56:59.773Z] 2437ff75d9bd: Verifying Checksum [2022-11-02T21:56:59.773Z] 2437ff75d9bd: Download complete [2022-11-02T21:57:01.181Z] 8998bd30e6a1: Pull complete [2022-11-02T21:57:01.763Z] 04944245beec: Pull complete [2022-11-02T21:57:03.179Z] 699f458cf7ca: Pull complete [2022-11-02T21:57:03.179Z] 765212b225bb: Pull complete [2022-11-02T21:57:03.762Z] f23df028b6ca: Pull complete [2022-11-02T21:57:04.029Z] d65c8cfc05b1: Pull complete [2022-11-02T21:57:19.004Z] 2437ff75d9bd: Pull complete [2022-11-02T21:57:19.004Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-02T21:57:19.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-02T21:57:19.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:57:19.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-117985 does not seem to be running inside a container [2022-11-02T21:57:19.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-02T21:57:21.858Z] $ docker top b0e19fb88a855a8e0eea1053bb62b8b486e89cbe0f4d0b7fcb21b507ba1116b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:22.756Z] ---> job-cost.sh [2022-11-02T21:57:22.756Z] lf-activate-venv: SKIPPING [2022-11-02T21:57:22.756Z] INFO: No Stack... [2022-11-02T21:57:23.338Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-02T21:57:23.917Z] INFO: Archiving Costs [Pipeline] sh [2022-11-02T21:57:24.257Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-11-02T21:57:24.524Z] + cut -d, -f6 [Pipeline] lock [2022-11-02T21:57:24.608Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [2022-11-02T21:57:24.614Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] did not exist. Created. [2022-11-02T21:57:24.614Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-02T21:57:25.034Z] /w/workspace/device-mqtt-go/1@tmp/durable-6aac069f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-02T21:57:25.698Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-02T21:57:25.732Z] Warning: overwriting stash ‘stack-cost’ [2022-11-02T21:57:25.769Z] Stashed 1 file(s) [Pipeline] } [2022-11-02T21:57:25.786Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-435-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-02T21:57:25.848Z] $ docker stop --time=1 b0e19fb88a855a8e0eea1053bb62b8b486e89cbe0f4d0b7fcb21b507ba1116b2 [2022-11-02T21:57:27.338Z] $ docker rm -f b0e19fb88a855a8e0eea1053bb62b8b486e89cbe0f4d0b7fcb21b507ba1116b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-02T21:57:28.308Z] provisioning config files... [2022-11-02T21:57:28.315Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/config10978493455628275669tmp [Pipeline] { [Pipeline] sh [2022-11-02T21:57:28.655Z] + set +x [2022-11-02T21:57:28.655Z] + curl -s https://codecov.io/bash [2022-11-02T21:57:28.655Z] + bash -s -- [2022-11-02T21:57:28.655Z] [2022-11-02T21:57:28.655Z] _____ _ [2022-11-02T21:57:28.655Z] / ____| | | [2022-11-02T21:57:28.655Z] | | ___ __| | ___ ___ _____ __ [2022-11-02T21:57:28.655Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-02T21:57:28.655Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-02T21:57:28.655Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-02T21:57:28.655Z] Bash-1.0.6 [2022-11-02T21:57:28.655Z] [2022-11-02T21:57:28.655Z] [2022-11-02T21:57:28.655Z] ==> git version 2.25.1 found [2022-11-02T21:57:28.655Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-02T21:57:28.655Z] Release-Date: 2020-01-08 [2022-11-02T21:57:28.655Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-02T21:57:28.655Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-02T21:57:28.655Z] ==> Jenkins CI detected. [2022-11-02T21:57:28.655Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-435 [2022-11-02T21:57:28.655Z] project root: . [2022-11-02T21:57:28.655Z] --> token set from env [2022-11-02T21:57:28.655Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-02T21:57:28.655Z] ==> Running gcov in . (disable via -X gcov) [2022-11-02T21:57:28.655Z] ==> Python coveragepy not found [2022-11-02T21:57:28.655Z] ==> Searching for coverage reports in: [2022-11-02T21:57:28.655Z] + . [2022-11-02T21:57:28.655Z] -> Found 1 reports [2022-11-02T21:57:28.655Z] ==> Detecting git/mercurial file structure [2022-11-02T21:57:28.655Z] ==> Reading reports [2022-11-02T21:57:28.655Z] + ./coverage.out bytes=17887 [2022-11-02T21:57:28.655Z] ==> Appending adjustments [2022-11-02T21:57:28.655Z] https://docs.codecov.io/docs/fixing-reports [2022-11-02T21:57:28.914Z] + Found adjustments [2022-11-02T21:57:28.914Z] ==> Gzipping contents [2022-11-02T21:57:28.914Z] 4.0K /tmp/codecov.zYBlQt.gz [2022-11-02T21:57:28.914Z] ==> Uploading reports [2022-11-02T21:57:28.914Z] url: https://codecov.io [2022-11-02T21:57:28.914Z] query: branch=PR-435&commit=055a993d4b8b44a1cc2920f8587220a5a240b0b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-435%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=435&job=&cmd_args= [2022-11-02T21:57:28.914Z] -> Pinging Codecov [2022-11-02T21:57:28.914Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-435&commit=055a993d4b8b44a1cc2920f8587220a5a240b0b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-435%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=435&job=&cmd_args= [2022-11-02T21:57:29.173Z] -> Uploading to [2022-11-02T21:57:29.173Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7D719EC7BBE17E464838252E33014C33/055a993d4b8b44a1cc2920f8587220a5a240b0b9/682a5274-f59e-4290-ae53-8a81f09ca08c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T215728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=540d44eeaadae18dbea7f578ac72710ee27e300f18ef80679859c1de4fb8cb33 [2022-11-02T21:57:29.173Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-02T21:57:29.173Z] Dload Upload Total Spent Left Speed [2022-11-02T21:57:29.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 15423 --:--:-- --:--:-- --:--:-- 15423 [2022-11-02T21:57:29.433Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/055a993d4b8b44a1cc2920f8587220a5a240b0b9 [Pipeline] } [2022-11-02T21:57:29.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-02T21:57:31.114Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives ] [2022-11-02T21:57:31.114Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives [2022-11-02T21:57:31.114Z] total 16 [2022-11-02T21:57:31.114Z] drwxr-xr-x 3 root root 4096 Nov 2 21:49 . [2022-11-02T21:57:31.114Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 21:49 .. [2022-11-02T21:57:31.114Z] drwxr-xr-x 2 root root 4096 Nov 2 21:49 cost [2022-11-02T21:57:31.114Z] -rw-r--r-- 1 root root 86 Nov 2 21:49 cost.csv [2022-11-02T21:57:31.114Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives [2022-11-02T21:57:31.114Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives [2022-11-02T21:57:31.114Z] total 16 [2022-11-02T21:57:31.114Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 21:49 . [2022-11-02T21:57:31.114Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 21:49 .. [2022-11-02T21:57:31.114Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 21:49 cost [2022-11-02T21:57:31.114Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 2 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:31.438Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:32.322Z] ---> package-listing.sh [2022-11-02T21:57:32.322Z] ++ facter osfamily [2022-11-02T21:57:32.322Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-02T21:57:32.581Z] + OS_FAMILY=debian [2022-11-02T21:57:32.581Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-435 [2022-11-02T21:57:32.581Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-02T21:57:32.581Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-02T21:57:32.581Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-02T21:57:32.581Z] + PACKAGES=/tmp/packages_start.txt [2022-11-02T21:57:32.581Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-435 ']' [2022-11-02T21:57:32.581Z] + PACKAGES=/tmp/packages_end.txt [2022-11-02T21:57:32.581Z] + case "${OS_FAMILY}" in [2022-11-02T21:57:32.581Z] + dpkg -l [2022-11-02T21:57:32.581Z] + grep '^ii' [2022-11-02T21:57:32.581Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-02T21:57:32.581Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-02T21:57:32.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-02T21:57:32.581Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-435 ']' [2022-11-02T21:57:32.581Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives/ [2022-11-02T21:57:32.581Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-435/archives/ [Pipeline] echo [2022-11-02T21:57:32.653Z] 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-435/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-02T21:57:32.947Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-02T21:57:33.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-02T21:57:33.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-02T21:57:33.715Z] prd-ubuntu20.04-docker-8c-8g-117982 does not seem to be running inside a container [2022-11-02T21:57:33.746Z] $ 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-435/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-435 -v /w/workspace/gexfoundry_device-mqtt-go_PR-435:/w/workspace/gexfoundry_device-mqtt-go_PR-435:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-02T21:57:33.945Z] $ docker top 7e44afdbe343d462653b2bcc63406c879b96a9d2889e5bf2cd51c8acac2da532 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-02T21:57:34.341Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-02T21:57:34.650Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-02T21:57:34.952Z] + ls /var/log/sa-host [2022-11-02T21:57:34.952Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-02T21:57:35.080Z] provisioning config files... [2022-11-02T21:57:35.088Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-435@tmp/config10048382269404296201tmp [Pipeline] { [Pipeline] echo [2022-11-02T21:57:35.134Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:35.445Z] ---> create-netrc.sh [Pipeline] } [2022-11-02T21:57:35.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:35.876Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-02T21:57:35.906Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:36.217Z] ---> sudo-logs.sh [2022-11-02T21:57:36.217Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-02T21:57:36.300Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:36.610Z] ---> job-cost.sh [2022-11-02T21:57:36.611Z] lf-activate-venv: SKIPPING [2022-11-02T21:57:36.611Z] DEBUG: total: 0.2199999988079071 [2022-11-02T21:57:36.611Z] INFO: Retrieving Stack Cost... [2022-11-02T21:57:36.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-02T21:57:37.435Z] INFO: Archiving Costs [Pipeline] echo [2022-11-02T21:57:37.467Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-02T21:57:37.781Z] ---> logs-deploy.sh [2022-11-02T21:57:37.782Z] lf-activate-venv: SKIPPING [2022-11-02T21:57:37.782Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-435/1 [2022-11-02T21:57:37.782Z] INFO: archiving workspace using pattern(s): [2022-11-02T21:57:38.720Z] Archives upload complete. [2022-11-02T21:57:38.720Z] INFO: archiving logs to Nexus