Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 52e219e200aa3f0791b8f147aa403b803b9db216 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-ssh9871544197285815719.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5826246245240355309.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5612451493925292821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh724891441394989664.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15521339445846930018.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17548 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 52e219e200aa3f0791b8f147aa403b803b9db216 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 Commit message: "fix: Address CVE in Alpine base image (#408)" > git rev-list --no-walk e31ca8a3936982fb289ce3a844b1ee55f128a24a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:47:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:47:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:47:23 ========================================================= 21:47:23 EdgeX Global Pipelines Version Info 21:47:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:47:23 ------------------- 21:47:23 stable info: 21:47:23 ------------------- 21:47:23 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:47:23 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:47:23 Message: update stable to v1.0.257 21:47:24 ------------------- 21:47:24 experimental info: 21:47:24 ------------------- 21:47:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:24 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:47:24 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52e219e [Pipeline] echo 21:47:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:25 provisioning config files... 21:47:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13792376446825933256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:25 ---> docker-login.sh 21:47:25 nexus3.edgexfoundry.org:10001 21:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:25 Configure a credential helper to remove this warning. See 21:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:25 21:47:25 Login Succeeded 21:47:25 nexus3.edgexfoundry.org:10002 21:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:26 Configure a credential helper to remove this warning. See 21:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:26 21:47:26 Login Succeeded 21:47:26 nexus3.edgexfoundry.org:10003 21:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:26 Configure a credential helper to remove this warning. See 21:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:26 21:47:26 Login Succeeded 21:47:26 nexus3.edgexfoundry.org:10004 21:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:26 Configure a credential helper to remove this warning. See 21:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:26 21:47:26 Login Succeeded 21:47:26 docker.io 21:47:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:26 Configure a credential helper to remove this warning. See 21:47:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:26 21:47:26 Login Succeeded 21:47:26 ---> docker-login.sh ends [Pipeline] } 21:47:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:47:26 + git rev-list -1 --merges 52e219e200aa3f0791b8f147aa403b803b9db216~1..52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] echo 21:47:27 -----------> git rev-list -1 --merges 52e219e200aa3f0791b8f147aa403b803b9db216~1..52e219e200aa3f0791b8f147aa403b803b9db216 52e219e200aa3f0791b8f147aa403b803b9db216 [false] [Pipeline] sh 21:47:27 + git log --format=format:%s -1 52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] echo 21:47:27 ========================================================= 21:47:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:47:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:27 + git log --format=format:%s -1 52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] echo 21:47:27 [semverPrep] GIT_COMMIT: 52e219e200aa3f0791b8f147aa403b803b9db216, Commit Message: fix: Address CVE in Alpine base image (#408) [Pipeline] echo 21:47:27 [semverPrep] This is not a build commit. [Pipeline] sh 21:47:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:28 + grep -v github /etc/ssh/ssh_known_hosts 21:47:28 + [ -e /tmp/ssh_known_hosts ] 21:47:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:47:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:47:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:47:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:28 21:47:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:28 0.1.4: Pulling from edgex-devops/py-git-semver 21:47:28 b85a868b505f: Pulling fs layer 21:47:28 e2be974225ed: Pulling fs layer 21:47:28 339a4e72a1f5: Pulling fs layer 21:47:28 988bab9f4d93: Pulling fs layer 21:47:28 1469e6f7b9e6: Pulling fs layer 21:47:28 eaf3925da568: Pulling fs layer 21:47:28 bab4dde63d76: Pulling fs layer 21:47:28 bde34c3a00c8: Pulling fs layer 21:47:28 b352a97aabf1: Pulling fs layer 21:47:28 4872d77fe225: Pulling fs layer 21:47:28 5851b861e8e6: Pulling fs layer 21:47:28 b352a97aabf1: Waiting 21:47:28 4872d77fe225: Waiting 21:47:28 1469e6f7b9e6: Waiting 21:47:28 eaf3925da568: Waiting 21:47:28 988bab9f4d93: Waiting 21:47:28 5851b861e8e6: Waiting 21:47:28 bde34c3a00c8: Waiting 21:47:28 e2be974225ed: Verifying Checksum 21:47:28 988bab9f4d93: Verifying Checksum 21:47:28 988bab9f4d93: Download complete 21:47:28 1469e6f7b9e6: Verifying Checksum 21:47:28 1469e6f7b9e6: Download complete 21:47:28 eaf3925da568: Verifying Checksum 21:47:28 eaf3925da568: Download complete 21:47:28 339a4e72a1f5: Verifying Checksum 21:47:28 339a4e72a1f5: Download complete 21:47:28 bde34c3a00c8: Download complete 21:47:28 b352a97aabf1: Verifying Checksum 21:47:28 b352a97aabf1: Download complete 21:47:28 4872d77fe225: Download complete 21:47:28 5851b861e8e6: Download complete 21:47:28 b85a868b505f: Verifying Checksum 21:47:28 b85a868b505f: Download complete 21:47:29 bab4dde63d76: Verifying Checksum 21:47:29 bab4dde63d76: Download complete 21:47:30 b85a868b505f: Pull complete 21:47:30 e2be974225ed: Pull complete 21:47:31 339a4e72a1f5: Pull complete 21:47:31 988bab9f4d93: Pull complete 21:47:31 1469e6f7b9e6: Pull complete 21:47:31 eaf3925da568: Pull complete 21:47:34 bab4dde63d76: Pull complete 21:47:34 bde34c3a00c8: Pull complete 21:47:34 b352a97aabf1: Pull complete 21:47:34 4872d77fe225: Pull complete 21:47:34 5851b861e8e6: Pull complete 21:47:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:34 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:47:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:41 $ docker top 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c -eo pid,comm 21:47:41 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). 21:47:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:41 [ssh-agent] Looking for ssh-agent implementation... 21:47:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:41 $ docker exec 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c ssh-agent 21:47:42 SSH_AUTH_SOCK=/tmp/ssh-N0dLwU5kH9ks/agent.14 21:47:42 SSH_AGENT_PID=31 21:47:42 Running ssh-add (command line suppressed) 21:47:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1577714937803179993.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1577714937803179993.key) 21:47:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:42 + git tag --points-at HEAD [Pipeline] } 21:47:42 $ docker exec --env ******** --env ******** 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c ssh-agent -k 21:47:42 unset SSH_AUTH_SOCK; 21:47:42 unset SSH_AGENT_PID; 21:47:42 echo Agent pid 31 killed; 21:47:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:42 [ssh-agent] Looking for ssh-agent implementation... 21:47:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:42 $ docker exec 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c ssh-agent 21:47:42 SSH_AUTH_SOCK=/tmp/ssh-AzvwxevanuJO/agent.70 21:47:42 SSH_AGENT_PID=76 21:47:42 Running ssh-add (command line suppressed) 21:47:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8498706750781753737.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8498706750781753737.key) 21:47:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:43 + git semver init 21:47:43 2023-11-14 21:47:43,534 [run_init] DEBUG init version:0.0.0 force:False 21:47:43 2023-11-14 21:47:43,535 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 21:47:43 2023-11-14 21:47:43,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 21:47:43 2023-11-14 21:47:43,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:47:44 2023-11-14 21:47:44,906 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 21:47:44 2023-11-14 21:47:44,906 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 21:47:44 2023-11-14 21:47:44,906 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:47:44 2023-11-14 21:47:44,906 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:47:44 3.1.0-dev.27 [Pipeline] } 21:47:44 $ docker exec --env ******** --env ******** 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c ssh-agent -k 21:47:45 unset SSH_AUTH_SOCK; 21:47:45 unset SSH_AGENT_PID; 21:47:45 echo Agent pid 76 killed; 21:47:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:45 + git semver [Pipeline] } 21:47:45 $ docker stop --time=1 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c 21:47:47 $ docker rm -f --volumes 4c87eef6eebc2f8dc5e89aab0c3fa2ff99ba3afb8f9ecc08dba9d01133e24c8c [Pipeline] // withDockerContainer [Pipeline] sh 21:47:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:48 Stashed 1 file(s) [Pipeline] echo 21:47:48 [edgeXSemver]: initialized semver on version 3.1.0-dev.27 [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 21:47:48 provisioning config files... 21:47:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3959276820621646927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:48 ---> docker-login.sh 21:47:48 nexus3.edgexfoundry.org:10001 21:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:48 Configure a credential helper to remove this warning. See 21:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:48 21:47:48 Login Succeeded 21:47:48 nexus3.edgexfoundry.org:10002 21:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:48 Configure a credential helper to remove this warning. See 21:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:48 21:47:48 Login Succeeded 21:47:49 nexus3.edgexfoundry.org:10003 21:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:49 Configure a credential helper to remove this warning. See 21:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:49 21:47:49 Login Succeeded 21:47:49 nexus3.edgexfoundry.org:10004 21:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:49 Configure a credential helper to remove this warning. See 21:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:49 21:47:49 Login Succeeded 21:47:49 docker.io 21:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:49 Configure a credential helper to remove this warning. See 21:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:49 21:47:49 Login Succeeded 21:47:49 ---> docker-login.sh ends [Pipeline] } 21:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:47:49 ========================================================= 21:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:47:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:47:50 Sending build context to Docker daemon 21.69MB 21:47:50 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 21:47:50 Step 2/13 : FROM ${BASE} AS builder 21:47:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:47:50 7264a8db6415: Pulling fs layer 21:47:50 c4d48a809fc2: Pulling fs layer 21:47:50 4f1c88b9dad5: Pulling fs layer 21:47:50 ad3a456e5733: Pulling fs layer 21:47:50 69c7f0334f64: Pulling fs layer 21:47:50 1f1c1a5573a3: Pulling fs layer 21:47:50 ad3a456e5733: Waiting 21:47:50 69c7f0334f64: Waiting 21:47:50 1f1c1a5573a3: Waiting 21:47:50 ce7588e14bc9: Pulling fs layer 21:47:50 b5e4710f87ac: Pulling fs layer 21:47:50 ce7588e14bc9: Waiting 21:47:50 b5e4710f87ac: Waiting 21:47:50 c4d48a809fc2: Verifying Checksum 21:47:50 c4d48a809fc2: Download complete 21:47:50 ad3a456e5733: Verifying Checksum 21:47:50 ad3a456e5733: Download complete 21:47:50 69c7f0334f64: Verifying Checksum 21:47:50 69c7f0334f64: Download complete 21:47:50 7264a8db6415: Download complete 21:47:50 1f1c1a5573a3: Verifying Checksum 21:47:50 1f1c1a5573a3: Download complete 21:47:50 7264a8db6415: Pull complete 21:47:50 b5e4710f87ac: Download complete 21:47:51 4f1c88b9dad5: Verifying Checksum 21:47:51 4f1c88b9dad5: Download complete 21:47:51 c4d48a809fc2: Pull complete 21:47:51 ce7588e14bc9: Verifying Checksum 21:47:51 ce7588e14bc9: Download complete 21:47:54 4f1c88b9dad5: Pull complete 21:47:55 ad3a456e5733: Pull complete 21:47:55 69c7f0334f64: Pull complete 21:47:56 1f1c1a5573a3: Pull complete 21:47:58 ce7588e14bc9: Pull complete 21:47:59 b5e4710f87ac: Pull complete 21:47:59 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:47:59 ---> 88b5674ff536 21:47:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:48:03 Still waiting to schedule task 21:48:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17549’ is offline 21:48:09 ---> Running in 0497064df945 21:48:09 Removing intermediate container 0497064df945 21:48:09 ---> dc71035d565d 21:48:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:09 ---> Running in 499a4c51c4db 21:48:09 Removing intermediate container 499a4c51c4db 21:48:09 ---> 9ddab3001a94 21:48:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:48:09 ---> Running in cc1a49ed7348 21:48:09 Removing intermediate container cc1a49ed7348 21:48:09 ---> 15ae34c896f8 21:48:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:48:09 ---> Running in 85e1e31190b7 21:48:09 Removing intermediate container 85e1e31190b7 21:48:09 ---> 7ed4f19298e4 21:48:09 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:48:09 ---> Running in 93a1d9443027 21:48:09 Removing intermediate container 93a1d9443027 21:48:09 ---> f2240e51876b 21:48:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:48:10 ---> Running in c7930a5e2183 21:48:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:11 OK: 264 MiB in 52 packages 21:48:11 Removing intermediate container c7930a5e2183 21:48:11 ---> 9de72756eb41 21:48:11 Step 9/13 : WORKDIR /device-onvif-camera 21:48:12 ---> Running in b30abb59fd95 21:48:12 Removing intermediate container b30abb59fd95 21:48:12 ---> 41775478567f 21:48:12 Step 10/13 : COPY go.mod vendor* ./ 21:48:12 ---> b9dc8cf823c4 21:48:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:12 ---> Running in 3cc688403832 21:48:59 Removing intermediate container 3cc688403832 21:48:59 ---> ec4ca59df99d 21:48:59 Step 12/13 : COPY . . 21:48:59 ---> d7f8c16310ba 21:48:59 Step 13/13 : RUN ${MAKE} 21:48:59 ---> Running in 94da3ad5d30a 21:48:59 noop 21:48:59 Removing intermediate container 94da3ad5d30a 21:48:59 ---> 72fa9a85b93b 21:48:59 Successfully built 72fa9a85b93b 21:48:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:59 + docker inspect -f . ci-base-image-x86_64 21:48:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:59 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:49:00 $ docker top 1c9a70403d979e9533c23c781c33b5e93ef19a075cee2bdfb80dd20f27d9b5cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:00 + go version 21:49:00 go version go1.21.0 linux/amd64 [Pipeline] } 21:49:00 $ docker stop --time=1 1c9a70403d979e9533c23c781c33b5e93ef19a075cee2bdfb80dd20f27d9b5cf 21:49:01 $ docker rm -f --volumes 1c9a70403d979e9533c23c781c33b5e93ef19a075cee2bdfb80dd20f27d9b5cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:02 + docker inspect -f . ci-base-image-x86_64 21:49:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:02 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:49:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:49:02 $ docker top 82b199a12240898e9c2d5edd332d6da0295a17bec285c1f32fd48d0b2e48fcb3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:03 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:49:03 + make test 21:49:03 go test ./... -coverprofile=coverage.out ./... 21:49:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:49:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:49:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:49:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.5% of statements 21:49:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.077s coverage: 86.5% of statements 21:49:24 go vet ./... 21:49:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:49:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:49:28 ./bin/test-attribution-txt.sh [Pipeline] echo 21:49:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:49:28 $ docker stop --time=1 82b199a12240898e9c2d5edd332d6da0295a17bec285c1f32fd48d0b2e48fcb3 21:49:33 $ docker rm -f --volumes 82b199a12240898e9c2d5edd332d6da0295a17bec285c1f32fd48d0b2e48fcb3 [Pipeline] // withDockerContainer [Pipeline] sh 21:49:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:49:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:49:34 + ls -al . 21:49:34 total 240 21:49:34 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 21:49 . 21:49:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:47 .. 21:49:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:49 .git 21:49:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:47 .github 21:49:34 -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 21:47 .gitignore 21:49:34 -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 21:47 .golangci.yml 21:49:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:47 .semver 21:49:34 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 21:47 Attribution.txt 21:49:34 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 21:47 CHANGELOG.md 21:49:34 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 21:47 Dockerfile 21:49:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:47 GOVERNANCE.md 21:49:34 -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 21:47 Jenkinsfile 21:49:34 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 21:47 LICENSE 21:49:34 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 21:47 Makefile 21:49:34 -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 21:47 OWNERS.md 21:49:34 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 21:47 README.md 21:49:34 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:49:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:47 bin 21:49:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:47 cmd 21:49:34 -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 21:49 coverage.out 21:49:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:47 doc 21:49:34 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 21:47 go.mod 21:49:34 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 21:47 go.sum 21:49:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:47 internal 21:49:34 -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:34 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=52e219e200aa3f0791b8f147aa403b803b9db216 --label arch=amd64 --label version=3.1.0-dev.27 . 21:49:34 Sending build context to Docker daemon 21.77MB 21:49:34 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 21:49:34 Step 2/27 : FROM ${BASE} AS builder 21:49:34 ---> 72fa9a85b93b 21:49:34 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:49:35 ---> Running in 5a261ac75217 21:49:35 Removing intermediate container 5a261ac75217 21:49:35 ---> e52e890ebf91 21:49:35 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:35 ---> Running in 0c6c9e94b40e 21:49:35 Removing intermediate container 0c6c9e94b40e 21:49:35 ---> eca4f37df976 21:49:35 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 21:49:35 ---> Running in 0b5fb5a6009f 21:49:35 Removing intermediate container 0b5fb5a6009f 21:49:35 ---> 0f9ac615d25d 21:49:35 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:49:35 ---> Running in 05fd8f321575 21:49:36 Removing intermediate container 05fd8f321575 21:49:36 ---> 52c8a92e5394 21:49:36 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:49:36 ---> Running in e0f763f34147 21:49:36 Removing intermediate container e0f763f34147 21:49:36 ---> 229fb7f7473f 21:49:36 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:49:36 ---> Running in 03cc7d096023 21:49:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:36 OK: 264 MiB in 52 packages 21:49:37 Removing intermediate container 03cc7d096023 21:49:37 ---> 390da01ddde6 21:49:37 Step 9/27 : WORKDIR /device-onvif-camera 21:49:37 ---> Running in 2d8dd78480ca 21:49:37 Removing intermediate container 2d8dd78480ca 21:49:37 ---> 0f61019926f2 21:49:37 Step 10/27 : COPY go.mod vendor* ./ 21:49:37 ---> db7d66b529b1 21:49:37 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:49:37 ---> Running in de7909e2d8b2 21:49:38 Removing intermediate container de7909e2d8b2 21:49:38 ---> da3e27c4a22c 21:49:38 Step 12/27 : COPY . . 21:49:39 ---> e9be0d869ebf 21:49:39 Step 13/27 : RUN ${MAKE} 21:49:39 ---> Running in dbdcc750c264 21:49:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:50:01 Removing intermediate container dbdcc750c264 21:50:01 ---> 4d6bd88625fb 21:50:01 Step 14/27 : FROM alpine:3.18 21:50:01 3.18: Pulling from library/alpine 21:50:01 96526aa774ef: Pulling fs layer 21:50:01 96526aa774ef: Verifying Checksum 21:50:01 96526aa774ef: Download complete 21:50:01 96526aa774ef: Pull complete 21:50:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:50:01 Status: Downloaded newer image for alpine:3.18 21:50:01 ---> 8ca4688f4f35 21:50:01 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 21:50:02 ---> Running in d1c7e975748c 21:50:02 Removing intermediate container d1c7e975748c 21:50:02 ---> bad093d5ebf6 21:50:02 Step 16/27 : RUN apk add --update --no-cache dumb-init 21:50:02 ---> Running in f9dfff4d017a 21:50:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:50:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:50:02 (1/1) Installing dumb-init (1.2.5-r2) 21:50:02 Executing busybox-1.36.1-r2.trigger 21:50:02 OK: 7 MiB in 16 packages 21:50:02 Removing intermediate container f9dfff4d017a 21:50:02 ---> 859c347fd46d 21:50:02 Step 17/27 : RUN apk --no-cache upgrade 21:50:02 ---> Running in d981f843a1e7 21:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:50:03 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:50:03 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:50:03 Executing busybox-1.36.1-r5.post-upgrade 21:50:03 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:50:03 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:50:03 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:50:03 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:50:03 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:50:03 Executing busybox-1.36.1-r5.trigger 21:50:03 OK: 7 MiB in 16 packages 21:50:04 Removing intermediate container d981f843a1e7 21:50:04 ---> 4de6027cb66a 21:50:04 Step 18/27 : WORKDIR / 21:50:04 ---> Running in 4ff6c3431bd3 21:50:04 Removing intermediate container 4ff6c3431bd3 21:50:04 ---> 8eeda71b1655 21:50:04 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 21:50:05 ---> a6781bb0e32e 21:50:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 21:50:05 ---> 5fefbe327399 21:50:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:50:05 ---> e229658ab2ad 21:50:05 Step 22/27 : EXPOSE 59984 21:50:05 ---> Running in fa23af405318 21:50:05 Removing intermediate container fa23af405318 21:50:05 ---> 1c07b582f90e 21:50:05 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 21:50:05 ---> Running in 84db1ee3b82d 21:50:05 Removing intermediate container 84db1ee3b82d 21:50:05 ---> d51414bbf572 21:50:05 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:50:05 ---> Running in dca95c92582c 21:50:05 Removing intermediate container dca95c92582c 21:50:05 ---> 39d7405650be 21:50:05 Step 25/27 : LABEL arch=amd64 21:50:05 ---> Running in 90fdf548e756 21:50:05 Removing intermediate container 90fdf548e756 21:50:05 ---> 0a4d48491f34 21:50:05 Step 26/27 : LABEL git_sha=52e219e200aa3f0791b8f147aa403b803b9db216 21:50:05 ---> Running in 03a1063d6f99 21:50:05 Removing intermediate container 03a1063d6f99 21:50:05 ---> 2258a108ebfd 21:50:05 Step 27/27 : LABEL version=3.1.0-dev.27 21:50:06 ---> Running in b5a494d13074 21:50:06 Removing intermediate container b5a494d13074 21:50:06 ---> 4c804fa8c57d 21:50:06 [Warning] One or more build-args [ARCH] were not consumed 21:50:06 Successfully built 4c804fa8c57d 21:50:06 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:06 provisioning config files... 21:50:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5516043366730646175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:06 ---> docker-login.sh 21:50:06 nexus3.edgexfoundry.org:10001 21:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:06 Configure a credential helper to remove this warning. See 21:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:06 21:50:06 Login Succeeded 21:50:06 nexus3.edgexfoundry.org:10002 21:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:06 Configure a credential helper to remove this warning. See 21:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:06 21:50:06 Login Succeeded 21:50:06 nexus3.edgexfoundry.org:10003 21:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:06 Configure a credential helper to remove this warning. See 21:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:06 21:50:06 Login Succeeded 21:50:06 nexus3.edgexfoundry.org:10004 21:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:06 Configure a credential helper to remove this warning. See 21:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:06 21:50:06 Login Succeeded 21:50:06 docker.io 21:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:07 Configure a credential helper to remove this warning. See 21:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:07 21:50:07 Login Succeeded 21:50:07 ---> docker-login.sh ends [Pipeline] } 21:50:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:50:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:50:07 52e219e200aa3f0791b8f147aa403b803b9db216 21:50:07 latest 21:50:07 3.1.0-dev.27 21:50:07 52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 21:50:07 main 21:50:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216 21:50:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:50:07 d6389998b8b7: Preparing 21:50:07 bacf7e73b6b6: Preparing 21:50:07 0ef22bcdc34b: Preparing 21:50:07 2ca798971394: Preparing 21:50:07 5977b01076a2: Preparing 21:50:07 cc2447e1835a: Preparing 21:50:07 cc2447e1835a: Waiting 21:50:07 d6389998b8b7: Pushed 21:50:07 cc2447e1835a: Layer already exists 21:50:07 bacf7e73b6b6: Pushed 21:50:07 5977b01076a2: Pushed 21:50:08 2ca798971394: Pushed 21:50:10 0ef22bcdc34b: Pushed 21:50:10 52e219e200aa3f0791b8f147aa403b803b9db216: digest: sha256:374803c49464f934c572e5e7087fe77102c687b51c0bda87a7b2b4556671339d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:50:11 d6389998b8b7: Preparing 21:50:11 bacf7e73b6b6: Preparing 21:50:11 0ef22bcdc34b: Preparing 21:50:11 2ca798971394: Preparing 21:50:11 5977b01076a2: Preparing 21:50:11 cc2447e1835a: Preparing 21:50:11 2ca798971394: Layer already exists 21:50:11 0ef22bcdc34b: Layer already exists 21:50:11 bacf7e73b6b6: Layer already exists 21:50:11 5977b01076a2: Layer already exists 21:50:11 d6389998b8b7: Layer already exists 21:50:11 cc2447e1835a: Layer already exists 21:50:11 latest: digest: sha256:374803c49464f934c572e5e7087fe77102c687b51c0bda87a7b2b4556671339d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.27 21:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:50:11 d6389998b8b7: Preparing 21:50:11 bacf7e73b6b6: Preparing 21:50:11 0ef22bcdc34b: Preparing 21:50:11 2ca798971394: Preparing 21:50:11 5977b01076a2: Preparing 21:50:11 cc2447e1835a: Preparing 21:50:11 cc2447e1835a: Waiting 21:50:11 d6389998b8b7: Layer already exists 21:50:11 2ca798971394: Layer already exists 21:50:11 bacf7e73b6b6: Layer already exists 21:50:11 5977b01076a2: Layer already exists 21:50:11 0ef22bcdc34b: Layer already exists 21:50:11 cc2447e1835a: Layer already exists 21:50:11 3.1.0-dev.27: digest: sha256:374803c49464f934c572e5e7087fe77102c687b51c0bda87a7b2b4556671339d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 21:50:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:50:12 d6389998b8b7: Preparing 21:50:12 bacf7e73b6b6: Preparing 21:50:12 0ef22bcdc34b: Preparing 21:50:12 2ca798971394: Preparing 21:50:12 5977b01076a2: Preparing 21:50:12 cc2447e1835a: Preparing 21:50:12 cc2447e1835a: Waiting 21:50:12 0ef22bcdc34b: Layer already exists 21:50:12 2ca798971394: Layer already exists 21:50:12 d6389998b8b7: Layer already exists 21:50:12 bacf7e73b6b6: Layer already exists 21:50:12 5977b01076a2: Layer already exists 21:50:12 cc2447e1835a: Layer already exists 21:50:12 52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27: digest: sha256:374803c49464f934c572e5e7087fe77102c687b51c0bda87a7b2b4556671339d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:50:13 d6389998b8b7: Preparing 21:50:13 bacf7e73b6b6: Preparing 21:50:13 0ef22bcdc34b: Preparing 21:50:13 2ca798971394: Preparing 21:50:13 5977b01076a2: Preparing 21:50:13 cc2447e1835a: Preparing 21:50:13 cc2447e1835a: Waiting 21:50:13 bacf7e73b6b6: Layer already exists 21:50:13 0ef22bcdc34b: Layer already exists 21:50:13 2ca798971394: Layer already exists 21:50:13 d6389998b8b7: Layer already exists 21:50:13 5977b01076a2: Layer already exists 21:50:13 cc2447e1835a: Layer already exists 21:50:13 main: digest: sha256:374803c49464f934c572e5e7087fe77102c687b51c0bda87a7b2b4556671339d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:50:13 ===================================================== [Pipeline] echo 21:50:13 taggedImages: 21:50:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216 21:50:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:50:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.27 21:50:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 21:50:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 21:50:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:13 21:50:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:13 latest: Pulling from edgex-lftools-log-publisher 21:50:13 5eb5b503b376: Pulling fs layer 21:50:13 5c69ac0246d0: Pulling fs layer 21:50:13 ec43610c2a17: Pulling fs layer 21:50:13 3a2ae6a8a46f: Pulling fs layer 21:50:13 33b1e0a273af: Pulling fs layer 21:50:13 5d3b04190fa2: Pulling fs layer 21:50:13 2f39f015ded8: Pulling fs layer 21:50:13 3a2ae6a8a46f: Waiting 21:50:13 33b1e0a273af: Waiting 21:50:13 5d3b04190fa2: Waiting 21:50:13 2f39f015ded8: Waiting 21:50:13 5c69ac0246d0: Download complete 21:50:13 3a2ae6a8a46f: Verifying Checksum 21:50:13 3a2ae6a8a46f: Download complete 21:50:13 ec43610c2a17: Verifying Checksum 21:50:13 ec43610c2a17: Download complete 21:50:13 5d3b04190fa2: Verifying Checksum 21:50:13 5d3b04190fa2: Download complete 21:50:13 33b1e0a273af: Verifying Checksum 21:50:13 33b1e0a273af: Download complete 21:50:14 5eb5b503b376: Verifying Checksum 21:50:14 5eb5b503b376: Download complete 21:50:14 2f39f015ded8: Verifying Checksum 21:50:14 2f39f015ded8: Download complete 21:50:15 5eb5b503b376: Pull complete 21:50:15 5c69ac0246d0: Pull complete 21:50:16 ec43610c2a17: Pull complete 21:50:16 3a2ae6a8a46f: Pull complete 21:50:16 33b1e0a273af: Pull complete 21:50:16 5d3b04190fa2: Pull complete 21:50:20 2f39f015ded8: Pull complete 21:50:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:50:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:20 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:50:20 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:50:28 $ docker top 49deff7a4a346a6b2af6853bfa766408a6dd6adcf98f0010638b1d2bcce62c45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:28 ---> job-cost.sh 21:50:28 lf-activate-venv: SKIPPING 21:50:28 INFO: No Stack... 21:50:28 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:29 INFO: Archiving Costs [Pipeline] sh 21:50:29 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 21:50:29 + cut -d, -f6 [Pipeline] lock 21:50:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] 21:50:29 Resource [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] did not exist. Created. 21:50:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:29 + echo total: 0.2199999988079071 [Pipeline] stash 21:50:29 Stashed 1 file(s) [Pipeline] } 21:50:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:29 $ docker stop --time=1 49deff7a4a346a6b2af6853bfa766408a6dd6adcf98f0010638b1d2bcce62c45 21:50:31 $ docker rm -f --volumes 49deff7a4a346a6b2af6853bfa766408a6dd6adcf98f0010638b1d2bcce62c45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:51:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17558 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:51:05 Running in /w/workspace/device-onvif-camera/184 [Pipeline] { [Pipeline] checkout 21:51:05 The recommended git tool is: git 21:51:11 using credential edgex-jenkins-ssh 21:51:11 Cloning the remote Git repository 21:51:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:51:12 > git init /w/workspace/device-onvif-camera/184 # timeout=10 21:51:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:51:12 > git --version # timeout=10 21:51:12 > git --version # 'git version 2.25.1' 21:51:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:51:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:16 Avoid second fetch 21:51:16 Checking out Revision 52e219e200aa3f0791b8f147aa403b803b9db216 (main) 21:51:16 > git config core.sparsecheckout # timeout=10 21:51:16 > git checkout -f 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 21:51:17 Commit message: "fix: Address CVE in Alpine base image (#408)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:18 Dload Upload Total Spent Left Speed 21:51:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 169k 0 --:--:-- --:--:-- --:--:-- 169k [Pipeline] sh 21:51:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:19 + sudo tee /etc/docker/daemon.new 21:51:19 { 21:51:19 "registry-mirrors": [ 21:51:19 "https://nexus3.edgexfoundry.org:10001" 21:51:19 ], 21:51:19 "bip": "10.250.0.254/24", 21:51:19 "hosts": [ 21:51:19 "tcp://0.0.0.0:5555", 21:51:19 "unix:///var/run/docker.sock" 21:51:19 ], 21:51:19 "mtu": 1458, 21:51:19 "selinux-enabled": true, 21:51:19 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:19 } [Pipeline] sh 21:51:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:51:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:38 provisioning config files... 21:51:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/184@tmp/config14329096810976092744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:39 ---> docker-login.sh 21:51:39 nexus3.edgexfoundry.org:10001 21:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:39 Configure a credential helper to remove this warning. See 21:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:39 21:51:39 Login Succeeded 21:51:39 nexus3.edgexfoundry.org:10002 21:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:40 Configure a credential helper to remove this warning. See 21:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:40 21:51:40 Login Succeeded 21:51:40 nexus3.edgexfoundry.org:10003 21:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:40 Configure a credential helper to remove this warning. See 21:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:40 21:51:40 Login Succeeded 21:51:40 nexus3.edgexfoundry.org:10004 21:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:41 Configure a credential helper to remove this warning. See 21:51:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:41 21:51:41 Login Succeeded 21:51:41 docker.io 21:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:41 Configure a credential helper to remove this warning. See 21:51:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:41 21:51:41 Login Succeeded 21:51:41 ---> docker-login.sh ends [Pipeline] } 21:51:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:51:42 ========================================================= 21:51:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:51:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:51:43 Sending build context to Docker daemon 14.21MB 21:51:43 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 21:51:43 Step 2/13 : FROM ${BASE} AS builder 21:51:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:43 9fda8d8052c6: Pulling fs layer 21:51:43 5d54e960e981: Pulling fs layer 21:51:43 c4a7e357bf2a: Pulling fs layer 21:51:43 f0e02332f6b5: Pulling fs layer 21:51:43 872ee5b61b7b: Pulling fs layer 21:51:43 0c6a40ed1a82: Pulling fs layer 21:51:43 94ae7d8d031c: Pulling fs layer 21:51:43 f0e02332f6b5: Waiting 21:51:43 872ee5b61b7b: Waiting 21:51:43 0c6a40ed1a82: Waiting 21:51:43 94ae7d8d031c: Waiting 21:51:43 5d54e960e981: Verifying Checksum 21:51:43 5d54e960e981: Download complete 21:51:43 f0e02332f6b5: Verifying Checksum 21:51:43 f0e02332f6b5: Download complete 21:51:43 872ee5b61b7b: Download complete 21:51:43 9fda8d8052c6: Verifying Checksum 21:51:43 9fda8d8052c6: Download complete 21:51:43 94ae7d8d031c: Verifying Checksum 21:51:43 94ae7d8d031c: Download complete 21:51:44 9fda8d8052c6: Pull complete 21:51:45 5d54e960e981: Pull complete 21:51:45 c4a7e357bf2a: Verifying Checksum 21:51:45 c4a7e357bf2a: Download complete 21:51:46 0c6a40ed1a82: Download complete 21:51:59 c4a7e357bf2a: Pull complete 21:51:59 f0e02332f6b5: Pull complete 21:51:59 872ee5b61b7b: Pull complete 21:52:10 0c6a40ed1a82: Pull complete 21:52:11 94ae7d8d031c: Pull complete 21:52:11 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:52:11 ---> 86de565de09d 21:52:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:52:12 ---> Running in 7c11b12cd792 21:52:12 Removing intermediate container 7c11b12cd792 21:52:12 ---> 188b416900ee 21:52:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:12 ---> Running in e1c488484d4a 21:52:13 Removing intermediate container e1c488484d4a 21:52:13 ---> 1df75f3a6340 21:52:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:52:13 ---> Running in 049f31e53b2a 21:52:13 Removing intermediate container 049f31e53b2a 21:52:13 ---> 3aa5824d2b2d 21:52:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:52:13 ---> Running in a0f9d40eb9df 21:52:14 Removing intermediate container a0f9d40eb9df 21:52:14 ---> 5650eba58cde 21:52:14 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:52:14 ---> Running in 224a2fe2129e 21:52:14 Removing intermediate container 224a2fe2129e 21:52:14 ---> f231132a3d9d 21:52:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:14 ---> Running in 0d3a69c7043d 21:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:52:17 OK: 266 MiB in 52 packages 21:52:18 Removing intermediate container 0d3a69c7043d 21:52:18 ---> e3a91e0b2ff6 21:52:18 Step 9/13 : WORKDIR /device-onvif-camera 21:52:19 ---> Running in 94ff2459f4ba 21:52:19 Removing intermediate container 94ff2459f4ba 21:52:19 ---> 3b2e3bb40a6b 21:52:19 Step 10/13 : COPY go.mod vendor* ./ 21:52:20 ---> 7d0e571b882e 21:52:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:20 ---> Running in c467f471e5a4 21:53:57 Removing intermediate container c467f471e5a4 21:53:57 ---> b0f68c97d70d 21:53:57 Step 12/13 : COPY . . 21:53:57 ---> 4a3e0e84dda8 21:53:57 Step 13/13 : RUN ${MAKE} 21:53:57 ---> Running in b9458c0ea05d 21:53:57 noop 21:53:57 Removing intermediate container b9458c0ea05d 21:53:57 ---> 7f752168baa9 21:53:57 Successfully built 7f752168baa9 21:53:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:57 + docker inspect -f . ci-base-image-arm64 21:53:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:57 prd-ubuntu20.04-docker-arm64-4c-16g-17558 does not seem to be running inside a container 21:53:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/184 -v /w/workspace/device-onvif-camera/184:/w/workspace/device-onvif-camera/184:rw,z -v /w/workspace/device-onvif-camera/184@tmp:/w/workspace/device-onvif-camera/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:59 $ docker top 6d8919c435f66fe2c2925c438279986f72772639356aafaeb38b61b8abdd9a9b -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:00 + go version 21:54:00 go version go1.21.0 linux/arm64 [Pipeline] } 21:54:00 $ docker stop --time=1 6d8919c435f66fe2c2925c438279986f72772639356aafaeb38b61b8abdd9a9b 21:54:02 $ docker rm -f --volumes 6d8919c435f66fe2c2925c438279986f72772639356aafaeb38b61b8abdd9a9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:02 + docker inspect -f . ci-base-image-arm64 21:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:03 prd-ubuntu20.04-docker-arm64-4c-16g-17558 does not seem to be running inside a container 21:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/184 -v /w/workspace/device-onvif-camera/184:/w/workspace/device-onvif-camera/184:rw,z -v /w/workspace/device-onvif-camera/184@tmp:/w/workspace/device-onvif-camera/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:54:04 $ docker top 592b72ea44463356cd92fca2581f3753f4c11288f64223b0596abee1cc8fddd2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/184 [Pipeline] fileExists [Pipeline] sh 21:54:06 + make test 21:54:06 go test ./... -coverprofile=coverage.out ./... 21:54:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:57:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:57:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:57:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.209s coverage: 31.5% of statements 21:57:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.753s coverage: 86.5% of statements 21:57:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:57:32 go vet ./... 21:58:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:58:04 ./bin/test-attribution-txt.sh [Pipeline] echo 21:58:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:58:04 $ docker stop --time=1 592b72ea44463356cd92fca2581f3753f4c11288f64223b0596abee1cc8fddd2 21:58:06 $ docker rm -f --volumes 592b72ea44463356cd92fca2581f3753f4c11288f64223b0596abee1cc8fddd2 [Pipeline] // withDockerContainer [Pipeline] sh 21:58:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:07 Warning: overwriting stash ‘coverage-report’ 21:58:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:58:10 + ls -al . 21:58:10 total 236 21:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:54 . 21:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:51 .. 21:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:51 .git 21:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 .github 21:58:10 -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 21:51 .gitignore 21:58:10 -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 21:51 .golangci.yml 21:58:10 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 21:51 Attribution.txt 21:58:10 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 21:51 CHANGELOG.md 21:58:10 -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 21:51 Dockerfile 21:58:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:51 GOVERNANCE.md 21:58:10 -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 21:51 Jenkinsfile 21:58:10 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 21:51 LICENSE 21:58:10 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 21:51 Makefile 21:58:10 -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 21:51 OWNERS.md 21:58:10 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 21:51 README.md 21:58:10 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:47 VERSION 21:58:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:51 bin 21:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:51 cmd 21:58:10 -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 21:57 coverage.out 21:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:51 doc 21:58:10 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 21:51 go.mod 21:58:10 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 21:51 go.sum 21:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:51 internal 21:58:10 -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:11 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=52e219e200aa3f0791b8f147aa403b803b9db216 --label arch=arm64 --label version=3.1.0-dev.27 . 21:58:11 Sending build context to Docker daemon 14.29MB 21:58:11 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 21:58:11 Step 2/27 : FROM ${BASE} AS builder 21:58:11 ---> 7f752168baa9 21:58:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:58:12 ---> Running in 31f563d907d3 21:58:12 Removing intermediate container 31f563d907d3 21:58:12 ---> c0cf18274dcf 21:58:12 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:12 ---> Running in df6e6d37b7d2 21:58:13 Removing intermediate container df6e6d37b7d2 21:58:13 ---> 1132d9edfd65 21:58:13 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 21:58:13 ---> Running in 2d2ef1675d14 21:58:13 Removing intermediate container 2d2ef1675d14 21:58:13 ---> 728029c09a69 21:58:13 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:58:13 ---> Running in 74c8968fa8b6 21:58:13 Removing intermediate container 74c8968fa8b6 21:58:13 ---> 1c572afc8c58 21:58:13 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:58:13 ---> Running in 02377bb3c98d 21:58:14 Removing intermediate container 02377bb3c98d 21:58:14 ---> 470c1052ef50 21:58:14 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:14 ---> Running in 5094f4eadd84 21:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:58:17 OK: 266 MiB in 52 packages 21:58:18 Removing intermediate container 5094f4eadd84 21:58:18 ---> 46dbcde39cc7 21:58:18 Step 9/27 : WORKDIR /device-onvif-camera 21:58:18 ---> Running in e326df510c86 21:58:19 Removing intermediate container e326df510c86 21:58:19 ---> b20b50f3584d 21:58:19 Step 10/27 : COPY go.mod vendor* ./ 21:58:19 ---> 8f14142ac22b 21:58:19 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:19 ---> Running in dd6254a8da38 21:58:25 Removing intermediate container dd6254a8da38 21:58:25 ---> a89d79d82c23 21:58:25 Step 12/27 : COPY . . 21:58:27 ---> 932c9c5bb7e3 21:58:27 Step 13/27 : RUN ${MAKE} 21:58:27 ---> Running in cbfd4aa76e71 21:58:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:01:05 Removing intermediate container cbfd4aa76e71 22:01:05 ---> 981731394e2c 22:01:05 Step 14/27 : FROM alpine:3.18 22:01:05 3.18: Pulling from library/alpine 22:01:05 579b34f0a95b: Pulling fs layer 22:01:05 579b34f0a95b: Download complete 22:01:05 579b34f0a95b: Pull complete 22:01:05 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:01:05 Status: Downloaded newer image for alpine:3.18 22:01:05 ---> 3cc203321400 22:01:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:01:05 ---> Running in c1d3fd042857 22:01:05 Removing intermediate container c1d3fd042857 22:01:05 ---> e54ae78babad 22:01:05 Step 16/27 : RUN apk add --update --no-cache dumb-init 22:01:05 ---> Running in e7d20d93dd7b 22:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:01:05 (1/1) Installing dumb-init (1.2.5-r2) 22:01:05 Executing busybox-1.36.1-r2.trigger 22:01:05 OK: 8 MiB in 16 packages 22:01:05 Removing intermediate container e7d20d93dd7b 22:01:05 ---> ff4a4bae1222 22:01:05 Step 17/27 : RUN apk --no-cache upgrade 22:01:05 ---> Running in 0f7ecae00800 22:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:01:05 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:01:05 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:01:05 Executing busybox-1.36.1-r5.post-upgrade 22:01:05 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:01:05 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:01:05 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:01:05 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:01:05 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:01:05 Executing busybox-1.36.1-r5.trigger 22:01:05 OK: 8 MiB in 16 packages 22:01:05 Removing intermediate container 0f7ecae00800 22:01:05 ---> 06d1dd1d48e8 22:01:05 Step 18/27 : WORKDIR / 22:01:05 ---> Running in c56177daec0e 22:01:05 Removing intermediate container c56177daec0e 22:01:05 ---> ec73987f8cf6 22:01:05 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 22:01:05 ---> fe13ed91de33 22:01:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:01:05 ---> 9d8ad4c1d6af 22:01:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:01:05 ---> 581882c49490 22:01:05 Step 22/27 : EXPOSE 59984 22:01:05 ---> Running in 3f56edaf3207 22:01:05 Removing intermediate container 3f56edaf3207 22:01:05 ---> b2e83c79149a 22:01:05 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:01:05 ---> Running in 771eecf5f65d 22:01:05 Removing intermediate container 771eecf5f65d 22:01:05 ---> 4a22ef318ca4 22:01:05 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:01:05 ---> Running in e49cd7071df7 22:01:05 Removing intermediate container e49cd7071df7 22:01:05 ---> 64d27acc516d 22:01:05 Step 25/27 : LABEL arch=arm64 22:01:05 ---> Running in c277079d7598 22:01:06 Removing intermediate container c277079d7598 22:01:06 ---> a68e998308f8 22:01:06 Step 26/27 : LABEL git_sha=52e219e200aa3f0791b8f147aa403b803b9db216 22:01:06 ---> Running in 2043a71a239b 22:01:06 Removing intermediate container 2043a71a239b 22:01:06 ---> bc0c19b8e15d 22:01:06 Step 27/27 : LABEL version=3.1.0-dev.27 22:01:06 ---> Running in be9bd4651464 22:01:06 Removing intermediate container be9bd4651464 22:01:06 ---> 87909d49f2e7 22:01:06 [Warning] One or more build-args [ARCH] were not consumed 22:01:07 Successfully built 87909d49f2e7 22:01:07 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:07 provisioning config files... 22:01:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/184@tmp/config13306499107299058127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:07 ---> docker-login.sh 22:01:07 nexus3.edgexfoundry.org:10001 22:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:07 Configure a credential helper to remove this warning. See 22:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:07 22:01:07 Login Succeeded 22:01:07 nexus3.edgexfoundry.org:10002 22:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:08 Configure a credential helper to remove this warning. See 22:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:08 22:01:08 Login Succeeded 22:01:08 nexus3.edgexfoundry.org:10003 22:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:08 Configure a credential helper to remove this warning. See 22:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:08 22:01:08 Login Succeeded 22:01:08 nexus3.edgexfoundry.org:10004 22:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:09 Configure a credential helper to remove this warning. See 22:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:09 22:01:09 Login Succeeded 22:01:09 docker.io 22:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:09 Configure a credential helper to remove this warning. See 22:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:09 22:01:09 Login Succeeded 22:01:09 ---> docker-login.sh ends [Pipeline] } 22:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:01:09 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 22:01:09 52e219e200aa3f0791b8f147aa403b803b9db216 22:01:09 latest 22:01:09 3.1.0-dev.27 22:01:09 52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 22:01:09 main 22:01:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216 22:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:01:10 e3095fcdc1a8: Preparing 22:01:10 52a42a03f240: Preparing 22:01:10 53107da081b1: Preparing 22:01:10 da4729c1d7bc: Preparing 22:01:10 6945a2eae79a: Preparing 22:01:10 5f4d9fc4d98d: Preparing 22:01:10 5f4d9fc4d98d: Waiting 22:01:10 52a42a03f240: Pushed 22:01:10 6945a2eae79a: Pushed 22:01:10 e3095fcdc1a8: Pushed 22:01:10 5f4d9fc4d98d: Layer already exists 22:01:12 da4729c1d7bc: Pushed 22:01:17 53107da081b1: Pushed 22:01:17 52e219e200aa3f0791b8f147aa403b803b9db216: digest: sha256:674d1bba27a378aad3051ae830fdfdfd71ba01bd5f7a29cd5c6e42473cebc0e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:01:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:01:18 e3095fcdc1a8: Preparing 22:01:18 52a42a03f240: Preparing 22:01:18 53107da081b1: Preparing 22:01:18 da4729c1d7bc: Preparing 22:01:18 6945a2eae79a: Preparing 22:01:18 5f4d9fc4d98d: Preparing 22:01:18 5f4d9fc4d98d: Waiting 22:01:18 6945a2eae79a: Layer already exists 22:01:18 da4729c1d7bc: Layer already exists 22:01:18 53107da081b1: Layer already exists 22:01:18 e3095fcdc1a8: Layer already exists 22:01:18 52a42a03f240: Layer already exists 22:01:18 5f4d9fc4d98d: Layer already exists 22:01:18 latest: digest: sha256:674d1bba27a378aad3051ae830fdfdfd71ba01bd5f7a29cd5c6e42473cebc0e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.27 22:01:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:01:19 e3095fcdc1a8: Preparing 22:01:19 52a42a03f240: Preparing 22:01:19 53107da081b1: Preparing 22:01:19 da4729c1d7bc: Preparing 22:01:19 6945a2eae79a: Preparing 22:01:19 5f4d9fc4d98d: Preparing 22:01:19 5f4d9fc4d98d: Waiting 22:01:19 6945a2eae79a: Layer already exists 22:01:19 e3095fcdc1a8: Layer already exists 22:01:19 da4729c1d7bc: Layer already exists 22:01:19 53107da081b1: Layer already exists 22:01:19 52a42a03f240: Layer already exists 22:01:19 5f4d9fc4d98d: Layer already exists 22:01:19 3.1.0-dev.27: digest: sha256:674d1bba27a378aad3051ae830fdfdfd71ba01bd5f7a29cd5c6e42473cebc0e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 22:01:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:01:20 e3095fcdc1a8: Preparing 22:01:20 52a42a03f240: Preparing 22:01:20 53107da081b1: Preparing 22:01:20 da4729c1d7bc: Preparing 22:01:20 6945a2eae79a: Preparing 22:01:20 5f4d9fc4d98d: Preparing 22:01:20 5f4d9fc4d98d: Waiting 22:01:20 53107da081b1: Layer already exists 22:01:20 52a42a03f240: Layer already exists 22:01:20 6945a2eae79a: Layer already exists 22:01:20 e3095fcdc1a8: Layer already exists 22:01:20 da4729c1d7bc: Layer already exists 22:01:20 5f4d9fc4d98d: Layer already exists 22:01:20 52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27: digest: sha256:674d1bba27a378aad3051ae830fdfdfd71ba01bd5f7a29cd5c6e42473cebc0e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 22:01:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:01:21 e3095fcdc1a8: Preparing 22:01:21 52a42a03f240: Preparing 22:01:21 53107da081b1: Preparing 22:01:21 da4729c1d7bc: Preparing 22:01:21 6945a2eae79a: Preparing 22:01:21 5f4d9fc4d98d: Preparing 22:01:21 5f4d9fc4d98d: Waiting 22:01:21 52a42a03f240: Layer already exists 22:01:21 da4729c1d7bc: Layer already exists 22:01:21 6945a2eae79a: Layer already exists 22:01:21 e3095fcdc1a8: Layer already exists 22:01:21 53107da081b1: Layer already exists 22:01:21 5f4d9fc4d98d: Layer already exists 22:01:21 main: digest: sha256:674d1bba27a378aad3051ae830fdfdfd71ba01bd5f7a29cd5c6e42473cebc0e8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:21 ===================================================== [Pipeline] echo 22:01:21 taggedImages: 22:01:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216 22:01:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:01:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.27 22:01:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:52e219e200aa3f0791b8f147aa403b803b9db216-3.1.0-dev.27 22:01:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:22 22:01:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:22 arm64: Pulling from edgex-lftools-log-publisher 22:01:22 8998bd30e6a1: Pulling fs layer 22:01:22 04944245beec: Pulling fs layer 22:01:22 699f458cf7ca: Pulling fs layer 22:01:22 765212b225bb: Pulling fs layer 22:01:22 f23df028b6ca: Pulling fs layer 22:01:22 d65c8cfc05b1: Pulling fs layer 22:01:22 2437ff75d9bd: Pulling fs layer 22:01:22 765212b225bb: Waiting 22:01:22 f23df028b6ca: Waiting 22:01:22 d65c8cfc05b1: Waiting 22:01:22 2437ff75d9bd: Waiting 22:01:22 04944245beec: Verifying Checksum 22:01:22 04944245beec: Download complete 22:01:22 765212b225bb: Verifying Checksum 22:01:22 765212b225bb: Download complete 22:01:22 f23df028b6ca: Verifying Checksum 22:01:22 f23df028b6ca: Download complete 22:01:22 d65c8cfc05b1: Verifying Checksum 22:01:22 d65c8cfc05b1: Download complete 22:01:22 699f458cf7ca: Verifying Checksum 22:01:22 699f458cf7ca: Download complete 22:01:23 8998bd30e6a1: Verifying Checksum 22:01:23 8998bd30e6a1: Download complete 22:01:25 2437ff75d9bd: Verifying Checksum 22:01:25 2437ff75d9bd: Download complete 22:01:27 8998bd30e6a1: Pull complete 22:01:28 04944245beec: Pull complete 22:01:33 699f458cf7ca: Pull complete 22:01:33 765212b225bb: Pull complete 22:01:33 f23df028b6ca: Pull complete 22:01:34 d65c8cfc05b1: Pull complete 22:01:52 2437ff75d9bd: Pull complete 22:01:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:52 prd-ubuntu20.04-docker-arm64-4c-16g-17558 does not seem to be running inside a container 22:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/184 -v /w/workspace/device-onvif-camera/184:/w/workspace/device-onvif-camera/184:rw,z -v /w/workspace/device-onvif-camera/184@tmp:/w/workspace/device-onvif-camera/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:01:55 $ docker top da4907297cddec5aa006c302236645cfc66f87eff7fc90b0cc8af5f7cb7a4529 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:56 ---> job-cost.sh 22:01:56 lf-activate-venv: SKIPPING 22:01:56 INFO: No Stack... 22:01:56 INFO: Retrieving Pricing Info for: v3-standard-4 22:01:57 INFO: Archiving Costs [Pipeline] sh 22:01:58 + cat /w/workspace/device-onvif-camera/184/archives/cost.csv 22:01:58 + cut -d, -f6 [Pipeline] lock 22:01:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] 22:01:58 Resource [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] did not exist. Created. 22:01:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:01:59 /w/workspace/device-onvif-camera/184@tmp/durable-2abe2e99/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:01:59 + echo total: 0.10999999940395355 [Pipeline] stash 22:01:59 Warning: overwriting stash ‘stack-cost’ 22:01:59 Stashed 1 file(s) [Pipeline] } 22:01:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-184-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:00 $ docker stop --time=1 da4907297cddec5aa006c302236645cfc66f87eff7fc90b0cc8af5f7cb7a4529 22:02:01 $ docker rm -f --volumes da4907297cddec5aa006c302236645cfc66f87eff7fc90b0cc8af5f7cb7a4529 [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 22:02:01 provisioning config files... 22:02:01 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17347794938838783089tmp [Pipeline] { [Pipeline] sh 22:02:02 + set +x 22:02:02 + curl+ -s https://codecov.io/bash 22:02:02 bash -s -- 22:02:02 22:02:02 _____ _ 22:02:02 / ____| | | 22:02:02 | | ___ __| | ___ ___ _____ __ 22:02:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:02:02 | |___| (_) | (_| | __/ (_| (_) \ V / 22:02:02 \_____\___/ \__,_|\___|\___\___/ \_/ 22:02:02 Bash-1.0.6 22:02:02 22:02:02 22:02:02 ==> git version 2.25.1 found 22:02:02 ==> 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 22:02:02 Release-Date: 2020-01-08 22:02:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:02:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:02:02 ==> Jenkins CI detected. 22:02:02 current dir:  /w/workspace/foundry_device-onvif-camera_main 22:02:02 project root: . 22:02:02 --> token set from env 22:02:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:02:02 ==> Running gcov in . (disable via -X gcov) 22:02:02 ==> Python coveragepy not found 22:02:02 ==> Searching for coverage reports in: 22:02:02 + . 22:02:02 -> Found 1 reports 22:02:02 ==> Detecting git/mercurial file structure 22:02:02 ==> Reading reports 22:02:02 + ./coverage.out bytes=78456 22:02:02 ==> Appending adjustments 22:02:02 https://docs.codecov.io/docs/fixing-reports 22:02:02 + Found adjustments 22:02:02 ==> Gzipping contents 22:02:02 12K /tmp/codecov.TDBqJa.gz 22:02:02 ==> Uploading reports 22:02:02 url: https://codecov.io 22:02:02 query: branch=main&commit=52e219e200aa3f0791b8f147aa403b803b9db216&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:02 -> Pinging Codecov 22:02:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=52e219e200aa3f0791b8f147aa403b803b9db216&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:02 -> Uploading to 22:02:02 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/F29A59C45E3A92E06B3E522C9905F8EF/52e219e200aa3f0791b8f147aa403b803b9db216/7cfedbff-5674-4b48-8491-90df21f5de83.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T220202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e44a99e3d727fdfa934d7c35f8b4de3a9eac49a5851d4062bea7eea7730829a1 22:02:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:02:02 Dload Upload Total Spent Left Speed 22:02:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 41346 --:--:-- --:--:-- --:--:-- 41346 22:02:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] } 22:02:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:02:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:02:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:03 22:02:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:02:03 df9b9388f04a: Pulling fs layer 22:02:03 52dc419b0ee2: Pulling fs layer 22:02:03 25bc292e5bac: Pulling fs layer 22:02:03 114826534d7a: Pulling fs layer 22:02:03 4657fd5d0bcf: Pulling fs layer 22:02:03 6ad1cebc031e: Pulling fs layer 22:02:03 8a3aa393b2d8: Pulling fs layer 22:02:03 4657fd5d0bcf: Waiting 22:02:03 6ad1cebc031e: Waiting 22:02:03 8a3aa393b2d8: Waiting 22:02:03 114826534d7a: Waiting 22:02:03 25bc292e5bac: Download complete 22:02:03 52dc419b0ee2: Verifying Checksum 22:02:03 52dc419b0ee2: Download complete 22:02:03 4657fd5d0bcf: Verifying Checksum 22:02:03 4657fd5d0bcf: Download complete 22:02:03 df9b9388f04a: Verifying Checksum 22:02:03 df9b9388f04a: Download complete 22:02:04 df9b9388f04a: Pull complete 22:02:04 6ad1cebc031e: Verifying Checksum 22:02:04 6ad1cebc031e: Download complete 22:02:04 52dc419b0ee2: Pull complete 22:02:04 25bc292e5bac: Pull complete 22:02:04 114826534d7a: Download complete 22:02:04 8a3aa393b2d8: Verifying Checksum 22:02:04 8a3aa393b2d8: Download complete 22:02:08 114826534d7a: Pull complete 22:02:08 4657fd5d0bcf: Pull complete 22:02:08 6ad1cebc031e: Pull complete 22:02:10 8a3aa393b2d8: Pull complete 22:02:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:10 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:02:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:02:15 $ docker top e13d9874bba68fcfe5d148aef430bbe4ac1b3405a4d0b2a9dfe6f5e1ef69bbe9 -eo pid,comm [Pipeline] { [Pipeline] echo 22:02:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 22:02:16 + set -o pipefail 22:02:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 22:02:21 22:02:21 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 22:02:21 22:02:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/a7ed720c-9ebd-452b-af8f-2520898b90e7 22:02:21 22:02:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:02:21 22:02:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:02:21 22:02:21 22:02:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:02:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:02:21 More details here: https://snyk.co/ue1NS 22:02:21 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:02:21 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:02:21 $ docker stop --time=1 e13d9874bba68fcfe5d148aef430bbe4ac1b3405a4d0b2a9dfe6f5e1ef69bbe9 22:02:25 $ docker rm -f --volumes e13d9874bba68fcfe5d148aef430bbe4ac1b3405a4d0b2a9dfe6f5e1ef69bbe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 22:02:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:02:25 provisioning config files... 22:02:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14484430336940527134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:26 --> edgex-publish-swagger.sh 22:02:26 === Publish doc/openapi/v3 API === 22:02:26 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 22:02:26 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 22:02:26 % Total % Received % Xferd Average Speed Time Time Time Current 22:02:26 Dload Upload Total Spent Left Speed 22:02:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 485k 0 0 13 65535 0 752k --:--:-- --:--:-- --:--:-- 744k 100 485k 0 0 100 485k 0 421k 0:00:01 0:00:01 --:--:-- 420k 100 485k 0 0 100 485k 0 421k 0:00:01 0:00:01 --:--:-- 420k 22:02:27 22:02:27 [Pipeline] } 22:02:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:27 + git log --format=format:%s -1 52e219e200aa3f0791b8f147aa403b803b9db216 [Pipeline] sh 22:02:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:28 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:28 $ docker top c18c064ad664d5f0a7c2d1998e3333d7961651cd5250743294cc4c62c2dc205d -eo pid,comm 22:02:28 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). 22:02:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:28 [ssh-agent] Looking for ssh-agent implementation... 22:02:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:28 $ docker exec c18c064ad664d5f0a7c2d1998e3333d7961651cd5250743294cc4c62c2dc205d ssh-agent 22:02:29 SSH_AUTH_SOCK=/tmp/ssh-ixV7xPBFG65y/agent.32 22:02:29 SSH_AGENT_PID=38 22:02:29 Running ssh-add (command line suppressed) 22:02:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11689175275682570994.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11689175275682570994.key) 22:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:29 + git semver tag 22:02:29 2023-11-14 22:02:29,641 [run_tag] DEBUG tag force:False 22:02:29 2023-11-14 22:02:29,641 [check_head_tag] DEBUG check head tag 22:02:29 2023-11-14 22:02:29,641 [execute] INFO git cat-file --batch-check 22:02:29 2023-11-14 22:02:29,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:02:29 2023-11-14 22:02:29,645 [execute] INFO git cat-file --batch 22:02:29 2023-11-14 22:02:29,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:02:29 2023-11-14 22:02:29,658 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:29 2023-11-14 22:02:29,658 [execute] INFO git tag -a v3.1.0-dev.27 -m v3.1.0-dev.27 22:02:29 2023-11-14 22:02:29,658 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.27', '-m', 'v3.1.0-dev.27'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 22:02:29 2023-11-14 22:02:29,663 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:29 3.1.0-dev.27 [Pipeline] } 22:02:29 $ docker exec --env ******** --env ******** c18c064ad664d5f0a7c2d1998e3333d7961651cd5250743294cc4c62c2dc205d ssh-agent -k 22:02:29 unset SSH_AUTH_SOCK; 22:02:29 unset SSH_AGENT_PID; 22:02:29 echo Agent pid 38 killed; 22:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:30 + git semver [Pipeline] } 22:02:30 $ docker stop --time=1 c18c064ad664d5f0a7c2d1998e3333d7961651cd5250743294cc4c62c2dc205d 22:02:31 $ docker rm -f --volumes c18c064ad664d5f0a7c2d1998e3333d7961651cd5250743294cc4c62c2dc205d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:32 22:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:32 0.23.1-centos7: Pulling from edgex-lftools 22:02:32 ab5ef0e58194: Pulling fs layer 22:02:32 9712f1f96733: Pulling fs layer 22:02:32 63f879dbbcfc: Pulling fs layer 22:02:32 0d9ebad4ef96: Pulling fs layer 22:02:32 e9a5061849ea: Pulling fs layer 22:02:32 d747dcd14b5f: Pulling fs layer 22:02:32 2de7ff778b66: Pulling fs layer 22:02:32 0d9ebad4ef96: Waiting 22:02:32 d747dcd14b5f: Waiting 22:02:32 9712f1f96733: Verifying Checksum 22:02:32 9712f1f96733: Download complete 22:02:32 63f879dbbcfc: Verifying Checksum 22:02:32 63f879dbbcfc: Download complete 22:02:32 e9a5061849ea: Verifying Checksum 22:02:32 e9a5061849ea: Download complete 22:02:32 d747dcd14b5f: Download complete 22:02:32 ab5ef0e58194: Verifying Checksum 22:02:32 ab5ef0e58194: Download complete 22:02:32 0d9ebad4ef96: Verifying Checksum 22:02:32 0d9ebad4ef96: Download complete 22:02:32 2de7ff778b66: Verifying Checksum 22:02:32 2de7ff778b66: Download complete 22:02:35 ab5ef0e58194: Pull complete 22:02:35 9712f1f96733: Pull complete 22:02:35 63f879dbbcfc: Pull complete 22:02:39 0d9ebad4ef96: Pull complete 22:02:39 e9a5061849ea: Pull complete 22:02:39 d747dcd14b5f: Pull complete 22:02:40 2de7ff778b66: Pull complete 22:02:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:40 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:02:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:02:46 $ docker top f62dcbb433e712c16820d48cc2200ceb2f12c0d64460caded553e6543e05d66d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:02:46 provisioning config files... 22:02:46 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11582942303651288852tmp 22:02:46 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15701313027410846598tmp 22:02:46 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14337696221236819125tmp [Pipeline] { [Pipeline] echo 22:02:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:02:46 ---> sigul-configuration.sh 22:02:46 gpg: directory `/root/.gnupg' created 22:02:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:02:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:02:46 gpg: keyring `/root/.gnupg/secring.gpg' created 22:02:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:02:46 gpg: CAST5 encrypted data 22:02:46 gpg: encrypted with 1 passphrase 22:02:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:02:46 + mkdir /home/jenkins 22:02:46 + mkdir /home/jenkins/sigul [Pipeline] sh 22:02:47 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:02:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:02:47 ---> sigul-install.sh 22:02:47 Sigul already installed; skipping installation. [Pipeline] sh 22:02:47 + git tag --list 22:02:47 v0.0.0 22:02:47 v2.2.0 22:02:47 v2.3.0 22:02:47 v2.3.1 22:02:47 v3.0 22:02:47 v3.0.0 22:02:47 v3.1.0-dev.1 22:02:47 v3.1.0-dev.10 22:02:47 v3.1.0-dev.11 22:02:47 v3.1.0-dev.12 22:02:47 v3.1.0-dev.13 22:02:47 v3.1.0-dev.14 22:02:47 v3.1.0-dev.15 22:02:47 v3.1.0-dev.16 22:02:47 v3.1.0-dev.17 22:02:47 v3.1.0-dev.18 22:02:47 v3.1.0-dev.19 22:02:47 v3.1.0-dev.2 22:02:47 v3.1.0-dev.20 22:02:47 v3.1.0-dev.21 22:02:47 v3.1.0-dev.22 22:02:47 v3.1.0-dev.23 22:02:47 v3.1.0-dev.24 22:02:47 v3.1.0-dev.25 22:02:47 v3.1.0-dev.26 22:02:47 v3.1.0-dev.27 22:02:47 v3.1.0-dev.3 22:02:47 v3.1.0-dev.4 22:02:47 v3.1.0-dev.5 22:02:47 v3.1.0-dev.6 22:02:47 v3.1.0-dev.7 22:02:47 v3.1.0-dev.8 22:02:47 v3.1.0-dev.9 [Pipeline] sh 22:02:47 + lftools sign git-tag v3.1.0-dev.27 22:02:48 Signing Git tag with Sigul... 22:02:48 Signing v3.1.0-dev.27 [Pipeline] echo 22:02:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:02:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:02:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:02:49 $ docker stop --time=1 f62dcbb433e712c16820d48cc2200ceb2f12c0d64460caded553e6543e05d66d 22:02:50 $ docker rm -f --volumes f62dcbb433e712c16820d48cc2200ceb2f12c0d64460caded553e6543e05d66d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:02:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:51 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:51 $ docker top 3b2606d9d831667ccc490e8db02db70984cc52eba19610ef5d4043431d3ff9f4 -eo pid,comm 22:02:51 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). 22:02:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:51 [ssh-agent] Looking for ssh-agent implementation... 22:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:51 $ docker exec 3b2606d9d831667ccc490e8db02db70984cc52eba19610ef5d4043431d3ff9f4 ssh-agent 22:02:51 SSH_AUTH_SOCK=/tmp/ssh-T7VfiSN10YnN/agent.33 22:02:51 SSH_AGENT_PID=39 22:02:51 Running ssh-add (command line suppressed) 22:02:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_434925015596615566.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_434925015596615566.key) 22:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:52 + git semver bump pre 22:02:52 2023-11-14 22:02:52,378 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:52 2023-11-14 22:02:52,378 [bump_version] DEBUG bumping version:3.1.0-dev.27 on axis:pre with prefix:dev 22:02:52 2023-11-14 22:02:52,378 [bump_version] DEBUG bumped version:3.1.0-dev.28 22:02:52 2023-11-14 22:02:52,378 [write_version] DEBUG write version:3.1.0-dev.28 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 22:02:52 2023-11-14 22:02:52,378 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:52 2023-11-14 22:02:52,378 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:52 2023-11-14 22:02:52,380 [execute] INFO git cat-file --batch-check 22:02:52 2023-11-14 22:02:52,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:52 2023-11-14 22:02:52,385 [execute] INFO git cat-file --batch 22:02:52 2023-11-14 22:02:52,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:52 2023-11-14 22:02:52,390 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:52 3.1.0-dev.28 [Pipeline] } 22:02:52 $ docker exec --env ******** --env ******** 3b2606d9d831667ccc490e8db02db70984cc52eba19610ef5d4043431d3ff9f4 ssh-agent -k 22:02:52 unset SSH_AUTH_SOCK; 22:02:52 unset SSH_AGENT_PID; 22:02:52 echo Agent pid 39 killed; 22:02:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:52 + git semver [Pipeline] } 22:02:53 $ docker stop --time=1 3b2606d9d831667ccc490e8db02db70984cc52eba19610ef5d4043431d3ff9f4 22:02:54 $ docker rm -f --volumes 3b2606d9d831667ccc490e8db02db70984cc52eba19610ef5d4043431d3ff9f4 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:55 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:02:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:55 $ docker top a6ea6a1af41056e24ae7d81cf43775ecc7c59754b5e9324af8a91250e6b7455a -eo pid,comm 22:02:55 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). 22:02:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:55 [ssh-agent] Looking for ssh-agent implementation... 22:02:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:55 $ docker exec a6ea6a1af41056e24ae7d81cf43775ecc7c59754b5e9324af8a91250e6b7455a ssh-agent 22:02:55 SSH_AUTH_SOCK=/tmp/ssh-8jTGw152oSoU/agent.32 22:02:55 SSH_AGENT_PID=38 22:02:55 Running ssh-add (command line suppressed) 22:02:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4926598234933563705.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4926598234933563705.key) 22:02:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:56 + git semver push 22:02:56 2023-11-14 22:02:56,319 [run_push] DEBUG push 22:02:56 2023-11-14 22:02:56,320 [execute] INFO git cat-file --batch-check 22:02:56 2023-11-14 22:02:56,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:56 2023-11-14 22:02:56,323 [execute] INFO git rev-list 89a33ce2ba0e340f27bef47b4ed4890f59aa68c2 -- 22:02:56 2023-11-14 22:02:56,323 [execute] DEBUG Popen(['git', 'rev-list', '89a33ce2ba0e340f27bef47b4ed4890f59aa68c2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:56 2023-11-14 22:02:56,330 [execute] INFO git fetch -v origin 22:02:56 2023-11-14 22:02:56,331 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 22:02:56 2023-11-14 22:02:56,890 [run_push] DEBUG no remote changes detected 22:02:56 2023-11-14 22:02:56,890 [execute] INFO git push origin semver 22:02:56 2023-11-14 22:02:56,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:57 2023-11-14 22:02:57,635 [run_push] DEBUG push all version tags 22:02:57 2023-11-14 22:02:57,635 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:02:57 2023-11-14 22:02:57,636 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 22:02:58 2023-11-14 22:02:58,458 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:02:58 3.1.0-dev.28 [Pipeline] } 22:02:58 $ docker exec --env ******** --env ******** a6ea6a1af41056e24ae7d81cf43775ecc7c59754b5e9324af8a91250e6b7455a ssh-agent -k 22:02:58 unset SSH_AUTH_SOCK; 22:02:58 unset SSH_AGENT_PID; 22:02:58 echo Agent pid 38 killed; 22:02:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:58 + git semver [Pipeline] } 22:02:59 $ docker stop --time=1 a6ea6a1af41056e24ae7d81cf43775ecc7c59754b5e9324af8a91250e6b7455a 22:03:00 $ docker rm -f --volumes a6ea6a1af41056e24ae7d81cf43775ecc7c59754b5e9324af8a91250e6b7455a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 22:03:01 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 22:03:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:03:01 total 16 22:03:01 drwxr-xr-x 3 root root 4096 Nov 14 21:50 . 22:03:01 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:02 .. 22:03:01 drwxr-xr-x 2 root root 4096 Nov 14 21:50 cost 22:03:01 -rw-r--r-- 1 root root 91 Nov 14 21:50 cost.csv 22:03:01 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 22:03:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:03:01 total 16 22:03:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:50 . 22:03:01 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:02 .. 22:03:01 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:50 cost 22:03:01 -rw-r--r-- 1 jenkins jenkins 91 Nov 14 21:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:03:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:03:02 ---> package-listing.sh 22:03:02 ++ facter osfamily 22:03:02 ++ tr '[:upper:]' '[:lower:]' 22:03:02 + OS_FAMILY=debian 22:03:02 + workspace=/w/workspace/foundry_device-onvif-camera_main 22:03:02 + START_PACKAGES=/tmp/packages_start.txt 22:03:02 + END_PACKAGES=/tmp/packages_end.txt 22:03:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:03:02 + PACKAGES=/tmp/packages_start.txt 22:03:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:03:02 + PACKAGES=/tmp/packages_end.txt 22:03:02 + case "${OS_FAMILY}" in 22:03:02 + dpkg -l 22:03:02 + grep '^ii' 22:03:02 + '[' -f /tmp/packages_start.txt ']' 22:03:02 + '[' -f /tmp/packages_end.txt ']' 22:03:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:03:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:03:02 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 22:03:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 22:03:02 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:03:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:03 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 22:03:03 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:03 $ docker top cc45b6bc0a62484462a0037776b99aead5295fe6804f668522bc93aa49f4c1f3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:04 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:04 + ls /var/log/sa-host 22:03:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:04 provisioning config files... 22:03:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config562484701894743129tmp [Pipeline] { [Pipeline] echo 22:03:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:05 ---> create-netrc.sh [Pipeline] } 22:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:05 ---> python-tools-install.sh [Pipeline] echo 22:03:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:05 ---> sudo-logs.sh 22:03:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:05 ---> job-cost.sh 22:03:05 lf-activate-venv: SKIPPING 22:03:05 DEBUG: total: 0.2199999988079071 22:03:05 INFO: Retrieving Stack Cost... 22:03:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:06 INFO: Archiving Costs [Pipeline] echo 22:03:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:07 ---> logs-deploy.sh 22:03:07 lf-activate-venv: SKIPPING 22:03:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/184 22:03:07 INFO: archiving workspace using pattern(s): 22:03:08 Archives upload complete. 22:03:08 INFO: archiving logs to Nexus