Push event to branch compression-fix Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d 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-ssh9699647016559486529.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7517297925999700250.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/compression-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/compression-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17310443129447593668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/compression-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9595651031516153603.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15323109098279214774.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/compression-fix/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/compression-fix/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18059192533724930809.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, goVersion:1.18, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7421 in /w/workspace/ice-configurable_compression-fix [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/ice-configurable_compression-fix # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.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/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d (compression-fix) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d # timeout=10 Commit message: "fix: [levski] Make Compression functions thread safe" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:12:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:12:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:12:31 ========================================================= 18:12:31 EdgeX Global Pipelines Version Info 18:12:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:12:32 ------------------- 18:12:32 stable info: 18:12:32 ------------------- 18:12:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:12:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:12:32 Message: update stable to v1.0.245 18:12:32 ------------------- 18:12:32 experimental info: 18:12:32 ------------------- 18:12:32 Commited By: **** collab-it+edgex@linuxfoundation.org 18:12:32 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:12:32 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:12:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:12:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = compression-fix [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = compression-fix [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = compression-fix [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5ac4f9 [Pipeline] echo 18:12:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:34 provisioning config files... 18:12:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/ice-configurable_compression-fix@tmp/config13874635938661762030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:34 ---> docker-login.sh 18:12:34 nexus3.edgexfoundry.org:10001 18:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 nexus3.edgexfoundry.org:10002 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 nexus3.edgexfoundry.org:10003 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 nexus3.edgexfoundry.org:10004 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 docker.io 18:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:35 Configure a credential helper to remove this warning. See 18:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:35 18:12:35 Login Succeeded 18:12:35 ---> docker-login.sh ends [Pipeline] } 18:12:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:12:36 + git rev-list -1 --merges b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d~1..b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [Pipeline] echo 18:12:36 -----------> git rev-list -1 --merges b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d~1..b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [false] [Pipeline] sh 18:12:36 + git log --format=format:%s -1 b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [Pipeline] echo 18:12:36 ========================================================= 18:12:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:12:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:12:37 + git log --format=format:%s -1 b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [Pipeline] echo 18:12:37 [semverPrep] GIT_COMMIT: b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d, Commit Message: fix: [levski] Make Compression functions thread safe [Pipeline] echo 18:12:37 [semverPrep] This is not a build commit. [Pipeline] sh 18:12:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:12:37 + grep -v github /etc/ssh/ssh_known_hosts 18:12:37 + [ -e /tmp/ssh_known_hosts ] 18:12:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:12:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:12:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:12:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:38 18:12:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:12:38 b85a868b505f: Pulling fs layer 18:12:38 e2be974225ed: Pulling fs layer 18:12:38 339a4e72a1f5: Pulling fs layer 18:12:38 988bab9f4d93: Pulling fs layer 18:12:38 1469e6f7b9e6: Pulling fs layer 18:12:38 eaf3925da568: Pulling fs layer 18:12:38 bab4dde63d76: Pulling fs layer 18:12:38 bde34c3a00c8: Pulling fs layer 18:12:38 b352a97aabf1: Pulling fs layer 18:12:38 4872d77fe225: Pulling fs layer 18:12:38 5851b861e8e6: Pulling fs layer 18:12:38 bab4dde63d76: Waiting 18:12:38 4872d77fe225: Waiting 18:12:38 bde34c3a00c8: Waiting 18:12:38 988bab9f4d93: Waiting 18:12:38 5851b861e8e6: Waiting 18:12:38 1469e6f7b9e6: Waiting 18:12:38 eaf3925da568: Waiting 18:12:38 b352a97aabf1: Waiting 18:12:38 e2be974225ed: Download complete 18:12:38 988bab9f4d93: Verifying Checksum 18:12:38 988bab9f4d93: Download complete 18:12:38 339a4e72a1f5: Verifying Checksum 18:12:38 339a4e72a1f5: Download complete 18:12:38 1469e6f7b9e6: Verifying Checksum 18:12:38 1469e6f7b9e6: Download complete 18:12:38 eaf3925da568: Verifying Checksum 18:12:38 eaf3925da568: Download complete 18:12:38 bde34c3a00c8: Verifying Checksum 18:12:38 bde34c3a00c8: Download complete 18:12:38 b352a97aabf1: Download complete 18:12:38 4872d77fe225: Verifying Checksum 18:12:38 4872d77fe225: Download complete 18:12:38 5851b861e8e6: Verifying Checksum 18:12:38 5851b861e8e6: Download complete 18:12:38 b85a868b505f: Verifying Checksum 18:12:38 b85a868b505f: Download complete 18:12:39 bab4dde63d76: Verifying Checksum 18:12:39 bab4dde63d76: Download complete 18:12:40 b85a868b505f: Pull complete 18:12:40 e2be974225ed: Pull complete 18:12:40 339a4e72a1f5: Pull complete 18:12:40 988bab9f4d93: Pull complete 18:12:41 1469e6f7b9e6: Pull complete 18:12:41 eaf3925da568: Pull complete 18:12:42 bab4dde63d76: Pull complete 18:12:42 bde34c3a00c8: Pull complete 18:12:42 b352a97aabf1: Pull complete 18:12:42 4872d77fe225: Pull complete 18:12:43 5851b861e8e6: Pull complete 18:12:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:43 prd-ubuntu20.04-docker-8c-8g-7421 does not seem to be running inside a container 18:12:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ice-configurable_compression-fix -v /w/workspace/ice-configurable_compression-fix:/w/workspace/ice-configurable_compression-fix:rw,z -v /w/workspace/ice-configurable_compression-fix@tmp:/w/workspace/ice-configurable_compression-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:12:49 $ docker top 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 -eo pid,comm 18:12:49 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). 18:12:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:49 [ssh-agent] Looking for ssh-agent implementation... 18:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:49 $ docker exec 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 ssh-agent 18:12:50 SSH_AUTH_SOCK=/tmp/ssh-mnQRsEaQkOSQ/agent.32 18:12:50 SSH_AGENT_PID=38 18:12:50 Running ssh-add (command line suppressed) 18:12:50 Identity added: /w/workspace/ice-configurable_compression-fix@tmp/private_key_7781042338541718572.key (/w/workspace/ice-configurable_compression-fix@tmp/private_key_7781042338541718572.key) 18:12:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:50 + git tag --points-at HEAD [Pipeline] } 18:12:50 $ docker exec --env ******** --env ******** 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 ssh-agent -k 18:12:50 unset SSH_AUTH_SOCK; 18:12:50 unset SSH_AGENT_PID; 18:12:50 echo Agent pid 38 killed; 18:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:12:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:50 [ssh-agent] Looking for ssh-agent implementation... 18:12:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:50 $ docker exec 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 ssh-agent 18:12:51 SSH_AUTH_SOCK=/tmp/ssh-bqkPpuf1Yx3p/agent.71 18:12:51 SSH_AGENT_PID=77 18:12:51 Running ssh-add (command line suppressed) 18:12:51 Identity added: /w/workspace/ice-configurable_compression-fix@tmp/private_key_4362762845071455908.key (/w/workspace/ice-configurable_compression-fix@tmp/private_key_4362762845071455908.key) 18:12:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:51 + git semver init 18:12:51 2023-04-11 18:12:51,673 [run_init] DEBUG init version:0.0.0 force:False 18:12:51 2023-04-11 18:12:51,674 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ice-configurable_compression-fix/.semver 18:12:51 2023-04-11 18:12:51,674 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/ice-configurable_compression-fix/.semver 18:12:51 2023-04-11 18:12:51,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/ice-configurable_compression-fix/.semver'], cwd=/w/workspace/ice-configurable_compression-fix, universal_newlines=False, shell=None, istream=None) 18:12:52 2023-04-11 18:12:52,480 [append_file] DEBUG append to file:/w/workspace/ice-configurable_compression-fix/.git/info/exclude 18:12:52 2023-04-11 18:12:52,481 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ice-configurable_compression-fix/.semver/compression-fix with force:False 18:12:52 2023-04-11 18:12:52,481 [write_file] DEBUG write to file:/w/workspace/ice-configurable_compression-fix/.semver/compression-fix 18:12:52 2023-04-11 18:12:52,486 [execute] INFO git cat-file --batch-check 18:12:52 2023-04-11 18:12:52,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ice-configurable_compression-fix/.semver, universal_newlines=False, shell=None, istream=) 18:12:52 2023-04-11 18:12:52,492 [execute] INFO git cat-file --batch 18:12:52 2023-04-11 18:12:52,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ice-configurable_compression-fix/.semver, universal_newlines=False, shell=None, istream=) 18:12:52 2023-04-11 18:12:52,495 [read_version] DEBUG read version from /w/workspace/ice-configurable_compression-fix/.semver/compression-fix 18:12:52 0.0.0 [Pipeline] } 18:12:52 $ docker exec --env ******** --env ******** 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 ssh-agent -k 18:12:52 unset SSH_AUTH_SOCK; 18:12:52 unset SSH_AGENT_PID; 18:12:52 echo Agent pid 77 killed; 18:12:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:53 + git semver [Pipeline] } 18:12:53 $ docker stop --time=1 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 18:12:55 $ docker rm -f --volumes 1d63bf9d1568b487bb10463afb3e8dd413cc2c9a7a7a9c6ac022e7c798052cf6 [Pipeline] // withDockerContainer [Pipeline] sh 18:12:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:12:56 Stashed 1 file(s) [Pipeline] echo 18:12:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:56 provisioning config files... 18:12:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/ice-configurable_compression-fix@tmp/config11238945246992582765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:57 ---> docker-login.sh 18:12:57 nexus3.edgexfoundry.org:10001 18:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:57 Configure a credential helper to remove this warning. See 18:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:57 18:12:57 Login Succeeded 18:12:57 nexus3.edgexfoundry.org:10002 18:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:57 Configure a credential helper to remove this warning. See 18:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:57 18:12:57 Login Succeeded 18:12:57 nexus3.edgexfoundry.org:10003 18:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:57 Configure a credential helper to remove this warning. See 18:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:57 18:12:57 Login Succeeded 18:12:57 nexus3.edgexfoundry.org:10004 18:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:57 Configure a credential helper to remove this warning. See 18:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:57 18:12:57 Login Succeeded 18:12:57 docker.io 18:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:12:57 Configure a credential helper to remove this warning. See 18:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:12:57 18:12:57 Login Succeeded 18:12:57 ---> docker-login.sh ends [Pipeline] } 18:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:12:58 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:58 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:12:58 ========================================================= 18:12:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:12:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:12:58 Sending build context to Docker daemon 3.316MB 18:12:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:12:58 Step 2/13 : FROM ${BASE} AS builder 18:12:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:12:58 213ec9aee27d: Pulling fs layer 18:12:58 4583459ba037: Pulling fs layer 18:12:58 93c1e223e6f2: Pulling fs layer 18:12:58 53926ce57604: Pulling fs layer 18:12:58 21b2b0c7a3f4: Pulling fs layer 18:12:58 22ff95d597cd: Pulling fs layer 18:12:58 12d6caf4c0d1: Pulling fs layer 18:12:58 96b7cbca73a9: Pulling fs layer 18:12:58 a7acece74701: Pulling fs layer 18:12:58 22ff95d597cd: Waiting 18:12:58 12d6caf4c0d1: Waiting 18:12:58 96b7cbca73a9: Waiting 18:12:58 a7acece74701: Waiting 18:12:58 21b2b0c7a3f4: Waiting 18:12:59 93c1e223e6f2: Verifying Checksum 18:12:59 93c1e223e6f2: Download complete 18:12:59 4583459ba037: Verifying Checksum 18:12:59 4583459ba037: Download complete 18:12:59 21b2b0c7a3f4: Verifying Checksum 18:12:59 21b2b0c7a3f4: Download complete 18:12:59 22ff95d597cd: Verifying Checksum 18:12:59 22ff95d597cd: Download complete 18:12:59 213ec9aee27d: Verifying Checksum 18:12:59 213ec9aee27d: Download complete 18:12:59 12d6caf4c0d1: Download complete 18:12:59 213ec9aee27d: Pull complete 18:12:59 a7acece74701: Verifying Checksum 18:12:59 a7acece74701: Download complete 18:12:59 96b7cbca73a9: Verifying Checksum 18:12:59 96b7cbca73a9: Download complete 18:12:59 53926ce57604: Verifying Checksum 18:12:59 53926ce57604: Download complete 18:13:00 4583459ba037: Pull complete 18:13:01 93c1e223e6f2: Pull complete 18:13:06 53926ce57604: Pull complete 18:13:06 21b2b0c7a3f4: Pull complete 18:13:06 22ff95d597cd: Pull complete 18:13:07 12d6caf4c0d1: Pull complete 18:13:09 96b7cbca73a9: Pull complete 18:13:10 a7acece74701: Pull complete 18:13:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:13:10 ---> db6d94c90886 18:13:10 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:13:11 Still waiting to schedule task 18:13:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:13:25 ---> Running in 6af96a5ede56 18:13:25 Removing intermediate container 6af96a5ede56 18:13:25 ---> 9b11cf95c6be 18:13:25 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:13:25 ---> Running in 530b525f7f1d 18:13:25 Removing intermediate container 530b525f7f1d 18:13:25 ---> 1afbd0900736 18:13:25 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:13:25 ---> Running in 011532851d87 18:13:26 Removing intermediate container 011532851d87 18:13:26 ---> c7f1bba665ae 18:13:26 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:13:27 ---> Running in fa83b09a9d88 18:13:27 Removing intermediate container fa83b09a9d88 18:13:27 ---> 49781a76b55b 18:13:27 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:27 ---> Running in a3a4460a2e1e 18:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:13:28 OK: 211 MiB in 51 packages 18:13:29 Removing intermediate container a3a4460a2e1e 18:13:29 ---> 69aab70429b0 18:13:29 Step 8/13 : WORKDIR /app 18:13:29 ---> Running in 59fdf4898e6d 18:13:30 Removing intermediate container 59fdf4898e6d 18:13:30 ---> 7ed05b9923ed 18:13:30 Step 9/13 : COPY go.mod vendor* ./ 18:13:30 ---> 4975b0b5b0ef 18:13:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:30 ---> Running in 51cf39984413 18:14:09 Removing intermediate container 51cf39984413 18:14:09 ---> e70f0a93f339 18:14:09 Step 11/13 : COPY . . 18:14:09 ---> 7caa62b6b199 18:14:09 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:14:09 ---> Running in 6db95065a2e9 18:14:09 Removing intermediate container 6db95065a2e9 18:14:09 ---> 04a828d1f25d 18:14:09 Step 13/13 : RUN $MAKE 18:14:09 ---> Running in 7a14c1f095cd 18:14:09 noop 18:14:09 Removing intermediate container 7a14c1f095cd 18:14:09 ---> 6283f563d64a 18:14:09 Successfully built 6283f563d64a 18:14:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:09 + docker inspect -f . ci-base-image-x86_64 18:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:10 prd-ubuntu20.04-docker-8c-8g-7421 does not seem to be running inside a container 18:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ice-configurable_compression-fix -v /w/workspace/ice-configurable_compression-fix:/w/workspace/ice-configurable_compression-fix:rw,z -v /w/workspace/ice-configurable_compression-fix@tmp:/w/workspace/ice-configurable_compression-fix@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 ******** ci-base-image-x86_64 cat 18:14:10 $ docker top 25b3b0c8cd07eaa8295904ecf9a323da511859da9c947b1b9db8ccb97fc10ce5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:11 + go version 18:14:11 go version go1.18.7 linux/amd64 [Pipeline] } 18:14:11 $ docker stop --time=1 25b3b0c8cd07eaa8295904ecf9a323da511859da9c947b1b9db8ccb97fc10ce5 18:14:12 $ docker rm -f --volumes 25b3b0c8cd07eaa8295904ecf9a323da511859da9c947b1b9db8ccb97fc10ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:13 + docker inspect -f . ci-base-image-x86_64 18:14:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:13 prd-ubuntu20.04-docker-8c-8g-7421 does not seem to be running inside a container 18:14:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/ice-configurable_compression-fix -v /w/workspace/ice-configurable_compression-fix:/w/workspace/ice-configurable_compression-fix:rw,z -v /w/workspace/ice-configurable_compression-fix@tmp:/w/workspace/ice-configurable_compression-fix@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 ******** ci-base-image-x86_64 cat 18:14:13 $ docker top 95a82a38c031a64a019401da7369d8e436baf2b1c7ba25518801a727e79a181a -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:14 + git config --global --add safe.directory /w/workspace/ice-configurable_compression-fix [Pipeline] fileExists [Pipeline] sh 18:14:14 + make test 18:14:14 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:14:24 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:14:24 CGO_ENABLED=1 go vet ./... 18:14:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:14:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:14:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:14:27 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:14:27 $ docker stop --time=1 95a82a38c031a64a019401da7369d8e436baf2b1c7ba25518801a727e79a181a 18:14:36 $ docker rm -f --volumes 95a82a38c031a64a019401da7369d8e436baf2b1c7ba25518801a727e79a181a [Pipeline] // withDockerContainer [Pipeline] sh 18:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:14:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:14:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:14:37 + ls -al . 18:14:37 total 184 18:14:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 18:14 . 18:14:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 18:12 .. 18:14:37 -rw-rw-r-- 1 jenkins jenkins 119 Apr 11 18:12 .dockerignore 18:14:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 18:12 .git 18:14:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 18:12 .github 18:14:37 -rw-rw-r-- 1 jenkins jenkins 171 Apr 11 18:12 .gitignore 18:14:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 18:12 .semver 18:14:37 -rw-rw-r-- 1 jenkins jenkins 9207 Apr 11 18:12 Attribution.txt 18:14:37 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 11 18:12 CHANGELOG.md 18:14:37 -rw-rw-r-- 1 jenkins jenkins 2058 Apr 11 18:12 Dockerfile 18:14:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 18:12 GOVERNANCE.md 18:14:37 -rw-rw-r-- 1 jenkins jenkins 711 Apr 11 18:12 Jenkinsfile 18:14:37 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 11 18:12 LICENSE 18:14:37 -rw-rw-r-- 1 jenkins jenkins 618 Apr 11 18:12 OWNERS.md 18:14:37 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 11 18:12 README.md 18:14:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 18:12 VERSION 18:14:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 18:12 bin 18:14:37 -rw-r--r-- 1 jenkins jenkins 10 Apr 11 18:14 coverage.out 18:14:37 -rw-rw-r-- 1 jenkins jenkins 3401 Apr 11 18:12 go.mod 18:14:37 -rw-rw-r-- 1 jenkins jenkins 44275 Apr 11 18:12 go.sum 18:14:37 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 11 18:12 main.go 18:14:37 -rw-rw-r-- 1 jenkins jenkins 2185 Apr 11 18:12 makefile 18:14:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 18:12 res 18:14:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 18:12 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:38 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d --label arch=amd64 --label version=0.0.0 . 18:14:38 Sending build context to Docker daemon 3.317MB 18:14:38 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:14:38 Step 2/27 : FROM ${BASE} AS builder 18:14:38 ---> 6283f563d64a 18:14:38 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:14:39 ---> Running in 2507411208f3 18:14:39 Removing intermediate container 2507411208f3 18:14:39 ---> 446633d3dfb4 18:14:39 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 18:14:39 ---> Running in 91eaae4fd822 18:14:39 Removing intermediate container 91eaae4fd822 18:14:39 ---> c26541f4c5e2 18:14:39 Step 5/27 : ARG ADD_BUILD_TAGS="" 18:14:39 ---> Running in 4d558de0c90d 18:14:39 Removing intermediate container 4d558de0c90d 18:14:39 ---> 74b488825e15 18:14:39 Step 6/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:14:39 ---> Running in 9457753266b8 18:14:39 Removing intermediate container 9457753266b8 18:14:39 ---> 6c69343fa1c4 18:14:39 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:39 ---> Running in c6656e4bc0c7 18:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:14:40 OK: 211 MiB in 51 packages 18:14:40 Removing intermediate container c6656e4bc0c7 18:14:40 ---> 766f446bbf1e 18:14:40 Step 8/27 : WORKDIR /app 18:14:40 ---> Running in b2f80ead0022 18:14:40 Removing intermediate container b2f80ead0022 18:14:40 ---> d80de30f955b 18:14:40 Step 9/27 : COPY go.mod vendor* ./ 18:14:40 ---> 667a70cc9688 18:14:40 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:40 ---> Running in 5a0fb5471bd4 18:14:41 Removing intermediate container 5a0fb5471bd4 18:14:41 ---> ee8973c9b8ea 18:14:41 Step 11/27 : COPY . . 18:14:42 ---> a5edd6d84405 18:14:42 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:14:42 ---> Running in 1fe4b290954d 18:14:42 Removing intermediate container 1fe4b290954d 18:14:42 ---> e9bcdc341562 18:14:42 Step 13/27 : RUN $MAKE 18:14:42 ---> Running in d2a892179398 18:14:42 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.1-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 18:14:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7422 in /w/workspace/ice-configurable_compression-fix [Pipeline] { [Pipeline] ws 18:14:48 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:14:48 Selected Git installation does not exist. Using Default 18:14:48 The recommended git tool is: NONE 18:14:53 using credential edgex-jenkins-ssh 18:14:53 Cloning the remote Git repository 18:14:53 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:14:53 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:14:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:14:53 > git --version # timeout=10 18:14:53 > git --version # 'git version 2.25.1' 18:14:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:55 Avoid second fetch 18:14:55 Checking out Revision b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d (compression-fix) 18:14:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:14:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:55 > git config core.sparsecheckout # timeout=10 18:14:55 Commit message: "fix: [levski] Make Compression functions thread safe" 18:14:56 > git --version # timeout=10 18:14:56 > git --version # 'git version 2.25.1' 18:14:56 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:55 > git checkout -f b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d # timeout=10 18:14:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:14:57 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:57 Dload Upload Total Spent Left Speed 18:14:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 18:14:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:14:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:14:58 + sudo tee /etc/docker/daemon.new 18:14:58 { 18:14:58 "registry-mirrors": [ 18:14:58 "https://nexus3.edgexfoundry.org:10001" 18:14:58 ], 18:14:58 "bip": "10.250.0.254/24", 18:14:58 "hosts": [ 18:14:58 "tcp://0.0.0.0:5555", 18:14:58 "unix:///var/run/docker.sock" 18:14:58 ], 18:14:58 "mtu": 1458, 18:14:58 "selinux-enabled": true, 18:14:58 "seccomp-profile": "/etc/docker/seccomp.json" 18:14:58 } [Pipeline] sh 18:14:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:58 + sudo service docker restart 18:15:09 Removing intermediate container d2a892179398 18:15:09 ---> 8aedc3737d21 18:15:09 Step 14/27 : FROM alpine:3.16 18:15:09 3.16: Pulling from library/alpine 18:15:09 91d30c5bc195: Pulling fs layer 18:15:09 91d30c5bc195: Verifying Checksum 18:15:09 91d30c5bc195: Download complete 18:15:09 91d30c5bc195: Pull complete 18:15:09 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 18:15:09 Status: Downloaded newer image for alpine:3.16 18:15:09 ---> 8471affe5de5 18:15:09 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:15:09 ---> Running in 545b7c487763 18:15:09 Removing intermediate container 545b7c487763 18:15:09 ---> a75467d3cd5b 18:15:09 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 18:15:09 ---> Running in be628e944d22 18:15:09 Removing intermediate container be628e944d22 18:15:09 ---> 8287ecc80eed 18:15:09 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 18:15:09 ---> Running in 46fe9ce279f3 18:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:15:10 (1/7) Installing ca-certificates (20220614-r0) 18:15:10 (2/7) Installing dumb-init (1.2.5-r1) 18:15:10 (3/7) Installing libgcc (11.2.1_git20220219-r2) 18:15:10 (4/7) Installing libsodium (1.0.18-r0) 18:15:10 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 18:15:10 (6/7) Installing libzmq (4.3.4-r0) 18:15:10 (7/7) Installing zeromq (4.3.4-r0) 18:15:10 Executing busybox-1.35.0-r17.trigger 18:15:10 Executing ca-certificates-20220614-r0.trigger 18:15:10 OK: 9 MiB in 21 packages 18:15:11 Removing intermediate container 46fe9ce279f3 18:15:11 ---> b38f6fc75905 18:15:11 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:15:11 ---> 5e356f8b258a 18:15:11 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 18:15:11 ---> 0d6895a1d363 18:15:11 Step 20/27 : COPY --from=builder /app/res/ /res/ 18:15:11 ---> ecdf0d70a810 18:15:11 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:15:12 ---> 23d548e6d4ec 18:15:12 Step 22/27 : EXPOSE 48095 18:15:12 ---> Running in aba44674fce3 18:15:12 Removing intermediate container aba44674fce3 18:15:12 ---> 9f739d8a685b 18:15:12 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 18:15:12 ---> Running in 268078990a77 18:15:12 Removing intermediate container 268078990a77 18:15:12 ---> d0604af8218d 18:15:12 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:15:12 ---> Running in 14efce758920 18:15:13 Removing intermediate container 14efce758920 18:15:13 ---> 16e71b6d1df7 18:15:13 Step 25/27 : LABEL arch=amd64 18:15:13 ---> Running in 21943d40b891 18:15:13 Removing intermediate container 21943d40b891 18:15:13 ---> b0c1a59455d9 18:15:13 Step 26/27 : LABEL git_sha=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d 18:15:13 ---> Running in ef2ca28e8358 18:15:13 Removing intermediate container ef2ca28e8358 18:15:13 ---> 38607b05494a 18:15:13 Step 27/27 : LABEL version=0.0.0 18:15:13 ---> Running in 53d051ba09fd 18:15:13 Removing intermediate container 53d051ba09fd 18:15:13 ---> b9d87dc0c2b6 18:15:13 [Warning] One or more build-args [ARCH] were not consumed 18:15:13 Successfully built b9d87dc0c2b6 18:15:13 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:14 18:15:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:14 latest: Pulling from edgex-lftools-log-publisher 18:15:14 5eb5b503b376: Pulling fs layer 18:15:14 5c69ac0246d0: Pulling fs layer 18:15:14 ec43610c2a17: Pulling fs layer 18:15:14 3a2ae6a8a46f: Pulling fs layer 18:15:14 33b1e0a273af: Pulling fs layer 18:15:14 5d3b04190fa2: Pulling fs layer 18:15:14 2f39f015ded8: Pulling fs layer 18:15:14 3a2ae6a8a46f: Waiting 18:15:14 33b1e0a273af: Waiting 18:15:14 5d3b04190fa2: Waiting 18:15:14 5c69ac0246d0: Download complete 18:15:14 3a2ae6a8a46f: Verifying Checksum 18:15:14 3a2ae6a8a46f: Download complete 18:15:14 33b1e0a273af: Verifying Checksum 18:15:14 33b1e0a273af: Download complete 18:15:14 ec43610c2a17: Verifying Checksum 18:15:14 ec43610c2a17: Download complete 18:15:14 5d3b04190fa2: Verifying Checksum 18:15:14 5d3b04190fa2: Download complete 18:15:14 5eb5b503b376: Verifying Checksum 18:15:14 5eb5b503b376: Download complete 18:15:15 2f39f015ded8: Download complete 18:15:16 5eb5b503b376: Pull complete 18:15:16 5c69ac0246d0: Pull complete 18:15:16 ec43610c2a17: Pull complete 18:15:16 3a2ae6a8a46f: Pull complete 18:15:17 33b1e0a273af: Pull complete 18:15:17 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:17 provisioning config files... 18:15:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config405237986212754816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:18 ---> docker-login.sh 18:15:18 nexus3.edgexfoundry.org:10001 18:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:18 Configure a credential helper to remove this warning. See 18:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:18 18:15:18 Login Succeeded 18:15:18 nexus3.edgexfoundry.org:10002 18:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:19 Configure a credential helper to remove this warning. See 18:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:19 18:15:19 Login Succeeded 18:15:19 nexus3.edgexfoundry.org:10003 18:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:19 Configure a credential helper to remove this warning. See 18:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:19 18:15:19 Login Succeeded 18:15:19 nexus3.edgexfoundry.org:10004 18:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:19 Configure a credential helper to remove this warning. See 18:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:19 18:15:19 Login Succeeded 18:15:19 docker.io 18:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:20 Configure a credential helper to remove this warning. See 18:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:20 18:15:20 Login Succeeded 18:15:20 ---> docker-login.sh ends [Pipeline] } 18:15:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:15:20 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:20 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:20 ========================================================= 18:15:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:15:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:15:21 Sending build context to Docker daemon 217.6kB 18:15:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:15:21 Step 2/13 : FROM ${BASE} AS builder 18:15:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:15:21 9b18e9b68314: Pulling fs layer 18:15:21 35d82f9e3411: Pulling fs layer 18:15:21 e16973657156: Pulling fs layer 18:15:21 fc693d55d65f: Pulling fs layer 18:15:21 7e9fc2657dce: Pulling fs layer 18:15:21 dda99020689f: Pulling fs layer 18:15:21 db1c61fa0a46: Pulling fs layer 18:15:21 891c053d2c06: Pulling fs layer 18:15:21 7e9fc2657dce: Waiting 18:15:21 dda99020689f: Waiting 18:15:21 db1c61fa0a46: Waiting 18:15:21 891c053d2c06: Waiting 18:15:21 fc693d55d65f: Waiting 18:15:21 e16973657156: Verifying Checksum 18:15:21 e16973657156: Download complete 18:15:21 35d82f9e3411: Verifying Checksum 18:15:21 35d82f9e3411: Download complete 18:15:21 7e9fc2657dce: Verifying Checksum 18:15:21 7e9fc2657dce: Download complete 18:15:21 dda99020689f: Verifying Checksum 18:15:21 dda99020689f: Download complete 18:15:21 9b18e9b68314: Verifying Checksum 18:15:21 9b18e9b68314: Download complete 18:15:22 2f39f015ded8: Pull complete 18:15:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 18:15:22 9b18e9b68314: Pull complete 18:15:22 891c053d2c06: Verifying Checksum 18:15:22 891c053d2c06: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:23 prd-ubuntu20.04-docker-8c-8g-7421 does not seem to be running inside a container 18:15:23 $ 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/ice-configurable_compression-fix -v /w/workspace/ice-configurable_compression-fix:/w/workspace/ice-configurable_compression-fix:rw,z -v /w/workspace/ice-configurable_compression-fix@tmp:/w/workspace/ice-configurable_compression-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:15:23 35d82f9e3411: Pull complete 18:15:23 e16973657156: Pull complete 18:15:24 db1c61fa0a46: Verifying Checksum 18:15:24 db1c61fa0a46: Download complete 18:15:24 fc693d55d65f: Verifying Checksum 18:15:24 fc693d55d65f: Download complete 18:15:29 $ docker top b23c46ac76a12830d86030c02184fe1ea356bcf3bb7408a166441a90ebb3d48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:30 ---> job-cost.sh 18:15:30 lf-activate-venv: SKIPPING 18:15:30 INFO: No Stack... 18:15:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:15:30 INFO: Archiving Costs [Pipeline] sh 18:15:31 + cat /w/workspace/ice-configurable_compression-fix/archives/cost.csv 18:15:31 + cut -d, -f6 [Pipeline] lock 18:15:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] 18:15:31 Resource [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] did not exist. Created. 18:15:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:15:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:15:31 Stashed 1 file(s) [Pipeline] } 18:15:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:15:31 $ docker stop --time=1 b23c46ac76a12830d86030c02184fe1ea356bcf3bb7408a166441a90ebb3d48c 18:15:33 $ docker rm -f --volumes b23c46ac76a12830d86030c02184fe1ea356bcf3bb7408a166441a90ebb3d48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:15:37 fc693d55d65f: Pull complete 18:15:37 7e9fc2657dce: Pull complete 18:15:37 dda99020689f: Pull complete 18:15:43 db1c61fa0a46: Pull complete 18:15:46 891c053d2c06: Pull complete 18:15:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:15:46 ---> f96f9c87975a 18:15:46 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:15:48 ---> Running in c94a0611b839 18:15:48 Removing intermediate container c94a0611b839 18:15:48 ---> a6ec0490c66b 18:15:48 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 18:15:48 ---> Running in 905596aea61c 18:15:48 Removing intermediate container 905596aea61c 18:15:48 ---> d7d09d542b7d 18:15:48 Step 5/13 : ARG ADD_BUILD_TAGS="" 18:15:48 ---> Running in 4b6fd35e5881 18:15:48 Removing intermediate container 4b6fd35e5881 18:15:48 ---> a13ebef32952 18:15:48 Step 6/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:15:48 ---> Running in 1389f091402a 18:15:49 Removing intermediate container 1389f091402a 18:15:49 ---> 0e45044dad79 18:15:49 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:49 ---> Running in f78c2ec1b52a 18:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:15:51 OK: 221 MiB in 51 packages 18:15:52 Removing intermediate container f78c2ec1b52a 18:15:52 ---> 8bab7e28b280 18:15:52 Step 8/13 : WORKDIR /app 18:15:52 ---> Running in 6c9844305ed7 18:15:52 Removing intermediate container 6c9844305ed7 18:15:52 ---> 5f9577eb44d2 18:15:52 Step 9/13 : COPY go.mod vendor* ./ 18:15:53 ---> 62dd7c5cd31f 18:15:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:53 ---> Running in 63426ef89ca3 18:16:49 Removing intermediate container 63426ef89ca3 18:16:49 ---> cf6371e819b2 18:16:49 Step 11/13 : COPY . . 18:16:49 ---> cf4601d9bbae 18:16:49 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:49 ---> Running in 5706c9172fc5 18:16:49 Removing intermediate container 5706c9172fc5 18:16:49 ---> ceda8a87e5a5 18:16:49 Step 13/13 : RUN $MAKE 18:16:50 ---> Running in 401a2a2ec734 18:16:51 noop 18:16:51 Removing intermediate container 401a2a2ec734 18:16:51 ---> c5bdfeec81ec 18:16:51 Successfully built c5bdfeec81ec 18:16:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:52 + docker inspect -f . ci-base-image-arm64 18:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:52 prd-ubuntu20.04-docker-arm64-4c-16g-7422 does not seem to be running inside a container 18:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:16:53 $ docker top 8669c71074434ebac4fbd4862dc3205b504ce687ae607401af85431e9c1c5e45 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:54 + go version 18:16:54 go version go1.18.7 linux/arm64 [Pipeline] } 18:16:54 $ docker stop --time=1 8669c71074434ebac4fbd4862dc3205b504ce687ae607401af85431e9c1c5e45 18:16:56 $ docker rm -f --volumes 8669c71074434ebac4fbd4862dc3205b504ce687ae607401af85431e9c1c5e45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:57 + docker inspect -f . ci-base-image-arm64 18:16:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-7422 does not seem to be running inside a container 18:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:16:58 $ docker top 06e3826fd42c92dd73956c58329a5f9926df916851d84f864f180d332494608d -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:59 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:17:00 + make test 18:17:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:18:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:18:22 CGO_ENABLED=1 go vet ./... 18:18:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:18:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:18:44 ./bin/test-attribution-txt.sh [Pipeline] echo 18:18:44 [edgeX.isLTS] Checking if [compression-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:18:44 $ docker stop --time=1 06e3826fd42c92dd73956c58329a5f9926df916851d84f864f180d332494608d 18:18:46 $ docker rm -f --volumes 06e3826fd42c92dd73956c58329a5f9926df916851d84f864f180d332494608d [Pipeline] // withDockerContainer [Pipeline] sh 18:18:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:18:47 Warning: overwriting stash ‘coverage-report’ 18:18:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:18:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:18:48 + ls -al . 18:18:48 total 180 18:18:48 drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 18:17 . 18:18:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 18:14 .. 18:18:48 -rw-rw-r-- 1 jenkins jenkins 119 Apr 11 18:14 .dockerignore 18:18:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 18:14 .git 18:18:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 18:14 .github 18:18:48 -rw-rw-r-- 1 jenkins jenkins 171 Apr 11 18:14 .gitignore 18:18:48 -rw-rw-r-- 1 jenkins jenkins 9207 Apr 11 18:14 Attribution.txt 18:18:48 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 11 18:14 CHANGELOG.md 18:18:48 -rw-rw-r-- 1 jenkins jenkins 2058 Apr 11 18:14 Dockerfile 18:18:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 18:14 GOVERNANCE.md 18:18:48 -rw-rw-r-- 1 jenkins jenkins 711 Apr 11 18:14 Jenkinsfile 18:18:48 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 11 18:14 LICENSE 18:18:48 -rw-rw-r-- 1 jenkins jenkins 618 Apr 11 18:14 OWNERS.md 18:18:48 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 11 18:14 README.md 18:18:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 18:12 VERSION 18:18:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 18:14 bin 18:18:48 -rw-r--r-- 1 jenkins jenkins 10 Apr 11 18:17 coverage.out 18:18:48 -rw-rw-r-- 1 jenkins jenkins 3401 Apr 11 18:14 go.mod 18:18:48 -rw-rw-r-- 1 jenkins jenkins 44275 Apr 11 18:14 go.sum 18:18:48 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 11 18:14 main.go 18:18:48 -rw-rw-r-- 1 jenkins jenkins 2185 Apr 11 18:14 makefile 18:18:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 18:14 res 18:18:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 18:14 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:49 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d --label arch=arm64 --label version=0.0.0 . 18:18:49 Sending build context to Docker daemon 218.6kB 18:18:49 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:18:49 Step 2/27 : FROM ${BASE} AS builder 18:18:49 ---> c5bdfeec81ec 18:18:49 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:18:49 ---> Running in 56de71320aa0 18:18:49 Removing intermediate container 56de71320aa0 18:18:49 ---> 3743668fe572 18:18:49 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 18:18:49 ---> Running in 110eacd11ee1 18:18:50 Removing intermediate container 110eacd11ee1 18:18:50 ---> 67d351101f44 18:18:50 Step 5/27 : ARG ADD_BUILD_TAGS="" 18:18:50 ---> Running in 105177b39727 18:18:50 Removing intermediate container 105177b39727 18:18:50 ---> cb0a808e85b9 18:18:50 Step 6/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:18:50 ---> Running in bec5ce0fcc48 18:18:50 Removing intermediate container bec5ce0fcc48 18:18:50 ---> ad8717a1bae1 18:18:50 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:50 ---> Running in 36e7ee02b52d 18:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:18:53 OK: 221 MiB in 51 packages 18:18:53 Removing intermediate container 36e7ee02b52d 18:18:53 ---> fbf17f74b0ef 18:18:53 Step 8/27 : WORKDIR /app 18:18:53 ---> Running in 4bb909c099a7 18:18:54 Removing intermediate container 4bb909c099a7 18:18:54 ---> e30cdff37132 18:18:54 Step 9/27 : COPY go.mod vendor* ./ 18:18:54 ---> 2d7fab6f3f77 18:18:54 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:54 ---> Running in 2b3d5e7ee0a9 18:18:56 Removing intermediate container 2b3d5e7ee0a9 18:18:56 ---> 2f18a84df525 18:18:56 Step 11/27 : COPY . . 18:18:57 ---> 9efb0e89f092 18:18:57 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:57 ---> Running in 664f0d18f8f7 18:18:57 Removing intermediate container 664f0d18f8f7 18:18:57 ---> 04c14ab35ead 18:18:57 Step 13/27 : RUN $MAKE 18:18:57 ---> Running in 17e3544e15df 18:18:58 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.1-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 18:21:50 Removing intermediate container 17e3544e15df 18:21:50 ---> 965b01894c58 18:21:50 Step 14/27 : FROM alpine:3.16 18:21:50 3.16: Pulling from library/alpine 18:21:50 547446be3368: Pulling fs layer 18:21:50 547446be3368: Verifying Checksum 18:21:50 547446be3368: Download complete 18:21:50 547446be3368: Pull complete 18:21:50 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 18:21:50 Status: Downloaded newer image for alpine:3.16 18:21:50 ---> 3b5033019969 18:21:50 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:21:50 ---> Running in d2557e967d47 18:21:50 Removing intermediate container d2557e967d47 18:21:50 ---> 4008bb6b16e8 18:21:50 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 18:21:50 ---> Running in 31c0661818c0 18:21:50 Removing intermediate container 31c0661818c0 18:21:50 ---> b2ba024a96d7 18:21:50 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 18:21:50 ---> Running in 687c7cc7702d 18:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:21:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:21:50 (1/7) Installing ca-certificates (20220614-r0) 18:21:50 (2/7) Installing dumb-init (1.2.5-r1) 18:21:50 (3/7) Installing libgcc (11.2.1_git20220219-r2) 18:21:50 (4/7) Installing libsodium (1.0.18-r0) 18:21:50 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 18:21:50 (6/7) Installing libzmq (4.3.4-r0) 18:21:50 (7/7) Installing zeromq (4.3.4-r0) 18:21:50 Executing busybox-1.35.0-r17.trigger 18:21:50 Executing ca-certificates-20220614-r0.trigger 18:21:50 OK: 9 MiB in 21 packages 18:21:50 Removing intermediate container 687c7cc7702d 18:21:50 ---> 32bb07dfa309 18:21:50 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:21:50 ---> 69a81ba57b6e 18:21:50 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 18:21:50 ---> fd4f881a10aa 18:21:50 Step 20/27 : COPY --from=builder /app/res/ /res/ 18:21:52 ---> 020d91befb70 18:21:52 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:21:53 ---> 1d6e87d54c4e 18:21:53 Step 22/27 : EXPOSE 48095 18:21:53 ---> Running in d651b1b1c09b 18:21:54 Removing intermediate container d651b1b1c09b 18:21:54 ---> 02e0176c0e50 18:21:54 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 18:21:54 ---> Running in 670e6b967308 18:21:54 Removing intermediate container 670e6b967308 18:21:54 ---> 55eeeb2339f6 18:21:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:21:54 ---> Running in 24e5153c8079 18:21:54 Removing intermediate container 24e5153c8079 18:21:54 ---> 62e25a7bbc28 18:21:54 Step 25/27 : LABEL arch=arm64 18:21:55 ---> Running in 648bd85fd4f2 18:21:55 Removing intermediate container 648bd85fd4f2 18:21:55 ---> eaac6e64ba36 18:21:55 Step 26/27 : LABEL git_sha=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d 18:21:55 ---> Running in 2c545f4d59ce 18:21:55 Removing intermediate container 2c545f4d59ce 18:21:55 ---> 2e46fdaec68a 18:21:55 Step 27/27 : LABEL version=0.0.0 18:21:55 ---> Running in bcca8190711d 18:21:56 Removing intermediate container bcca8190711d 18:21:56 ---> 1467fa89b99e 18:21:56 [Warning] One or more build-args [ARCH] were not consumed 18:21:56 Successfully built 1467fa89b99e 18:21:56 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:21:57 18:21:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:21:57 arm64: Pulling from edgex-lftools-log-publisher 18:21:57 8998bd30e6a1: Pulling fs layer 18:21:57 04944245beec: Pulling fs layer 18:21:57 699f458cf7ca: Pulling fs layer 18:21:57 765212b225bb: Pulling fs layer 18:21:57 f23df028b6ca: Pulling fs layer 18:21:57 d65c8cfc05b1: Pulling fs layer 18:21:57 2437ff75d9bd: Pulling fs layer 18:21:57 f23df028b6ca: Waiting 18:21:57 d65c8cfc05b1: Waiting 18:21:57 2437ff75d9bd: Waiting 18:21:57 765212b225bb: Waiting 18:21:57 04944245beec: Verifying Checksum 18:21:57 04944245beec: Download complete 18:21:57 765212b225bb: Verifying Checksum 18:21:57 765212b225bb: Download complete 18:21:57 f23df028b6ca: Verifying Checksum 18:21:57 f23df028b6ca: Download complete 18:21:57 d65c8cfc05b1: Verifying Checksum 18:21:57 d65c8cfc05b1: Download complete 18:21:57 699f458cf7ca: Verifying Checksum 18:21:57 699f458cf7ca: Download complete 18:21:58 8998bd30e6a1: Verifying Checksum 18:21:58 8998bd30e6a1: Download complete 18:22:00 2437ff75d9bd: Verifying Checksum 18:22:00 2437ff75d9bd: Download complete 18:22:02 8998bd30e6a1: Pull complete 18:22:02 04944245beec: Pull complete 18:22:03 699f458cf7ca: Pull complete 18:22:04 765212b225bb: Pull complete 18:22:05 f23df028b6ca: Pull complete 18:22:05 d65c8cfc05b1: Pull complete 18:22:20 2437ff75d9bd: Pull complete 18:22:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:21 prd-ubuntu20.04-docker-arm64-4c-16g-7422 does not seem to be running inside a container 18:22:21 $ 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/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:22:23 $ docker top a33865b7156b6efb44e103cb9ea50d9347656e09dd98f15aa0a0c59b9f416483 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:24 ---> job-cost.sh 18:22:24 lf-activate-venv: SKIPPING 18:22:24 INFO: No Stack... 18:22:24 INFO: Retrieving Pricing Info for: v3-standard-4 18:22:25 INFO: Archiving Costs [Pipeline] sh 18:22:26 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 18:22:26 + cut -d, -f6 [Pipeline] lock 18:22:26 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] 18:22:26 Resource [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] did not exist. Created. 18:22:26 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:22:27 /w/workspace/app-service-configurable/1@tmp/durable-74e5ddf9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:22:28 + echo total: 0.10999999940395355 [Pipeline] stash 18:22:28 Warning: overwriting stash ‘stack-cost’ 18:22:28 Stashed 1 file(s) [Pipeline] } 18:22:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-compression-fix-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:22:28 $ docker stop --time=1 a33865b7156b6efb44e103cb9ea50d9347656e09dd98f15aa0a0c59b9f416483 18:22:29 $ docker rm -f --volumes a33865b7156b6efb44e103cb9ea50d9347656e09dd98f15aa0a0c59b9f416483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:22:30 provisioning config files... 18:22:30 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/ice-configurable_compression-fix@tmp/config16414666809600761959tmp [Pipeline] { [Pipeline] sh 18:22:31 + set +x 18:22:31 + curl -s https://codecov.io/bash 18:22:31 + bash -s -- 18:22:31 18:22:31 _____ _ 18:22:31 / ____| | | 18:22:31 | | ___ __| | ___ ___ _____ __ 18:22:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:22:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:22:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:22:31 Bash-1.0.6 18:22:31 18:22:31 18:22:31 ==> git version 2.25.1 found 18:22:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:22:31 Release-Date: 2020-01-08 18:22:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:22:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:22:31 ==> Jenkins CI detected. 18:22:31 current dir:  /w/workspace/ice-configurable_compression-fix 18:22:31 project root: . 18:22:31 --> token set from env 18:22:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:22:31 ==> Running gcov in . (disable via -X gcov) 18:22:31 ==> Python coveragepy not found 18:22:31 ==> Searching for coverage reports in: 18:22:31 + . 18:22:31 -> Found 1 reports 18:22:31 ==> Detecting git/mercurial file structure 18:22:31 ==> Reading reports 18:22:31 + ./coverage.out bytes=10 18:22:31 ==> Appending adjustments 18:22:31 https://docs.codecov.io/docs/fixing-reports 18:22:31 + Found adjustments 18:22:31 ==> Gzipping contents 18:22:31 4.0K /tmp/codecov.2a4ebf.gz 18:22:31 ==> Uploading reports 18:22:31 url: https://codecov.io 18:22:31 query: branch=compression-fix&commit=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fcompression-fix%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 18:22:31 -> Pinging Codecov 18:22:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=compression-fix&commit=b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fcompression-fix%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 18:22:31 -> Uploading to 18:22:31 https://storage.googleapis.com/codecov/v4/raw/2023-04-11/A97CA9966030D2A3747ED39772930CCE/b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d/8c20d56b-09b1-47d0-b936-90d3d3a29509.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230411T182231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=221af9a0dc248ef85b321a5859c6e21c142498d501e43d5d45bda86a404bfa21 18:22:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:22:31 Dload Upload Total Spent Left Speed 18:22:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 1829 --:--:-- --:--:-- --:--:-- 1829 18:22:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b5ac4f9d03aebcb6d17fcef9becb7c6f0334897d [Pipeline] } 18:22:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:22:34 + [ -d /w/workspace/ice-configurable_compression-fix/archives ] 18:22:34 + ls -al /w/workspace/ice-configurable_compression-fix/archives 18:22:34 total 16 18:22:34 drwxr-xr-x 3 root root 4096 Apr 11 18:15 . 18:22:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 18:15 .. 18:22:34 drwxr-xr-x 2 root root 4096 Apr 11 18:15 cost 18:22:34 -rw-r--r-- 1 root root 105 Apr 11 18:15 cost.csv 18:22:34 + sudo chown -R jenkins:jenkins /w/workspace/ice-configurable_compression-fix/archives 18:22:34 + ls -al /w/workspace/ice-configurable_compression-fix/archives 18:22:34 total 16 18:22:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 18:15 . 18:22:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 18:15 .. 18:22:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 18:15 cost 18:22:34 -rw-r--r-- 1 jenkins jenkins 105 Apr 11 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:22:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:22:35 ---> package-listing.sh 18:22:35 ++ facter osfamily 18:22:35 ++ tr '[:upper:]' '[:lower:]' 18:22:35 + OS_FAMILY=debian 18:22:35 + workspace=/w/workspace/ice-configurable_compression-fix 18:22:35 + START_PACKAGES=/tmp/packages_start.txt 18:22:35 + END_PACKAGES=/tmp/packages_end.txt 18:22:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:22:35 + PACKAGES=/tmp/packages_start.txt 18:22:35 + '[' /w/workspace/ice-configurable_compression-fix ']' 18:22:35 + PACKAGES=/tmp/packages_end.txt 18:22:35 + case "${OS_FAMILY}" in 18:22:35 + dpkg -l 18:22:35 + grep '^ii' 18:22:35 + '[' -f /tmp/packages_start.txt ']' 18:22:35 + '[' -f /tmp/packages_end.txt ']' 18:22:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:22:35 + '[' /w/workspace/ice-configurable_compression-fix ']' 18:22:35 + mkdir -p /w/workspace/ice-configurable_compression-fix/archives/ 18:22:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ice-configurable_compression-fix/archives/ [Pipeline] echo 18:22:35 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/ice-configurable_compression-fix/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:22:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:36 prd-ubuntu20.04-docker-8c-8g-7421 does not seem to be running inside a container 18:22:36 $ 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/ice-configurable_compression-fix/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ice-configurable_compression-fix -v /w/workspace/ice-configurable_compression-fix:/w/workspace/ice-configurable_compression-fix:rw,z -v /w/workspace/ice-configurable_compression-fix@tmp:/w/workspace/ice-configurable_compression-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:22:37 $ docker top c79dc736a325dba624660cf6f4421b050be0430fcfa7b21e6e533d79235f2463 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:22:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:22:38 + ls /var/log/sa-host 18:22:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:22:38 provisioning config files... 18:22:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ice-configurable_compression-fix@tmp/config308441811156053374tmp [Pipeline] { [Pipeline] echo 18:22:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:22:38 ---> create-netrc.sh [Pipeline] } 18:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:22:39 ---> python-tools-install.sh [Pipeline] echo 18:22:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:22:39 ---> sudo-logs.sh 18:22:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:22:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:22:39 ---> job-cost.sh 18:22:39 lf-activate-venv: SKIPPING 18:22:39 DEBUG: total: 0.2199999988079071 18:22:39 INFO: Retrieving Stack Cost... 18:22:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:22:40 INFO: Archiving Costs [Pipeline] echo 18:22:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:22:41 ---> logs-deploy.sh 18:22:41 lf-activate-venv: SKIPPING 18:22:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/compression-fix/1 18:22:41 INFO: archiving workspace using pattern(s): 18:22:42 Archives upload complete. 18:22:42 INFO: archiving logs to Nexus