Pull request #1227 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aab32c53839b4e58fde428cb9437fdde1650e24c+86d27a5a876ae0ae85a91145bae5663558e9d985 (dd0619c4a46471cde6635d33f526bac4af6816b2) 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-ssh40926967417028433.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9340529602600262510.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-sdk-go/branches/PR-1227/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-sdk-go/branches/PR-1227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9311082584427136164.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-sdk-go/branches/PR-1227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8233421752673986503.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6731766297012001941.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-sdk-go/branches/PR-1227/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-sdk-go/branches/PR-1227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17791394064167143523.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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-7029’ Running on prd-ubuntu20.04-docker-8c-8g-7032 in /w/workspace/gexfoundry_device-sdk-go_PR-1227 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1227 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/pull/1227/head:refs/remotes/origin/PR-1227 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit aab32c53839b4e58fde428cb9437fdde1650e24c Merge succeeded, producing aab32c53839b4e58fde428cb9437fdde1650e24c Checking out Revision aab32c53839b4e58fde428cb9437fdde1650e24c (PR-1227) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f aab32c53839b4e58fde428cb9437fdde1650e24c # 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 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aab32c53839b4e58fde428cb9437fdde1650e24c # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-04T04:05:29.053Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-04T04:05:29.226Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-04T04:05:29.329Z] ========================================================= [2022-10-04T04:05:29.330Z] EdgeX Global Pipelines Version Info [2022-10-04T04:05:29.330Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:05:30.071Z] ------------------- [2022-10-04T04:05:30.071Z] stable info: [2022-10-04T04:05:30.071Z] ------------------- [2022-10-04T04:05:30.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-04T04:05:30.071Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T04:05:30.071Z] Message: update stable to v1.0.239 [2022-10-04T04:05:30.644Z] ------------------- [2022-10-04T04:05:30.644Z] experimental info: [2022-10-04T04:05:30.644Z] ------------------- [2022-10-04T04:05:30.644Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-04T04:05:30.644Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T04:05:30.644Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-04T04:05:30.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-04T04:05:30.973Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-04T04:05:31.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-04T04:05:31.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-04T04:05:31.096Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-04T04:05:31.132Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-04T04:05:31.172Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-04T04:05:31.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-04T04:05:31.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-04T04:05:31.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-04T04:05:31.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-04T04:05:31.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-04T04:05:31.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-04T04:05:31.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-04T04:05:31.498Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T04:05:31.537Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:05:31.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:05:31.626Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:05:31.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-04T04:05:31.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-04T04:05:31.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-04T04:05:31.788Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-04T04:05:31.830Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-04T04:05:31.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-04T04:05:31.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-04T04:05:31.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-04T04:05:32.002Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-04T04:05:32.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1227 [Pipeline] echo [2022-10-04T04:05:32.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1227 [Pipeline] echo [2022-10-04T04:05:32.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1227 [Pipeline] echo [2022-10-04T04:05:32.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aab32c53839b4e58fde428cb9437fdde1650e24c [Pipeline] echo [2022-10-04T04:05:32.196Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aab32c5 [Pipeline] echo [2022-10-04T04:05:32.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T04:05:32.353Z] provisioning config files... [2022-10-04T04:05:32.367Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/config4658214341203833979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:05:32.708Z] ---> docker-login.sh [2022-10-04T04:05:32.708Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:05:32.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:32.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:32.968Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:32.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:32.968Z] [2022-10-04T04:05:32.968Z] Login Succeeded [2022-10-04T04:05:32.968Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:05:32.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:32.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:32.968Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:32.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:32.968Z] [2022-10-04T04:05:32.968Z] Login Succeeded [2022-10-04T04:05:32.968Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:05:33.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:33.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:33.227Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:33.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:33.227Z] [2022-10-04T04:05:33.227Z] Login Succeeded [2022-10-04T04:05:33.227Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:05:33.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:33.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:33.227Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:33.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:33.227Z] [2022-10-04T04:05:33.227Z] Login Succeeded [2022-10-04T04:05:33.227Z] docker.io [2022-10-04T04:05:33.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:33.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:33.796Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:33.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:33.796Z] [2022-10-04T04:05:33.796Z] Login Succeeded [2022-10-04T04:05:33.796Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:05:33.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-04T04:05:34.433Z] + git rev-list -1 --merges aab32c53839b4e58fde428cb9437fdde1650e24c~1..aab32c53839b4e58fde428cb9437fdde1650e24c [Pipeline] echo [2022-10-04T04:05:34.489Z] -----------> git rev-list -1 --merges aab32c53839b4e58fde428cb9437fdde1650e24c~1..aab32c53839b4e58fde428cb9437fdde1650e24c aab32c53839b4e58fde428cb9437fdde1650e24c [false] [Pipeline] sh [2022-10-04T04:05:34.797Z] + git log --format=format:%s -1 aab32c53839b4e58fde428cb9437fdde1650e24c [Pipeline] echo [2022-10-04T04:05:34.837Z] ========================================================= [2022-10-04T04:05:34.837Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-04T04:05:34.837Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T04:05:35.277Z] + git log --format=format:%s -1 aab32c53839b4e58fde428cb9437fdde1650e24c [Pipeline] echo [2022-10-04T04:05:35.311Z] [semverPrep] GIT_COMMIT: aab32c53839b4e58fde428cb9437fdde1650e24c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-04T04:05:35.347Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-04T04:05:35.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T04:05:35.750Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-04T04:05:35.750Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-04T04:05:35.750Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-04T04:05:35.750Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-04T04:05:35.750Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-04T04:05:35.750Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:05:36.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:05:36.279Z] [2022-10-04T04:05:36.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:05:36.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:05:36.669Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-04T04:05:36.669Z] b85a868b505f: Pulling fs layer [2022-10-04T04:05:36.669Z] e2be974225ed: Pulling fs layer [2022-10-04T04:05:36.669Z] 339a4e72a1f5: Pulling fs layer [2022-10-04T04:05:36.669Z] 988bab9f4d93: Pulling fs layer [2022-10-04T04:05:36.669Z] 1469e6f7b9e6: Pulling fs layer [2022-10-04T04:05:36.669Z] eaf3925da568: Pulling fs layer [2022-10-04T04:05:36.669Z] bab4dde63d76: Pulling fs layer [2022-10-04T04:05:36.669Z] bde34c3a00c8: Pulling fs layer [2022-10-04T04:05:36.669Z] b352a97aabf1: Pulling fs layer [2022-10-04T04:05:36.669Z] 4872d77fe225: Pulling fs layer [2022-10-04T04:05:36.669Z] 5851b861e8e6: Pulling fs layer [2022-10-04T04:05:36.669Z] bde34c3a00c8: Waiting [2022-10-04T04:05:36.669Z] 988bab9f4d93: Waiting [2022-10-04T04:05:36.669Z] b352a97aabf1: Waiting [2022-10-04T04:05:36.669Z] 4872d77fe225: Waiting [2022-10-04T04:05:36.669Z] 1469e6f7b9e6: Waiting [2022-10-04T04:05:36.669Z] bab4dde63d76: Waiting [2022-10-04T04:05:36.669Z] 5851b861e8e6: Waiting [2022-10-04T04:05:36.669Z] e2be974225ed: Download complete [2022-10-04T04:05:36.669Z] 988bab9f4d93: Verifying Checksum [2022-10-04T04:05:36.669Z] 988bab9f4d93: Download complete [2022-10-04T04:05:36.929Z] 1469e6f7b9e6: Verifying Checksum [2022-10-04T04:05:36.929Z] 1469e6f7b9e6: Download complete [2022-10-04T04:05:36.929Z] 339a4e72a1f5: Verifying Checksum [2022-10-04T04:05:36.929Z] 339a4e72a1f5: Download complete [2022-10-04T04:05:36.929Z] eaf3925da568: Verifying Checksum [2022-10-04T04:05:36.929Z] eaf3925da568: Download complete [2022-10-04T04:05:36.929Z] bde34c3a00c8: Verifying Checksum [2022-10-04T04:05:36.929Z] bde34c3a00c8: Download complete [2022-10-04T04:05:36.929Z] b352a97aabf1: Verifying Checksum [2022-10-04T04:05:36.929Z] 4872d77fe225: Verifying Checksum [2022-10-04T04:05:36.929Z] 4872d77fe225: Download complete [2022-10-04T04:05:36.929Z] 5851b861e8e6: Verifying Checksum [2022-10-04T04:05:36.929Z] 5851b861e8e6: Download complete [2022-10-04T04:05:36.929Z] b85a868b505f: Download complete [2022-10-04T04:05:37.187Z] bab4dde63d76: Verifying Checksum [2022-10-04T04:05:37.187Z] bab4dde63d76: Download complete [2022-10-04T04:05:38.124Z] b85a868b505f: Pull complete [2022-10-04T04:05:38.382Z] e2be974225ed: Pull complete [2022-10-04T04:05:38.642Z] 339a4e72a1f5: Pull complete [2022-10-04T04:05:38.901Z] 988bab9f4d93: Pull complete [2022-10-04T04:05:39.158Z] 1469e6f7b9e6: Pull complete [2022-10-04T04:05:39.158Z] eaf3925da568: Pull complete [2022-10-04T04:05:41.063Z] bab4dde63d76: Pull complete [2022-10-04T04:05:41.063Z] bde34c3a00c8: Pull complete [2022-10-04T04:05:41.063Z] b352a97aabf1: Pull complete [2022-10-04T04:05:41.322Z] 4872d77fe225: Pull complete [2022-10-04T04:05:41.322Z] 5851b861e8e6: Pull complete [2022-10-04T04:05:41.322Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-04T04:05:41.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:05:41.322Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:05:41.552Z] prd-ubuntu20.04-docker-8c-8g-7032 does not seem to be running inside a container [2022-10-04T04:05:41.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1227 -v /w/workspace/gexfoundry_device-sdk-go_PR-1227:/w/workspace/gexfoundry_device-sdk-go_PR-1227:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1227@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-04T04:05:42.774Z] $ docker top 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 -eo pid,comm [2022-10-04T04:05:42.827Z] 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-10-04T04:05:42.827Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T04:05:42.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T04:05:42.949Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T04:05:43.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T04:05:43.065Z] $ docker exec 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 ssh-agent [2022-10-04T04:05:43.176Z] SSH_AUTH_SOCK=/tmp/ssh-8CymwKuGmcmS/agent.34 [2022-10-04T04:05:43.176Z] SSH_AGENT_PID=40 [2022-10-04T04:05:43.183Z] Running ssh-add (command line suppressed) [2022-10-04T04:05:43.293Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/private_key_14947306066514540796.key (/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/private_key_14947306066514540796.key) [2022-10-04T04:05:43.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T04:05:43.639Z] + git tag --points-at HEAD [Pipeline] } [2022-10-04T04:05:43.671Z] $ docker exec --env ******** --env ******** 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 ssh-agent -k [2022-10-04T04:05:43.765Z] unset SSH_AUTH_SOCK; [2022-10-04T04:05:43.765Z] unset SSH_AGENT_PID; [2022-10-04T04:05:43.765Z] echo Agent pid 40 killed; [2022-10-04T04:05:43.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-04T04:05:43.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T04:05:43.870Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T04:05:43.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T04:05:43.987Z] $ docker exec 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 ssh-agent [2022-10-04T04:05:44.098Z] SSH_AUTH_SOCK=/tmp/ssh-BQ4HV5jq1SHf/agent.74 [2022-10-04T04:05:44.098Z] SSH_AGENT_PID=80 [2022-10-04T04:05:44.103Z] Running ssh-add (command line suppressed) [2022-10-04T04:05:44.194Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/private_key_16073373392565161293.key (/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/private_key_16073373392565161293.key) [2022-10-04T04:05:44.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T04:05:44.537Z] + git semver init [2022-10-04T04:05:44.796Z] 2022-10-04 04:05:44,741 [run_init] DEBUG init version:0.0.0 force:False [2022-10-04T04:05:44.796Z] 2022-10-04 04:05:44,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver [2022-10-04T04:05:44.796Z] 2022-10-04 04:05:44,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver [2022-10-04T04:05:44.796Z] 2022-10-04 04:05:44,742 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1227, universal_newlines=False, shell=None, istream=None) [2022-10-04T04:05:45.738Z] 2022-10-04 04:05:45,727 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227/.git/info/exclude [2022-10-04T04:05:45.738Z] 2022-10-04 04:05:45,727 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver/PR-1227 with force:False [2022-10-04T04:05:45.738Z] 2022-10-04 04:05:45,728 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver/PR-1227 [2022-10-04T04:05:45.738Z] 2022-10-04 04:05:45,732 [execute] INFO git cat-file --batch-check [2022-10-04T04:05:45.738Z] 2022-10-04 04:05:45,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T04:05:45.998Z] 2022-10-04 04:05:45,739 [execute] INFO git cat-file --batch [2022-10-04T04:05:45.998Z] 2022-10-04 04:05:45,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T04:05:45.998Z] 2022-10-04 04:05:45,746 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1227/.semver/PR-1227 [2022-10-04T04:05:45.998Z] 0.0.0 [Pipeline] } [2022-10-04T04:05:46.023Z] $ docker exec --env ******** --env ******** 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 ssh-agent -k [2022-10-04T04:05:46.136Z] unset SSH_AUTH_SOCK; [2022-10-04T04:05:46.137Z] unset SSH_AGENT_PID; [2022-10-04T04:05:46.137Z] echo Agent pid 80 killed; [2022-10-04T04:05:46.149Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T04:05:46.568Z] + git semver [Pipeline] } [2022-10-04T04:05:46.853Z] $ docker stop --time=1 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 [2022-10-04T04:05:48.189Z] $ docker rm -f 4ed2b2c8a9145053442cf2e3961160f008a0b2466778237797e1ef771f51ea87 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T04:05:48.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-04T04:05:48.811Z] Stashed 1 file(s) [Pipeline] echo [2022-10-04T04:05:48.827Z] [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-10-04T04:05:49.389Z] provisioning config files... [2022-10-04T04:05:49.398Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/config4207228018864935084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:05:49.741Z] ---> docker-login.sh [2022-10-04T04:05:49.741Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:05:49.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:49.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:49.741Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:49.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:49.741Z] [2022-10-04T04:05:49.741Z] Login Succeeded [2022-10-04T04:05:49.741Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:05:49.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:49.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:49.741Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:49.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:49.741Z] [2022-10-04T04:05:49.741Z] Login Succeeded [2022-10-04T04:05:49.741Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:05:50.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:50.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:50.001Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:50.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:50.001Z] [2022-10-04T04:05:50.001Z] Login Succeeded [2022-10-04T04:05:50.001Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:05:50.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:50.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:50.001Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:50.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:50.001Z] [2022-10-04T04:05:50.001Z] Login Succeeded [2022-10-04T04:05:50.001Z] docker.io [2022-10-04T04:05:50.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:05:50.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:05:50.520Z] Configure a credential helper to remove this warning. See [2022-10-04T04:05:50.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:05:50.520Z] [2022-10-04T04:05:50.520Z] Login Succeeded [2022-10-04T04:05:50.520Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:05:50.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T04:05:50.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:05:50.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:05:50.837Z] ========================================================= [2022-10-04T04:05:50.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-04T04:05:50.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:05:51.313Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-04T04:05:51.313Z] Sending build context to Docker daemon 9.946MB [2022-10-04T04:05:51.313Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:05:51.313Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T04:05:51.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-04T04:05:51.313Z] 2408cc74d12b: Pulling fs layer [2022-10-04T04:05:51.313Z] ea60b727a1ce: Pulling fs layer [2022-10-04T04:05:51.313Z] 30c4a7721957: Pulling fs layer [2022-10-04T04:05:51.313Z] 370296b7ddb6: Pulling fs layer [2022-10-04T04:05:51.313Z] 7c6cee850709: Pulling fs layer [2022-10-04T04:05:51.313Z] aa9baa53a306: Pulling fs layer [2022-10-04T04:05:51.313Z] 8b309c321861: Pulling fs layer [2022-10-04T04:05:51.313Z] 370296b7ddb6: Waiting [2022-10-04T04:05:51.313Z] d8d76fd02f46: Pulling fs layer [2022-10-04T04:05:51.313Z] 7c6cee850709: Waiting [2022-10-04T04:05:51.313Z] 8b309c321861: Waiting [2022-10-04T04:05:51.313Z] aa9baa53a306: Waiting [2022-10-04T04:05:51.313Z] fa31f396de31: Pulling fs layer [2022-10-04T04:05:51.313Z] d8d76fd02f46: Waiting [2022-10-04T04:05:51.313Z] 30c4a7721957: Verifying Checksum [2022-10-04T04:05:51.313Z] 30c4a7721957: Download complete [2022-10-04T04:05:51.313Z] ea60b727a1ce: Download complete [2022-10-04T04:05:51.313Z] 7c6cee850709: Verifying Checksum [2022-10-04T04:05:51.313Z] 7c6cee850709: Download complete [2022-10-04T04:05:51.577Z] aa9baa53a306: Verifying Checksum [2022-10-04T04:05:51.577Z] aa9baa53a306: Download complete [2022-10-04T04:05:51.577Z] 2408cc74d12b: Verifying Checksum [2022-10-04T04:05:51.577Z] 2408cc74d12b: Download complete [2022-10-04T04:05:51.577Z] 8b309c321861: Verifying Checksum [2022-10-04T04:05:51.577Z] 8b309c321861: Download complete [2022-10-04T04:05:51.577Z] 2408cc74d12b: Pull complete [2022-10-04T04:05:51.849Z] ea60b727a1ce: Pull complete [2022-10-04T04:05:51.849Z] 30c4a7721957: Pull complete [2022-10-04T04:05:52.114Z] fa31f396de31: Verifying Checksum [2022-10-04T04:05:52.114Z] fa31f396de31: Download complete [2022-10-04T04:05:52.114Z] d8d76fd02f46: Verifying Checksum [2022-10-04T04:05:52.114Z] d8d76fd02f46: Download complete [2022-10-04T04:05:52.373Z] 370296b7ddb6: Verifying Checksum [2022-10-04T04:05:52.373Z] 370296b7ddb6: Download complete [2022-10-04T04:05:56.556Z] 370296b7ddb6: Pull complete [2022-10-04T04:05:56.556Z] 7c6cee850709: Pull complete [2022-10-04T04:05:56.556Z] aa9baa53a306: Pull complete [2022-10-04T04:05:56.556Z] 8b309c321861: Pull complete [2022-10-04T04:05:58.460Z] d8d76fd02f46: Pull complete [2022-10-04T04:05:59.392Z] fa31f396de31: Pull complete [2022-10-04T04:05:59.392Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-04T04:05:59.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-04T04:05:59.392Z] ---> cef68f9685f8 [2022-10-04T04:05:59.392Z] Step 3/11 : ARG MAKE=make build [2022-10-04T04:06:00.766Z] ---> Running in 991e57c89300 [2022-10-04T04:06:00.766Z] Removing intermediate container 991e57c89300 [2022-10-04T04:06:00.766Z] ---> 24bddcb24cbc [2022-10-04T04:06:00.766Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T04:06:00.766Z] ---> Running in 4630d9b42b6d [2022-10-04T04:06:00.766Z] Removing intermediate container 4630d9b42b6d [2022-10-04T04:06:00.766Z] ---> 1f2e17666772 [2022-10-04T04:06:00.766Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:06:00.766Z] ---> Running in 9d8882294ad0 [2022-10-04T04:06:01.035Z] Removing intermediate container 9d8882294ad0 [2022-10-04T04:06:01.035Z] ---> 481faff35772 [2022-10-04T04:06:01.035Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:06:01.035Z] ---> Running in d1cf6031ad25 [2022-10-04T04:06:01.603Z] Removing intermediate container d1cf6031ad25 [2022-10-04T04:06:01.603Z] ---> a2ccdfdf3a6b [2022-10-04T04:06:01.603Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:06:01.603Z] ---> Running in 1e4557b69d12 [2022-10-04T04:06:01.861Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:06:02.796Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:06:03.054Z] OK: 211 MiB in 51 packages [2022-10-04T04:06:03.314Z] Removing intermediate container 1e4557b69d12 [2022-10-04T04:06:03.314Z] ---> de5fe2845204 [2022-10-04T04:06:03.314Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T04:06:03.612Z] ---> a8bc8ab979c8 [2022-10-04T04:06:03.612Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:06:03.612Z] ---> Running in 20f7054a8aab [2022-10-04T04:06:04.222Z] Still waiting to schedule task [2022-10-04T04:06:04.223Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7030’ [2022-10-04T04:06:21.722Z] Removing intermediate container 20f7054a8aab [2022-10-04T04:06:21.722Z] ---> c236d25f48ff [2022-10-04T04:06:21.722Z] Step 10/11 : COPY . . [2022-10-04T04:06:21.722Z] ---> 59b7539ea56e [2022-10-04T04:06:21.722Z] Step 11/11 : RUN ${MAKE} [2022-10-04T04:06:21.722Z] ---> Running in 4025497e994a [2022-10-04T04:06:21.722Z] noop [2022-10-04T04:06:21.722Z] Removing intermediate container 4025497e994a [2022-10-04T04:06:21.722Z] ---> 0e94efdc1d5e [2022-10-04T04:06:21.722Z] Successfully built 0e94efdc1d5e [2022-10-04T04:06:21.722Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:06:22.149Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T04:06:22.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:06:22.291Z] prd-ubuntu20.04-docker-8c-8g-7032 does not seem to be running inside a container [2022-10-04T04:06:22.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1227 -v /w/workspace/gexfoundry_device-sdk-go_PR-1227:/w/workspace/gexfoundry_device-sdk-go_PR-1227:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-04T04:06:22.666Z] $ docker top 9b7ae5cdca24792bc50b45b1349b2e185666d9e5c4f10435fa87bbfce37acef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:06:23.057Z] + go version [2022-10-04T04:06:23.057Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-04T04:06:23.086Z] $ docker stop --time=1 9b7ae5cdca24792bc50b45b1349b2e185666d9e5c4f10435fa87bbfce37acef7 [2022-10-04T04:06:24.348Z] $ docker rm -f 9b7ae5cdca24792bc50b45b1349b2e185666d9e5c4f10435fa87bbfce37acef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:06:25.109Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T04:06:25.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:06:25.258Z] prd-ubuntu20.04-docker-8c-8g-7032 does not seem to be running inside a container [2022-10-04T04:06:25.284Z] $ 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-sdk-go_PR-1227 -v /w/workspace/gexfoundry_device-sdk-go_PR-1227:/w/workspace/gexfoundry_device-sdk-go_PR-1227:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-04T04:06:25.630Z] $ docker top 03f11df7b3179bd51b7f35900ff6526059f2e89081d6146dd3ad9d8d3e1ce7bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:06:26.021Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1227 [Pipeline] fileExists [Pipeline] sh [2022-10-04T04:06:26.373Z] + make test [2022-10-04T04:06:26.373Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T04:06:32.945Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 60.0% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.750s coverage: 89.2% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T04:06:47.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-10-04T04:06:47.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T04:07:02.758Z] 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-10-04T04:07:02.758Z] GO111MODULE=on go vet ./... [2022-10-04T04:07:04.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T04:07:04.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T04:07:04.713Z] ./bin/test-attribution-txt.sh [2022-10-04T04:07:04.713Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T04:07:04.713Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T04:07:04.713Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T04:07:04.713Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T04:07:04.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T04:07:04.770Z] $ docker stop --time=1 03f11df7b3179bd51b7f35900ff6526059f2e89081d6146dd3ad9d8d3e1ce7bd [2022-10-04T04:07:06.800Z] $ docker rm -f 03f11df7b3179bd51b7f35900ff6526059f2e89081d6146dd3ad9d8d3e1ce7bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T04:07:07.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T04:07:07.432Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-04T04:07:08.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T04:07:08.388Z] + ls -al . [2022-10-04T04:07:08.388Z] total 276 [2022-10-04T04:07:08.388Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:06 . [2022-10-04T04:07:08.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:05 .. [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:05 .dockerignore [2022-10-04T04:07:08.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:06 .git [2022-10-04T04:07:08.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:05 .github [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:05 .gitignore [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:05 .golangci.yml [2022-10-04T04:07:08.388Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:05 .semver [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:05 CHANGELOG.md [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:05 GOVERNANCE.md [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:05 Jenkinsfile [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:05 LICENSE [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:05 Makefile [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:05 OWNERS.md [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:05 README.md [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:05 VERSION [2022-10-04T04:07:08.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:05 bin [2022-10-04T04:07:08.388Z] -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:06 coverage.out [2022-10-04T04:07:08.388Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:05 example [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:05 go.mod [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:05 go.sum [2022-10-04T04:07:08.388Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:05 internal [2022-10-04T04:07:08.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:05 openapi [2022-10-04T04:07:08.388Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:05 pkg [2022-10-04T04:07:08.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:05 snap [2022-10-04T04:07:08.388Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:07:08.779Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=aab32c53839b4e58fde428cb9437fdde1650e24c --label arch=amd64 --label version=0.0.0 . [2022-10-04T04:07:08.780Z] Sending build context to Docker daemon 10.05MB [2022-10-04T04:07:08.780Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:07:08.780Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T04:07:08.780Z] ---> 0e94efdc1d5e [2022-10-04T04:07:08.780Z] Step 3/25 : ARG MAKE=make build [2022-10-04T04:07:08.780Z] ---> Running in 5ae589d257c7 [2022-10-04T04:07:09.037Z] Removing intermediate container 5ae589d257c7 [2022-10-04T04:07:09.037Z] ---> 533abb137d7e [2022-10-04T04:07:09.037Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T04:07:09.037Z] ---> Running in b133f2c28b70 [2022-10-04T04:07:09.037Z] Removing intermediate container b133f2c28b70 [2022-10-04T04:07:09.037Z] ---> 8a060575b31a [2022-10-04T04:07:09.037Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:07:09.037Z] ---> Running in 1ae72fbc83ac [2022-10-04T04:07:09.296Z] Removing intermediate container 1ae72fbc83ac [2022-10-04T04:07:09.296Z] ---> 4c1c635e4482 [2022-10-04T04:07:09.296Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:07:09.296Z] ---> Running in c86f978f74de [2022-10-04T04:07:09.865Z] Removing intermediate container c86f978f74de [2022-10-04T04:07:09.865Z] ---> a0a3cc2d8785 [2022-10-04T04:07:09.865Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:07:09.865Z] ---> Running in c4bec84585be [2022-10-04T04:07:10.124Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:07:11.061Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:07:11.320Z] OK: 211 MiB in 51 packages [2022-10-04T04:07:11.579Z] Removing intermediate container c4bec84585be [2022-10-04T04:07:11.579Z] ---> a6cfc2d55519 [2022-10-04T04:07:11.579Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T04:07:11.579Z] ---> 817ebf52a06b [2022-10-04T04:07:11.579Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:07:11.579Z] ---> Running in fe285f749740 [2022-10-04T04:07:12.515Z] Removing intermediate container fe285f749740 [2022-10-04T04:07:12.515Z] ---> 6701ce6141d4 [2022-10-04T04:07:12.515Z] Step 10/25 : COPY . . [2022-10-04T04:07:12.774Z] ---> ec28433eb7f3 [2022-10-04T04:07:12.774Z] Step 11/25 : RUN ${MAKE} [2022-10-04T04:07:12.774Z] ---> Running in 4d528088f23a [2022-10-04T04:07:13.032Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T04:07:27.909Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T04:07:30.450Z] Removing intermediate container 4d528088f23a [2022-10-04T04:07:30.450Z] ---> 2cc458bcba97 [2022-10-04T04:07:30.450Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T04:07:31.384Z] 3.16: Pulling from library/alpine [2022-10-04T04:07:31.384Z] 213ec9aee27d: Pulling fs layer [2022-10-04T04:07:31.384Z] 213ec9aee27d: Verifying Checksum [2022-10-04T04:07:31.384Z] 213ec9aee27d: Download complete [2022-10-04T04:07:31.642Z] 213ec9aee27d: Pull complete [2022-10-04T04:07:31.642Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T04:07:31.642Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T04:07:31.642Z] ---> 9c6f07244728 [2022-10-04T04:07:31.642Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:07:31.642Z] ---> Running in 60cf937adcd3 [2022-10-04T04:07:31.642Z] Removing intermediate container 60cf937adcd3 [2022-10-04T04:07:31.642Z] ---> 0e20ed2488e7 [2022-10-04T04:07:31.642Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:07:31.901Z] ---> Running in 70b187c8e043 [2022-10-04T04:07:32.468Z] Removing intermediate container 70b187c8e043 [2022-10-04T04:07:32.468Z] ---> a4083c356636 [2022-10-04T04:07:32.468Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T04:07:32.468Z] ---> Running in d71c9a5cc655 [2022-10-04T04:07:32.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:07:33.662Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:07:33.922Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T04:07:33.922Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T04:07:33.922Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T04:07:34.181Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T04:07:34.181Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T04:07:34.182Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T04:07:34.182Z] OK: 8 MiB in 19 packages [2022-10-04T04:07:34.749Z] Removing intermediate container d71c9a5cc655 [2022-10-04T04:07:34.749Z] ---> 0f7f7f9ab095 [2022-10-04T04:07:34.749Z] Step 16/25 : WORKDIR / [2022-10-04T04:07:34.749Z] ---> Running in eecde2bebf2b [2022-10-04T04:07:34.749Z] Removing intermediate container eecde2bebf2b [2022-10-04T04:07:34.749Z] ---> 513ed3ff48b6 [2022-10-04T04:07:34.749Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T04:07:35.007Z] ---> b7f37f885f65 [2022-10-04T04:07:35.007Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T04:07:35.265Z] ---> 07314fea21f8 [2022-10-04T04:07:35.265Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T04:07:35.524Z] ---> 24ed9b2b4081 [2022-10-04T04:07:35.524Z] Step 20/25 : EXPOSE 59999 [2022-10-04T04:07:35.524Z] ---> Running in 9283fa1acf8f [2022-10-04T04:07:35.524Z] Removing intermediate container 9283fa1acf8f [2022-10-04T04:07:35.524Z] ---> cca3fb33a9e5 [2022-10-04T04:07:35.524Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T04:07:35.524Z] ---> Running in ca7cbbff9ede [2022-10-04T04:07:35.783Z] Removing intermediate container ca7cbbff9ede [2022-10-04T04:07:35.783Z] ---> 9d2b654c445c [2022-10-04T04:07:35.783Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T04:07:35.783Z] ---> Running in eefd43bc2b37 [2022-10-04T04:07:35.783Z] Removing intermediate container eefd43bc2b37 [2022-10-04T04:07:35.783Z] ---> acd3a9ebc75b [2022-10-04T04:07:35.783Z] Step 23/25 : LABEL arch=amd64 [2022-10-04T04:07:35.783Z] ---> Running in 60efbf32d31f [2022-10-04T04:07:35.783Z] Removing intermediate container 60efbf32d31f [2022-10-04T04:07:35.783Z] ---> 30a4eb81846a [2022-10-04T04:07:35.783Z] Step 24/25 : LABEL git_sha=aab32c53839b4e58fde428cb9437fdde1650e24c [2022-10-04T04:07:35.783Z] ---> Running in 5b19fd985c87 [2022-10-04T04:07:36.041Z] Removing intermediate container 5b19fd985c87 [2022-10-04T04:07:36.041Z] ---> d246cabd6145 [2022-10-04T04:07:36.041Z] Step 25/25 : LABEL version=0.0.0 [2022-10-04T04:07:36.041Z] ---> Running in d655069e27e2 [2022-10-04T04:07:36.041Z] Removing intermediate container d655069e27e2 [2022-10-04T04:07:36.041Z] ---> 1f8fd0ee4d46 [2022-10-04T04:07:36.041Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T04:07:36.041Z] Successfully built 1f8fd0ee4d46 [2022-10-04T04:07:36.041Z] Successfully tagged device-sdk-simple: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-10-04T04:07:36.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:07:36.858Z] [2022-10-04T04:07:36.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:07:37.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:07:37.239Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-04T04:07:37.239Z] 5eb5b503b376: Pulling fs layer [2022-10-04T04:07:37.239Z] 5c69ac0246d0: Pulling fs layer [2022-10-04T04:07:37.239Z] ec43610c2a17: Pulling fs layer [2022-10-04T04:07:37.239Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-04T04:07:37.239Z] 33b1e0a273af: Pulling fs layer [2022-10-04T04:07:37.239Z] 5d3b04190fa2: Pulling fs layer [2022-10-04T04:07:37.239Z] 2f39f015ded8: Pulling fs layer [2022-10-04T04:07:37.239Z] 33b1e0a273af: Waiting [2022-10-04T04:07:37.239Z] 3a2ae6a8a46f: Waiting [2022-10-04T04:07:37.239Z] 5d3b04190fa2: Waiting [2022-10-04T04:07:37.239Z] 2f39f015ded8: Waiting [2022-10-04T04:07:37.239Z] 5c69ac0246d0: Download complete [2022-10-04T04:07:37.239Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-04T04:07:37.239Z] 3a2ae6a8a46f: Download complete [2022-10-04T04:07:37.497Z] 33b1e0a273af: Verifying Checksum [2022-10-04T04:07:37.497Z] 33b1e0a273af: Download complete [2022-10-04T04:07:37.497Z] ec43610c2a17: Verifying Checksum [2022-10-04T04:07:37.497Z] ec43610c2a17: Download complete [2022-10-04T04:07:37.497Z] 5d3b04190fa2: Verifying Checksum [2022-10-04T04:07:37.497Z] 5d3b04190fa2: Download complete [2022-10-04T04:07:37.497Z] 5eb5b503b376: Verifying Checksum [2022-10-04T04:07:37.497Z] 5eb5b503b376: Download complete [2022-10-04T04:07:38.063Z] 2f39f015ded8: Download complete [2022-10-04T04:07:38.628Z] 5eb5b503b376: Pull complete [2022-10-04T04:07:38.628Z] 5c69ac0246d0: Pull complete [2022-10-04T04:07:39.194Z] ec43610c2a17: Pull complete [2022-10-04T04:07:39.194Z] 3a2ae6a8a46f: Pull complete [2022-10-04T04:07:39.451Z] 33b1e0a273af: Pull complete [2022-10-04T04:07:39.451Z] 5d3b04190fa2: Pull complete [2022-10-04T04:07:43.636Z] 2f39f015ded8: Pull complete [2022-10-04T04:07:43.636Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-04T04:07:43.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:07:43.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:07:43.829Z] prd-ubuntu20.04-docker-8c-8g-7032 does not seem to be running inside a container [2022-10-04T04:07:43.852Z] $ 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-sdk-go_PR-1227 -v /w/workspace/gexfoundry_device-sdk-go_PR-1227:/w/workspace/gexfoundry_device-sdk-go_PR-1227:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-04T04:07:45.172Z] $ docker top 668d1d7037a40c432df55d9fbe543700297f10fbe98cefac5e9a83c7f54e6e2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:07:45.640Z] ---> job-cost.sh [2022-10-04T04:07:45.640Z] lf-activate-venv: SKIPPING [2022-10-04T04:07:45.640Z] INFO: No Stack... [2022-10-04T04:07:45.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T04:07:46.157Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T04:07:46.469Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives/cost.csv [2022-10-04T04:07:46.469Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T04:07:46.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [2022-10-04T04:07:46.514Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] did not exist. Created. [2022-10-04T04:07:46.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T04:07:46.887Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-04T04:07:46.939Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T04:07:46.973Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T04:07:47.057Z] $ docker stop --time=1 668d1d7037a40c432df55d9fbe543700297f10fbe98cefac5e9a83c7f54e6e2a [2022-10-04T04:07:48.221Z] $ docker rm -f 668d1d7037a40c432df55d9fbe543700297f10fbe98cefac5e9a83c7f54e6e2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-04T04:08:35.939Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7034 in /w/workspace/gexfoundry_device-sdk-go_PR-1227 [Pipeline] { [Pipeline] ws [2022-10-04T04:08:35.983Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-04T04:08:36.062Z] The recommended git tool is: git [2022-10-04T04:08:42.091Z] using credential edgex-jenkins-ssh [2022-10-04T04:08:42.111Z] Cloning the remote Git repository [2022-10-04T04:08:42.170Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T04:08:42.270Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-04T04:08:42.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T04:08:42.468Z] > git --version # timeout=10 [2022-10-04T04:08:42.486Z] > git --version # 'git version 2.25.1' [2022-10-04T04:08:42.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T04:08:42.544Z] Verifying host key using known hosts file [2022-10-04T04:08:42.762Z] 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-10-04T04:08:42.777Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T04:08:44.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-04T04:08:44.404Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T04:08:45.906Z] Merging remotes/origin/main commit 86d27a5a876ae0ae85a91145bae5663558e9d985 into PR head commit aab32c53839b4e58fde428cb9437fdde1650e24c [2022-10-04T04:08:46.144Z] Merge succeeded, producing aab32c53839b4e58fde428cb9437fdde1650e24c [2022-10-04T04:08:46.145Z] Checking out Revision aab32c53839b4e58fde428cb9437fdde1650e24c (PR-1227) [2022-10-04T04:08:45.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-04T04:08:45.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T04:08:45.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T04:08:45.309Z] Verifying host key using known hosts file [2022-10-04T04:08:45.316Z] 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-10-04T04:08:45.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1227/head:refs/remotes/origin/PR-1227 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-04T04:08:45.924Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T04:08:45.941Z] > git checkout -f aab32c53839b4e58fde428cb9437fdde1650e24c # timeout=10 [2022-10-04T04:08:46.047Z] > git remote # timeout=10 [2022-10-04T04:08:46.065Z] > git config --get remote.origin.url # timeout=10 [2022-10-04T04:08:46.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T04:08:46.084Z] Verifying host key using known hosts file [2022-10-04T04:08:46.087Z] 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-10-04T04:08:46.098Z] > git merge 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 [2022-10-04T04:08:46.123Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-04T04:08:46.151Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T04:08:46.165Z] > git checkout -f aab32c53839b4e58fde428cb9437fdde1650e24c # timeout=10 [2022-10-04T04:08:46.671Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-10-04T04:08:46.721Z] > git --version # timeout=10 [2022-10-04T04:08:46.734Z] > git --version # 'git version 2.25.1' [2022-10-04T04:08:46.754Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T04:08:47.929Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-04T04:08:47.929Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T04:08:47.929Z] Dload Upload Total Spent Left Speed [2022-10-04T04:08:47.929Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84013 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 82907 [Pipeline] sh [2022-10-04T04:08:48.558Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-04T04:08:48.901Z] + sudo tee /etc/docker/daemon.new [2022-10-04T04:08:48.901Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-04T04:08:48.901Z] { [2022-10-04T04:08:48.901Z] "registry-mirrors": [ [2022-10-04T04:08:48.901Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-04T04:08:48.901Z] ], [2022-10-04T04:08:48.901Z] "bip": "10.250.0.254/24", [2022-10-04T04:08:48.901Z] "hosts": [ [2022-10-04T04:08:48.901Z] "tcp://0.0.0.0:5555", [2022-10-04T04:08:48.901Z] "unix:///var/run/docker.sock" [2022-10-04T04:08:48.901Z] ], [2022-10-04T04:08:48.901Z] "mtu": 1458, [2022-10-04T04:08:48.901Z] "selinux-enabled": true, [2022-10-04T04:08:48.901Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-04T04:08:48.901Z] } [Pipeline] sh [2022-10-04T04:08:49.243Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-04T04:08:49.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T04:09:07.917Z] provisioning config files... [2022-10-04T04:09:07.947Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2587600890214450374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:09:08.332Z] ---> docker-login.sh [2022-10-04T04:09:08.332Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:09:08.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:09:08.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:09:08.918Z] Configure a credential helper to remove this warning. See [2022-10-04T04:09:08.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:09:08.918Z] [2022-10-04T04:09:08.918Z] Login Succeeded [2022-10-04T04:09:08.918Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:09:09.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:09:09.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:09:09.460Z] Configure a credential helper to remove this warning. See [2022-10-04T04:09:09.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:09:09.460Z] [2022-10-04T04:09:09.460Z] Login Succeeded [2022-10-04T04:09:09.460Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:09:09.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:09:09.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:09:09.729Z] Configure a credential helper to remove this warning. See [2022-10-04T04:09:09.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:09:09.729Z] [2022-10-04T04:09:09.729Z] Login Succeeded [2022-10-04T04:09:09.729Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:09:09.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:09:09.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:09:09.999Z] Configure a credential helper to remove this warning. See [2022-10-04T04:09:09.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:09:09.999Z] [2022-10-04T04:09:09.999Z] Login Succeeded [2022-10-04T04:09:09.999Z] docker.io [2022-10-04T04:09:10.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:09:10.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:09:10.857Z] Configure a credential helper to remove this warning. See [2022-10-04T04:09:10.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:09:10.857Z] [2022-10-04T04:09:10.857Z] Login Succeeded [2022-10-04T04:09:10.857Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:09:10.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T04:09:11.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:09:11.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:09:11.250Z] ========================================================= [2022-10-04T04:09:11.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-04T04:09:11.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:09:11.753Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-10-04T04:09:12.021Z] Sending build context to Docker daemon 5.342MB [2022-10-04T04:09:12.021Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:09:12.021Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T04:09:12.293Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-04T04:09:12.293Z] b3c136eddcbf: Pulling fs layer [2022-10-04T04:09:12.293Z] c0a3192eca97: Pulling fs layer [2022-10-04T04:09:12.293Z] a050256f5b6f: Pulling fs layer [2022-10-04T04:09:12.293Z] 656be50a0ddc: Pulling fs layer [2022-10-04T04:09:12.293Z] 2bbca73fdf42: Pulling fs layer [2022-10-04T04:09:12.293Z] f607e4fc86c3: Pulling fs layer [2022-10-04T04:09:12.293Z] 4d572c569a2c: Pulling fs layer [2022-10-04T04:09:12.293Z] fcf976331f73: Pulling fs layer [2022-10-04T04:09:12.293Z] 2bbca73fdf42: Waiting [2022-10-04T04:09:12.293Z] 656be50a0ddc: Waiting [2022-10-04T04:09:12.293Z] f607e4fc86c3: Waiting [2022-10-04T04:09:12.293Z] 4d572c569a2c: Waiting [2022-10-04T04:09:12.293Z] a050256f5b6f: Verifying Checksum [2022-10-04T04:09:12.293Z] a050256f5b6f: Download complete [2022-10-04T04:09:12.293Z] c0a3192eca97: Verifying Checksum [2022-10-04T04:09:12.293Z] c0a3192eca97: Download complete [2022-10-04T04:09:12.293Z] 2bbca73fdf42: Verifying Checksum [2022-10-04T04:09:12.293Z] 2bbca73fdf42: Download complete [2022-10-04T04:09:12.293Z] b3c136eddcbf: Verifying Checksum [2022-10-04T04:09:12.293Z] b3c136eddcbf: Download complete [2022-10-04T04:09:12.293Z] f607e4fc86c3: Verifying Checksum [2022-10-04T04:09:12.293Z] f607e4fc86c3: Download complete [2022-10-04T04:09:13.263Z] b3c136eddcbf: Pull complete [2022-10-04T04:09:13.535Z] fcf976331f73: Verifying Checksum [2022-10-04T04:09:13.535Z] fcf976331f73: Download complete [2022-10-04T04:09:13.805Z] c0a3192eca97: Pull complete [2022-10-04T04:09:14.075Z] a050256f5b6f: Pull complete [2022-10-04T04:09:14.663Z] 4d572c569a2c: Verifying Checksum [2022-10-04T04:09:14.663Z] 4d572c569a2c: Download complete [2022-10-04T04:09:15.250Z] 656be50a0ddc: Verifying Checksum [2022-10-04T04:09:15.250Z] 656be50a0ddc: Download complete [2022-10-04T04:09:27.576Z] 656be50a0ddc: Pull complete [2022-10-04T04:09:27.576Z] 2bbca73fdf42: Pull complete [2022-10-04T04:09:27.576Z] f607e4fc86c3: Pull complete [2022-10-04T04:09:31.842Z] 4d572c569a2c: Pull complete [2022-10-04T04:09:33.268Z] fcf976331f73: Pull complete [2022-10-04T04:09:33.268Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-04T04:09:33.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-04T04:09:33.268Z] ---> 3970a7415f9e [2022-10-04T04:09:33.268Z] Step 3/11 : ARG MAKE=make build [2022-10-04T04:09:35.227Z] ---> Running in b581f92d9226 [2022-10-04T04:09:35.227Z] Removing intermediate container b581f92d9226 [2022-10-04T04:09:35.227Z] ---> 184496833e12 [2022-10-04T04:09:35.227Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T04:09:35.227Z] ---> Running in f3281ebd19cf [2022-10-04T04:09:35.544Z] Removing intermediate container f3281ebd19cf [2022-10-04T04:09:35.544Z] ---> 06718751bdaa [2022-10-04T04:09:35.544Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:09:35.824Z] ---> Running in 4cccded9ed4d [2022-10-04T04:09:36.138Z] Removing intermediate container 4cccded9ed4d [2022-10-04T04:09:36.138Z] ---> f2346536e1f9 [2022-10-04T04:09:36.138Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:09:36.138Z] ---> Running in dd0b1b68eb28 [2022-10-04T04:09:38.109Z] Removing intermediate container dd0b1b68eb28 [2022-10-04T04:09:38.109Z] ---> 35d98b6b61c1 [2022-10-04T04:09:38.109Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:09:38.109Z] ---> Running in 1154515aedc7 [2022-10-04T04:09:39.079Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T04:09:40.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T04:09:41.007Z] OK: 221 MiB in 51 packages [2022-10-04T04:09:41.978Z] Removing intermediate container 1154515aedc7 [2022-10-04T04:09:41.978Z] ---> 6fda805af7dc [2022-10-04T04:09:41.978Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T04:09:42.565Z] ---> 00d2ca7def2b [2022-10-04T04:09:42.565Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:09:42.565Z] ---> Running in 259b1417c14c [2022-10-04T04:10:29.426Z] Removing intermediate container 259b1417c14c [2022-10-04T04:10:29.426Z] ---> 8aa92fe568ce [2022-10-04T04:10:29.426Z] Step 10/11 : COPY . . [2022-10-04T04:10:30.393Z] ---> 716daf5f73d6 [2022-10-04T04:10:30.393Z] Step 11/11 : RUN ${MAKE} [2022-10-04T04:10:30.393Z] ---> Running in 2b88b51c9c3f [2022-10-04T04:10:31.357Z] noop [2022-10-04T04:10:32.319Z] Removing intermediate container 2b88b51c9c3f [2022-10-04T04:10:32.319Z] ---> 03cf56e4632d [2022-10-04T04:10:32.319Z] Successfully built 03cf56e4632d [2022-10-04T04:10:32.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:10:32.776Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T04:10:32.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:10:33.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-7034 does not seem to be running inside a container [2022-10-04T04:10:33.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T04:10:34.438Z] $ docker top 3a1c838d9b83f807ae0bafadea4a2b420ed734f45aff698d07160c3b2f15a6b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:10:35.328Z] + go version [2022-10-04T04:10:35.328Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-04T04:10:35.363Z] $ docker stop --time=1 3a1c838d9b83f807ae0bafadea4a2b420ed734f45aff698d07160c3b2f15a6b5 [2022-10-04T04:10:36.988Z] $ docker rm -f 3a1c838d9b83f807ae0bafadea4a2b420ed734f45aff698d07160c3b2f15a6b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:10:37.836Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T04:10:37.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:10:38.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-7034 does not seem to be running inside a container [2022-10-04T04:10:38.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T04:10:39.378Z] $ docker top 835c91abe5caad72cfd86e55cf85022d59f482e38eac98e15da5d18bcbc60ddf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:10:40.270Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-04T04:10:40.659Z] + make test [2022-10-04T04:10:40.929Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T04:11:19.820Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T04:13:26.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T04:13:26.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T04:13:26.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T04:13:26.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T04:13:26.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T04:13:31.862Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.263s coverage: 27.6% of statements [2022-10-04T04:13:32.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.404s coverage: 78.9% of statements [2022-10-04T04:13:32.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T04:13:38.185Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.567s coverage: 60.0% of statements [2022-10-04T04:13:38.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T04:13:38.185Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T04:13:43.529Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.716s coverage: 54.4% of statements [2022-10-04T04:13:43.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T04:13:43.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T04:13:43.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T04:13:43.529Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T04:13:44.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.534s coverage: 65.1% of statements [2022-10-04T04:13:44.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T04:13:44.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T04:13:44.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.395s coverage: 89.2% of statements [2022-10-04T04:13:44.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T04:13:48.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements [2022-10-04T04:13:48.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T04:13:48.901Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-04T04:13:48.901Z] GO111MODULE=on go vet ./... [2022-10-04T04:15:25.568Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T04:15:25.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T04:15:25.840Z] ./bin/test-attribution-txt.sh [2022-10-04T04:15:26.108Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T04:15:26.108Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T04:15:26.108Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T04:15:26.108Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T04:15:26.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T04:15:26.432Z] $ docker stop --time=1 835c91abe5caad72cfd86e55cf85022d59f482e38eac98e15da5d18bcbc60ddf [2022-10-04T04:15:28.249Z] $ docker rm -f 835c91abe5caad72cfd86e55cf85022d59f482e38eac98e15da5d18bcbc60ddf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T04:15:29.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T04:15:29.674Z] Warning: overwriting stash ‘coverage-report’ [2022-10-04T04:15:30.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T04:15:30.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T04:15:31.076Z] + ls -al . [2022-10-04T04:15:31.076Z] total 272 [2022-10-04T04:15:31.076Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:10 . [2022-10-04T04:15:31.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:08 .. [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:08 .dockerignore [2022-10-04T04:15:31.076Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:08 .git [2022-10-04T04:15:31.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:08 .github [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:08 .gitignore [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:08 .golangci.yml [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:08 CHANGELOG.md [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:08 GOVERNANCE.md [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:08 Jenkinsfile [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:08 LICENSE [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:08 Makefile [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:08 OWNERS.md [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:08 README.md [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:05 VERSION [2022-10-04T04:15:31.076Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:08 bin [2022-10-04T04:15:31.076Z] -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:13 coverage.out [2022-10-04T04:15:31.076Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:08 example [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:08 go.mod [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:08 go.sum [2022-10-04T04:15:31.076Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:08 internal [2022-10-04T04:15:31.076Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:08 openapi [2022-10-04T04:15:31.076Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:08 pkg [2022-10-04T04:15:31.076Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:08 snap [2022-10-04T04:15:31.076Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:15:31.494Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aab32c53839b4e58fde428cb9437fdde1650e24c --label arch=arm64 --label version=0.0.0 . [2022-10-04T04:15:31.761Z] Sending build context to Docker daemon 5.444MB [2022-10-04T04:15:31.761Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:15:31.761Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T04:15:31.761Z] ---> 03cf56e4632d [2022-10-04T04:15:31.761Z] Step 3/25 : ARG MAKE=make build [2022-10-04T04:15:32.027Z] ---> Running in a9f7ad0f07df [2022-10-04T04:15:32.294Z] Removing intermediate container a9f7ad0f07df [2022-10-04T04:15:32.294Z] ---> 9c983235d492 [2022-10-04T04:15:32.294Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T04:15:32.294Z] ---> Running in 8375afb503d6 [2022-10-04T04:15:32.561Z] Removing intermediate container 8375afb503d6 [2022-10-04T04:15:32.561Z] ---> fdd76b0c1541 [2022-10-04T04:15:32.561Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:15:32.827Z] ---> Running in 42955a6aa20d [2022-10-04T04:15:33.097Z] Removing intermediate container 42955a6aa20d [2022-10-04T04:15:33.097Z] ---> 110b95bd69cd [2022-10-04T04:15:33.097Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:15:33.097Z] ---> Running in 847f4bc77ab4 [2022-10-04T04:15:35.043Z] Removing intermediate container 847f4bc77ab4 [2022-10-04T04:15:35.043Z] ---> 88f98b5fe6de [2022-10-04T04:15:35.043Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:15:35.043Z] ---> Running in 127eccad8acf [2022-10-04T04:15:36.004Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T04:15:36.587Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T04:15:37.993Z] OK: 221 MiB in 51 packages [2022-10-04T04:15:38.577Z] Removing intermediate container 127eccad8acf [2022-10-04T04:15:38.577Z] ---> 70e7deb31967 [2022-10-04T04:15:38.577Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T04:15:39.159Z] ---> 716f2afc58e1 [2022-10-04T04:15:39.159Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:15:39.159Z] ---> Running in d1afcc40934e [2022-10-04T04:15:41.101Z] Removing intermediate container d1afcc40934e [2022-10-04T04:15:41.101Z] ---> 6e7a24b3c4b7 [2022-10-04T04:15:41.101Z] Step 10/25 : COPY . . [2022-10-04T04:15:42.060Z] ---> e2c5c7183a50 [2022-10-04T04:15:42.060Z] Step 11/25 : RUN ${MAKE} [2022-10-04T04:15:42.328Z] ---> Running in 5eb48ada708a [2022-10-04T04:15:43.287Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T04:18:04.968Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T04:18:04.968Z] Removing intermediate container 5eb48ada708a [2022-10-04T04:18:04.968Z] ---> b7b4c856f87c [2022-10-04T04:18:04.968Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T04:18:04.968Z] 3.16: Pulling from library/alpine [2022-10-04T04:18:04.968Z] 9b18e9b68314: Pulling fs layer [2022-10-04T04:18:04.968Z] 9b18e9b68314: Verifying Checksum [2022-10-04T04:18:04.968Z] 9b18e9b68314: Download complete [2022-10-04T04:18:04.968Z] 9b18e9b68314: Pull complete [2022-10-04T04:18:04.968Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T04:18:04.968Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T04:18:04.968Z] ---> a6215f271958 [2022-10-04T04:18:04.968Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:18:04.968Z] ---> Running in 66844ea58f74 [2022-10-04T04:18:04.968Z] Removing intermediate container 66844ea58f74 [2022-10-04T04:18:04.968Z] ---> dab7f2363de6 [2022-10-04T04:18:04.968Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:18:04.968Z] ---> Running in 44fb5d4c6ac4 [2022-10-04T04:18:04.968Z] Removing intermediate container 44fb5d4c6ac4 [2022-10-04T04:18:04.968Z] ---> 4f0b785995f8 [2022-10-04T04:18:04.968Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T04:18:04.968Z] ---> Running in 15f81995464c [2022-10-04T04:18:04.968Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T04:18:05.928Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T04:18:06.889Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T04:18:07.154Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T04:18:07.154Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T04:18:07.419Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T04:18:07.419Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T04:18:07.686Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T04:18:07.686Z] OK: 8 MiB in 19 packages [2022-10-04T04:18:08.648Z] Removing intermediate container 15f81995464c [2022-10-04T04:18:08.648Z] ---> 311b8e8e0f6a [2022-10-04T04:18:08.648Z] Step 16/25 : WORKDIR / [2022-10-04T04:18:08.648Z] ---> Running in 847853650fca [2022-10-04T04:18:08.915Z] Removing intermediate container 847853650fca [2022-10-04T04:18:08.915Z] ---> d6375655b0b9 [2022-10-04T04:18:08.915Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T04:18:09.497Z] ---> d6c6f8a12a18 [2022-10-04T04:18:09.497Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T04:18:10.905Z] ---> 2b01b8e684ca [2022-10-04T04:18:10.905Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T04:18:11.488Z] ---> e86410378886 [2022-10-04T04:18:11.488Z] Step 20/25 : EXPOSE 59999 [2022-10-04T04:18:11.488Z] ---> Running in bbce6676117f [2022-10-04T04:18:11.756Z] Removing intermediate container bbce6676117f [2022-10-04T04:18:11.756Z] ---> 7b54d14a2dd3 [2022-10-04T04:18:11.756Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T04:18:11.756Z] ---> Running in f7fd4d3beb2e [2022-10-04T04:18:12.024Z] Removing intermediate container f7fd4d3beb2e [2022-10-04T04:18:12.024Z] ---> 5abf22dfa535 [2022-10-04T04:18:12.024Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T04:18:12.297Z] ---> Running in 8f1473eca9c8 [2022-10-04T04:18:12.564Z] Removing intermediate container 8f1473eca9c8 [2022-10-04T04:18:12.564Z] ---> fdaf7d65e8be [2022-10-04T04:18:12.564Z] Step 23/25 : LABEL arch=arm64 [2022-10-04T04:18:12.564Z] ---> Running in 3a157131fc6b [2022-10-04T04:18:12.893Z] Removing intermediate container 3a157131fc6b [2022-10-04T04:18:12.893Z] ---> f30c46e50536 [2022-10-04T04:18:12.893Z] Step 24/25 : LABEL git_sha=aab32c53839b4e58fde428cb9437fdde1650e24c [2022-10-04T04:18:12.893Z] ---> Running in 1fb9659a3811 [2022-10-04T04:18:13.171Z] Removing intermediate container 1fb9659a3811 [2022-10-04T04:18:13.171Z] ---> 48386cfb73ee [2022-10-04T04:18:13.171Z] Step 25/25 : LABEL version=0.0.0 [2022-10-04T04:18:13.442Z] ---> Running in a23cc189d14a [2022-10-04T04:18:13.710Z] Removing intermediate container a23cc189d14a [2022-10-04T04:18:13.710Z] ---> 8f0e62740cab [2022-10-04T04:18:13.710Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T04:18:13.710Z] Successfully built 8f0e62740cab [2022-10-04T04:18:13.710Z] Successfully tagged device-sdk-simple-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-10-04T04:18:14.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T04:18:14.527Z] [2022-10-04T04:18:14.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:18:14.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T04:18:14.938Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-04T04:18:14.938Z] 8998bd30e6a1: Pulling fs layer [2022-10-04T04:18:14.938Z] 04944245beec: Pulling fs layer [2022-10-04T04:18:14.938Z] 699f458cf7ca: Pulling fs layer [2022-10-04T04:18:14.938Z] 765212b225bb: Pulling fs layer [2022-10-04T04:18:14.938Z] f23df028b6ca: Pulling fs layer [2022-10-04T04:18:14.938Z] d65c8cfc05b1: Pulling fs layer [2022-10-04T04:18:14.938Z] 2437ff75d9bd: Pulling fs layer [2022-10-04T04:18:14.938Z] 765212b225bb: Waiting [2022-10-04T04:18:14.938Z] f23df028b6ca: Waiting [2022-10-04T04:18:14.938Z] d65c8cfc05b1: Waiting [2022-10-04T04:18:14.938Z] 2437ff75d9bd: Waiting [2022-10-04T04:18:15.243Z] 04944245beec: Verifying Checksum [2022-10-04T04:18:15.243Z] 04944245beec: Download complete [2022-10-04T04:18:15.243Z] 765212b225bb: Verifying Checksum [2022-10-04T04:18:15.243Z] 765212b225bb: Download complete [2022-10-04T04:18:15.243Z] f23df028b6ca: Download complete [2022-10-04T04:18:15.243Z] d65c8cfc05b1: Verifying Checksum [2022-10-04T04:18:15.243Z] d65c8cfc05b1: Download complete [2022-10-04T04:18:15.528Z] 699f458cf7ca: Verifying Checksum [2022-10-04T04:18:15.528Z] 699f458cf7ca: Download complete [2022-10-04T04:18:15.810Z] 8998bd30e6a1: Verifying Checksum [2022-10-04T04:18:15.810Z] 8998bd30e6a1: Download complete [2022-10-04T04:18:18.414Z] 2437ff75d9bd: Verifying Checksum [2022-10-04T04:18:18.414Z] 2437ff75d9bd: Download complete [2022-10-04T04:18:19.822Z] 8998bd30e6a1: Pull complete [2022-10-04T04:18:20.087Z] 04944245beec: Pull complete [2022-10-04T04:18:21.049Z] 699f458cf7ca: Pull complete [2022-10-04T04:18:21.317Z] 765212b225bb: Pull complete [2022-10-04T04:18:22.280Z] f23df028b6ca: Pull complete [2022-10-04T04:18:22.552Z] d65c8cfc05b1: Pull complete [2022-10-04T04:18:37.539Z] 2437ff75d9bd: Pull complete [2022-10-04T04:18:37.539Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-04T04:18:37.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T04:18:37.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:18:37.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-7034 does not seem to be running inside a container [2022-10-04T04:18:37.988Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-04T04:18:40.548Z] $ docker top 182cc8ed8a8fa0238a4b13f64d3fa1c6ae65fbaf736899c418de89dc5aa96aa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:41.435Z] ---> job-cost.sh [2022-10-04T04:18:41.435Z] lf-activate-venv: SKIPPING [2022-10-04T04:18:41.435Z] INFO: No Stack... [2022-10-04T04:18:42.019Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-04T04:18:42.979Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T04:18:43.315Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-04T04:18:43.315Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T04:18:43.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [2022-10-04T04:18:43.392Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] did not exist. Created. [2022-10-04T04:18:43.393Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T04:18:44.106Z] /w/workspace/device-sdk-go/1@tmp/durable-19749c2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-04T04:18:44.764Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-04T04:18:44.797Z] Warning: overwriting stash ‘stack-cost’ [2022-10-04T04:18:44.854Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T04:18:44.870Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T04:18:44.950Z] $ docker stop --time=1 182cc8ed8a8fa0238a4b13f64d3fa1c6ae65fbaf736899c418de89dc5aa96aa9 [2022-10-04T04:18:46.446Z] $ docker rm -f 182cc8ed8a8fa0238a4b13f64d3fa1c6ae65fbaf736899c418de89dc5aa96aa9 [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-10-04T04:18:47.346Z] provisioning config files... [2022-10-04T04:18:47.354Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/config6113297595354076284tmp [Pipeline] { [Pipeline] sh [2022-10-04T04:18:47.685Z] + set +x [2022-10-04T04:18:47.685Z] + curl -s https://codecov.io/bash [2022-10-04T04:18:47.685Z] + bash -s -- [2022-10-04T04:18:47.685Z] [2022-10-04T04:18:47.685Z] _____ _ [2022-10-04T04:18:47.685Z] / ____| | | [2022-10-04T04:18:47.685Z] | | ___ __| | ___ ___ _____ __ [2022-10-04T04:18:47.685Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-04T04:18:47.685Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-04T04:18:47.685Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-04T04:18:47.685Z] Bash-1.0.6 [2022-10-04T04:18:47.685Z] [2022-10-04T04:18:47.685Z] [2022-10-04T04:18:47.685Z] ==> git version 2.25.1 found [2022-10-04T04:18:47.685Z] ==> 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-10-04T04:18:47.685Z] Release-Date: 2020-01-08 [2022-10-04T04:18:47.685Z] 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-10-04T04:18:47.685Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-04T04:18:47.685Z] ==> Jenkins CI detected. [2022-10-04T04:18:47.685Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1227 [2022-10-04T04:18:47.685Z] project root: . [2022-10-04T04:18:47.685Z] --> token set from env [2022-10-04T04:18:47.685Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-04T04:18:47.685Z] ==> Running gcov in . (disable via -X gcov) [2022-10-04T04:18:47.685Z] ==> Python coveragepy not found [2022-10-04T04:18:47.685Z] ==> Searching for coverage reports in: [2022-10-04T04:18:47.685Z] + . [2022-10-04T04:18:47.685Z] -> Found 1 reports [2022-10-04T04:18:47.685Z] ==> Detecting git/mercurial file structure [2022-10-04T04:18:47.685Z] ==> Reading reports [2022-10-04T04:18:47.685Z] + ./coverage.out bytes=100927 [2022-10-04T04:18:47.685Z] ==> Appending adjustments [2022-10-04T04:18:47.685Z] https://docs.codecov.io/docs/fixing-reports [2022-10-04T04:18:47.944Z] + Found adjustments [2022-10-04T04:18:47.944Z] ==> Gzipping contents [2022-10-04T04:18:47.944Z] 16K /tmp/codecov.TVcuWO.gz [2022-10-04T04:18:47.944Z] ==> Uploading reports [2022-10-04T04:18:47.944Z] url: https://codecov.io [2022-10-04T04:18:47.944Z] query: branch=PR-1227&commit=aab32c53839b4e58fde428cb9437fdde1650e24c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1227&job=&cmd_args= [2022-10-04T04:18:48.203Z] -> Pinging Codecov [2022-10-04T04:18:48.203Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1227&commit=aab32c53839b4e58fde428cb9437fdde1650e24c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1227&job=&cmd_args= [2022-10-04T04:18:48.463Z] -> Uploading to [2022-10-04T04:18:48.463Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-04/7E55EF52A471D76F132DFD9A03CDDE97/aab32c53839b4e58fde428cb9437fdde1650e24c/58768ae8-4463-4a73-8611-40bed32b42ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T041848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca22b3af3ec8be011a94e68b9bff1f1e88d68c136584f0a05f2654b3fe3fd57c [2022-10-04T04:18:48.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T04:18:48.463Z] Dload Upload Total Spent Left Speed [2022-10-04T04:18:48.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14477 0 0 100 14477 0 65211 --:--:-- --:--:-- --:--:-- 64919 100 14477 0 0 100 14477 0 60573 --:--:-- --:--:-- --:--:-- 60320 [2022-10-04T04:18:48.723Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aab32c53839b4e58fde428cb9437fdde1650e24c [Pipeline] } [2022-10-04T04:18:48.753Z] 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-10-04T04:18:50.442Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives ] [2022-10-04T04:18:50.442Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives [2022-10-04T04:18:50.442Z] total 16 [2022-10-04T04:18:50.442Z] drwxr-xr-x 3 root root 4096 Oct 4 04:07 . [2022-10-04T04:18:50.442Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:07 .. [2022-10-04T04:18:50.442Z] drwxr-xr-x 2 root root 4096 Oct 4 04:07 cost [2022-10-04T04:18:50.442Z] -rw-r--r-- 1 root root 86 Oct 4 04:07 cost.csv [2022-10-04T04:18:50.442Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives [2022-10-04T04:18:50.442Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives [2022-10-04T04:18:50.442Z] total 16 [2022-10-04T04:18:50.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:07 . [2022-10-04T04:18:50.442Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:07 .. [2022-10-04T04:18:50.442Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:07 cost [2022-10-04T04:18:50.442Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:50.768Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:51.652Z] ---> package-listing.sh [2022-10-04T04:18:51.652Z] ++ facter osfamily [2022-10-04T04:18:51.652Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-04T04:18:51.911Z] + OS_FAMILY=debian [2022-10-04T04:18:51.911Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1227 [2022-10-04T04:18:51.911Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-04T04:18:51.911Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-04T04:18:51.911Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-04T04:18:51.911Z] + PACKAGES=/tmp/packages_start.txt [2022-10-04T04:18:51.911Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1227 ']' [2022-10-04T04:18:51.911Z] + PACKAGES=/tmp/packages_end.txt [2022-10-04T04:18:51.911Z] + case "${OS_FAMILY}" in [2022-10-04T04:18:51.911Z] + dpkg -l [2022-10-04T04:18:51.911Z] + grep '^ii' [2022-10-04T04:18:51.911Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-04T04:18:51.911Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-04T04:18:51.911Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-04T04:18:51.911Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1227 ']' [2022-10-04T04:18:51.911Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives/ [2022-10-04T04:18:51.911Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1227/archives/ [Pipeline] echo [2022-10-04T04:18:51.941Z] 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-sdk-go_PR-1227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-04T04:18:52.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:18:52.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:18:52.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:18:52.996Z] prd-ubuntu20.04-docker-8c-8g-7032 does not seem to be running inside a container [2022-10-04T04:18:53.026Z] $ 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-sdk-go_PR-1227/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-sdk-go_PR-1227 -v /w/workspace/gexfoundry_device-sdk-go_PR-1227:/w/workspace/gexfoundry_device-sdk-go_PR-1227:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1227@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-04T04:18:53.216Z] $ docker top 73c7670d098ad5b744939f2480eaefba757309d35c3d6d450a02b9ae95a2d61c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:18:53.611Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-04T04:18:53.921Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-04T04:18:54.230Z] + ls /var/log/sa-host [2022-10-04T04:18:54.230Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T04:18:54.386Z] provisioning config files... [2022-10-04T04:18:54.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1227@tmp/config7630653798144529902tmp [Pipeline] { [Pipeline] echo [2022-10-04T04:18:54.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:54.757Z] ---> create-netrc.sh [Pipeline] } [2022-10-04T04:18:54.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:55.164Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-04T04:18:55.198Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:55.508Z] ---> sudo-logs.sh [2022-10-04T04:18:55.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-04T04:18:55.593Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:55.902Z] ---> job-cost.sh [2022-10-04T04:18:55.902Z] lf-activate-venv: SKIPPING [2022-10-04T04:18:55.902Z] DEBUG: total: 0.2199999988079071 [2022-10-04T04:18:55.902Z] INFO: Retrieving Stack Cost... [2022-10-04T04:18:56.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T04:18:57.037Z] INFO: Archiving Costs [Pipeline] echo [2022-10-04T04:18:57.072Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:18:57.380Z] ---> logs-deploy.sh [2022-10-04T04:18:57.380Z] lf-activate-venv: SKIPPING [2022-10-04T04:18:57.380Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1227/1 [2022-10-04T04:18:57.380Z] INFO: archiving workspace using pattern(s): [2022-10-04T04:18:58.319Z] Archives upload complete. [2022-10-04T04:18:58.319Z] INFO: archiving logs to Nexus