Pull request #1239 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7f4ce749a28b802cbd54a2f08320b07380bfb142+fcdaaa65875a87632183a9ac24ebba6391eaa438 (542080941d7108d8bc895e9122fe3bc91405b7f4) 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-ssh12812439432850695494.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-ssh4648105410880711693.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2780994611257972466.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 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-ssh15751869426610739182.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4023256548652070139.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8475’ Running on prd-ubuntu20.04-docker-8c-8g-8477 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [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-1239 # 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/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 7f4ce749a28b802cbd54a2f08320b07380bfb142 Merge succeeded, producing 1006b82fee2d8126722dcf67930a4a31e0e73bd1 Checking out Revision 1006b82fee2d8126722dcf67930a4a31e0e73bd1 (PR-1239) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f4ce749a28b802cbd54a2f08320b07380bfb142 # 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 fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1006b82fee2d8126722dcf67930a4a31e0e73bd1 # timeout=10 Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 21e04e15d1ae7c788d2df22621903d96286e27cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-18T16:45:27.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-18T16:45:27.536Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-18T16:45:27.551Z] ========================================================= [2022-10-18T16:45:27.551Z] EdgeX Global Pipelines Version Info [2022-10-18T16:45:27.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:45:28.266Z] ------------------- [2022-10-18T16:45:28.266Z] stable info: [2022-10-18T16:45:28.266Z] ------------------- [2022-10-18T16:45:28.266Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-18T16:45:28.266Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T16:45:28.266Z] Message: update stable to v1.0.243 [2022-10-18T16:45:28.836Z] ------------------- [2022-10-18T16:45:28.836Z] experimental info: [2022-10-18T16:45:28.836Z] ------------------- [2022-10-18T16:45:28.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-18T16:45:28.836Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-18T16:45:28.836Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-18T16:45:28.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-18T16:45:28.994Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-18T16:45:29.005Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-18T16:45:29.016Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-18T16:45:29.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-18T16:45:29.040Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-18T16:45:29.054Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-18T16:45:29.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-18T16:45:29.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-18T16:45:29.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-18T16:45:29.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-18T16:45:29.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-18T16:45:29.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-18T16:45:29.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-18T16:45:29.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-18T16:45:29.186Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T16:45:29.197Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T16:45:29.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-18T16:45:29.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-18T16:45:29.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-18T16:45:29.248Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-18T16:45:29.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-18T16:45:29.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-18T16:45:29.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-18T16:45:29.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-18T16:45:29.304Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-18T16:45:29.313Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-18T16:45:29.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1239 [Pipeline] echo [2022-10-18T16:45:29.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1239 [Pipeline] echo [2022-10-18T16:45:29.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1239 [Pipeline] echo [2022-10-18T16:45:29.371Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo [2022-10-18T16:45:29.382Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1006b82 [Pipeline] echo [2022-10-18T16:45:29.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T16:45:29.437Z] provisioning config files... [2022-10-18T16:45:29.451Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config3961790152714185608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:45:29.750Z] ---> docker-login.sh [2022-10-18T16:45:29.750Z] nexus3.edgexfoundry.org:10001 [2022-10-18T16:45:30.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:30.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:30.010Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:30.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:30.010Z] [2022-10-18T16:45:30.010Z] Login Succeeded [2022-10-18T16:45:30.010Z] nexus3.edgexfoundry.org:10002 [2022-10-18T16:45:30.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:30.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:30.270Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:30.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:30.270Z] [2022-10-18T16:45:30.270Z] Login Succeeded [2022-10-18T16:45:30.270Z] nexus3.edgexfoundry.org:10003 [2022-10-18T16:45:30.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:30.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:30.270Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:30.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:30.270Z] [2022-10-18T16:45:30.270Z] Login Succeeded [2022-10-18T16:45:30.270Z] nexus3.edgexfoundry.org:10004 [2022-10-18T16:45:30.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:30.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:30.531Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:30.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:30.531Z] [2022-10-18T16:45:30.531Z] Login Succeeded [2022-10-18T16:45:30.531Z] docker.io [2022-10-18T16:45:30.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:30.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:30.791Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:30.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:30.791Z] [2022-10-18T16:45:30.791Z] Login Succeeded [2022-10-18T16:45:30.791Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T16:45:30.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-18T16:45:31.167Z] + git rev-list -1 --merges 1006b82fee2d8126722dcf67930a4a31e0e73bd1~1..1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo [2022-10-18T16:45:31.194Z] -----------> git rev-list -1 --merges 1006b82fee2d8126722dcf67930a4a31e0e73bd1~1..1006b82fee2d8126722dcf67930a4a31e0e73bd1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [2022-10-18T16:45:31.194Z] 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [false] [Pipeline] sh [2022-10-18T16:45:31.480Z] + git log --format=format:%s -1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo [2022-10-18T16:45:31.495Z] ========================================================= [2022-10-18T16:45:31.495Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-18T16:45:31.495Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T16:45:31.832Z] + git log --format=format:%s -1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo [2022-10-18T16:45:31.845Z] [semverPrep] GIT_COMMIT: 1006b82fee2d8126722dcf67930a4a31e0e73bd1, Commit Message: Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD [Pipeline] echo [2022-10-18T16:45:31.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-18T16:45:32.205Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-18T16:45:32.205Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-18T16:45:32.205Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-18T16:45:32.205Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-18T16:45:32.205Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-18T16:45:32.205Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-18T16:45:32.205Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:45:32.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T16:45:32.608Z] [2022-10-18T16:45:32.608Z] 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-18T16:45:32.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T16:45:32.908Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-18T16:45:32.908Z] b85a868b505f: Pulling fs layer [2022-10-18T16:45:32.908Z] e2be974225ed: Pulling fs layer [2022-10-18T16:45:32.908Z] 339a4e72a1f5: Pulling fs layer [2022-10-18T16:45:32.908Z] 988bab9f4d93: Pulling fs layer [2022-10-18T16:45:32.908Z] 1469e6f7b9e6: Pulling fs layer [2022-10-18T16:45:32.908Z] eaf3925da568: Pulling fs layer [2022-10-18T16:45:32.908Z] bab4dde63d76: Pulling fs layer [2022-10-18T16:45:32.908Z] bde34c3a00c8: Pulling fs layer [2022-10-18T16:45:32.908Z] b352a97aabf1: Pulling fs layer [2022-10-18T16:45:32.908Z] 4872d77fe225: Pulling fs layer [2022-10-18T16:45:32.908Z] 5851b861e8e6: Pulling fs layer [2022-10-18T16:45:32.908Z] 988bab9f4d93: Waiting [2022-10-18T16:45:32.908Z] 1469e6f7b9e6: Waiting [2022-10-18T16:45:32.908Z] eaf3925da568: Waiting [2022-10-18T16:45:32.908Z] bde34c3a00c8: Waiting [2022-10-18T16:45:32.908Z] b352a97aabf1: Waiting [2022-10-18T16:45:32.908Z] bab4dde63d76: Waiting [2022-10-18T16:45:32.908Z] 4872d77fe225: Waiting [2022-10-18T16:45:32.908Z] 5851b861e8e6: Waiting [2022-10-18T16:45:32.908Z] e2be974225ed: Verifying Checksum [2022-10-18T16:45:32.908Z] e2be974225ed: Download complete [2022-10-18T16:45:32.908Z] 988bab9f4d93: Download complete [2022-10-18T16:45:33.167Z] 339a4e72a1f5: Verifying Checksum [2022-10-18T16:45:33.167Z] 339a4e72a1f5: Download complete [2022-10-18T16:45:33.167Z] 1469e6f7b9e6: Verifying Checksum [2022-10-18T16:45:33.167Z] 1469e6f7b9e6: Download complete [2022-10-18T16:45:33.167Z] eaf3925da568: Verifying Checksum [2022-10-18T16:45:33.167Z] eaf3925da568: Download complete [2022-10-18T16:45:33.167Z] bde34c3a00c8: Verifying Checksum [2022-10-18T16:45:33.167Z] bde34c3a00c8: Download complete [2022-10-18T16:45:33.167Z] b352a97aabf1: Verifying Checksum [2022-10-18T16:45:33.167Z] b352a97aabf1: Download complete [2022-10-18T16:45:33.167Z] 4872d77fe225: Download complete [2022-10-18T16:45:33.167Z] 5851b861e8e6: Verifying Checksum [2022-10-18T16:45:33.167Z] 5851b861e8e6: Download complete [2022-10-18T16:45:33.167Z] b85a868b505f: Verifying Checksum [2022-10-18T16:45:33.167Z] b85a868b505f: Download complete [2022-10-18T16:45:33.735Z] bab4dde63d76: Verifying Checksum [2022-10-18T16:45:33.735Z] bab4dde63d76: Download complete [2022-10-18T16:45:34.674Z] b85a868b505f: Pull complete [2022-10-18T16:45:34.674Z] e2be974225ed: Pull complete [2022-10-18T16:45:35.244Z] 339a4e72a1f5: Pull complete [2022-10-18T16:45:35.244Z] 988bab9f4d93: Pull complete [2022-10-18T16:45:35.504Z] 1469e6f7b9e6: Pull complete [2022-10-18T16:45:35.504Z] eaf3925da568: Pull complete [2022-10-18T16:45:37.411Z] bab4dde63d76: Pull complete [2022-10-18T16:45:37.411Z] bde34c3a00c8: Pull complete [2022-10-18T16:45:37.671Z] b352a97aabf1: Pull complete [2022-10-18T16:45:37.930Z] 4872d77fe225: Pull complete [2022-10-18T16:45:38.509Z] 5851b861e8e6: Pull complete [2022-10-18T16:45:38.770Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-18T16:45:39.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-18T16:45:39.030Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:45:39.114Z] prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container [2022-10-18T16:45:39.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-18T16:45:44.259Z] $ docker top f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 -eo pid,comm [2022-10-18T16:45:44.346Z] 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-18T16:45:44.346Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-18T16:45:44.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T16:45:44.386Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T16:45:44.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T16:45:44.502Z] $ docker exec f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent [2022-10-18T16:45:44.654Z] SSH_AUTH_SOCK=/tmp/ssh-nsmT9wvmFJgm/agent.14 [2022-10-18T16:45:44.654Z] SSH_AGENT_PID=20 [2022-10-18T16:45:44.662Z] Running ssh-add (command line suppressed) [2022-10-18T16:45:44.770Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_5539874158578139799.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_5539874158578139799.key) [2022-10-18T16:45:44.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T16:45:45.097Z] + git tag --points-at HEAD [Pipeline] } [2022-10-18T16:45:45.107Z] $ docker exec --env ******** --env ******** f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent -k [2022-10-18T16:45:45.219Z] unset SSH_AUTH_SOCK; [2022-10-18T16:45:45.219Z] unset SSH_AGENT_PID; [2022-10-18T16:45:45.220Z] echo Agent pid 20 killed; [2022-10-18T16:45:45.236Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-18T16:45:45.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-18T16:45:45.327Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-18T16:45:45.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-18T16:45:45.435Z] $ docker exec f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent [2022-10-18T16:45:45.580Z] SSH_AUTH_SOCK=/tmp/ssh-wgSC09SAQm9V/agent.71 [2022-10-18T16:45:45.580Z] SSH_AGENT_PID=77 [2022-10-18T16:45:45.603Z] Running ssh-add (command line suppressed) [2022-10-18T16:45:45.691Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_6099842781302287643.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_6099842781302287643.key) [2022-10-18T16:45:45.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-18T16:45:45.998Z] + git semver init [2022-10-18T16:45:46.611Z] 2022-10-18 16:45:46,386 [run_init] DEBUG init version:0.0.0 force:False [2022-10-18T16:45:46.611Z] 2022-10-18 16:45:46,387 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-18T16:45:46.611Z] 2022-10-18 16:45:46,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver [2022-10-18T16:45:46.611Z] 2022-10-18 16:45:46,389 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239, universal_newlines=False, shell=None, istream=None) [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.git/info/exclude [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 with force:False [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,791 [execute] INFO git cat-file --batch-check [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,797 [execute] INFO git cat-file --batch [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) [2022-10-18T16:45:48.003Z] 2022-10-18 16:45:47,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 [2022-10-18T16:45:48.003Z] 0.0.0 [Pipeline] } [2022-10-18T16:45:48.025Z] $ docker exec --env ******** --env ******** f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent -k [2022-10-18T16:45:48.159Z] unset SSH_AUTH_SOCK; [2022-10-18T16:45:48.159Z] unset SSH_AGENT_PID; [2022-10-18T16:45:48.159Z] echo Agent pid 77 killed; [2022-10-18T16:45:48.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-18T16:45:48.492Z] + git semver [Pipeline] } [2022-10-18T16:45:48.755Z] $ docker stop --time=1 f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 [2022-10-18T16:45:51.109Z] $ docker rm -f f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T16:45:51.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-18T16:45:51.798Z] Stashed 1 file(s) [Pipeline] echo [2022-10-18T16:45:51.800Z] [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-18T16:45:51.944Z] provisioning config files... [2022-10-18T16:45:51.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config15699992871077454471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:45:52.244Z] ---> docker-login.sh [2022-10-18T16:45:52.244Z] nexus3.edgexfoundry.org:10001 [2022-10-18T16:45:52.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:52.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:52.244Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:52.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:52.244Z] [2022-10-18T16:45:52.244Z] Login Succeeded [2022-10-18T16:45:52.244Z] nexus3.edgexfoundry.org:10002 [2022-10-18T16:45:52.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:52.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:52.244Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:52.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:52.244Z] [2022-10-18T16:45:52.244Z] Login Succeeded [2022-10-18T16:45:52.244Z] nexus3.edgexfoundry.org:10003 [2022-10-18T16:45:52.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:52.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:52.503Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:52.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:52.503Z] [2022-10-18T16:45:52.503Z] Login Succeeded [2022-10-18T16:45:52.503Z] nexus3.edgexfoundry.org:10004 [2022-10-18T16:45:52.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:52.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:52.503Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:52.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:52.503Z] [2022-10-18T16:45:52.503Z] Login Succeeded [2022-10-18T16:45:52.503Z] docker.io [2022-10-18T16:45:52.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:45:53.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:45:53.071Z] Configure a credential helper to remove this warning. See [2022-10-18T16:45:53.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:45:53.071Z] [2022-10-18T16:45:53.071Z] Login Succeeded [2022-10-18T16:45:53.071Z] ---> docker-login.sh ends [Pipeline] } [2022-10-18T16:45:53.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T16:45:53.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T16:45:53.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T16:45:53.154Z] ========================================================= [2022-10-18T16:45:53.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-18T16:45:53.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:45:53.467Z] + 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-18T16:45:53.467Z] Sending build context to Docker daemon 10.05MB [2022-10-18T16:45:53.467Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T16:45:53.467Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-18T16:45:53.467Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-18T16:45:53.467Z] 213ec9aee27d: Pulling fs layer [2022-10-18T16:45:53.467Z] 4583459ba037: Pulling fs layer [2022-10-18T16:45:53.467Z] 93c1e223e6f2: Pulling fs layer [2022-10-18T16:45:53.467Z] 53926ce57604: Pulling fs layer [2022-10-18T16:45:53.467Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-18T16:45:53.467Z] 30f14e443154: Pulling fs layer [2022-10-18T16:45:53.467Z] 801331c1e519: Pulling fs layer [2022-10-18T16:45:53.467Z] 99cc6dd402b0: Pulling fs layer [2022-10-18T16:45:53.467Z] 7d9ed39f4882: Pulling fs layer [2022-10-18T16:45:53.467Z] 30f14e443154: Waiting [2022-10-18T16:45:53.467Z] 53926ce57604: Waiting [2022-10-18T16:45:53.467Z] 99cc6dd402b0: Waiting [2022-10-18T16:45:53.467Z] 801331c1e519: Waiting [2022-10-18T16:45:53.467Z] 21b2b0c7a3f4: Waiting [2022-10-18T16:45:53.467Z] 7d9ed39f4882: Waiting [2022-10-18T16:45:53.467Z] 93c1e223e6f2: Verifying Checksum [2022-10-18T16:45:53.467Z] 93c1e223e6f2: Download complete [2022-10-18T16:45:53.467Z] 4583459ba037: Download complete [2022-10-18T16:45:53.743Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-18T16:45:53.743Z] 21b2b0c7a3f4: Download complete [2022-10-18T16:45:53.743Z] 30f14e443154: Download complete [2022-10-18T16:45:53.743Z] 213ec9aee27d: Verifying Checksum [2022-10-18T16:45:53.743Z] 213ec9aee27d: Download complete [2022-10-18T16:45:53.743Z] 801331c1e519: Verifying Checksum [2022-10-18T16:45:53.743Z] 801331c1e519: Download complete [2022-10-18T16:45:53.743Z] 213ec9aee27d: Pull complete [2022-10-18T16:45:54.019Z] 4583459ba037: Pull complete [2022-10-18T16:45:54.291Z] 7d9ed39f4882: Verifying Checksum [2022-10-18T16:45:54.291Z] 93c1e223e6f2: Pull complete [2022-10-18T16:45:54.553Z] 99cc6dd402b0: Verifying Checksum [2022-10-18T16:45:54.553Z] 99cc6dd402b0: Download complete [2022-10-18T16:45:54.553Z] 53926ce57604: Verifying Checksum [2022-10-18T16:45:54.553Z] 53926ce57604: Download complete [2022-10-18T16:45:58.748Z] 53926ce57604: Pull complete [2022-10-18T16:45:58.748Z] 21b2b0c7a3f4: Pull complete [2022-10-18T16:45:58.748Z] 30f14e443154: Pull complete [2022-10-18T16:45:58.748Z] 801331c1e519: Pull complete [2022-10-18T16:46:00.647Z] 99cc6dd402b0: Pull complete [2022-10-18T16:46:01.582Z] 7d9ed39f4882: Pull complete [2022-10-18T16:46:01.582Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-18T16:46:01.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-18T16:46:01.582Z] ---> 1dedd983c030 [2022-10-18T16:46:01.582Z] Step 3/11 : ARG MAKE=make build [2022-10-18T16:46:06.914Z] Still waiting to schedule task [2022-10-18T16:46:06.915Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8476’ is offline [2022-10-18T16:46:09.737Z] ---> Running in 076e92809490 [2022-10-18T16:46:10.310Z] Removing intermediate container 076e92809490 [2022-10-18T16:46:10.310Z] ---> 6d396d200f0d [2022-10-18T16:46:10.310Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-18T16:46:10.879Z] ---> Running in 66dc42ba5f4c [2022-10-18T16:46:11.481Z] Removing intermediate container 66dc42ba5f4c [2022-10-18T16:46:11.481Z] ---> 827bd561cc1c [2022-10-18T16:46:11.481Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:46:12.101Z] ---> Running in 0a84553a66a2 [2022-10-18T16:46:13.044Z] Removing intermediate container 0a84553a66a2 [2022-10-18T16:46:13.044Z] ---> 236ffd08cd8f [2022-10-18T16:46:13.044Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:46:13.044Z] ---> Running in 91700817da51 [2022-10-18T16:46:14.953Z] Removing intermediate container 91700817da51 [2022-10-18T16:46:14.953Z] ---> fb76abbcd32a [2022-10-18T16:46:14.953Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T16:46:15.213Z] ---> Running in 3e4c9b300df2 [2022-10-18T16:46:16.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T16:46:17.093Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T16:46:17.351Z] OK: 211 MiB in 51 packages [2022-10-18T16:46:17.942Z] Removing intermediate container 3e4c9b300df2 [2022-10-18T16:46:17.942Z] ---> 4a1c84359aa5 [2022-10-18T16:46:17.942Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-18T16:46:17.942Z] ---> d8399c022006 [2022-10-18T16:46:17.942Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T16:46:17.942Z] ---> Running in 58584e3c3380 [2022-10-18T16:46:39.951Z] Removing intermediate container 58584e3c3380 [2022-10-18T16:46:39.951Z] ---> 4a77f857aebb [2022-10-18T16:46:39.951Z] Step 10/11 : COPY . . [2022-10-18T16:46:39.951Z] ---> 18d0cd26f81b [2022-10-18T16:46:39.951Z] Step 11/11 : RUN ${MAKE} [2022-10-18T16:46:39.951Z] ---> Running in 9aa04ba90016 [2022-10-18T16:46:40.523Z] noop [2022-10-18T16:46:41.467Z] Removing intermediate container 9aa04ba90016 [2022-10-18T16:46:41.467Z] ---> 79e768b9844b [2022-10-18T16:46:41.467Z] Successfully built 79e768b9844b [2022-10-18T16:46:41.731Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:46:42.042Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T16:46:42.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:46:42.125Z] prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container [2022-10-18T16:46:42.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T16:46:43.295Z] $ docker top 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T16:46:43.705Z] + go version [2022-10-18T16:46:43.705Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-18T16:46:43.711Z] $ docker stop --time=1 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f [2022-10-18T16:46:45.410Z] $ docker rm -f 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:46:45.848Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-18T16:46:45.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:46:45.924Z] prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container [2022-10-18T16:46:45.970Z] $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-18T16:46:47.160Z] $ docker top 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T16:46:47.508Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] fileExists [Pipeline] sh [2022-10-18T16:46:47.804Z] + make test [2022-10-18T16:46:47.804Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-18T16:46:54.380Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 73.1% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-18T16:47:09.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements [2022-10-18T16:47:09.272Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-18T16:47:24.223Z] 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-18T16:47:24.223Z] GO111MODULE=on go vet ./... [2022-10-18T16:47:27.604Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T16:47:27.604Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T16:47:27.604Z] ./bin/test-attribution-txt.sh [2022-10-18T16:47:27.604Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-18T16:47:27.604Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-18T16:47:27.604Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-18T16:47:27.604Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-18T16:47:27.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T16:47:27.626Z] $ docker stop --time=1 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 [2022-10-18T16:47:32.421Z] $ docker rm -f 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T16:47:32.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T16:47:32.956Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-18T16:47:33.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T16:47:33.766Z] + ls -al . [2022-10-18T16:47:33.766Z] total 276 [2022-10-18T16:47:33.766Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 16:46 . [2022-10-18T16:47:33.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:45 .. [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 16:45 .dockerignore [2022-10-18T16:47:33.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 16:47 .git [2022-10-18T16:47:33.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:45 .github [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 16:45 .gitignore [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 16:45 .golangci.yml [2022-10-18T16:47:33.766Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 16:45 .semver [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 16:45 CHANGELOG.md [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 16:45 GOVERNANCE.md [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 16:45 Jenkinsfile [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 16:45 LICENSE [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 16:45 Makefile [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 16:45 OWNERS.md [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 16:45 README.md [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 16:45 VERSION [2022-10-18T16:47:33.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:45 bin [2022-10-18T16:47:33.766Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 18 16:47 coverage.out [2022-10-18T16:47:33.766Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 16:45 example [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 16:45 go.mod [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 16:45 go.sum [2022-10-18T16:47:33.766Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 16:45 internal [2022-10-18T16:47:33.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 16:45 openapi [2022-10-18T16:47:33.766Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 16:45 pkg [2022-10-18T16:47:33.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:45 snap [2022-10-18T16:47:33.766Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:47:34.068Z] + 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=1006b82fee2d8126722dcf67930a4a31e0e73bd1 --label arch=amd64 --label version=0.0.0 . [2022-10-18T16:47:34.068Z] Sending build context to Docker daemon 10.15MB [2022-10-18T16:47:34.068Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T16:47:34.068Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-18T16:47:34.068Z] ---> 79e768b9844b [2022-10-18T16:47:34.068Z] Step 3/25 : ARG MAKE=make build [2022-10-18T16:47:34.327Z] ---> Running in 155faa66af98 [2022-10-18T16:47:34.327Z] Removing intermediate container 155faa66af98 [2022-10-18T16:47:34.327Z] ---> 639e5f5d221a [2022-10-18T16:47:34.327Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-18T16:47:34.327Z] ---> Running in 4d618d7d9684 [2022-10-18T16:47:34.327Z] Removing intermediate container 4d618d7d9684 [2022-10-18T16:47:34.327Z] ---> cf2d7900ad1d [2022-10-18T16:47:34.327Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:47:34.327Z] ---> Running in c2b216339829 [2022-10-18T16:47:34.584Z] Removing intermediate container c2b216339829 [2022-10-18T16:47:34.584Z] ---> 5e3bcf0666b8 [2022-10-18T16:47:34.584Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:47:34.584Z] ---> Running in e37d3d549e05 [2022-10-18T16:47:35.151Z] Removing intermediate container e37d3d549e05 [2022-10-18T16:47:35.151Z] ---> e8cebc2deed8 [2022-10-18T16:47:35.151Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T16:47:35.151Z] ---> Running in 308c99062283 [2022-10-18T16:47:35.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T16:47:36.344Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T16:47:36.611Z] OK: 211 MiB in 51 packages [2022-10-18T16:47:36.869Z] Removing intermediate container 308c99062283 [2022-10-18T16:47:36.869Z] ---> 1a16d03c6a6a [2022-10-18T16:47:36.869Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-18T16:47:36.869Z] ---> 763230142ae9 [2022-10-18T16:47:36.869Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T16:47:37.129Z] ---> Running in 06279190f039 [2022-10-18T16:47:37.695Z] Removing intermediate container 06279190f039 [2022-10-18T16:47:37.695Z] ---> d43f73561efc [2022-10-18T16:47:37.695Z] Step 10/25 : COPY . . [2022-10-18T16:47:37.903Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8479 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] { [Pipeline] ws [2022-10-18T16:47:37.915Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-10-18T16:47:37.946Z] The recommended git tool is: git [2022-10-18T16:47:38.287Z] ---> fc267cdcad63 [2022-10-18T16:47:38.287Z] Step 11/25 : RUN ${MAKE} [2022-10-18T16:47:38.287Z] ---> Running in d508b2bac505 [2022-10-18T16:47:38.544Z] 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-18T16:47:42.608Z] using credential edgex-jenkins-ssh [2022-10-18T16:47:42.624Z] Cloning the remote Git repository [2022-10-18T16:47:42.660Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T16:47:42.737Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-10-18T16:47:42.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T16:47:42.864Z] > git --version # timeout=10 [2022-10-18T16:47:42.893Z] > git --version # 'git version 2.25.1' [2022-10-18T16:47:42.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T16:47:42.943Z] Verifying host key using known hosts file [2022-10-18T16:47:43.111Z] 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-18T16:47:43.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T16:47:44.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-18T16:47:44.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-18T16:47:46.212Z] Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 7f4ce749a28b802cbd54a2f08320b07380bfb142 [2022-10-18T16:47:46.513Z] Merge succeeded, producing 281a884806df3e84774de3d64ff7bd2c1631bfd9 [2022-10-18T16:47:46.513Z] Checking out Revision 281a884806df3e84774de3d64ff7bd2c1631bfd9 (PR-1239) [2022-10-18T16:47:45.445Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-18T16:47:45.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-18T16:47:45.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T16:47:45.491Z] Verifying host key using known hosts file [2022-10-18T16:47:45.498Z] 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-18T16:47:45.509Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-18T16:47:46.228Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T16:47:46.252Z] > git checkout -f 7f4ce749a28b802cbd54a2f08320b07380bfb142 # timeout=10 [2022-10-18T16:47:46.354Z] > git remote # timeout=10 [2022-10-18T16:47:46.371Z] > git config --get remote.origin.url # timeout=10 [2022-10-18T16:47:46.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-18T16:47:46.395Z] Verifying host key using known hosts file [2022-10-18T16:47:46.398Z] 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-18T16:47:46.407Z] > git merge fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 [2022-10-18T16:47:46.493Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-18T16:47:46.518Z] > git config core.sparsecheckout # timeout=10 [2022-10-18T16:47:46.532Z] > git checkout -f 281a884806df3e84774de3d64ff7bd2c1631bfd9 # timeout=10 [2022-10-18T16:47:50.003Z] Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" [2022-10-18T16:47:50.028Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T16:47:50.998Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-18T16:47:50.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T16:47:50.998Z] Dload Upload Total Spent Left Speed [2022-10-18T16:47:50.998Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 62078 0 --:--:-- --:--:-- --:--:-- 62078 [2022-10-18T16:47:50.010Z] > git rev-list --no-walk 21e04e15d1ae7c788d2df22621903d96286e27cc # timeout=10 [Pipeline] sh [2022-10-18T16:47:51.725Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-18T16:47:52.070Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-18T16:47:52.070Z] + sudo tee /etc/docker/daemon.new [2022-10-18T16:47:52.070Z] { [2022-10-18T16:47:52.070Z] "registry-mirrors": [ [2022-10-18T16:47:52.070Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-18T16:47:52.070Z] ], [2022-10-18T16:47:52.070Z] "bip": "10.250.0.254/24", [2022-10-18T16:47:52.070Z] "hosts": [ [2022-10-18T16:47:52.070Z] "tcp://0.0.0.0:5555", [2022-10-18T16:47:52.070Z] "unix:///var/run/docker.sock" [2022-10-18T16:47:52.070Z] ], [2022-10-18T16:47:52.070Z] "mtu": 1458, [2022-10-18T16:47:52.070Z] "selinux-enabled": true, [2022-10-18T16:47:52.070Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-18T16:47:52.070Z] } [Pipeline] sh [2022-10-18T16:47:52.398Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-18T16:47:52.737Z] + sudo service docker restart [2022-10-18T16:47:56.621Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-18T16:47:58.525Z] Removing intermediate container d508b2bac505 [2022-10-18T16:47:58.525Z] ---> d617458913ef [2022-10-18T16:47:58.525Z] Step 12/25 : FROM alpine:3.16 [2022-10-18T16:47:59.095Z] 3.16: Pulling from library/alpine [2022-10-18T16:47:59.095Z] 213ec9aee27d: Already exists [2022-10-18T16:47:59.353Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T16:47:59.353Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T16:47:59.353Z] ---> 9c6f07244728 [2022-10-18T16:47:59.353Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:47:59.353Z] ---> Running in 8be11153bc53 [2022-10-18T16:47:59.353Z] Removing intermediate container 8be11153bc53 [2022-10-18T16:47:59.353Z] ---> 42db0c645f91 [2022-10-18T16:47:59.354Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:47:59.354Z] ---> Running in 04e3752d36e5 [2022-10-18T16:47:59.921Z] Removing intermediate container 04e3752d36e5 [2022-10-18T16:47:59.921Z] ---> c650bcc257b5 [2022-10-18T16:47:59.921Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-18T16:47:59.921Z] ---> Running in 3df458fbbfe2 [2022-10-18T16:48:00.179Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-18T16:48:01.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-18T16:48:01.374Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T16:48:01.374Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-18T16:48:01.633Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T16:48:01.633Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-18T16:48:01.892Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-18T16:48:01.892Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T16:48:01.892Z] OK: 8 MiB in 19 packages [2022-10-18T16:48:02.460Z] Removing intermediate container 3df458fbbfe2 [2022-10-18T16:48:02.460Z] ---> f849a40bf007 [2022-10-18T16:48:02.460Z] Step 16/25 : WORKDIR / [2022-10-18T16:48:02.460Z] ---> Running in 7b695d58a141 [2022-10-18T16:48:02.460Z] Removing intermediate container 7b695d58a141 [2022-10-18T16:48:02.460Z] ---> d6684e7b2470 [2022-10-18T16:48:02.460Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-18T16:48:02.719Z] ---> 8516ce31d00c [2022-10-18T16:48:02.719Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-18T16:48:03.284Z] ---> fe0434156cf5 [2022-10-18T16:48:03.284Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-18T16:48:03.284Z] ---> d255c374924b [2022-10-18T16:48:03.284Z] Step 20/25 : EXPOSE 59999 [2022-10-18T16:48:03.542Z] ---> Running in 12e5f878caad [2022-10-18T16:48:03.542Z] Removing intermediate container 12e5f878caad [2022-10-18T16:48:03.542Z] ---> 2f59071e510e [2022-10-18T16:48:03.542Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-18T16:48:03.542Z] ---> Running in 63c8fa343818 [2022-10-18T16:48:03.542Z] Removing intermediate container 63c8fa343818 [2022-10-18T16:48:03.542Z] ---> ae543659663d [2022-10-18T16:48:03.542Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T16:48:03.542Z] ---> Running in d80acd84c268 [2022-10-18T16:48:03.801Z] Removing intermediate container d80acd84c268 [2022-10-18T16:48:03.801Z] ---> 90c810a0b4a3 [2022-10-18T16:48:03.801Z] Step 23/25 : LABEL arch=amd64 [2022-10-18T16:48:03.801Z] ---> Running in f351ad65e9eb [2022-10-18T16:48:03.801Z] Removing intermediate container f351ad65e9eb [2022-10-18T16:48:03.801Z] ---> baab2261fec9 [2022-10-18T16:48:03.801Z] Step 24/25 : LABEL git_sha=1006b82fee2d8126722dcf67930a4a31e0e73bd1 [2022-10-18T16:48:03.801Z] ---> Running in caad3636f7ee [2022-10-18T16:48:04.060Z] Removing intermediate container caad3636f7ee [2022-10-18T16:48:04.060Z] ---> 5a54065fda99 [2022-10-18T16:48:04.060Z] Step 25/25 : LABEL version=0.0.0 [2022-10-18T16:48:04.060Z] ---> Running in 164aa302980c [2022-10-18T16:48:04.060Z] Removing intermediate container 164aa302980c [2022-10-18T16:48:04.060Z] ---> 5166469c718e [2022-10-18T16:48:04.060Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T16:48:04.060Z] Successfully built 5166469c718e [2022-10-18T16:48:04.060Z] 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-18T16:48:04.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T16:48:04.490Z] [2022-10-18T16:48:04.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:48:04.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T16:48:04.811Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-18T16:48:04.811Z] 5eb5b503b376: Pulling fs layer [2022-10-18T16:48:04.811Z] 5c69ac0246d0: Pulling fs layer [2022-10-18T16:48:04.811Z] ec43610c2a17: Pulling fs layer [2022-10-18T16:48:04.811Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-18T16:48:04.811Z] 33b1e0a273af: Pulling fs layer [2022-10-18T16:48:04.811Z] 5d3b04190fa2: Pulling fs layer [2022-10-18T16:48:04.811Z] 2f39f015ded8: Pulling fs layer [2022-10-18T16:48:04.811Z] 3a2ae6a8a46f: Waiting [2022-10-18T16:48:04.811Z] 33b1e0a273af: Waiting [2022-10-18T16:48:04.811Z] 5d3b04190fa2: Waiting [2022-10-18T16:48:04.811Z] 2f39f015ded8: Waiting [2022-10-18T16:48:04.811Z] 5c69ac0246d0: Download complete [2022-10-18T16:48:04.811Z] 3a2ae6a8a46f: Download complete [2022-10-18T16:48:05.069Z] 33b1e0a273af: Verifying Checksum [2022-10-18T16:48:05.069Z] 33b1e0a273af: Download complete [2022-10-18T16:48:05.069Z] 5d3b04190fa2: Verifying Checksum [2022-10-18T16:48:05.069Z] 5d3b04190fa2: Download complete [2022-10-18T16:48:05.069Z] ec43610c2a17: Verifying Checksum [2022-10-18T16:48:05.069Z] ec43610c2a17: Download complete [2022-10-18T16:48:05.070Z] 5eb5b503b376: Verifying Checksum [2022-10-18T16:48:05.070Z] 5eb5b503b376: Download complete [2022-10-18T16:48:05.635Z] 2f39f015ded8: Download complete [2022-10-18T16:48:06.200Z] 5eb5b503b376: Pull complete [2022-10-18T16:48:06.457Z] 5c69ac0246d0: Pull complete [2022-10-18T16:48:06.715Z] ec43610c2a17: Pull complete [2022-10-18T16:48:06.715Z] 3a2ae6a8a46f: Pull complete [2022-10-18T16:48:06.979Z] 33b1e0a273af: Pull complete [2022-10-18T16:48:06.979Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T16:48:10.982Z] provisioning config files... [2022-10-18T16:48:11.007Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16329692525762623194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:48:11.176Z] 2f39f015ded8: Pull complete [2022-10-18T16:48:11.176Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-18T16:48:11.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T16:48:11.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:48:11.244Z] prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container [2022-10-18T16:48:11.281Z] $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T16:48:11.348Z] ---> docker-login.sh [2022-10-18T16:48:11.348Z] nexus3.edgexfoundry.org:10001 [2022-10-18T16:48:11.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:48:11.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:48:11.885Z] Configure a credential helper to remove this warning. See [2022-10-18T16:48:11.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:48:11.885Z] [2022-10-18T16:48:11.885Z] Login Succeeded [2022-10-18T16:48:11.885Z] nexus3.edgexfoundry.org:10002 [2022-10-18T16:48:12.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:48:12.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:48:12.154Z] Configure a credential helper to remove this warning. See [2022-10-18T16:48:12.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:48:12.154Z] [2022-10-18T16:48:12.154Z] Login Succeeded [2022-10-18T16:48:12.432Z] nexus3.edgexfoundry.org:10003 [2022-10-18T16:48:12.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:48:12.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:48:12.700Z] Configure a credential helper to remove this warning. See [2022-10-18T16:48:12.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:48:12.700Z] [2022-10-18T16:48:12.700Z] Login Succeeded [2022-10-18T16:48:12.700Z] nexus3.edgexfoundry.org:10004 [2022-10-18T16:48:12.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:48:12.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:48:12.968Z] Configure a credential helper to remove this warning. See [2022-10-18T16:48:12.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:48:12.968Z] [2022-10-18T16:48:12.968Z] Login Succeeded [2022-10-18T16:48:12.968Z] docker.io [2022-10-18T16:48:13.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-18T16:48:13.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-18T16:48:13.502Z] Configure a credential helper to remove this warning. See [2022-10-18T16:48:13.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-18T16:48:13.502Z] [2022-10-18T16:48:13.502Z] Login Succeeded [2022-10-18T16:48:13.502Z] ---> docker-login.sh ends [2022-10-18T16:48:14.665Z] $ docker top c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 -eo pid,comm [Pipeline] { [Pipeline] } [2022-10-18T16:48:14.732Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-18T16:48:14.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T16:48:14.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-18T16:48:14.950Z] ========================================================= [2022-10-18T16:48:14.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-18T16:48:14.950Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:48:15.049Z] ---> job-cost.sh [2022-10-18T16:48:15.049Z] lf-activate-venv: SKIPPING [2022-10-18T16:48:15.049Z] INFO: No Stack... [2022-10-18T16:48:15.285Z] + 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-18T16:48:15.308Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T16:48:15.554Z] Sending build context to Docker daemon 5.421MB [2022-10-18T16:48:15.554Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T16:48:15.554Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-18T16:48:15.826Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-18T16:48:15.826Z] 9b18e9b68314: Pulling fs layer [2022-10-18T16:48:15.826Z] d32db5db7311: Pulling fs layer [2022-10-18T16:48:15.826Z] d0c4b47475fc: Pulling fs layer [2022-10-18T16:48:15.826Z] 5831b945b038: Pulling fs layer [2022-10-18T16:48:15.826Z] 86bbec2aaacd: Pulling fs layer [2022-10-18T16:48:15.826Z] e10730c5d714: Pulling fs layer [2022-10-18T16:48:15.826Z] 5dd5c2283517: Pulling fs layer [2022-10-18T16:48:15.826Z] d5ac0230b979: Pulling fs layer [2022-10-18T16:48:15.826Z] e10730c5d714: Waiting [2022-10-18T16:48:15.826Z] 5dd5c2283517: Waiting [2022-10-18T16:48:15.826Z] d5ac0230b979: Waiting [2022-10-18T16:48:15.826Z] 5831b945b038: Waiting [2022-10-18T16:48:15.826Z] 86bbec2aaacd: Waiting [2022-10-18T16:48:15.826Z] d0c4b47475fc: Verifying Checksum [2022-10-18T16:48:15.826Z] d0c4b47475fc: Download complete [2022-10-18T16:48:15.826Z] d32db5db7311: Verifying Checksum [2022-10-18T16:48:15.826Z] 86bbec2aaacd: Verifying Checksum [2022-10-18T16:48:15.826Z] 86bbec2aaacd: Download complete [2022-10-18T16:48:15.826Z] e10730c5d714: Verifying Checksum [2022-10-18T16:48:15.826Z] e10730c5d714: Download complete [2022-10-18T16:48:15.826Z] 9b18e9b68314: Verifying Checksum [2022-10-18T16:48:15.826Z] 9b18e9b68314: Download complete [2022-10-18T16:48:15.874Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T16:48:16.174Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/cost.csv [2022-10-18T16:48:16.174Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T16:48:16.188Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [2022-10-18T16:48:16.195Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] did not exist. Created. [2022-10-18T16:48:16.195Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T16:48:16.511Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-18T16:48:16.545Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T16:48:16.552Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T16:48:16.572Z] $ docker stop --time=1 c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 [2022-10-18T16:48:16.802Z] 9b18e9b68314: Pull complete [2022-10-18T16:48:17.073Z] d5ac0230b979: Verifying Checksum [2022-10-18T16:48:17.073Z] d5ac0230b979: Download complete [2022-10-18T16:48:17.343Z] d32db5db7311: Pull complete [2022-10-18T16:48:17.612Z] d0c4b47475fc: Pull complete [2022-10-18T16:48:17.739Z] $ docker rm -f c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-18T16:48:17.878Z] 5dd5c2283517: Verifying Checksum [2022-10-18T16:48:17.878Z] 5dd5c2283517: Download complete [2022-10-18T16:48:18.836Z] 5831b945b038: Verifying Checksum [2022-10-18T16:48:18.836Z] 5831b945b038: Download complete [2022-10-18T16:48:31.147Z] 5831b945b038: Pull complete [2022-10-18T16:48:31.147Z] 86bbec2aaacd: Pull complete [2022-10-18T16:48:31.147Z] e10730c5d714: Pull complete [2022-10-18T16:48:36.496Z] 5dd5c2283517: Pull complete [2022-10-18T16:48:39.103Z] d5ac0230b979: Pull complete [2022-10-18T16:48:39.103Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-18T16:48:39.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-18T16:48:39.103Z] ---> 59b3b1a385d4 [2022-10-18T16:48:39.103Z] Step 3/11 : ARG MAKE=make build [2022-10-18T16:48:40.518Z] ---> Running in d07313e3d510 [2022-10-18T16:48:40.787Z] Removing intermediate container d07313e3d510 [2022-10-18T16:48:40.787Z] ---> ed5a7da7e3c2 [2022-10-18T16:48:40.787Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-18T16:48:40.787Z] ---> Running in 602acd49b183 [2022-10-18T16:48:41.063Z] Removing intermediate container 602acd49b183 [2022-10-18T16:48:41.063Z] ---> f4844c81d937 [2022-10-18T16:48:41.063Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:48:41.330Z] ---> Running in 3b8189952b9d [2022-10-18T16:48:41.598Z] Removing intermediate container 3b8189952b9d [2022-10-18T16:48:41.598Z] ---> 59894c800e20 [2022-10-18T16:48:41.598Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:48:41.598Z] ---> Running in cb0a1054405f [2022-10-18T16:48:43.555Z] Removing intermediate container cb0a1054405f [2022-10-18T16:48:43.555Z] ---> ebc7eaf75ca4 [2022-10-18T16:48:43.555Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T16:48:43.555Z] ---> Running in 228dff517ea4 [2022-10-18T16:48:44.515Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T16:48:45.099Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T16:48:46.063Z] OK: 221 MiB in 51 packages [2022-10-18T16:48:47.026Z] Removing intermediate container 228dff517ea4 [2022-10-18T16:48:47.026Z] ---> 92583b9b155b [2022-10-18T16:48:47.026Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-18T16:48:47.610Z] ---> ab60b17d886d [2022-10-18T16:48:47.610Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T16:48:47.878Z] ---> Running in 26a12db175c3 [2022-10-18T16:49:34.741Z] Removing intermediate container 26a12db175c3 [2022-10-18T16:49:34.741Z] ---> 698cd2501c88 [2022-10-18T16:49:34.741Z] Step 10/11 : COPY . . [2022-10-18T16:49:35.704Z] ---> f82c837c0ffa [2022-10-18T16:49:35.704Z] Step 11/11 : RUN ${MAKE} [2022-10-18T16:49:35.704Z] ---> Running in e46b89987dc1 [2022-10-18T16:49:36.666Z] noop [2022-10-18T16:49:37.259Z] Removing intermediate container e46b89987dc1 [2022-10-18T16:49:37.259Z] ---> df60c9559fe7 [2022-10-18T16:49:37.259Z] Successfully built df60c9559fe7 [2022-10-18T16:49:37.259Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:49:37.619Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T16:49:37.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:49:37.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container [2022-10-18T16:49:37.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T16:49:38.975Z] $ docker top 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T16:49:39.795Z] + go version [2022-10-18T16:49:39.795Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-18T16:49:39.816Z] $ docker stop --time=1 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 [2022-10-18T16:49:41.421Z] $ docker rm -f 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:49:41.966Z] + docker inspect -f . ci-base-image-arm64 [2022-10-18T16:49:41.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:49:42.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container [2022-10-18T16:49:42.198Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-18T16:49:43.349Z] $ docker top a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T16:49:43.865Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-18T16:49:44.456Z] + make test [2022-10-18T16:49:44.456Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-18T16:50:16.714Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-18T16:52:10.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.395s coverage: 27.6% of statements [2022-10-18T16:52:10.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.419s coverage: 78.9% of statements [2022-10-18T16:52:10.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-18T16:52:14.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.899s coverage: 73.1% of statements [2022-10-18T16:52:14.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-18T16:52:14.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-18T16:52:18.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.225s coverage: 54.4% of statements [2022-10-18T16:52:18.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-18T16:52:18.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-18T16:52:18.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-18T16:52:18.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-18T16:52:19.225Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 1.079s coverage: 65.1% of statements [2022-10-18T16:52:19.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-18T16:52:19.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-18T16:52:20.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.111s coverage: 89.2% of statements [2022-10-18T16:52:20.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-18T16:52:23.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.260s coverage: 4.7% of statements [2022-10-18T16:52:23.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-18T16:52:24.572Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-18T16:52:24.572Z] GO111MODULE=on go vet ./... [2022-10-18T16:54:01.214Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-18T16:54:01.214Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-18T16:54:01.215Z] ./bin/test-attribution-txt.sh [2022-10-18T16:54:01.215Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-18T16:54:01.215Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-18T16:54:01.215Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-18T16:54:01.215Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-18T16:54:01.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-18T16:54:01.291Z] $ docker stop --time=1 a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 [2022-10-18T16:54:03.164Z] $ docker rm -f a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-18T16:54:04.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-18T16:54:04.708Z] Warning: overwriting stash ‘coverage-report’ [2022-10-18T16:54:05.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-18T16:54:05.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-18T16:54:06.060Z] + ls -al . [2022-10-18T16:54:06.060Z] total 272 [2022-10-18T16:54:06.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 16:49 . [2022-10-18T16:54:06.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:47 .. [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 16:47 .dockerignore [2022-10-18T16:54:06.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 16:47 .git [2022-10-18T16:54:06.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:47 .github [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 16:47 .gitignore [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 16:47 .golangci.yml [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 16:47 CHANGELOG.md [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 16:47 GOVERNANCE.md [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 16:47 Jenkinsfile [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 16:47 LICENSE [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 16:47 Makefile [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 16:47 OWNERS.md [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 16:47 README.md [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 16:45 VERSION [2022-10-18T16:54:06.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:47 bin [2022-10-18T16:54:06.060Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 18 16:52 coverage.out [2022-10-18T16:54:06.060Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 16:47 example [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 16:47 go.mod [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 16:47 go.sum [2022-10-18T16:54:06.060Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 16:47 internal [2022-10-18T16:54:06.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 16:47 openapi [2022-10-18T16:54:06.060Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 16:47 pkg [2022-10-18T16:54:06.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:47 snap [2022-10-18T16:54:06.060Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:54:06.413Z] + 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=281a884806df3e84774de3d64ff7bd2c1631bfd9 --label arch=arm64 --label version=0.0.0 . [2022-10-18T16:54:06.993Z] Sending build context to Docker daemon 5.523MB [2022-10-18T16:54:06.993Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-18T16:54:06.993Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-18T16:54:06.993Z] ---> df60c9559fe7 [2022-10-18T16:54:06.993Z] Step 3/25 : ARG MAKE=make build [2022-10-18T16:54:06.993Z] ---> Running in 1876ab13c24a [2022-10-18T16:54:07.262Z] Removing intermediate container 1876ab13c24a [2022-10-18T16:54:07.262Z] ---> 2296cab7d976 [2022-10-18T16:54:07.262Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-18T16:54:07.262Z] ---> Running in 62b616d8d12b [2022-10-18T16:54:07.532Z] Removing intermediate container 62b616d8d12b [2022-10-18T16:54:07.532Z] ---> 3b3163cdfa0c [2022-10-18T16:54:07.532Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:54:07.800Z] ---> Running in 7198a2c01312 [2022-10-18T16:54:08.069Z] Removing intermediate container 7198a2c01312 [2022-10-18T16:54:08.069Z] ---> ed4034351798 [2022-10-18T16:54:08.069Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:54:08.069Z] ---> Running in d698f786ef5d [2022-10-18T16:54:10.016Z] Removing intermediate container d698f786ef5d [2022-10-18T16:54:10.016Z] ---> f860369e8c24 [2022-10-18T16:54:10.016Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-18T16:54:10.016Z] ---> Running in ebadc9ea1509 [2022-10-18T16:54:10.599Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T16:54:11.556Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T16:54:12.513Z] OK: 221 MiB in 51 packages [2022-10-18T16:54:13.472Z] Removing intermediate container ebadc9ea1509 [2022-10-18T16:54:13.472Z] ---> 4c2387cdc84b [2022-10-18T16:54:13.472Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-18T16:54:13.742Z] ---> f66e726bd8ae [2022-10-18T16:54:13.742Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-18T16:54:14.016Z] ---> Running in cea592da7997 [2022-10-18T16:54:15.961Z] Removing intermediate container cea592da7997 [2022-10-18T16:54:15.961Z] ---> 5cf65a603ce2 [2022-10-18T16:54:15.961Z] Step 10/25 : COPY . . [2022-10-18T16:54:16.920Z] ---> 76175be71440 [2022-10-18T16:54:16.920Z] Step 11/25 : RUN ${MAKE} [2022-10-18T16:54:16.920Z] ---> Running in be79f96bb7c4 [2022-10-18T16:54:17.883Z] 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-18T16:56:24.551Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-18T16:56:24.551Z] Removing intermediate container be79f96bb7c4 [2022-10-18T16:56:24.551Z] ---> 3206fa48097c [2022-10-18T16:56:24.551Z] Step 12/25 : FROM alpine:3.16 [2022-10-18T16:56:24.551Z] 3.16: Pulling from library/alpine [2022-10-18T16:56:24.551Z] 9b18e9b68314: Already exists [2022-10-18T16:56:24.551Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-18T16:56:24.551Z] Status: Downloaded newer image for alpine:3.16 [2022-10-18T16:56:24.551Z] ---> a6215f271958 [2022-10-18T16:56:24.551Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-18T16:56:24.551Z] ---> Running in 09a34744d04f [2022-10-18T16:56:24.551Z] Removing intermediate container 09a34744d04f [2022-10-18T16:56:24.551Z] ---> 042a28fc1759 [2022-10-18T16:56:24.551Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-18T16:56:24.551Z] ---> Running in 14aac493dd62 [2022-10-18T16:56:25.963Z] Removing intermediate container 14aac493dd62 [2022-10-18T16:56:25.963Z] ---> a6f9d1e07bf7 [2022-10-18T16:56:25.963Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-18T16:56:26.232Z] ---> Running in f39f950ea25f [2022-10-18T16:56:27.188Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-18T16:56:28.143Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-18T16:56:29.103Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-18T16:56:29.103Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-18T16:56:29.103Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-18T16:56:29.372Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-18T16:56:30.336Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-18T16:56:30.336Z] Executing busybox-1.35.0-r17.trigger [2022-10-18T16:56:30.603Z] OK: 8 MiB in 19 packages [2022-10-18T16:56:31.574Z] Removing intermediate container f39f950ea25f [2022-10-18T16:56:31.574Z] ---> a1bffbf0da7c [2022-10-18T16:56:31.574Z] Step 16/25 : WORKDIR / [2022-10-18T16:56:31.574Z] ---> Running in 481962ed4ab6 [2022-10-18T16:56:31.843Z] Removing intermediate container 481962ed4ab6 [2022-10-18T16:56:31.843Z] ---> ba944485ad57 [2022-10-18T16:56:31.843Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-18T16:56:32.438Z] ---> 192d071d1978 [2022-10-18T16:56:32.438Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-18T16:56:33.847Z] ---> d2192882e258 [2022-10-18T16:56:33.848Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-18T16:56:34.433Z] ---> 4c1da3e3721a [2022-10-18T16:56:34.433Z] Step 20/25 : EXPOSE 59999 [2022-10-18T16:56:34.433Z] ---> Running in e2557aa22572 [2022-10-18T16:56:34.699Z] Removing intermediate container e2557aa22572 [2022-10-18T16:56:34.699Z] ---> df188f743530 [2022-10-18T16:56:34.699Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-18T16:56:34.699Z] ---> Running in ef7ae175ab6a [2022-10-18T16:56:34.970Z] Removing intermediate container ef7ae175ab6a [2022-10-18T16:56:34.970Z] ---> 1742ec36d410 [2022-10-18T16:56:34.970Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-18T16:56:35.238Z] ---> Running in 8cf03d745904 [2022-10-18T16:56:35.504Z] Removing intermediate container 8cf03d745904 [2022-10-18T16:56:35.504Z] ---> 5c535815e63a [2022-10-18T16:56:35.504Z] Step 23/25 : LABEL arch=arm64 [2022-10-18T16:56:35.504Z] ---> Running in 1bbf7f584ba5 [2022-10-18T16:56:35.772Z] Removing intermediate container 1bbf7f584ba5 [2022-10-18T16:56:35.772Z] ---> 31f033e08625 [2022-10-18T16:56:35.772Z] Step 24/25 : LABEL git_sha=281a884806df3e84774de3d64ff7bd2c1631bfd9 [2022-10-18T16:56:35.772Z] ---> Running in 3f0e4a005a8a [2022-10-18T16:56:36.038Z] Removing intermediate container 3f0e4a005a8a [2022-10-18T16:56:36.038Z] ---> 5a16452980c5 [2022-10-18T16:56:36.038Z] Step 25/25 : LABEL version=0.0.0 [2022-10-18T16:56:36.306Z] ---> Running in c730a2d418e2 [2022-10-18T16:56:36.572Z] Removing intermediate container c730a2d418e2 [2022-10-18T16:56:36.572Z] ---> a0b9d4bfc079 [2022-10-18T16:56:36.572Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-18T16:56:36.572Z] Successfully built a0b9d4bfc079 [2022-10-18T16:56:36.572Z] 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-18T16:56:36.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T16:56:36.996Z] [2022-10-18T16:56:36.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:56:37.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T16:56:37.320Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-18T16:56:37.320Z] 8998bd30e6a1: Pulling fs layer [2022-10-18T16:56:37.320Z] 04944245beec: Pulling fs layer [2022-10-18T16:56:37.320Z] 699f458cf7ca: Pulling fs layer [2022-10-18T16:56:37.320Z] 765212b225bb: Pulling fs layer [2022-10-18T16:56:37.320Z] f23df028b6ca: Pulling fs layer [2022-10-18T16:56:37.320Z] d65c8cfc05b1: Pulling fs layer [2022-10-18T16:56:37.320Z] 2437ff75d9bd: Pulling fs layer [2022-10-18T16:56:37.320Z] f23df028b6ca: Waiting [2022-10-18T16:56:37.320Z] d65c8cfc05b1: Waiting [2022-10-18T16:56:37.320Z] 2437ff75d9bd: Waiting [2022-10-18T16:56:37.320Z] 765212b225bb: Waiting [2022-10-18T16:56:37.590Z] 04944245beec: Verifying Checksum [2022-10-18T16:56:37.590Z] 04944245beec: Download complete [2022-10-18T16:56:37.590Z] 765212b225bb: Download complete [2022-10-18T16:56:37.590Z] f23df028b6ca: Download complete [2022-10-18T16:56:37.590Z] d65c8cfc05b1: Verifying Checksum [2022-10-18T16:56:37.590Z] d65c8cfc05b1: Download complete [2022-10-18T16:56:37.590Z] 699f458cf7ca: Download complete [2022-10-18T16:56:38.173Z] 8998bd30e6a1: Verifying Checksum [2022-10-18T16:56:38.173Z] 8998bd30e6a1: Download complete [2022-10-18T16:56:40.754Z] 2437ff75d9bd: Verifying Checksum [2022-10-18T16:56:40.754Z] 2437ff75d9bd: Download complete [2022-10-18T16:56:42.162Z] 8998bd30e6a1: Pull complete [2022-10-18T16:56:42.428Z] 04944245beec: Pull complete [2022-10-18T16:56:43.835Z] 699f458cf7ca: Pull complete [2022-10-18T16:56:44.103Z] 765212b225bb: Pull complete [2022-10-18T16:56:44.685Z] f23df028b6ca: Pull complete [2022-10-18T16:56:44.953Z] d65c8cfc05b1: Pull complete [2022-10-18T16:56:59.933Z] 2437ff75d9bd: Pull complete [2022-10-18T16:56:59.933Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-18T16:56:59.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-18T16:56:59.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:57:00.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container [2022-10-18T16:57:00.168Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-18T16:57:03.637Z] $ docker top c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:04.497Z] ---> job-cost.sh [2022-10-18T16:57:04.498Z] lf-activate-venv: SKIPPING [2022-10-18T16:57:04.498Z] INFO: No Stack... [2022-10-18T16:57:05.077Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-18T16:57:05.657Z] INFO: Archiving Costs [Pipeline] sh [2022-10-18T16:57:05.970Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-10-18T16:57:05.970Z] + cut -d, -f6 [Pipeline] lock [2022-10-18T16:57:06.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [2022-10-18T16:57:06.036Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] did not exist. Created. [2022-10-18T16:57:06.036Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-18T16:57:06.681Z] /w/workspace/device-sdk-go/4@tmp/durable-a6ce0ba9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-18T16:57:07.012Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-18T16:57:07.299Z] Warning: overwriting stash ‘stack-cost’ [2022-10-18T16:57:07.356Z] Stashed 1 file(s) [Pipeline] } [2022-10-18T16:57:07.366Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-18T16:57:07.384Z] $ docker stop --time=1 c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a [2022-10-18T16:57:08.882Z] $ docker rm -f c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a [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-18T16:57:09.227Z] provisioning config files... [2022-10-18T16:57:09.232Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config7508355609298224787tmp [Pipeline] { [Pipeline] sh [2022-10-18T16:57:09.520Z] + set +x [2022-10-18T16:57:09.520Z] + curl -s https://codecov.io/bash [2022-10-18T16:57:09.520Z] + bash -s -- [2022-10-18T16:57:09.520Z] [2022-10-18T16:57:09.520Z] _____ _ [2022-10-18T16:57:09.520Z] / ____| | | [2022-10-18T16:57:09.520Z] | | ___ __| | ___ ___ _____ __ [2022-10-18T16:57:09.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-18T16:57:09.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-18T16:57:09.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-18T16:57:09.520Z] Bash-1.0.6 [2022-10-18T16:57:09.520Z] [2022-10-18T16:57:09.520Z] [2022-10-18T16:57:09.520Z] ==> git version 2.25.1 found [2022-10-18T16:57:09.520Z] ==> 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-18T16:57:09.520Z] Release-Date: 2020-01-08 [2022-10-18T16:57:09.520Z] 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-18T16:57:09.520Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-18T16:57:09.520Z] ==> Jenkins CI detected. [2022-10-18T16:57:09.520Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-18T16:57:09.520Z] project root: . [2022-10-18T16:57:09.520Z] --> token set from env [2022-10-18T16:57:09.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-18T16:57:09.520Z] ==> Running gcov in . (disable via -X gcov) [2022-10-18T16:57:09.520Z] ==> Python coveragepy not found [2022-10-18T16:57:09.520Z] ==> Searching for coverage reports in: [2022-10-18T16:57:09.520Z] + . [2022-10-18T16:57:09.520Z] -> Found 1 reports [2022-10-18T16:57:09.520Z] ==> Detecting git/mercurial file structure [2022-10-18T16:57:09.520Z] ==> Reading reports [2022-10-18T16:57:09.520Z] + ./coverage.out bytes=101759 [2022-10-18T16:57:09.777Z] ==> Appending adjustments [2022-10-18T16:57:09.777Z] https://docs.codecov.io/docs/fixing-reports [2022-10-18T16:57:10.035Z] + Found adjustments [2022-10-18T16:57:10.035Z] ==> Gzipping contents [2022-10-18T16:57:10.035Z] 16K /tmp/codecov.Sl9cyE.gz [2022-10-18T16:57:10.035Z] ==> Uploading reports [2022-10-18T16:57:10.035Z] url: https://codecov.io [2022-10-18T16:57:10.035Z] query: branch=PR-1239&commit=1006b82fee2d8126722dcf67930a4a31e0e73bd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-18T16:57:10.035Z] -> Pinging Codecov [2022-10-18T16:57:10.035Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1239&commit=1006b82fee2d8126722dcf67930a4a31e0e73bd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= [2022-10-18T16:57:10.291Z] -> Uploading to [2022-10-18T16:57:10.291Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-18/7E55EF52A471D76F132DFD9A03CDDE97/1006b82fee2d8126722dcf67930a4a31e0e73bd1/30ca3773-7f7d-47a8-82fb-061ceb20fa67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T165710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6262b319dd246090411907129281004c622ba8d8c51dbd9c2791c53a357d5c06 [2022-10-18T16:57:10.291Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-18T16:57:10.291Z] Dload Upload Total Spent Left Speed [2022-10-18T16:57:10.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14705 0 0 100 14705 0 64495 --:--:-- --:--:-- --:--:-- 64495 [2022-10-18T16:57:10.589Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] } [2022-10-18T16:57:10.595Z] 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-18T16:57:11.256Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives ] [2022-10-18T16:57:11.256Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T16:57:11.256Z] total 16 [2022-10-18T16:57:11.256Z] drwxr-xr-x 3 root root 4096 Oct 18 16:48 . [2022-10-18T16:57:11.256Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 16:48 .. [2022-10-18T16:57:11.256Z] drwxr-xr-x 2 root root 4096 Oct 18 16:48 cost [2022-10-18T16:57:11.256Z] -rw-r--r-- 1 root root 86 Oct 18 16:48 cost.csv [2022-10-18T16:57:11.256Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T16:57:11.256Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives [2022-10-18T16:57:11.256Z] total 16 [2022-10-18T16:57:11.256Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 16:48 . [2022-10-18T16:57:11.256Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 16:48 .. [2022-10-18T16:57:11.256Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 16:48 cost [2022-10-18T16:57:11.256Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 18 16:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:11.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:12.416Z] ---> package-listing.sh [2022-10-18T16:57:12.416Z] ++ facter osfamily [2022-10-18T16:57:12.416Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-18T16:57:12.675Z] + OS_FAMILY=debian [2022-10-18T16:57:12.675Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1239 [2022-10-18T16:57:12.675Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-18T16:57:12.675Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-18T16:57:12.675Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-18T16:57:12.675Z] + PACKAGES=/tmp/packages_start.txt [2022-10-18T16:57:12.675Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-18T16:57:12.675Z] + PACKAGES=/tmp/packages_end.txt [2022-10-18T16:57:12.675Z] + case "${OS_FAMILY}" in [2022-10-18T16:57:12.675Z] + dpkg -l [2022-10-18T16:57:12.675Z] + grep '^ii' [2022-10-18T16:57:12.675Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-18T16:57:12.675Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-18T16:57:12.675Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-18T16:57:12.675Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' [2022-10-18T16:57:12.675Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [2022-10-18T16:57:12.675Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [Pipeline] echo [2022-10-18T16:57:12.692Z] 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-1239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-18T16:57:12.975Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-18T16:57:13.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-18T16:57:13.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-18T16:57:13.606Z] prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container [2022-10-18T16:57:13.641Z] $ 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-1239/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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-18T16:57:14.836Z] $ docker top cb76ab5bc80344422de744b2b1da19f371d50a091034d9c097831d6f16b111c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-18T16:57:15.177Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-18T16:57:15.461Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-18T16:57:15.745Z] + ls /var/log/sa-host [2022-10-18T16:57:15.745Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-18T16:57:15.891Z] provisioning config files... [2022-10-18T16:57:15.898Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config9751779977100650816tmp [Pipeline] { [Pipeline] echo [2022-10-18T16:57:15.909Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:16.189Z] ---> create-netrc.sh [Pipeline] } [2022-10-18T16:57:16.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:16.526Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-18T16:57:16.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:16.821Z] ---> sudo-logs.sh [2022-10-18T16:57:16.821Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-18T16:57:16.849Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:17.131Z] ---> job-cost.sh [2022-10-18T16:57:17.131Z] lf-activate-venv: SKIPPING [2022-10-18T16:57:17.131Z] DEBUG: total: 0.2199999988079071 [2022-10-18T16:57:17.131Z] INFO: Retrieving Stack Cost... [2022-10-18T16:57:17.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-18T16:57:17.956Z] INFO: Archiving Costs [Pipeline] echo [2022-10-18T16:57:17.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-18T16:57:18.243Z] ---> logs-deploy.sh [2022-10-18T16:57:18.243Z] lf-activate-venv: SKIPPING [2022-10-18T16:57:18.243Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1239/4 [2022-10-18T16:57:18.243Z] INFO: archiving workspace using pattern(s): [2022-10-18T16:57:19.182Z] Archives upload complete. [2022-10-18T16:57:19.439Z] INFO: archiving logs to Nexus [2022-10-18T16:57:20.009Z] ---> uname -a: [2022-10-18T16:57:20.009Z] Linux prd-ubuntu20-04-docker-8c-8g-8477 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] ---> lscpu: [2022-10-18T16:57:20.009Z] Architecture: x86_64 [2022-10-18T16:57:20.009Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-18T16:57:20.009Z] Byte Order: Little Endian [2022-10-18T16:57:20.009Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-18T16:57:20.009Z] CPU(s): 8 [2022-10-18T16:57:20.009Z] On-line CPU(s) list: 0-7 [2022-10-18T16:57:20.009Z] Thread(s) per core: 1 [2022-10-18T16:57:20.009Z] Core(s) per socket: 1 [2022-10-18T16:57:20.009Z] Socket(s): 8 [2022-10-18T16:57:20.009Z] NUMA node(s): 1 [2022-10-18T16:57:20.009Z] Vendor ID: AuthenticAMD [2022-10-18T16:57:20.009Z] CPU family: 23 [2022-10-18T16:57:20.009Z] Model: 49 [2022-10-18T16:57:20.009Z] Model name: AMD EPYC-Rome Processor [2022-10-18T16:57:20.009Z] Stepping: 0 [2022-10-18T16:57:20.009Z] CPU MHz: 2799.956 [2022-10-18T16:57:20.009Z] BogoMIPS: 5599.91 [2022-10-18T16:57:20.009Z] Virtualization: AMD-V [2022-10-18T16:57:20.009Z] Hypervisor vendor: KVM [2022-10-18T16:57:20.009Z] Virtualization type: full [2022-10-18T16:57:20.009Z] L1d cache: 256 KiB [2022-10-18T16:57:20.009Z] L1i cache: 256 KiB [2022-10-18T16:57:20.009Z] L2 cache: 4 MiB [2022-10-18T16:57:20.009Z] L3 cache: 128 MiB [2022-10-18T16:57:20.009Z] NUMA node0 CPU(s): 0-7 [2022-10-18T16:57:20.009Z] Vulnerability Itlb multihit: Not affected [2022-10-18T16:57:20.009Z] Vulnerability L1tf: Not affected [2022-10-18T16:57:20.009Z] Vulnerability Mds: Not affected [2022-10-18T16:57:20.009Z] Vulnerability Meltdown: Not affected [2022-10-18T16:57:20.009Z] Vulnerability Mmio stale data: Not affected [2022-10-18T16:57:20.009Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-18T16:57:20.009Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-18T16:57:20.009Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-18T16:57:20.009Z] Vulnerability Srbds: Not affected [2022-10-18T16:57:20.009Z] Vulnerability Tsx async abort: Not affected [2022-10-18T16:57:20.009Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] ---> nproc: [2022-10-18T16:57:20.009Z] 8 [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z] ---> df -h: [2022-10-18T16:57:20.009Z] Filesystem Size Used Avail Use% Mounted on [2022-10-18T16:57:20.009Z] overlay 155G 12G 144G 8% / [2022-10-18T16:57:20.009Z] tmpfs 64M 0 64M 0% /dev [2022-10-18T16:57:20.009Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-18T16:57:20.009Z] shm 64M 0 64M 0% /dev/shm [2022-10-18T16:57:20.009Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-18T16:57:20.009Z] [2022-10-18T16:57:20.009Z]