Pull request #1243 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2c04776a14dcf683e7ba9590ce75aeb4e8d969c+5df0661f6aa28262333844c5296207997c828617 (61ca3f6b84dd44dca5beed3350b1428011782b49) 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-ssh3949134625901090266.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17998765639378523935.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1243/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-1243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6890885948776653280.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-1243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8790193651230722759.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh4763049624484858017.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-1243/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-1243/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5137937199790013372.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8739 in /w/workspace/gexfoundry_device-sdk-go_PR-1243 [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-1243 # 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/1243/head:refs/remotes/origin/PR-1243 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit d2c04776a14dcf683e7ba9590ce75aeb4e8d969c Merge succeeded, producing d2c04776a14dcf683e7ba9590ce75aeb4e8d969c Checking out Revision d2c04776a14dcf683e7ba9590ce75aeb4e8d969c (PR-1243) 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 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # 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 5df0661f6aa28262333844c5296207997c828617 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-21T04:06:04.859Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-21T04:06:05.019Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-21T04:06:05.110Z] ========================================================= [2022-10-21T04:06:05.110Z] EdgeX Global Pipelines Version Info [2022-10-21T04:06:05.110Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:06:05.837Z] ------------------- [2022-10-21T04:06:05.837Z] stable info: [2022-10-21T04:06:05.837Z] ------------------- [2022-10-21T04:06:05.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-21T04:06:05.837Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-21T04:06:05.837Z] Message: update stable to v1.0.243 [2022-10-21T04:06:06.404Z] ------------------- [2022-10-21T04:06:06.404Z] experimental info: [2022-10-21T04:06:06.404Z] ------------------- [2022-10-21T04:06:06.404Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-21T04:06:06.404Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-21T04:06:06.404Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-21T04:06:06.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-21T04:06:06.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-21T04:06:06.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-21T04:06:06.821Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-21T04:06:06.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-21T04:06:06.892Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-21T04:06:06.928Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-21T04:06:06.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-21T04:06:07.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-21T04:06:07.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-21T04:06:07.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-21T04:06:07.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-21T04:06:07.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-21T04:06:07.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-21T04:06:07.227Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-21T04:06:07.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-21T04:06:07.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-21T04:06:07.336Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-21T04:06:07.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-21T04:06:07.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-21T04:06:07.447Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-21T04:06:07.485Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-21T04:06:07.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-21T04:06:07.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-21T04:06:07.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-21T04:06:07.633Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-21T04:06:07.669Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-21T04:06:07.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1243 [Pipeline] echo [2022-10-21T04:06:07.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1243 [Pipeline] echo [2022-10-21T04:06:07.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1243 [Pipeline] echo [2022-10-21T04:06:07.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo [2022-10-21T04:06:07.858Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2c0477 [Pipeline] echo [2022-10-21T04:06:07.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T04:06:08.009Z] provisioning config files... [2022-10-21T04:06:08.024Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config17079127541747493741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:06:08.368Z] ---> docker-login.sh [2022-10-21T04:06:08.368Z] nexus3.edgexfoundry.org:10001 [2022-10-21T04:06:08.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:08.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:08.893Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:08.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:08.893Z] [2022-10-21T04:06:08.893Z] Login Succeeded [2022-10-21T04:06:08.893Z] nexus3.edgexfoundry.org:10002 [2022-10-21T04:06:08.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:08.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:08.893Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:08.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:08.893Z] [2022-10-21T04:06:08.893Z] Login Succeeded [2022-10-21T04:06:08.893Z] nexus3.edgexfoundry.org:10003 [2022-10-21T04:06:09.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:09.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:09.154Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:09.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:09.154Z] [2022-10-21T04:06:09.154Z] Login Succeeded [2022-10-21T04:06:09.154Z] nexus3.edgexfoundry.org:10004 [2022-10-21T04:06:09.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:09.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:09.154Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:09.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:09.154Z] [2022-10-21T04:06:09.154Z] Login Succeeded [2022-10-21T04:06:09.154Z] docker.io [2022-10-21T04:06:09.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:09.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:09.725Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:09.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:09.725Z] [2022-10-21T04:06:09.725Z] Login Succeeded [2022-10-21T04:06:09.725Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T04:06:09.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-21T04:06:10.407Z] + git rev-list -1 --merges d2c04776a14dcf683e7ba9590ce75aeb4e8d969c~1..d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo [2022-10-21T04:06:10.447Z] -----------> git rev-list -1 --merges d2c04776a14dcf683e7ba9590ce75aeb4e8d969c~1..d2c04776a14dcf683e7ba9590ce75aeb4e8d969c d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [false] [Pipeline] sh [2022-10-21T04:06:10.754Z] + git log --format=format:%s -1 d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo [2022-10-21T04:06:10.797Z] ========================================================= [2022-10-21T04:06:10.797Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-21T04:06:10.797Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T04:06:11.236Z] + git log --format=format:%s -1 d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo [2022-10-21T04:06:11.266Z] [semverPrep] GIT_COMMIT: d2c04776a14dcf683e7ba9590ce75aeb4e8d969c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-21T04:06:11.297Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-21T04:06:11.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-21T04:06:11.695Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-21T04:06:11.695Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-21T04:06:11.695Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-21T04:06:11.695Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-21T04:06:11.695Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-21T04:06:11.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:06:12.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T04:06:12.194Z] [2022-10-21T04:06:12.194Z] 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-21T04:06:12.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T04:06:12.601Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-21T04:06:12.601Z] b85a868b505f: Pulling fs layer [2022-10-21T04:06:12.601Z] e2be974225ed: Pulling fs layer [2022-10-21T04:06:12.601Z] 339a4e72a1f5: Pulling fs layer [2022-10-21T04:06:12.601Z] 988bab9f4d93: Pulling fs layer [2022-10-21T04:06:12.601Z] 1469e6f7b9e6: Pulling fs layer [2022-10-21T04:06:12.601Z] eaf3925da568: Pulling fs layer [2022-10-21T04:06:12.601Z] 988bab9f4d93: Waiting [2022-10-21T04:06:12.601Z] 1469e6f7b9e6: Waiting [2022-10-21T04:06:12.601Z] bab4dde63d76: Pulling fs layer [2022-10-21T04:06:12.601Z] bde34c3a00c8: Pulling fs layer [2022-10-21T04:06:12.601Z] b352a97aabf1: Pulling fs layer [2022-10-21T04:06:12.601Z] 4872d77fe225: Pulling fs layer [2022-10-21T04:06:12.601Z] 5851b861e8e6: Pulling fs layer [2022-10-21T04:06:12.601Z] eaf3925da568: Waiting [2022-10-21T04:06:12.601Z] bde34c3a00c8: Waiting [2022-10-21T04:06:12.601Z] b352a97aabf1: Waiting [2022-10-21T04:06:12.601Z] 4872d77fe225: Waiting [2022-10-21T04:06:12.601Z] bab4dde63d76: Waiting [2022-10-21T04:06:12.601Z] e2be974225ed: Download complete [2022-10-21T04:06:12.601Z] 988bab9f4d93: Verifying Checksum [2022-10-21T04:06:12.601Z] 988bab9f4d93: Download complete [2022-10-21T04:06:12.860Z] 339a4e72a1f5: Verifying Checksum [2022-10-21T04:06:12.860Z] 339a4e72a1f5: Download complete [2022-10-21T04:06:12.860Z] 1469e6f7b9e6: Verifying Checksum [2022-10-21T04:06:12.860Z] 1469e6f7b9e6: Download complete [2022-10-21T04:06:12.860Z] eaf3925da568: Verifying Checksum [2022-10-21T04:06:12.860Z] eaf3925da568: Download complete [2022-10-21T04:06:12.860Z] bde34c3a00c8: Download complete [2022-10-21T04:06:12.860Z] b352a97aabf1: Download complete [2022-10-21T04:06:12.860Z] 4872d77fe225: Download complete [2022-10-21T04:06:12.860Z] 5851b861e8e6: Download complete [2022-10-21T04:06:12.860Z] b85a868b505f: Download complete [2022-10-21T04:06:13.120Z] bab4dde63d76: Verifying Checksum [2022-10-21T04:06:13.120Z] bab4dde63d76: Download complete [2022-10-21T04:06:14.058Z] b85a868b505f: Pull complete [2022-10-21T04:06:14.315Z] e2be974225ed: Pull complete [2022-10-21T04:06:14.576Z] 339a4e72a1f5: Pull complete [2022-10-21T04:06:14.834Z] 988bab9f4d93: Pull complete [2022-10-21T04:06:15.092Z] 1469e6f7b9e6: Pull complete [2022-10-21T04:06:15.092Z] eaf3925da568: Pull complete [2022-10-21T04:06:16.992Z] bab4dde63d76: Pull complete [2022-10-21T04:06:16.992Z] bde34c3a00c8: Pull complete [2022-10-21T04:06:16.992Z] b352a97aabf1: Pull complete [2022-10-21T04:06:16.992Z] 4872d77fe225: Pull complete [2022-10-21T04:06:17.251Z] 5851b861e8e6: Pull complete [2022-10-21T04:06:17.251Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-21T04:06:17.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T04:06:17.251Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:06:17.471Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2022-10-21T04:06:17.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-21T04:06:20.578Z] $ docker top e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 -eo pid,comm [2022-10-21T04:06:20.638Z] 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-21T04:06:20.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-21T04:06:20.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-21T04:06:20.767Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-21T04:06:20.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-21T04:06:20.884Z] $ docker exec e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent [2022-10-21T04:06:21.001Z] SSH_AUTH_SOCK=/tmp/ssh-OuXdu9Y3bI50/agent.32 [2022-10-21T04:06:21.001Z] SSH_AGENT_PID=38 [2022-10-21T04:06:21.009Z] Running ssh-add (command line suppressed) [2022-10-21T04:06:21.112Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_16442549498282311871.key (/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_16442549498282311871.key) [2022-10-21T04:06:21.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-21T04:06:21.468Z] + git tag --points-at HEAD [Pipeline] } [2022-10-21T04:06:21.494Z] $ docker exec --env ******** --env ******** e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent -k [2022-10-21T04:06:21.604Z] unset SSH_AUTH_SOCK; [2022-10-21T04:06:21.605Z] unset SSH_AGENT_PID; [2022-10-21T04:06:21.605Z] echo Agent pid 38 killed; [2022-10-21T04:06:21.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-21T04:06:21.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-21T04:06:21.706Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-21T04:06:21.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-21T04:06:21.831Z] $ docker exec e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent [2022-10-21T04:06:21.950Z] SSH_AUTH_SOCK=/tmp/ssh-3EsMAy9fIhZG/agent.70 [2022-10-21T04:06:21.950Z] SSH_AGENT_PID=76 [2022-10-21T04:06:21.955Z] Running ssh-add (command line suppressed) [2022-10-21T04:06:22.060Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_4864958355763835687.key (/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_4864958355763835687.key) [2022-10-21T04:06:22.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-21T04:06:22.406Z] + git semver init [2022-10-21T04:06:22.665Z] 2022-10-21 04:06:22,573 [run_init] DEBUG init version:0.0.0 force:False [2022-10-21T04:06:22.665Z] 2022-10-21 04:06:22,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver [2022-10-21T04:06:22.665Z] 2022-10-21 04:06:22,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver [2022-10-21T04:06:22.665Z] 2022-10-21 04:06:22,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243, universal_newlines=False, shell=None, istream=None) [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,637 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.git/info/exclude [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 with force:False [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,638 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,642 [execute] INFO git cat-file --batch-check [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver, universal_newlines=False, shell=None, istream=) [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,649 [execute] INFO git cat-file --batch [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver, universal_newlines=False, shell=None, istream=) [2022-10-21T04:06:24.042Z] 2022-10-21 04:06:23,655 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 [2022-10-21T04:06:24.042Z] 0.0.0 [Pipeline] } [2022-10-21T04:06:24.066Z] $ docker exec --env ******** --env ******** e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent -k [2022-10-21T04:06:24.163Z] unset SSH_AUTH_SOCK; [2022-10-21T04:06:24.164Z] unset SSH_AGENT_PID; [2022-10-21T04:06:24.164Z] echo Agent pid 76 killed; [2022-10-21T04:06:24.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-21T04:06:24.605Z] + git semver [Pipeline] } [2022-10-21T04:06:24.884Z] $ docker stop --time=1 e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 [2022-10-21T04:06:26.188Z] $ docker rm -f e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T04:06:26.601Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-21T04:06:26.845Z] Stashed 1 file(s) [Pipeline] echo [2022-10-21T04:06:26.861Z] [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-21T04:06:27.491Z] provisioning config files... [2022-10-21T04:06:27.500Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config7325250774517758596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:06:27.857Z] ---> docker-login.sh [2022-10-21T04:06:27.857Z] nexus3.edgexfoundry.org:10001 [2022-10-21T04:06:27.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:27.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:27.857Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:27.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:27.857Z] [2022-10-21T04:06:27.857Z] Login Succeeded [2022-10-21T04:06:27.857Z] nexus3.edgexfoundry.org:10002 [2022-10-21T04:06:27.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:27.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:27.857Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:27.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:27.857Z] [2022-10-21T04:06:27.857Z] Login Succeeded [2022-10-21T04:06:27.857Z] nexus3.edgexfoundry.org:10003 [2022-10-21T04:06:28.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:28.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:28.117Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:28.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:28.117Z] [2022-10-21T04:06:28.117Z] Login Succeeded [2022-10-21T04:06:28.117Z] nexus3.edgexfoundry.org:10004 [2022-10-21T04:06:28.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:28.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:28.117Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:28.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:28.117Z] [2022-10-21T04:06:28.117Z] Login Succeeded [2022-10-21T04:06:28.117Z] docker.io [2022-10-21T04:06:28.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:06:28.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:06:28.637Z] Configure a credential helper to remove this warning. See [2022-10-21T04:06:28.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:06:28.637Z] [2022-10-21T04:06:28.637Z] Login Succeeded [2022-10-21T04:06:28.637Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T04:06:28.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-21T04:06:28.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T04:06:28.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T04:06:28.922Z] ========================================================= [2022-10-21T04:06:28.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-21T04:06:28.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:06:29.378Z] + 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-21T04:06:29.378Z] Sending build context to Docker daemon 10.04MB [2022-10-21T04:06:29.378Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T04:06:29.378Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-21T04:06:29.641Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-21T04:06:29.641Z] 213ec9aee27d: Pulling fs layer [2022-10-21T04:06:29.641Z] 4583459ba037: Pulling fs layer [2022-10-21T04:06:29.641Z] 93c1e223e6f2: Pulling fs layer [2022-10-21T04:06:29.641Z] 53926ce57604: Pulling fs layer [2022-10-21T04:06:29.641Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-21T04:06:29.641Z] 30f14e443154: Pulling fs layer [2022-10-21T04:06:29.641Z] 801331c1e519: Pulling fs layer [2022-10-21T04:06:29.641Z] 99cc6dd402b0: Pulling fs layer [2022-10-21T04:06:29.641Z] 53926ce57604: Waiting [2022-10-21T04:06:29.641Z] 21b2b0c7a3f4: Waiting [2022-10-21T04:06:29.641Z] 801331c1e519: Waiting [2022-10-21T04:06:29.641Z] 30f14e443154: Waiting [2022-10-21T04:06:29.641Z] 7d9ed39f4882: Pulling fs layer [2022-10-21T04:06:29.641Z] 99cc6dd402b0: Waiting [2022-10-21T04:06:29.641Z] 7d9ed39f4882: Waiting [2022-10-21T04:06:29.641Z] 93c1e223e6f2: Verifying Checksum [2022-10-21T04:06:29.641Z] 93c1e223e6f2: Download complete [2022-10-21T04:06:29.641Z] 4583459ba037: Verifying Checksum [2022-10-21T04:06:29.641Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-21T04:06:29.641Z] 21b2b0c7a3f4: Download complete [2022-10-21T04:06:29.641Z] 30f14e443154: Download complete [2022-10-21T04:06:29.641Z] 213ec9aee27d: Verifying Checksum [2022-10-21T04:06:29.641Z] 213ec9aee27d: Download complete [2022-10-21T04:06:29.641Z] 801331c1e519: Verifying Checksum [2022-10-21T04:06:29.641Z] 801331c1e519: Download complete [2022-10-21T04:06:29.641Z] 213ec9aee27d: Pull complete [2022-10-21T04:06:29.914Z] 4583459ba037: Pull complete [2022-10-21T04:06:29.914Z] 7d9ed39f4882: Verifying Checksum [2022-10-21T04:06:29.914Z] 7d9ed39f4882: Download complete [2022-10-21T04:06:29.914Z] 93c1e223e6f2: Pull complete [2022-10-21T04:06:30.506Z] 53926ce57604: Verifying Checksum [2022-10-21T04:06:30.506Z] 53926ce57604: Download complete [2022-10-21T04:06:30.506Z] 99cc6dd402b0: Verifying Checksum [2022-10-21T04:06:30.506Z] 99cc6dd402b0: Download complete [2022-10-21T04:06:34.686Z] 53926ce57604: Pull complete [2022-10-21T04:06:34.686Z] 21b2b0c7a3f4: Pull complete [2022-10-21T04:06:34.686Z] 30f14e443154: Pull complete [2022-10-21T04:06:34.686Z] 801331c1e519: Pull complete [2022-10-21T04:06:36.584Z] 99cc6dd402b0: Pull complete [2022-10-21T04:06:37.151Z] 7d9ed39f4882: Pull complete [2022-10-21T04:06:37.151Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-21T04:06:37.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-21T04:06:37.151Z] ---> 1dedd983c030 [2022-10-21T04:06:37.151Z] Step 3/11 : ARG MAKE=make build [2022-10-21T04:06:42.256Z] Still waiting to schedule task [2022-10-21T04:06:42.257Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-21T04:06:43.745Z] ---> Running in 6267ed9535a4 [2022-10-21T04:06:43.745Z] Removing intermediate container 6267ed9535a4 [2022-10-21T04:06:43.745Z] ---> 14a80a5d7074 [2022-10-21T04:06:43.745Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-21T04:06:43.745Z] ---> Running in 4ebd54fe8796 [2022-10-21T04:06:43.745Z] Removing intermediate container 4ebd54fe8796 [2022-10-21T04:06:43.745Z] ---> 8fc72f9a230a [2022-10-21T04:06:43.745Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:06:43.745Z] ---> Running in d91ffc7799c7 [2022-10-21T04:06:43.745Z] Removing intermediate container d91ffc7799c7 [2022-10-21T04:06:43.745Z] ---> b93d9a9ffc75 [2022-10-21T04:06:43.745Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T04:06:43.745Z] ---> Running in c1564e90b76e [2022-10-21T04:06:43.745Z] Removing intermediate container c1564e90b76e [2022-10-21T04:06:43.745Z] ---> 30df37d112a6 [2022-10-21T04:06:43.745Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-21T04:06:43.745Z] ---> Running in 7b573e6fd34e [2022-10-21T04:06:44.003Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T04:06:44.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T04:06:45.197Z] OK: 211 MiB in 51 packages [2022-10-21T04:06:45.764Z] Removing intermediate container 7b573e6fd34e [2022-10-21T04:06:45.764Z] ---> 815137d2505e [2022-10-21T04:06:45.764Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-21T04:06:45.764Z] ---> 91fcbb7ca90c [2022-10-21T04:06:45.764Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T04:06:45.764Z] ---> Running in cd3e328255f1 [2022-10-21T04:07:12.374Z] Removing intermediate container cd3e328255f1 [2022-10-21T04:07:12.374Z] ---> 961627056633 [2022-10-21T04:07:12.374Z] Step 10/11 : COPY . . [2022-10-21T04:07:12.374Z] ---> 747ea19894fd [2022-10-21T04:07:12.374Z] Step 11/11 : RUN ${MAKE} [2022-10-21T04:07:12.374Z] ---> Running in 180a412e7e42 [2022-10-21T04:07:12.374Z] noop [2022-10-21T04:07:12.374Z] Removing intermediate container 180a412e7e42 [2022-10-21T04:07:12.374Z] ---> e7bf22929274 [2022-10-21T04:07:12.374Z] Successfully built e7bf22929274 [2022-10-21T04:07:12.374Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:07:12.813Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-21T04:07:12.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:07:12.951Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2022-10-21T04:07:12.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-21T04:07:13.329Z] $ docker top b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T04:07:13.722Z] + go version [2022-10-21T04:07:13.722Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-21T04:07:13.751Z] $ docker stop --time=1 b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa [2022-10-21T04:07:15.031Z] $ docker rm -f b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:07:15.731Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-21T04:07:15.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:07:15.863Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2022-10-21T04:07:15.892Z] $ 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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-21T04:07:16.254Z] $ docker top a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T04:07:16.645Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1243 [Pipeline] fileExists [Pipeline] sh [2022-10-21T04:07:16.996Z] + make test [2022-10-21T04:07:16.996Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-21T04:07:23.556Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-21T04:07:35.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-21T04:07:35.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-21T04:07:35.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-21T04:07:35.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-21T04:07:35.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-21T04:07:36.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-10-21T04:07:36.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements [2022-10-21T04:07:36.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-21T04:07:36.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 73.1% of statements [2022-10-21T04:07:36.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-21T04:07:36.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-21T04:07:36.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.145s coverage: 54.4% of statements [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-21T04:07:36.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 65.1% of statements [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-21T04:07:36.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.723s coverage: 89.2% of statements [2022-10-21T04:07:36.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-21T04:07:36.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-10-21T04:07:36.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-21T04:07:51.606Z] 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-21T04:07:51.606Z] GO111MODULE=on go vet ./... [2022-10-21T04:07:53.525Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-21T04:07:53.525Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-21T04:07:53.525Z] ./bin/test-attribution-txt.sh [2022-10-21T04:07:53.525Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-21T04:07:53.525Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-21T04:07:53.526Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-21T04:07:53.526Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-21T04:07:53.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-21T04:07:53.586Z] $ docker stop --time=1 a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 [2022-10-21T04:07:57.898Z] $ docker rm -f a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T04:07:58.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-21T04:07:58.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-21T04:07:59.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-21T04:07:59.495Z] + ls -al . [2022-10-21T04:07:59.495Z] total 276 [2022-10-21T04:07:59.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 04:07 . [2022-10-21T04:07:59.495Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:06 .. [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 04:06 .dockerignore [2022-10-21T04:07:59.495Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 04:07 .git [2022-10-21T04:07:59.495Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:06 .github [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 04:06 .gitignore [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 04:06 .golangci.yml [2022-10-21T04:07:59.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 04:06 .semver [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 04:06 CHANGELOG.md [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 04:06 GOVERNANCE.md [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 04:06 Jenkinsfile [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 04:06 LICENSE [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 04:06 Makefile [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 04:06 OWNERS.md [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 04:06 README.md [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 04:06 VERSION [2022-10-21T04:07:59.495Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:06 bin [2022-10-21T04:07:59.495Z] -rw-r--r-- 1 jenkins jenkins 101760 Oct 21 04:07 coverage.out [2022-10-21T04:07:59.495Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 04:06 example [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 04:06 go.mod [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 04:06 go.sum [2022-10-21T04:07:59.495Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 04:06 internal [2022-10-21T04:07:59.495Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 04:06 openapi [2022-10-21T04:07:59.495Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 04:06 pkg [2022-10-21T04:07:59.495Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:06 snap [2022-10-21T04:07:59.495Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:07:59.885Z] + 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=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c --label arch=amd64 --label version=0.0.0 . [2022-10-21T04:07:59.886Z] Sending build context to Docker daemon 10.14MB [2022-10-21T04:07:59.886Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T04:07:59.886Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-21T04:07:59.886Z] ---> e7bf22929274 [2022-10-21T04:07:59.886Z] Step 3/25 : ARG MAKE=make build [2022-10-21T04:08:00.147Z] ---> Running in f31d275c4b3d [2022-10-21T04:08:00.147Z] Removing intermediate container f31d275c4b3d [2022-10-21T04:08:00.147Z] ---> 807c7c85d4a3 [2022-10-21T04:08:00.147Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-21T04:08:00.147Z] ---> Running in de27d0658900 [2022-10-21T04:08:00.147Z] Removing intermediate container de27d0658900 [2022-10-21T04:08:00.147Z] ---> d93f2f640fd2 [2022-10-21T04:08:00.147Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:08:00.147Z] ---> Running in 52f3e53b890d [2022-10-21T04:08:00.406Z] Removing intermediate container 52f3e53b890d [2022-10-21T04:08:00.406Z] ---> 4d08f038deff [2022-10-21T04:08:00.406Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T04:08:00.406Z] ---> Running in 4ea358914f4a [2022-10-21T04:08:00.974Z] Removing intermediate container 4ea358914f4a [2022-10-21T04:08:00.974Z] ---> 078f73302321 [2022-10-21T04:08:00.974Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-21T04:08:00.974Z] ---> Running in f5e4ee410936 [2022-10-21T04:08:01.233Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T04:08:02.170Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T04:08:02.737Z] OK: 211 MiB in 51 packages [2022-10-21T04:08:02.996Z] Removing intermediate container f5e4ee410936 [2022-10-21T04:08:02.996Z] ---> 64be155839ae [2022-10-21T04:08:02.996Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-21T04:08:02.996Z] ---> b2c105ff2343 [2022-10-21T04:08:02.996Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T04:08:02.996Z] ---> Running in 1a251b59d39a [2022-10-21T04:08:03.565Z] Removing intermediate container 1a251b59d39a [2022-10-21T04:08:03.565Z] ---> 0e91ad3ebbc6 [2022-10-21T04:08:03.565Z] Step 10/25 : COPY . . [2022-10-21T04:08:04.132Z] ---> 3a839853baf9 [2022-10-21T04:08:04.132Z] Step 11/25 : RUN ${MAKE} [2022-10-21T04:08:04.132Z] ---> Running in 925a72a66c44 [2022-10-21T04:08:04.390Z] 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-21T04:08:14.975Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8741 in /w/workspace/gexfoundry_device-sdk-go_PR-1243 [Pipeline] { [Pipeline] ws [2022-10-21T04:08:15.013Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-21T04:08:15.088Z] The recommended git tool is: git [2022-10-21T04:08:19.863Z] using credential edgex-jenkins-ssh [2022-10-21T04:08:19.886Z] Cloning the remote Git repository [2022-10-21T04:08:19.920Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-21T04:08:19.993Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-21T04:08:20.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-21T04:08:20.134Z] > git --version # timeout=10 [2022-10-21T04:08:20.153Z] > git --version # 'git version 2.25.1' [2022-10-21T04:08:20.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T04:08:20.200Z] Verifying host key using known hosts file [2022-10-21T04:08:20.378Z] 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-21T04:08:20.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-21T04:08:21.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-21T04:08:21.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-21T04:08:22.461Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-21T04:08:23.369Z] Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [2022-10-21T04:08:23.612Z] Merge succeeded, producing d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [2022-10-21T04:08:23.612Z] Checking out Revision d2c04776a14dcf683e7ba9590ce75aeb4e8d969c (PR-1243) [2022-10-21T04:08:22.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-21T04:08:22.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-21T04:08:22.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T04:08:22.778Z] Verifying host key using known hosts file [2022-10-21T04:08:22.785Z] 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-21T04:08:22.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1243/head:refs/remotes/origin/PR-1243 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-21T04:08:23.385Z] > git config core.sparsecheckout # timeout=10 [2022-10-21T04:08:23.403Z] > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 [2022-10-21T04:08:23.511Z] > git remote # timeout=10 [2022-10-21T04:08:23.532Z] > git config --get remote.origin.url # timeout=10 [2022-10-21T04:08:23.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T04:08:23.559Z] Verifying host key using known hosts file [2022-10-21T04:08:23.563Z] 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-21T04:08:23.572Z] > git merge 5df0661f6aa28262333844c5296207997c828617 # timeout=10 [2022-10-21T04:08:23.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-21T04:08:23.617Z] > git config core.sparsecheckout # timeout=10 [2022-10-21T04:08:23.631Z] > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 [2022-10-21T04:08:24.103Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-10-21T04:08:24.149Z] > git --version # timeout=10 [2022-10-21T04:08:24.161Z] > git --version # 'git version 2.25.1' [2022-10-21T04:08:24.178Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T04:08:25.013Z] Removing intermediate container 925a72a66c44 [2022-10-21T04:08:25.013Z] ---> 42e72e27cf83 [2022-10-21T04:08:25.013Z] Step 12/25 : FROM alpine:3.16 [2022-10-21T04:08:25.245Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-21T04:08:25.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-21T04:08:25.246Z] Dload Upload Total Spent Left Speed [2022-10-21T04:08:25.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [2022-10-21T04:08:25.272Z] 3.16: Pulling from library/alpine [2022-10-21T04:08:25.272Z] 213ec9aee27d: Already exists [2022-10-21T04:08:25.537Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-21T04:08:25.537Z] Status: Downloaded newer image for alpine:3.16 [2022-10-21T04:08:25.537Z] ---> 9c6f07244728 [2022-10-21T04:08:25.537Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:08:25.537Z] ---> Running in 18ea9df385aa [2022-10-21T04:08:25.537Z] Removing intermediate container 18ea9df385aa [2022-10-21T04:08:25.537Z] ---> 58617a4fe0b3 [2022-10-21T04:08:25.537Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] sh [2022-10-21T04:08:25.796Z] ---> Running in 4ca779f1a2e0 [2022-10-21T04:08:25.885Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-21T04:08:26.222Z] + sudo tee /etc/docker/daemon.new [2022-10-21T04:08:26.222Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-21T04:08:26.222Z] { [2022-10-21T04:08:26.222Z] "registry-mirrors": [ [2022-10-21T04:08:26.222Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-21T04:08:26.222Z] ], [2022-10-21T04:08:26.222Z] "bip": "10.250.0.254/24", [2022-10-21T04:08:26.222Z] "hosts": [ [2022-10-21T04:08:26.222Z] "tcp://0.0.0.0:5555", [2022-10-21T04:08:26.222Z] "unix:///var/run/docker.sock" [2022-10-21T04:08:26.222Z] ], [2022-10-21T04:08:26.222Z] "mtu": 1458, [2022-10-21T04:08:26.222Z] "selinux-enabled": true, [2022-10-21T04:08:26.222Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-21T04:08:26.222Z] } [Pipeline] sh [2022-10-21T04:08:26.364Z] Removing intermediate container 4ca779f1a2e0 [2022-10-21T04:08:26.364Z] ---> f5b3d2fdd809 [2022-10-21T04:08:26.364Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-21T04:08:26.364Z] ---> Running in 68f8a7dc85ca [2022-10-21T04:08:26.564Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-21T04:08:26.622Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T04:08:26.909Z] + sudo service docker restart [2022-10-21T04:08:27.557Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T04:08:27.816Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-21T04:08:27.816Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-21T04:08:27.816Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-21T04:08:28.074Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-21T04:08:28.074Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-21T04:08:28.074Z] Executing busybox-1.35.0-r17.trigger [2022-10-21T04:08:28.074Z] OK: 8 MiB in 19 packages [2022-10-21T04:08:28.641Z] Removing intermediate container 68f8a7dc85ca [2022-10-21T04:08:28.641Z] ---> 3876c6d66d88 [2022-10-21T04:08:28.641Z] Step 16/25 : WORKDIR / [2022-10-21T04:08:28.641Z] ---> Running in 958771c6cdc5 [2022-10-21T04:08:28.641Z] Removing intermediate container 958771c6cdc5 [2022-10-21T04:08:28.641Z] ---> 9a33f37a52f5 [2022-10-21T04:08:28.641Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-21T04:08:28.899Z] ---> aeca151f4ed5 [2022-10-21T04:08:28.899Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-21T04:08:29.465Z] ---> a086045c0a87 [2022-10-21T04:08:29.465Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-21T04:08:29.723Z] ---> 8ffb7eb82568 [2022-10-21T04:08:29.723Z] Step 20/25 : EXPOSE 59999 [2022-10-21T04:08:29.723Z] ---> Running in 4ce3f04ff312 [2022-10-21T04:08:29.723Z] Removing intermediate container 4ce3f04ff312 [2022-10-21T04:08:29.723Z] ---> 74aa940fbf28 [2022-10-21T04:08:29.723Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-21T04:08:29.723Z] ---> Running in a69ad4dc75d3 [2022-10-21T04:08:29.982Z] Removing intermediate container a69ad4dc75d3 [2022-10-21T04:08:29.982Z] ---> f42bac79f64e [2022-10-21T04:08:29.982Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-21T04:08:29.982Z] ---> Running in 25d670d121ff [2022-10-21T04:08:29.982Z] Removing intermediate container 25d670d121ff [2022-10-21T04:08:29.982Z] ---> 1b3160e919c9 [2022-10-21T04:08:29.982Z] Step 23/25 : LABEL arch=amd64 [2022-10-21T04:08:29.982Z] ---> Running in bff6564cfe24 [2022-10-21T04:08:29.982Z] Removing intermediate container bff6564cfe24 [2022-10-21T04:08:29.982Z] ---> 393b64b0aaac [2022-10-21T04:08:29.982Z] Step 24/25 : LABEL git_sha=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [2022-10-21T04:08:29.982Z] ---> Running in 88cf19b8d2fb [2022-10-21T04:08:30.240Z] Removing intermediate container 88cf19b8d2fb [2022-10-21T04:08:30.240Z] ---> 0d121d846e4a [2022-10-21T04:08:30.240Z] Step 25/25 : LABEL version=0.0.0 [2022-10-21T04:08:30.240Z] ---> Running in 404b29ce048f [2022-10-21T04:08:30.240Z] Removing intermediate container 404b29ce048f [2022-10-21T04:08:30.240Z] ---> 6e89a58b9b49 [2022-10-21T04:08:30.240Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-21T04:08:30.240Z] Successfully built 6e89a58b9b49 [2022-10-21T04:08:30.240Z] 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-21T04:08:31.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T04:08:31.098Z] [2022-10-21T04:08:31.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:08:31.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T04:08:31.476Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-21T04:08:31.476Z] 5eb5b503b376: Pulling fs layer [2022-10-21T04:08:31.476Z] 5c69ac0246d0: Pulling fs layer [2022-10-21T04:08:31.476Z] ec43610c2a17: Pulling fs layer [2022-10-21T04:08:31.476Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-21T04:08:31.476Z] 33b1e0a273af: Pulling fs layer [2022-10-21T04:08:31.476Z] 5d3b04190fa2: Pulling fs layer [2022-10-21T04:08:31.476Z] 2f39f015ded8: Pulling fs layer [2022-10-21T04:08:31.476Z] 3a2ae6a8a46f: Waiting [2022-10-21T04:08:31.476Z] 33b1e0a273af: Waiting [2022-10-21T04:08:31.476Z] 5d3b04190fa2: Waiting [2022-10-21T04:08:31.476Z] 5c69ac0246d0: Download complete [2022-10-21T04:08:31.476Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-21T04:08:31.476Z] 3a2ae6a8a46f: Download complete [2022-10-21T04:08:31.476Z] 33b1e0a273af: Verifying Checksum [2022-10-21T04:08:31.476Z] 33b1e0a273af: Download complete [2022-10-21T04:08:31.736Z] ec43610c2a17: Verifying Checksum [2022-10-21T04:08:31.736Z] ec43610c2a17: Download complete [2022-10-21T04:08:31.736Z] 5d3b04190fa2: Verifying Checksum [2022-10-21T04:08:31.736Z] 5d3b04190fa2: Download complete [2022-10-21T04:08:31.736Z] 5eb5b503b376: Verifying Checksum [2022-10-21T04:08:31.736Z] 5eb5b503b376: Download complete [2022-10-21T04:08:32.299Z] 2f39f015ded8: Download complete [2022-10-21T04:08:32.864Z] 5eb5b503b376: Pull complete [2022-10-21T04:08:33.121Z] 5c69ac0246d0: Pull complete [2022-10-21T04:08:33.381Z] ec43610c2a17: Pull complete [2022-10-21T04:08:33.381Z] 3a2ae6a8a46f: Pull complete [2022-10-21T04:08:33.641Z] 33b1e0a273af: Pull complete [2022-10-21T04:08:33.641Z] 5d3b04190fa2: Pull complete [2022-10-21T04:08:37.827Z] 2f39f015ded8: Pull complete [2022-10-21T04:08:37.827Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-21T04:08:37.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T04:08:37.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:08:38.047Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2022-10-21T04:08:38.079Z] $ 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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-21T04:08:41.528Z] $ docker top 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:08:41.990Z] ---> job-cost.sh [2022-10-21T04:08:41.990Z] lf-activate-venv: SKIPPING [2022-10-21T04:08:41.990Z] INFO: No Stack... [2022-10-21T04:08:42.249Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-21T04:08:42.823Z] INFO: Archiving Costs [Pipeline] sh [2022-10-21T04:08:43.133Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/cost.csv [2022-10-21T04:08:43.133Z] + cut -d, -f6 [Pipeline] lock [2022-10-21T04:08:43.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [2022-10-21T04:08:43.180Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] did not exist. Created. [2022-10-21T04:08:43.180Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-21T04:08:43.569Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-21T04:08:43.619Z] Stashed 1 file(s) [Pipeline] } [2022-10-21T04:08:43.647Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-21T04:08:43.724Z] $ docker stop --time=1 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c [2022-10-21T04:08:44.885Z] $ docker rm -f 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T04:08:45.301Z] provisioning config files... [2022-10-21T04:08:45.323Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8837215316277346347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:08:45.711Z] ---> docker-login.sh [2022-10-21T04:08:45.711Z] nexus3.edgexfoundry.org:10001 [2022-10-21T04:08:45.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:08:46.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:08:46.250Z] Configure a credential helper to remove this warning. See [2022-10-21T04:08:46.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:08:46.250Z] [2022-10-21T04:08:46.250Z] Login Succeeded [2022-10-21T04:08:46.250Z] nexus3.edgexfoundry.org:10002 [2022-10-21T04:08:46.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:08:46.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:08:46.520Z] Configure a credential helper to remove this warning. See [2022-10-21T04:08:46.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:08:46.520Z] [2022-10-21T04:08:46.520Z] Login Succeeded [2022-10-21T04:08:46.520Z] nexus3.edgexfoundry.org:10003 [2022-10-21T04:08:46.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:08:47.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:08:47.056Z] Configure a credential helper to remove this warning. See [2022-10-21T04:08:47.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:08:47.056Z] [2022-10-21T04:08:47.056Z] Login Succeeded [2022-10-21T04:08:47.056Z] nexus3.edgexfoundry.org:10004 [2022-10-21T04:08:47.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:08:47.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:08:47.326Z] Configure a credential helper to remove this warning. See [2022-10-21T04:08:47.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:08:47.326Z] [2022-10-21T04:08:47.326Z] Login Succeeded [2022-10-21T04:08:47.326Z] docker.io [2022-10-21T04:08:47.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T04:08:47.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T04:08:47.861Z] Configure a credential helper to remove this warning. See [2022-10-21T04:08:47.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T04:08:47.861Z] [2022-10-21T04:08:47.861Z] Login Succeeded [2022-10-21T04:08:47.861Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T04:08:47.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-21T04:08:48.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T04:08:48.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T04:08:48.220Z] ========================================================= [2022-10-21T04:08:48.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-21T04:08:48.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:08:48.706Z] + 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-21T04:08:48.974Z] Sending build context to Docker daemon 5.4MB [2022-10-21T04:08:48.974Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T04:08:48.974Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-21T04:08:49.244Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-21T04:08:49.244Z] 9b18e9b68314: Pulling fs layer [2022-10-21T04:08:49.244Z] d32db5db7311: Pulling fs layer [2022-10-21T04:08:49.244Z] d0c4b47475fc: Pulling fs layer [2022-10-21T04:08:49.244Z] 5831b945b038: Pulling fs layer [2022-10-21T04:08:49.244Z] 86bbec2aaacd: Pulling fs layer [2022-10-21T04:08:49.244Z] e10730c5d714: Pulling fs layer [2022-10-21T04:08:49.244Z] 5dd5c2283517: Pulling fs layer [2022-10-21T04:08:49.245Z] d5ac0230b979: Pulling fs layer [2022-10-21T04:08:49.245Z] 5831b945b038: Waiting [2022-10-21T04:08:49.245Z] 86bbec2aaacd: Waiting [2022-10-21T04:08:49.245Z] e10730c5d714: Waiting [2022-10-21T04:08:49.245Z] 5dd5c2283517: Waiting [2022-10-21T04:08:49.245Z] d5ac0230b979: Waiting [2022-10-21T04:08:49.245Z] d0c4b47475fc: Verifying Checksum [2022-10-21T04:08:49.245Z] d0c4b47475fc: Download complete [2022-10-21T04:08:49.245Z] d32db5db7311: Verifying Checksum [2022-10-21T04:08:49.245Z] d32db5db7311: Download complete [2022-10-21T04:08:49.245Z] 86bbec2aaacd: Verifying Checksum [2022-10-21T04:08:49.245Z] 86bbec2aaacd: Download complete [2022-10-21T04:08:49.245Z] e10730c5d714: Verifying Checksum [2022-10-21T04:08:49.245Z] e10730c5d714: Download complete [2022-10-21T04:08:49.245Z] 9b18e9b68314: Verifying Checksum [2022-10-21T04:08:49.245Z] 9b18e9b68314: Download complete [2022-10-21T04:08:50.231Z] 9b18e9b68314: Pull complete [2022-10-21T04:08:50.231Z] d5ac0230b979: Verifying Checksum [2022-10-21T04:08:50.231Z] d5ac0230b979: Download complete [2022-10-21T04:08:50.816Z] d32db5db7311: Pull complete [2022-10-21T04:08:50.816Z] d0c4b47475fc: Pull complete [2022-10-21T04:08:51.403Z] 5dd5c2283517: Verifying Checksum [2022-10-21T04:08:51.403Z] 5dd5c2283517: Download complete [2022-10-21T04:08:51.990Z] 5831b945b038: Verifying Checksum [2022-10-21T04:08:51.990Z] 5831b945b038: Download complete [2022-10-21T04:09:04.310Z] 5831b945b038: Pull complete [2022-10-21T04:09:04.310Z] 86bbec2aaacd: Pull complete [2022-10-21T04:09:04.310Z] e10730c5d714: Pull complete [2022-10-21T04:09:09.796Z] 5dd5c2283517: Pull complete [2022-10-21T04:09:11.777Z] d5ac0230b979: Pull complete [2022-10-21T04:09:11.777Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-21T04:09:11.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-21T04:09:11.777Z] ---> 59b3b1a385d4 [2022-10-21T04:09:11.777Z] Step 3/11 : ARG MAKE=make build [2022-10-21T04:09:13.732Z] ---> Running in 6ec134a4fd45 [2022-10-21T04:09:14.001Z] Removing intermediate container 6ec134a4fd45 [2022-10-21T04:09:14.001Z] ---> 2c8ba0c361b6 [2022-10-21T04:09:14.001Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-21T04:09:14.001Z] ---> Running in d08acd2264bd [2022-10-21T04:09:14.593Z] Removing intermediate container d08acd2264bd [2022-10-21T04:09:14.593Z] ---> b58510760059 [2022-10-21T04:09:14.593Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:09:14.593Z] ---> Running in 02dcd3204d1c [2022-10-21T04:09:14.863Z] Removing intermediate container 02dcd3204d1c [2022-10-21T04:09:14.863Z] ---> 3957baeb387f [2022-10-21T04:09:14.863Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T04:09:14.863Z] ---> Running in aa58313318af [2022-10-21T04:09:16.814Z] Removing intermediate container aa58313318af [2022-10-21T04:09:16.814Z] ---> e8e48fae1baa [2022-10-21T04:09:16.814Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-21T04:09:16.814Z] ---> Running in d6f0bc0b639d [2022-10-21T04:09:17.773Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T04:09:18.729Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T04:09:19.686Z] OK: 221 MiB in 51 packages [2022-10-21T04:09:20.652Z] Removing intermediate container d6f0bc0b639d [2022-10-21T04:09:20.652Z] ---> d74a14f98505 [2022-10-21T04:09:20.652Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-21T04:09:20.922Z] ---> 90611c032b9f [2022-10-21T04:09:20.922Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T04:09:20.922Z] ---> Running in ebe4cc8a1b88 [2022-10-21T04:10:07.769Z] Removing intermediate container ebe4cc8a1b88 [2022-10-21T04:10:07.769Z] ---> 4a3922de1c59 [2022-10-21T04:10:07.769Z] Step 10/11 : COPY . . [2022-10-21T04:10:07.769Z] ---> a769f5669ab2 [2022-10-21T04:10:07.769Z] Step 11/11 : RUN ${MAKE} [2022-10-21T04:10:07.769Z] ---> Running in 2fe8bbd0f2fa [2022-10-21T04:10:08.742Z] noop [2022-10-21T04:10:09.328Z] Removing intermediate container 2fe8bbd0f2fa [2022-10-21T04:10:09.328Z] ---> d16b260f174a [2022-10-21T04:10:09.595Z] Successfully built d16b260f174a [2022-10-21T04:10:09.596Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:10:10.069Z] + docker inspect -f . ci-base-image-arm64 [2022-10-21T04:10:10.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:10:10.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container [2022-10-21T04:10:10.391Z] $ 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-21T04:10:11.598Z] $ docker top 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T04:10:12.465Z] + go version [2022-10-21T04:10:12.465Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-21T04:10:12.504Z] $ docker stop --time=1 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 [2022-10-21T04:10:14.161Z] $ docker rm -f 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:10:14.977Z] + docker inspect -f . ci-base-image-arm64 [2022-10-21T04:10:14.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:10:15.219Z] prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container [2022-10-21T04:10:15.285Z] $ 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-21T04:10:16.465Z] $ docker top 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T04:10:17.344Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-21T04:10:17.731Z] + make test [2022-10-21T04:10:18.003Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-21T04:10:50.249Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-21T04:12:56.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.380s coverage: 27.6% of statements [2022-10-21T04:12:56.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.352s coverage: 78.9% of statements [2022-10-21T04:12:56.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-21T04:12:58.888Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.720s coverage: 73.1% of statements [2022-10-21T04:12:58.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-21T04:12:58.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-21T04:13:03.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.654s coverage: 54.4% of statements [2022-10-21T04:13:03.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-21T04:13:03.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-21T04:13:03.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-21T04:13:03.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-21T04:13:04.136Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.464s coverage: 65.1% of statements [2022-10-21T04:13:04.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-21T04:13:04.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-21T04:13:04.136Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.416s coverage: 89.2% of statements [2022-10-21T04:13:04.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-21T04:13:07.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.244s coverage: 4.7% of statements [2022-10-21T04:13:07.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-21T04:13:08.072Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-21T04:13:08.072Z] GO111MODULE=on go vet ./... [2022-10-21T04:14:59.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-21T04:14:59.764Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-21T04:14:59.764Z] ./bin/test-attribution-txt.sh [2022-10-21T04:14:59.764Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-21T04:14:59.764Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-21T04:14:59.764Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-21T04:14:59.764Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-21T04:14:59.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-21T04:14:59.841Z] $ docker stop --time=1 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae [2022-10-21T04:15:01.627Z] $ docker rm -f 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T04:15:03.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-21T04:15:03.099Z] Warning: overwriting stash ‘coverage-report’ [2022-10-21T04:15:03.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T04:15:04.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-21T04:15:04.502Z] + ls -al . [2022-10-21T04:15:04.503Z] total 272 [2022-10-21T04:15:04.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 04:10 . [2022-10-21T04:15:04.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:08 .. [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 04:08 .dockerignore [2022-10-21T04:15:04.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 04:08 .git [2022-10-21T04:15:04.503Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:08 .github [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 04:08 .gitignore [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 04:08 .golangci.yml [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 04:08 CHANGELOG.md [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 04:08 GOVERNANCE.md [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 04:08 Jenkinsfile [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 04:08 LICENSE [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 04:08 Makefile [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 04:08 OWNERS.md [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 04:08 README.md [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 04:06 VERSION [2022-10-21T04:15:04.503Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:08 bin [2022-10-21T04:15:04.503Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 21 04:13 coverage.out [2022-10-21T04:15:04.503Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 04:08 example [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 04:08 go.mod [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 04:08 go.sum [2022-10-21T04:15:04.503Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 04:08 internal [2022-10-21T04:15:04.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 04:08 openapi [2022-10-21T04:15:04.503Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 04:08 pkg [2022-10-21T04:15:04.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:08 snap [2022-10-21T04:15:04.503Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:15:04.913Z] + 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=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c --label arch=arm64 --label version=0.0.0 . [2022-10-21T04:15:05.507Z] Sending build context to Docker daemon 5.502MB [2022-10-21T04:15:05.507Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T04:15:05.507Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-21T04:15:05.507Z] ---> d16b260f174a [2022-10-21T04:15:05.507Z] Step 3/25 : ARG MAKE=make build [2022-10-21T04:15:05.507Z] ---> Running in 8cec89047a38 [2022-10-21T04:15:05.775Z] Removing intermediate container 8cec89047a38 [2022-10-21T04:15:05.775Z] ---> d9ce13de1dc3 [2022-10-21T04:15:05.775Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-21T04:15:06.049Z] ---> Running in 3a83fbb58b0a [2022-10-21T04:15:06.317Z] Removing intermediate container 3a83fbb58b0a [2022-10-21T04:15:06.317Z] ---> 09c21972c773 [2022-10-21T04:15:06.317Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:15:06.317Z] ---> Running in 8730054c8e4a [2022-10-21T04:15:06.585Z] Removing intermediate container 8730054c8e4a [2022-10-21T04:15:06.585Z] ---> f73964a459e9 [2022-10-21T04:15:06.585Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T04:15:06.585Z] ---> Running in 479e7aae42b4 [2022-10-21T04:15:08.535Z] Removing intermediate container 479e7aae42b4 [2022-10-21T04:15:08.535Z] ---> 02cf3c8073d7 [2022-10-21T04:15:08.535Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-21T04:15:08.535Z] ---> Running in d22e51e4a042 [2022-10-21T04:15:09.120Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T04:15:10.078Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T04:15:11.485Z] OK: 221 MiB in 51 packages [2022-10-21T04:15:12.071Z] Removing intermediate container d22e51e4a042 [2022-10-21T04:15:12.071Z] ---> 56803f4b0d92 [2022-10-21T04:15:12.071Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-21T04:15:12.665Z] ---> 54e0238a5f20 [2022-10-21T04:15:12.665Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T04:15:12.665Z] ---> Running in 664f50ca9d20 [2022-10-21T04:15:14.616Z] Removing intermediate container 664f50ca9d20 [2022-10-21T04:15:14.616Z] ---> 63e140071601 [2022-10-21T04:15:14.616Z] Step 10/25 : COPY . . [2022-10-21T04:15:16.032Z] ---> d275cc098c9d [2022-10-21T04:15:16.032Z] Step 11/25 : RUN ${MAKE} [2022-10-21T04:15:16.032Z] ---> Running in 09a567e91aa9 [2022-10-21T04:15:16.992Z] 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-21T04:17:38.689Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-21T04:17:38.689Z] Removing intermediate container 09a567e91aa9 [2022-10-21T04:17:38.689Z] ---> db245fc3e020 [2022-10-21T04:17:38.689Z] Step 12/25 : FROM alpine:3.16 [2022-10-21T04:17:38.689Z] 3.16: Pulling from library/alpine [2022-10-21T04:17:38.689Z] 9b18e9b68314: Already exists [2022-10-21T04:17:38.689Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-21T04:17:38.689Z] Status: Downloaded newer image for alpine:3.16 [2022-10-21T04:17:38.689Z] ---> a6215f271958 [2022-10-21T04:17:38.689Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-21T04:17:38.689Z] ---> Running in 98b213e2d86b [2022-10-21T04:17:38.689Z] Removing intermediate container 98b213e2d86b [2022-10-21T04:17:38.689Z] ---> 64a6083927d8 [2022-10-21T04:17:38.689Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T04:17:38.689Z] ---> Running in 0046fb8db7ee [2022-10-21T04:17:38.689Z] Removing intermediate container 0046fb8db7ee [2022-10-21T04:17:38.689Z] ---> abf956e15dbc [2022-10-21T04:17:38.689Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-21T04:17:38.689Z] ---> Running in 270c0eb5dfbf [2022-10-21T04:17:38.689Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T04:17:38.689Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T04:17:38.689Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-21T04:17:38.689Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-21T04:17:38.689Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-21T04:17:38.689Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-21T04:17:38.689Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-21T04:17:38.689Z] Executing busybox-1.35.0-r17.trigger [2022-10-21T04:17:38.689Z] OK: 8 MiB in 19 packages [2022-10-21T04:17:39.649Z] Removing intermediate container 270c0eb5dfbf [2022-10-21T04:17:39.649Z] ---> 3b305017ef81 [2022-10-21T04:17:39.649Z] Step 16/25 : WORKDIR / [2022-10-21T04:17:39.649Z] ---> Running in 81e22eb348c4 [2022-10-21T04:17:39.916Z] Removing intermediate container 81e22eb348c4 [2022-10-21T04:17:39.916Z] ---> c3615170e2ca [2022-10-21T04:17:39.916Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-21T04:17:40.499Z] ---> 9d53f135f25d [2022-10-21T04:17:40.499Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-21T04:17:42.023Z] ---> f42f931853ca [2022-10-21T04:17:42.023Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-21T04:17:42.633Z] ---> 41072c2bbc6c [2022-10-21T04:17:42.633Z] Step 20/25 : EXPOSE 59999 [2022-10-21T04:17:42.633Z] ---> Running in 16146f22f00d [2022-10-21T04:17:42.925Z] Removing intermediate container 16146f22f00d [2022-10-21T04:17:42.925Z] ---> 68319af31af1 [2022-10-21T04:17:42.925Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-21T04:17:42.925Z] ---> Running in 11516518b616 [2022-10-21T04:17:43.219Z] Removing intermediate container 11516518b616 [2022-10-21T04:17:43.219Z] ---> 21f9c8143f7e [2022-10-21T04:17:43.219Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-21T04:17:43.219Z] ---> Running in 1870ebd85419 [2022-10-21T04:17:43.509Z] Removing intermediate container 1870ebd85419 [2022-10-21T04:17:43.509Z] ---> 33ff6fe990e0 [2022-10-21T04:17:43.509Z] Step 23/25 : LABEL arch=arm64 [2022-10-21T04:17:43.790Z] ---> Running in 639d5c01f9a0 [2022-10-21T04:17:44.060Z] Removing intermediate container 639d5c01f9a0 [2022-10-21T04:17:44.060Z] ---> 121ca590e3df [2022-10-21T04:17:44.060Z] Step 24/25 : LABEL git_sha=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [2022-10-21T04:17:44.060Z] ---> Running in 797fe80e1a7d [2022-10-21T04:17:44.336Z] Removing intermediate container 797fe80e1a7d [2022-10-21T04:17:44.336Z] ---> c248ebf648e0 [2022-10-21T04:17:44.336Z] Step 25/25 : LABEL version=0.0.0 [2022-10-21T04:17:44.336Z] ---> Running in b4b08c673399 [2022-10-21T04:17:44.605Z] Removing intermediate container b4b08c673399 [2022-10-21T04:17:44.606Z] ---> dc9a7dd0c023 [2022-10-21T04:17:44.606Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-21T04:17:44.874Z] Successfully built dc9a7dd0c023 [2022-10-21T04:17:44.874Z] 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-21T04:17:45.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T04:17:45.653Z] [2022-10-21T04:17:45.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:17:46.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T04:17:46.047Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-21T04:17:46.047Z] 8998bd30e6a1: Pulling fs layer [2022-10-21T04:17:46.047Z] 04944245beec: Pulling fs layer [2022-10-21T04:17:46.047Z] 699f458cf7ca: Pulling fs layer [2022-10-21T04:17:46.047Z] 765212b225bb: Pulling fs layer [2022-10-21T04:17:46.047Z] f23df028b6ca: Pulling fs layer [2022-10-21T04:17:46.047Z] d65c8cfc05b1: Pulling fs layer [2022-10-21T04:17:46.047Z] 2437ff75d9bd: Pulling fs layer [2022-10-21T04:17:46.047Z] 765212b225bb: Waiting [2022-10-21T04:17:46.047Z] f23df028b6ca: Waiting [2022-10-21T04:17:46.047Z] d65c8cfc05b1: Waiting [2022-10-21T04:17:46.047Z] 2437ff75d9bd: Waiting [2022-10-21T04:17:46.319Z] 04944245beec: Verifying Checksum [2022-10-21T04:17:46.319Z] 04944245beec: Download complete [2022-10-21T04:17:46.319Z] 765212b225bb: Verifying Checksum [2022-10-21T04:17:46.319Z] 765212b225bb: Download complete [2022-10-21T04:17:46.319Z] f23df028b6ca: Verifying Checksum [2022-10-21T04:17:46.319Z] f23df028b6ca: Download complete [2022-10-21T04:17:46.319Z] d65c8cfc05b1: Verifying Checksum [2022-10-21T04:17:46.319Z] d65c8cfc05b1: Download complete [2022-10-21T04:17:46.590Z] 699f458cf7ca: Verifying Checksum [2022-10-21T04:17:46.590Z] 699f458cf7ca: Download complete [2022-10-21T04:17:46.858Z] 8998bd30e6a1: Verifying Checksum [2022-10-21T04:17:46.858Z] 8998bd30e6a1: Download complete [2022-10-21T04:17:49.461Z] 2437ff75d9bd: Verifying Checksum [2022-10-21T04:17:49.461Z] 2437ff75d9bd: Download complete [2022-10-21T04:17:50.874Z] 8998bd30e6a1: Pull complete [2022-10-21T04:17:51.457Z] 04944245beec: Pull complete [2022-10-21T04:17:52.868Z] 699f458cf7ca: Pull complete [2022-10-21T04:17:52.868Z] 765212b225bb: Pull complete [2022-10-21T04:17:53.827Z] f23df028b6ca: Pull complete [2022-10-21T04:17:54.093Z] d65c8cfc05b1: Pull complete [2022-10-21T04:18:09.092Z] 2437ff75d9bd: Pull complete [2022-10-21T04:18:09.092Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-21T04:18:09.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T04:18:09.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:18:09.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container [2022-10-21T04:18:09.481Z] $ 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-21T04:18:12.149Z] $ docker top 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:13.043Z] ---> job-cost.sh [2022-10-21T04:18:13.043Z] lf-activate-venv: SKIPPING [2022-10-21T04:18:13.043Z] INFO: No Stack... [2022-10-21T04:18:13.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-21T04:18:14.597Z] INFO: Archiving Costs [Pipeline] sh [2022-10-21T04:18:15.260Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-21T04:18:15.260Z] + cut -d, -f6 [Pipeline] lock [2022-10-21T04:18:15.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [2022-10-21T04:18:15.349Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] did not exist. Created. [2022-10-21T04:18:15.349Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-21T04:18:16.066Z] /w/workspace/device-sdk-go/1@tmp/durable-2ec8b8f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-21T04:18:16.736Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-21T04:18:16.772Z] Warning: overwriting stash ‘stack-cost’ [2022-10-21T04:18:16.841Z] Stashed 1 file(s) [Pipeline] } [2022-10-21T04:18:16.855Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-21T04:18:16.933Z] $ docker stop --time=1 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a [2022-10-21T04:18:18.455Z] $ docker rm -f 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a [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-21T04:18:19.387Z] provisioning config files... [2022-10-21T04:18:19.394Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config1127544880989336046tmp [Pipeline] { [Pipeline] sh [2022-10-21T04:18:19.740Z] + set +x [2022-10-21T04:18:19.740Z] + curl -s https://codecov.io/bash [2022-10-21T04:18:19.740Z] + bash -s -- [2022-10-21T04:18:19.740Z] [2022-10-21T04:18:19.740Z] _____ _ [2022-10-21T04:18:19.740Z] / ____| | | [2022-10-21T04:18:19.740Z] | | ___ __| | ___ ___ _____ __ [2022-10-21T04:18:19.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-21T04:18:19.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-21T04:18:19.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-21T04:18:19.740Z] Bash-1.0.6 [2022-10-21T04:18:19.740Z] [2022-10-21T04:18:19.740Z] [2022-10-21T04:18:19.740Z] ==> git version 2.25.1 found [2022-10-21T04:18:19.740Z] ==> 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-21T04:18:19.740Z] Release-Date: 2020-01-08 [2022-10-21T04:18:19.740Z] 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-21T04:18:19.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-21T04:18:19.740Z] ==> Jenkins CI detected. [2022-10-21T04:18:19.740Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1243 [2022-10-21T04:18:19.740Z] project root: . [2022-10-21T04:18:19.740Z] --> token set from env [2022-10-21T04:18:19.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-21T04:18:19.740Z] ==> Running gcov in . (disable via -X gcov) [2022-10-21T04:18:19.740Z] ==> Python coveragepy not found [2022-10-21T04:18:19.740Z] ==> Searching for coverage reports in: [2022-10-21T04:18:19.740Z] + . [2022-10-21T04:18:19.740Z] -> Found 1 reports [2022-10-21T04:18:19.740Z] ==> Detecting git/mercurial file structure [2022-10-21T04:18:19.740Z] ==> Reading reports [2022-10-21T04:18:19.998Z] + ./coverage.out bytes=101759 [2022-10-21T04:18:19.998Z] ==> Appending adjustments [2022-10-21T04:18:19.998Z] https://docs.codecov.io/docs/fixing-reports [2022-10-21T04:18:20.257Z] + Found adjustments [2022-10-21T04:18:20.257Z] ==> Gzipping contents [2022-10-21T04:18:20.257Z] 16K /tmp/codecov.AsSdwt.gz [2022-10-21T04:18:20.257Z] ==> Uploading reports [2022-10-21T04:18:20.257Z] url: https://codecov.io [2022-10-21T04:18:20.257Z] query: branch=PR-1243&commit=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1243&job=&cmd_args= [2022-10-21T04:18:20.257Z] -> Pinging Codecov [2022-10-21T04:18:20.257Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1243&commit=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1243&job=&cmd_args= [2022-10-21T04:18:20.516Z] -> Uploading to [2022-10-21T04:18:20.516Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-21/7E55EF52A471D76F132DFD9A03CDDE97/d2c04776a14dcf683e7ba9590ce75aeb4e8d969c/4c676441-1b17-4a08-abfc-096d3e6a217f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T041820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16bf3a51aad31d48b301a0fd0509510e49a3ee238ec09b3f1bda06b808819222 [2022-10-21T04:18:20.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-21T04:18:20.516Z] Dload Upload Total Spent Left Speed [2022-10-21T04:18:20.776Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14703 0 0 100 14703 0 66529 --:--:-- --:--:-- --:--:-- 66229 100 14703 0 0 100 14703 0 60506 --:--:-- --:--:-- --:--:-- 60258 [2022-10-21T04:18:20.776Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] } [2022-10-21T04:18:20.802Z] 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-21T04:18:22.459Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives ] [2022-10-21T04:18:22.459Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives [2022-10-21T04:18:22.459Z] total 16 [2022-10-21T04:18:22.459Z] drwxr-xr-x 3 root root 4096 Oct 21 04:08 . [2022-10-21T04:18:22.459Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 04:08 .. [2022-10-21T04:18:22.459Z] drwxr-xr-x 2 root root 4096 Oct 21 04:08 cost [2022-10-21T04:18:22.459Z] -rw-r--r-- 1 root root 86 Oct 21 04:08 cost.csv [2022-10-21T04:18:22.459Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives [2022-10-21T04:18:22.459Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives [2022-10-21T04:18:22.459Z] total 16 [2022-10-21T04:18:22.459Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 04:08 . [2022-10-21T04:18:22.459Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 04:08 .. [2022-10-21T04:18:22.459Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 04:08 cost [2022-10-21T04:18:22.459Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 21 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:22.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:23.670Z] ---> package-listing.sh [2022-10-21T04:18:23.671Z] ++ facter osfamily [2022-10-21T04:18:23.671Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-21T04:18:23.929Z] + OS_FAMILY=debian [2022-10-21T04:18:23.929Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1243 [2022-10-21T04:18:23.929Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-21T04:18:23.929Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-21T04:18:23.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-21T04:18:23.929Z] + PACKAGES=/tmp/packages_start.txt [2022-10-21T04:18:23.929Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1243 ']' [2022-10-21T04:18:23.929Z] + PACKAGES=/tmp/packages_end.txt [2022-10-21T04:18:23.929Z] + case "${OS_FAMILY}" in [2022-10-21T04:18:23.929Z] + grep '^ii' [2022-10-21T04:18:23.929Z] + dpkg -l [2022-10-21T04:18:23.929Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-21T04:18:23.929Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-21T04:18:23.929Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-21T04:18:23.929Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1243 ']' [2022-10-21T04:18:23.929Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/ [2022-10-21T04:18:23.929Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/ [Pipeline] echo [2022-10-21T04:18:23.961Z] 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-1243/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-21T04:18:24.253Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T04:18:24.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T04:18:24.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T04:18:25.005Z] prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container [2022-10-21T04:18:25.038Z] $ 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-1243/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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@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-21T04:18:25.229Z] $ docker top 551a90c4408a66073a8e28e03a61637fcb0fb077b8b6ef027a9344a9b16b6044 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T04:18:25.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-21T04:18:25.924Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-21T04:18:26.233Z] + ls /var/log/sa-host [2022-10-21T04:18:26.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T04:18:26.447Z] provisioning config files... [2022-10-21T04:18:26.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config9832288690537209848tmp [Pipeline] { [Pipeline] echo [2022-10-21T04:18:26.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:26.818Z] ---> create-netrc.sh [Pipeline] } [2022-10-21T04:18:26.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:27.255Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-21T04:18:27.287Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:27.594Z] ---> sudo-logs.sh [2022-10-21T04:18:27.594Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-21T04:18:27.678Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:27.983Z] ---> job-cost.sh [2022-10-21T04:18:27.983Z] lf-activate-venv: SKIPPING [2022-10-21T04:18:27.983Z] DEBUG: total: 0.2199999988079071 [2022-10-21T04:18:27.983Z] INFO: Retrieving Stack Cost... [2022-10-21T04:18:28.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-21T04:18:28.807Z] INFO: Archiving Costs [Pipeline] echo [2022-10-21T04:18:28.839Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T04:18:29.142Z] ---> logs-deploy.sh [2022-10-21T04:18:29.142Z] lf-activate-venv: SKIPPING [2022-10-21T04:18:29.142Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1243/1 [2022-10-21T04:18:29.142Z] INFO: archiving workspace using pattern(s): [2022-10-21T04:18:30.077Z] Archives upload complete. [2022-10-21T04:18:30.077Z] INFO: archiving logs to Nexus