Pull request #4347 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 MonicaisHer for edgexfoundry/edgex-go Obtained Jenkinsfile from 849fbee8b56ea84998bedc153749027006980848+788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 (98544265b2821f74b38a0e31ba306ddb407935df) 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-ssh13178194872922739224.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4370587872524811739.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4347/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/edgex-go/branches/PR-4347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4845317697845883521.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6761040506438396842.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-4347/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/edgex-go/branches/PR-4347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2616013066108695899.key > 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 ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6118 in /w/workspace/edgexfoundry_edgex-go_PR-4347 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/9 [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/edgex-go.git > git init /w/workspace/edgex-go/9 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 into PR head commit 849fbee8b56ea84998bedc153749027006980848 Merge succeeded, producing 98ffd17289603681794a47f6ba5ee2b317840513 Checking out Revision 98ffd17289603681794a47f6ba5ee2b317840513 (PR-4347) > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4347/head:refs/remotes/origin/PR-4347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 849fbee8b56ea84998bedc153749027006980848 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98ffd17289603681794a47f6ba5ee2b317840513 # timeout=10 Commit message: "Merge commit '788be756f331ff1c1ac8640fcafd3eeb74e9f5c6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:42:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:42:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:42:20 ========================================================= 14:42:20 EdgeX Global Pipelines Version Info 14:42:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:42:21 ------------------- 14:42:21 stable info: 14:42:21 ------------------- 14:42:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:42:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:42:21 Message: update stable to v1.0.244 > git rev-list --no-walk e271c19a585e845b73a94f94e22765c62549ba77 # timeout=10 14:42:21 ------------------- 14:42:21 experimental info: 14:42:21 ------------------- 14:42:21 Commited By: **** collab-it+edgex@linuxfoundation.org 14:42:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:42:21 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:42:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4347 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4347 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4347 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98ffd17289603681794a47f6ba5ee2b317840513 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98ffd17 [Pipeline] echo 14:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:22 provisioning config files... 14:42:22 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config362341054805836584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:22 ---> docker-login.sh 14:42:22 nexus3.edgexfoundry.org:10001 14:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:22 Configure a credential helper to remove this warning. See 14:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:22 14:42:22 Login Succeeded 14:42:22 nexus3.edgexfoundry.org:10002 14:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:23 Configure a credential helper to remove this warning. See 14:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:23 14:42:23 Login Succeeded 14:42:23 nexus3.edgexfoundry.org:10003 14:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:23 Configure a credential helper to remove this warning. See 14:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:23 14:42:23 Login Succeeded 14:42:23 nexus3.edgexfoundry.org:10004 14:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:23 Configure a credential helper to remove this warning. See 14:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:23 14:42:23 Login Succeeded 14:42:23 docker.io 14:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:23 Configure a credential helper to remove this warning. See 14:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:23 14:42:23 Login Succeeded 14:42:23 ---> docker-login.sh ends [Pipeline] } 14:42:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:23 + ls cmd/core-command/Dockerfile cmd/core-common-config-bootstrapper/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrapper/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/security-spiffe-token-provider/Dockerfile cmd/security-spire-agent/Dockerfile cmd/security-spire-config/Dockerfile cmd/security-spire-server/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile 14:42:23 + dirname cmd/core-command/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo core-command,cmd/core-command/Dockerfile 14:42:23 + + dirnamecut cmd/core-common-config-bootstrapper/Dockerfile -d/ 14:42:23 -f2 14:42:23 + echo core-common-config-bootstrapper,cmd/core-common-config-bootstrapper/Dockerfile 14:42:23 + + cut -d/dirname -f2 cmd/core-data/Dockerfile 14:42:23 14:42:23 + echo core-data,cmd/core-data/Dockerfile 14:42:23 + cut+ -d/ -f2 14:42:23 dirname cmd/core-metadata/Dockerfile 14:42:23 + echo core-metadata,cmd/core-metadata/Dockerfile 14:42:23 + dirname cmd/security-bootstrapper/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 14:42:23 + dirname cmd/security-proxy-setup/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 14:42:23 + dirname cmd/security-secretstore-setup/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 14:42:23 + dirname cmd/security-spiffe-token-provider/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + dirname cmd/security-spire-agent/Dockerfile 14:42:23 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 14:42:23 + dirname cmd/security-spire-config/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-spire-config,cmd/security-spire-config/Dockerfile 14:42:23 + dirname cmd/security-spire-server/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo security-spire-server,cmd/security-spire-server/Dockerfile 14:42:23 + dirname cmd/support-notifications/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo support-notifications,cmd/support-notifications/Dockerfile 14:42:23 + dirname cmd/support-scheduler/Dockerfile 14:42:23 + cut -d/ -f2 14:42:23 + echo support-scheduler,cmd/support-scheduler/Dockerfile [Pipeline] echo 14:42:23 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-common-config-bootstrapper, dockerfile:cmd/core-common-config-bootstrapper/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:security-spiffe-token-provider, dockerfile:cmd/security-spiffe-token-provider/Dockerfile], [image:security-spire-agent, dockerfile:cmd/security-spire-agent/Dockerfile], [image:security-spire-config, dockerfile:cmd/security-spire-config/Dockerfile], [image:security-spire-server, dockerfile:cmd/security-spire-server/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:42:24 + git rev-list -1 --merges 98ffd17289603681794a47f6ba5ee2b317840513~1..98ffd17289603681794a47f6ba5ee2b317840513 [Pipeline] echo 14:42:24 -----------> git rev-list -1 --merges 98ffd17289603681794a47f6ba5ee2b317840513~1..98ffd17289603681794a47f6ba5ee2b317840513 98ffd17289603681794a47f6ba5ee2b317840513 14:42:24 98ffd17289603681794a47f6ba5ee2b317840513 [false] [Pipeline] sh 14:42:24 + git log --format=format:%s -1 98ffd17289603681794a47f6ba5ee2b317840513 [Pipeline] echo 14:42:24 ========================================================= 14:42:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:42:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:42:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:42:25 + grep -v github /etc/ssh/ssh_known_hosts 14:42:25 + [ -e /tmp/ssh_known_hosts ] 14:42:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:42:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:42:25 + sudo tee -a /etc/ssh/ssh_known_hosts 14:42:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:42:25 14:42:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:42:25 0.1.4: Pulling from edgex-devops/py-git-semver 14:42:25 b85a868b505f: Pulling fs layer 14:42:25 e2be974225ed: Pulling fs layer 14:42:25 339a4e72a1f5: Pulling fs layer 14:42:25 988bab9f4d93: Pulling fs layer 14:42:25 1469e6f7b9e6: Pulling fs layer 14:42:25 eaf3925da568: Pulling fs layer 14:42:25 bab4dde63d76: Pulling fs layer 14:42:25 bde34c3a00c8: Pulling fs layer 14:42:25 1469e6f7b9e6: Waiting 14:42:25 988bab9f4d93: Waiting 14:42:25 eaf3925da568: Waiting 14:42:25 bab4dde63d76: Waiting 14:42:25 b352a97aabf1: Pulling fs layer 14:42:25 bde34c3a00c8: Waiting 14:42:25 4872d77fe225: Pulling fs layer 14:42:25 5851b861e8e6: Pulling fs layer 14:42:25 b352a97aabf1: Waiting 14:42:25 4872d77fe225: Waiting 14:42:25 5851b861e8e6: Waiting 14:42:25 e2be974225ed: Download complete 14:42:25 988bab9f4d93: Verifying Checksum 14:42:25 988bab9f4d93: Download complete 14:42:26 1469e6f7b9e6: Verifying Checksum 14:42:26 1469e6f7b9e6: Download complete 14:42:26 eaf3925da568: Verifying Checksum 14:42:26 eaf3925da568: Download complete 14:42:26 339a4e72a1f5: Verifying Checksum 14:42:26 339a4e72a1f5: Download complete 14:42:26 bde34c3a00c8: Verifying Checksum 14:42:26 bde34c3a00c8: Download complete 14:42:26 b352a97aabf1: Download complete 14:42:26 4872d77fe225: Verifying Checksum 14:42:26 4872d77fe225: Download complete 14:42:26 b85a868b505f: Verifying Checksum 14:42:26 b85a868b505f: Download complete 14:42:26 5851b861e8e6: Verifying Checksum 14:42:26 5851b861e8e6: Download complete 14:42:26 bab4dde63d76: Verifying Checksum 14:42:26 bab4dde63d76: Download complete 14:42:27 b85a868b505f: Pull complete 14:42:27 e2be974225ed: Pull complete 14:42:27 339a4e72a1f5: Pull complete 14:42:28 988bab9f4d93: Pull complete 14:42:28 1469e6f7b9e6: Pull complete 14:42:28 eaf3925da568: Pull complete 14:42:29 bab4dde63d76: Pull complete 14:42:29 bde34c3a00c8: Pull complete 14:42:29 b352a97aabf1: Pull complete 14:42:29 4872d77fe225: Pull complete 14:42:30 5851b861e8e6: Pull complete 14:42:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:42:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:42:30 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 14:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:42:32 $ docker top d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 -eo pid,comm 14:42:32 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). 14:42:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:32 [ssh-agent] Looking for ssh-agent implementation... 14:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:32 $ docker exec d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 ssh-agent 14:42:33 SSH_AUTH_SOCK=/tmp/ssh-YOl3yUFcMMTE/agent.33 14:42:33 SSH_AGENT_PID=39 14:42:33 Running ssh-add (command line suppressed) 14:42:33 Identity added: /w/workspace/edgex-go/9@tmp/private_key_4668233429648372732.key (/w/workspace/edgex-go/9@tmp/private_key_4668233429648372732.key) 14:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:33 + git tag --points-at HEAD [Pipeline] } 14:42:33 $ docker exec --env ******** --env ******** d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 ssh-agent -k 14:42:33 unset SSH_AUTH_SOCK; 14:42:33 unset SSH_AGENT_PID; 14:42:33 echo Agent pid 39 killed; 14:42:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:42:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:42:33 [ssh-agent] Looking for ssh-agent implementation... 14:42:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:42:33 $ docker exec d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 ssh-agent 14:42:33 SSH_AUTH_SOCK=/tmp/ssh-eOMuqB5flkob/agent.71 14:42:33 SSH_AGENT_PID=77 14:42:33 Running ssh-add (command line suppressed) 14:42:33 Identity added: /w/workspace/edgex-go/9@tmp/private_key_12258869994705991099.key (/w/workspace/edgex-go/9@tmp/private_key_12258869994705991099.key) 14:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:42:34 + git semver init 14:42:34 2023-02-15 14:42:34,486 [run_init] DEBUG init version:0.0.0 force:False 14:42:34 2023-02-15 14:42:34,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/9/.semver 14:42:34 2023-02-15 14:42:34,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/9/.semver 14:42:34 2023-02-15 14:42:34,487 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/9/.semver'], cwd=/w/workspace/edgex-go/9, universal_newlines=False, shell=None, istream=None) 14:42:39 2023-02-15 14:42:39,155 [append_file] DEBUG append to file:/w/workspace/edgex-go/9/.git/info/exclude 14:42:39 2023-02-15 14:42:39,156 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/9/.semver/PR-4347 with force:False 14:42:39 2023-02-15 14:42:39,156 [write_file] DEBUG write to file:/w/workspace/edgex-go/9/.semver/PR-4347 14:42:39 2023-02-15 14:42:39,160 [execute] INFO git cat-file --batch-check 14:42:39 2023-02-15 14:42:39,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/9/.semver, universal_newlines=False, shell=None, istream=) 14:42:39 2023-02-15 14:42:39,167 [execute] INFO git cat-file --batch 14:42:39 2023-02-15 14:42:39,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/9/.semver, universal_newlines=False, shell=None, istream=) 14:42:39 2023-02-15 14:42:39,172 [read_version] DEBUG read version from /w/workspace/edgex-go/9/.semver/PR-4347 14:42:39 0.0.0 [Pipeline] } 14:42:39 $ docker exec --env ******** --env ******** d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 ssh-agent -k 14:42:39 unset SSH_AUTH_SOCK; 14:42:39 unset SSH_AGENT_PID; 14:42:39 echo Agent pid 77 killed; 14:42:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:42:40 + git semver [Pipeline] } 14:42:40 $ docker stop --time=1 d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 14:42:41 $ docker rm -f --volumes d57861b2950f3442d42adcdd0e916773fd0b9f59cca168a62b07a649b7da5777 [Pipeline] // withDockerContainer [Pipeline] sh 14:42:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:42:42 Stashed 1 file(s) [Pipeline] echo 14:42:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:42:42 + git config --global --add safe.directory /w/workspace/edgex-go/9 [Pipeline] echo 14:42:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:42:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:42:42 ========================================================= 14:42:42 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:42:42 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:42:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:42:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:42:43 213ec9aee27d: Pulling fs layer 14:42:43 4583459ba037: Pulling fs layer 14:42:43 93c1e223e6f2: Pulling fs layer 14:42:43 53926ce57604: Pulling fs layer 14:42:43 21b2b0c7a3f4: Pulling fs layer 14:42:43 22ff95d597cd: Pulling fs layer 14:42:43 12d6caf4c0d1: Pulling fs layer 14:42:43 96b7cbca73a9: Pulling fs layer 14:42:43 a7acece74701: Pulling fs layer 14:42:43 12d6caf4c0d1: Waiting 14:42:43 53926ce57604: Waiting 14:42:43 96b7cbca73a9: Waiting 14:42:43 21b2b0c7a3f4: Waiting 14:42:43 a7acece74701: Waiting 14:42:43 22ff95d597cd: Waiting 14:42:43 93c1e223e6f2: Verifying Checksum 14:42:43 93c1e223e6f2: Download complete 14:42:43 4583459ba037: Verifying Checksum 14:42:43 4583459ba037: Download complete 14:42:43 21b2b0c7a3f4: Download complete 14:42:43 22ff95d597cd: Verifying Checksum 14:42:43 22ff95d597cd: Download complete 14:42:43 213ec9aee27d: Verifying Checksum 14:42:43 213ec9aee27d: Download complete 14:42:43 12d6caf4c0d1: Download complete 14:42:43 213ec9aee27d: Pull complete 14:42:43 4583459ba037: Pull complete 14:42:43 93c1e223e6f2: Pull complete 14:42:44 a7acece74701: Verifying Checksum 14:42:44 a7acece74701: Download complete 14:42:44 53926ce57604: Download complete 14:42:44 96b7cbca73a9: Verifying Checksum 14:42:44 96b7cbca73a9: Download complete 14:42:47 53926ce57604: Pull complete 14:42:47 21b2b0c7a3f4: Pull complete 14:42:47 22ff95d597cd: Pull complete 14:42:47 12d6caf4c0d1: Pull complete 14:42:49 96b7cbca73a9: Pull complete 14:42:50 a7acece74701: Pull complete 14:42:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 14:42:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:42:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] fileExists [Pipeline] sh 14:42:51 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:42:51 WORKDIR /edgex 14:42:51 COPY go.mod . 14:42:51 RUN go mod download 14:42:51 + docker build -t ci-base-image-x86_64 -f - . 14:42:51 Sending build context to Docker daemon 170.3MB 14:42:51 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:42:51 ---> db6d94c90886 14:42:51 Step 2/4 : WORKDIR /edgex 14:42:55 ---> Running in 041f451396a9 14:42:55 Removing intermediate container 041f451396a9 14:42:55 ---> 7e89987d7fac 14:42:55 Step 3/4 : COPY go.mod . 14:42:55 ---> f6b3241bf808 14:42:55 Step 4/4 : RUN go mod download 14:42:55 ---> Running in f23b752283ee 14:42:57 Still waiting to schedule task 14:42:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:43:08 Removing intermediate container f23b752283ee 14:43:08 ---> 249d3de9c434 14:43:08 Successfully built 249d3de9c434 14:43:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:08 + docker inspect -f . ci-base-image-x86_64 14:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:08 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 14:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:09 $ docker top ce61165f825c333e5036de77843fcb6b9544c4043ae2a1bfd912949718388aec -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:09 + go version 14:43:09 go version go1.18.7 linux/amd64 [Pipeline] } 14:43:09 $ docker stop --time=1 ce61165f825c333e5036de77843fcb6b9544c4043ae2a1bfd912949718388aec 14:43:10 $ docker rm -f --volumes ce61165f825c333e5036de77843fcb6b9544c4043ae2a1bfd912949718388aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:11 + docker inspect -f . ci-base-image-x86_64 14:43:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:11 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 14:43:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:11 $ docker top 13d84a3ba4f2f2f3bfced098fa87e6781c4b9b61fcf9e66b0e10047f290ab6ea -eo pid,comm [Pipeline] { [Pipeline] echo 14:43:11 ========================================================= 14:43:11 [edgeXBuildGoParallel] Running Tests and Build... 14:43:11 ========================================================= [Pipeline] sh 14:43:11 + git config --global --add safe.directory /w/workspace/edgex-go/9 [Pipeline] fileExists [Pipeline] sh 14:43:12 + make test 14:43:12 go test -race -coverprofile=coverage.out ./... 14:43:18 ? github.com/edgexfoundry/edgex-go [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/internal [no test files] 14:43:30 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 14:43:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.109s coverage: 28.7% of statements 14:43:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 14:43:31 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 14:43:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.126s coverage: 98.5% of statements 14:43:34 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 3.161s coverage: 73.7% of statements 14:43:34 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 14:43:34 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 14:43:34 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 14:43:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.146s coverage: 54.0% of statements 14:43:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 14:43:34 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 3.222s coverage: 88.5% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.077s coverage: 3.6% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.488s coverage: 95.6% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/io 0.061s coverage: 72.2% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.052s coverage: 65.9% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.063s coverage: 0.9% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.067s coverage: 29.6% of statements 14:43:35 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.055s coverage: 47.1% of statements 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.104s coverage: 82.9% of statements 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.067s coverage: 94.1% of statements 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.078s coverage: 96.3% of statements 14:43:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.057s coverage: 87.5% of statements 14:43:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.075s coverage: 94.4% of statements 14:43:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.056s coverage: 44.8% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 23.367s coverage: 79.9% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.089s coverage: 92.9% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 64.4% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.064s coverage: 86.9% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.054s coverage: 20.0% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.052s coverage: 100.0% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.083s coverage: 77.4% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.076s coverage: 80.0% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.053s coverage: 87.2% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.215s coverage: 91.2% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.212s coverage: 63.1% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.054s coverage: 100.0% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 89.4% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.026s coverage: 73.7% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.031s coverage: 100.0% of statements 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.326s coverage: 65.3% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.149s coverage: 41.0% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.074s coverage: 89.5% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.056s coverage: 84.8% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.075s coverage: 17.7% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.157s coverage: 92.3% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.063s coverage: 63.2% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 14:43:57 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.096s coverage: 97.7% of statements 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 14:43:57 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 14:43:57 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 14:44:15 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." 14:44:15 go vet ./... 14:44:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:44:16 ./snap/local/helper-go/common.go 14:44:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:44:17 make: *** [Makefile:156: test] Error 1 [Pipeline] } 14:44:17 $ docker stop --time=1 13d84a3ba4f2f2f3bfced098fa87e6781c4b9b61fcf9e66b0e10047f290ab6ea 14:44:19 $ docker rm -f --volumes 13d84a3ba4f2f2f3bfced098fa87e6781c4b9b61fcf9e66b0e10047f290ab6ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:44:20 Failed in branch amd64 14:44:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6119 in /w/workspace/edgexfoundry_edgex-go_PR-4347 [Pipeline] { [Pipeline] ws 14:44:40 Running in /w/workspace/edgex-go/9 [Pipeline] { [Pipeline] checkout 14:44:40 The recommended git tool is: git 14:44:46 using credential edgex-jenkins-ssh 14:44:46 Cloning the remote Git repository 14:44:46 Cloning repository git@github.com:edgexfoundry/edgex-go.git 14:44:46 > git init /w/workspace/edgex-go/9 # timeout=10 14:44:46 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:44:46 > git --version # timeout=10 14:44:46 > git --version # 'git version 2.25.1' 14:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:45:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:45:04 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 14:45:04 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 14:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/4347/head:refs/remotes/origin/PR-4347 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:45:05 Merging remotes/origin/main commit 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 into PR head commit 849fbee8b56ea84998bedc153749027006980848 14:45:06 Merge succeeded, producing 9591665998e34d6c43184485a48932d3c361d84d 14:45:06 Checking out Revision 9591665998e34d6c43184485a48932d3c361d84d (PR-4347) 14:45:05 > git config core.sparsecheckout # timeout=10 14:45:05 > git checkout -f 849fbee8b56ea84998bedc153749027006980848 # timeout=10 14:45:06 > git remote # timeout=10 14:45:06 > git config --get remote.origin.url # timeout=10 14:45:06 using GIT_SSH to set credentials SSH Credentials for GitHub 14:45:06 > git merge 788be756f331ff1c1ac8640fcafd3eeb74e9f5c6 # timeout=10 14:45:06 > git rev-parse HEAD^{commit} # timeout=10 14:45:06 > git config core.sparsecheckout # timeout=10 14:45:06 > git checkout -f 9591665998e34d6c43184485a48932d3c361d84d # timeout=10 14:45:09 Commit message: "Merge commit '788be756f331ff1c1ac8640fcafd3eeb74e9f5c6' into HEAD" 14:45:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:45:10 % Total % Received % Xferd Average Speed Time Time Time Current 14:45:10 Dload Upload Total Spent Left Speed 14:45:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 157k [Pipeline] sh 14:45:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:45:09 > git rev-list --no-walk e271c19a585e845b73a94f94e22765c62549ba77 # timeout=10 14:45:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:45:11 + sudo tee /etc/docker/daemon.new 14:45:11 { 14:45:11 "registry-mirrors": [ 14:45:11 "https://nexus3.edgexfoundry.org:10001" 14:45:11 ], 14:45:11 "bip": "10.250.0.254/24", 14:45:11 "hosts": [ 14:45:11 "tcp://0.0.0.0:5555", 14:45:11 "unix:///var/run/docker.sock" 14:45:11 ], 14:45:11 "mtu": 1458, 14:45:11 "selinux-enabled": true, 14:45:11 "seccomp-profile": "/etc/docker/seccomp.json" 14:45:11 } [Pipeline] sh 14:45:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:45:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:30 provisioning config files... 14:45:30 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/9@tmp/config17304387815267324319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:31 ---> docker-login.sh 14:45:31 nexus3.edgexfoundry.org:10001 14:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:31 Configure a credential helper to remove this warning. See 14:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:31 14:45:31 Login Succeeded 14:45:31 nexus3.edgexfoundry.org:10002 14:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:32 Configure a credential helper to remove this warning. See 14:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:32 14:45:32 Login Succeeded 14:45:32 nexus3.edgexfoundry.org:10003 14:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:32 Configure a credential helper to remove this warning. See 14:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:32 14:45:32 Login Succeeded 14:45:32 nexus3.edgexfoundry.org:10004 14:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:32 Configure a credential helper to remove this warning. See 14:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:32 14:45:32 Login Succeeded 14:45:32 docker.io 14:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:33 Configure a credential helper to remove this warning. See 14:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:33 14:45:33 Login Succeeded 14:45:33 ---> docker-login.sh ends [Pipeline] } 14:45:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh 14:45:33 + git config --global --add safe.directory /w/workspace/edgex-go/9 [Pipeline] echo 14:45:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:34 ========================================================= 14:45:34 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:45:34 ========================================================= [Pipeline] fileExists [Pipeline] sh 14:45:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:45:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:45:34 9b18e9b68314: Pulling fs layer 14:45:34 35d82f9e3411: Pulling fs layer 14:45:34 e16973657156: Pulling fs layer 14:45:34 fc693d55d65f: Pulling fs layer 14:45:34 7e9fc2657dce: Pulling fs layer 14:45:34 dda99020689f: Pulling fs layer 14:45:34 db1c61fa0a46: Pulling fs layer 14:45:34 891c053d2c06: Pulling fs layer 14:45:34 dda99020689f: Waiting 14:45:34 db1c61fa0a46: Waiting 14:45:34 891c053d2c06: Waiting 14:45:34 7e9fc2657dce: Waiting 14:45:34 fc693d55d65f: Waiting 14:45:34 e16973657156: Download complete 14:45:34 35d82f9e3411: Verifying Checksum 14:45:34 35d82f9e3411: Download complete 14:45:34 7e9fc2657dce: Verifying Checksum 14:45:34 7e9fc2657dce: Download complete 14:45:34 dda99020689f: Verifying Checksum 14:45:34 dda99020689f: Download complete 14:45:34 9b18e9b68314: Verifying Checksum 14:45:34 9b18e9b68314: Download complete 14:45:35 9b18e9b68314: Pull complete 14:45:35 891c053d2c06: Verifying Checksum 14:45:35 891c053d2c06: Download complete 14:45:36 35d82f9e3411: Pull complete 14:45:36 db1c61fa0a46: Verifying Checksum 14:45:36 db1c61fa0a46: Download complete 14:45:37 fc693d55d65f: Download complete 14:45:38 e16973657156: Pull complete 14:45:48 fc693d55d65f: Pull complete 14:45:48 7e9fc2657dce: Pull complete 14:45:48 dda99020689f: Pull complete 14:45:55 db1c61fa0a46: Pull complete 14:45:56 891c053d2c06: Pull complete 14:45:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 14:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:45:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] fileExists [Pipeline] sh 14:45:56 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:45:56 WORKDIR /edgex 14:45:56 COPY go.mod . 14:45:56 RUN go mod download 14:45:56 + docker build -t ci-base-image-arm64 -f - . 14:45:57 Sending build context to Docker daemon 3.099MB 14:45:57 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:45:57 ---> f96f9c87975a 14:45:57 Step 2/4 : WORKDIR /edgex 14:45:59 ---> Running in e394b395065e 14:45:59 Removing intermediate container e394b395065e 14:45:59 ---> 0db00348aedf 14:45:59 Step 3/4 : COPY go.mod . 14:45:59 ---> 3fbc3e508b96 14:45:59 Step 4/4 : RUN go mod download 14:45:59 ---> Running in 535a8063e251 14:46:31 Removing intermediate container 535a8063e251 14:46:31 ---> 322290e61ec7 14:46:31 Successfully built 322290e61ec7 14:46:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:32 + docker inspect -f . ci-base-image-arm64 14:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:46:32 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 14:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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 ******** ci-base-image-arm64 cat 14:46:33 $ docker top 786d2e8a44840047c2223863f002770d2873d0e4737c121a1c38897275a66b28 -eo pid,comm [Pipeline] { [Pipeline] sh 14:46:34 + go version 14:46:34 go version go1.18.7 linux/arm64 [Pipeline] } 14:46:34 $ docker stop --time=1 786d2e8a44840047c2223863f002770d2873d0e4737c121a1c38897275a66b28 14:46:36 $ docker rm -f --volumes 786d2e8a44840047c2223863f002770d2873d0e4737c121a1c38897275a66b28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:36 + docker inspect -f . ci-base-image-arm64 14:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:46:36 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 14:46:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@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 ******** ci-base-image-arm64 cat 14:46:38 $ docker top 9ba412c35b67c0c40f9b7fb54590b469dc0f543c64067e0332265a1b3d098879 -eo pid,comm [Pipeline] { [Pipeline] echo 14:46:38 ========================================================= 14:46:38 [edgeXBuildGoParallel] Running Tests and Build... 14:46:38 ========================================================= [Pipeline] sh 14:46:38 + git config --global --add safe.directory /w/workspace/edgex-go/9 [Pipeline] fileExists [Pipeline] sh 14:46:39 + make test 14:46:39 go test -race -coverprofile=coverage.out ./... 14:47:11 ? github.com/edgexfoundry/edgex-go [no test files] 14:48:48 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 14:48:48 ? github.com/edgexfoundry/edgex-go/cmd/core-common-config-bootstrapper [no test files] 14:48:48 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 14:48:48 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 14:48:48 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 14:48:49 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 14:48:50 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 14:48:50 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 14:48:50 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 14:48:50 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 14:48:51 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 14:48:52 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 14:48:52 ? github.com/edgexfoundry/edgex-go/internal [no test files] 14:48:52 ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] 14:49:05 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.277s coverage: 28.7% of statements 14:49:05 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 14:49:05 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 14:49:09 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.524s coverage: 98.5% of statements 14:49:17 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging 4.205s coverage: 73.7% of statements 14:49:17 ? github.com/edgexfoundry/edgex-go/internal/core/command/controller/messaging/mocks [no test files] 14:49:17 ? github.com/edgexfoundry/edgex-go/internal/core/common_config [no test files] 14:49:17 ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] 14:49:17 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.573s coverage: 54.0% of statements 14:49:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 14:49:17 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 23.990s coverage: 88.5% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/controller/messaging [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/application 0.551s coverage: 3.6% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.783s coverage: 95.6% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/uom [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/io 0.312s coverage: 72.2% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.459s coverage: 65.9% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.558s coverage: 0.9% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/pkg/interfaces [no test files] 14:49:39 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.250s coverage: 29.6% of statements 14:49:39 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper [no test files] 14:49:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.305s coverage: 47.1% of statements 14:49:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.296s coverage: 82.9% of statements 14:49:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.259s coverage: 94.1% of statements 14:49:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.405s coverage: 96.3% of statements 14:49:42 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.230s coverage: 87.5% of statements 14:49:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.221s coverage: 94.4% of statements 14:49:55 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.278s coverage: 44.8% of statements 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 24.209s coverage: 79.9% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl/share [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.268s coverage: 92.9% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/config [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/container [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/handlers [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.070s coverage: 64.4% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/interfaces [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/config [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/container [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/mosquitto/handlers 6.239s coverage: 86.9% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/config [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/container [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/redis/handlers [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.220s coverage: 87.2% of statements 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/common 0.174s coverage: 20.0% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.189s coverage: 100.0% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.267s coverage: 77.4% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.268s coverage: 80.0% of statements 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.217s coverage: 87.2% of statements 14:50:10 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.794s coverage: 91.2% of statements 14:50:10 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.129s coverage: 63.1% of statements 14:50:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 14:50:14 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.346s coverage: 100.0% of statements 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.242s coverage: 89.4% of statements 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.077s coverage: 73.7% of statements 14:50:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.077s coverage: 100.0% of statements 14:50:19 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.317s coverage: 65.3% of statements 14:50:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 14:50:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 14:50:19 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/models [no test files] 14:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.879s coverage: 41.0% of statements 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 14:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.356s coverage: 89.5% of statements 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokencreatable [no test files] 14:50:21 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.418s coverage: 84.8% of statements 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider [no test files] 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/config [no test files] 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/security/spiffetokenprovider/container [no test files] 14:50:21 ? github.com/edgexfoundry/edgex-go/internal/support/notifications [no test files] 14:50:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.449s coverage: 17.7% of statements 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel/mocks [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 14:50:30 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.621s coverage: 92.3% of statements 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/infrastructure/interfaces/mocks [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/application [no test files] 14:50:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.226s coverage: 63.2% of statements 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 14:50:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.424s coverage: 97.7% of statements 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces [no test files] 14:50:30 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/infrastructure/interfaces/mocks [no test files] 14:50:30 if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi 14:50:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:50:30 go vet ./... 14:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:52:06 ./snap/local/helper-go/common.go 14:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:52:07 make: *** [Makefile:156: test] Error 1 [Pipeline] } 14:52:07 $ docker stop --time=1 9ba412c35b67c0c40f9b7fb54590b469dc0f543c64067e0332265a1b3d098879 14:52:09 $ docker rm -f --volumes 9ba412c35b67c0c40f9b7fb54590b469dc0f543c64067e0332265a1b3d098879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:52:10 14:52:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:52:11 arm64: Pulling from edgex-lftools-log-publisher 14:52:11 8998bd30e6a1: Pulling fs layer 14:52:11 04944245beec: Pulling fs layer 14:52:11 699f458cf7ca: Pulling fs layer 14:52:11 765212b225bb: Pulling fs layer 14:52:11 f23df028b6ca: Pulling fs layer 14:52:11 d65c8cfc05b1: Pulling fs layer 14:52:11 2437ff75d9bd: Pulling fs layer 14:52:11 f23df028b6ca: Waiting 14:52:11 d65c8cfc05b1: Waiting 14:52:11 765212b225bb: Waiting 14:52:11 2437ff75d9bd: Waiting 14:52:11 04944245beec: Verifying Checksum 14:52:11 04944245beec: Download complete 14:52:11 765212b225bb: Download complete 14:52:11 f23df028b6ca: Verifying Checksum 14:52:11 f23df028b6ca: Download complete 14:52:11 d65c8cfc05b1: Verifying Checksum 14:52:11 d65c8cfc05b1: Download complete 14:52:11 699f458cf7ca: Verifying Checksum 14:52:11 699f458cf7ca: Download complete 14:52:12 8998bd30e6a1: Verifying Checksum 14:52:12 8998bd30e6a1: Download complete 14:52:14 2437ff75d9bd: Verifying Checksum 14:52:14 2437ff75d9bd: Download complete 14:52:16 8998bd30e6a1: Pull complete 14:52:16 04944245beec: Pull complete 14:52:17 699f458cf7ca: Pull complete 14:52:18 765212b225bb: Pull complete 14:52:18 f23df028b6ca: Pull complete 14:52:18 d65c8cfc05b1: Pull complete 14:52:31 2437ff75d9bd: Pull complete 14:52:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:52:31 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 14:52:31 $ 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/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:52:33 $ docker top 1ec773555bba99c8dede7e26986cd47edf548c21debf080714667c6040caff67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:34 ---> job-cost.sh 14:52:34 lf-activate-venv: SKIPPING 14:52:34 INFO: No Stack... 14:52:35 INFO: Retrieving Pricing Info for: v3-standard-4 14:52:36 INFO: Archiving Costs [Pipeline] sh 14:52:36 + cat /w/workspace/edgex-go/9/archives/cost.csv 14:52:36 + cut -d, -f6 [Pipeline] lock 14:52:36 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-4347-9-stack-cost] 14:52:36 Resource [jenkins-edgexfoundry-edgex-go-PR-4347-9-stack-cost] did not exist. Created. 14:52:36 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-4347-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:52:36 + echo total: 0.10999999940395355 [Pipeline] stash 14:52:37 Stashed 1 file(s) [Pipeline] } 14:52:37 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-4347-9-stack-cost] [Pipeline] // lock [Pipeline] } 14:52:37 $ docker stop --time=1 1ec773555bba99c8dede7e26986cd47edf548c21debf080714667c6040caff67 14:52:38 $ docker rm -f --volumes 1ec773555bba99c8dede7e26986cd47edf548c21debf080714667c6040caff67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:52:39 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:52:39 + [ -d /w/workspace/edgex-go/9/archives ] [Pipeline] libraryResource [Pipeline] sh 14:52:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:52:40 ---> package-listing.sh 14:52:40 ++ tr '[:upper:]' '[:lower:]' 14:52:40 ++ facter osfamily 14:52:41 + OS_FAMILY=debian 14:52:41 + workspace=/w/workspace/edgex-go/9 14:52:41 + START_PACKAGES=/tmp/packages_start.txt 14:52:41 + END_PACKAGES=/tmp/packages_end.txt 14:52:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:52:41 + PACKAGES=/tmp/packages_start.txt 14:52:41 + '[' /w/workspace/edgex-go/9 ']' 14:52:41 + PACKAGES=/tmp/packages_end.txt 14:52:41 + case "${OS_FAMILY}" in 14:52:41 + dpkg -l 14:52:41 + grep '^ii' 14:52:41 + '[' -f /tmp/packages_start.txt ']' 14:52:41 + '[' -f /tmp/packages_end.txt ']' 14:52:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:52:41 + '[' /w/workspace/edgex-go/9 ']' 14:52:41 + mkdir -p /w/workspace/edgex-go/9/archives/ 14:52:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/9/archives/ [Pipeline] echo 14:52:41 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/edgex-go/9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:52:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:41 14:52:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:41 latest: Pulling from edgex-lftools-log-publisher 14:52:41 5eb5b503b376: Pulling fs layer 14:52:41 5c69ac0246d0: Pulling fs layer 14:52:41 ec43610c2a17: Pulling fs layer 14:52:41 3a2ae6a8a46f: Pulling fs layer 14:52:41 33b1e0a273af: Pulling fs layer 14:52:41 5d3b04190fa2: Pulling fs layer 14:52:41 2f39f015ded8: Pulling fs layer 14:52:41 3a2ae6a8a46f: Waiting 14:52:41 33b1e0a273af: Waiting 14:52:41 2f39f015ded8: Waiting 14:52:41 5c69ac0246d0: Download complete 14:52:41 3a2ae6a8a46f: Download complete 14:52:42 33b1e0a273af: Verifying Checksum 14:52:42 33b1e0a273af: Download complete 14:52:42 5d3b04190fa2: Verifying Checksum 14:52:42 5d3b04190fa2: Download complete 14:52:42 ec43610c2a17: Verifying Checksum 14:52:42 5eb5b503b376: Verifying Checksum 14:52:42 5eb5b503b376: Download complete 14:52:43 2f39f015ded8: Download complete 14:52:43 5eb5b503b376: Pull complete 14:52:43 5c69ac0246d0: Pull complete 14:52:43 ec43610c2a17: Pull complete 14:52:43 3a2ae6a8a46f: Pull complete 14:52:44 33b1e0a273af: Pull complete 14:52:44 5d3b04190fa2: Pull complete 14:52:48 2f39f015ded8: Pull complete 14:52:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:52:48 prd-ubuntu20.04-docker-8c-8g-6118 does not seem to be running inside a container 14:52:48 $ 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/edgex-go/9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/9 -v /w/workspace/edgex-go/9:/w/workspace/edgex-go/9:rw,z -v /w/workspace/edgex-go/9@tmp:/w/workspace/edgex-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:52:52 $ docker top b309afa09a326746aeb4f03ce64c85dc3a59ebf219827d35f48b35039ede0837 -eo pid,comm [Pipeline] { [Pipeline] sh 14:52:52 + touch /tmp/pre-build-complete [Pipeline] sh 14:52:53 + mkdir -p /var/log/sysstat [Pipeline] sh 14:52:53 + ls /var/log/sa-host 14:52:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:52:53 provisioning config files... 14:52:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/9@tmp/config3668007165805128890tmp [Pipeline] { [Pipeline] echo 14:52:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:52:53 ---> create-netrc.sh [Pipeline] } 14:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:52:54 ---> python-tools-install.sh [Pipeline] echo 14:52:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:52:54 ---> sudo-logs.sh 14:52:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:52:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:52:54 ---> job-cost.sh 14:52:54 lf-activate-venv: SKIPPING 14:52:54 DEBUG: total: 0.10999999940395355 14:52:54 INFO: Retrieving Stack Cost... 14:52:54 INFO: Retrieving Pricing Info for: v3-standard-8 14:52:55 INFO: Archiving Costs [Pipeline] echo 14:52:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:52:55 ---> logs-deploy.sh 14:52:55 lf-activate-venv: SKIPPING 14:52:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-4347/9 14:52:55 INFO: archiving workspace using pattern(s): 14:52:56 Archives upload complete. 14:52:56 INFO: archiving logs to Nexus