Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b23bf323986474a02c08d039be0c06384ee74361 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-ssh8775750432769092021.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5898002863952521661.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15436582015209239463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh11548449026682194918.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-ssh17038294705456445551.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9193 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 b23bf323986474a02c08d039be0c06384ee74361 (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 b23bf323986474a02c08d039be0c06384ee74361 # timeout=10 Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > git rev-list --no-walk 425fb4d0c72a1eaf8f640bc9d7d1b1c2214ffc3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-13T04:25:17.180Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-13T04:25:17.222Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-13T04:25:17.235Z] ========================================================= [2023-10-13T04:25:17.235Z] EdgeX Global Pipelines Version Info [2023-10-13T04:25:17.235Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:25:17.944Z] ------------------- [2023-10-13T04:25:17.944Z] stable info: [2023-10-13T04:25:17.944Z] ------------------- [2023-10-13T04:25:17.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-13T04:25:17.944Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T04:25:17.944Z] Message: update stable to v1.0.254 [2023-10-13T04:25:18.516Z] ------------------- [2023-10-13T04:25:18.516Z] experimental info: [2023-10-13T04:25:18.516Z] ------------------- [2023-10-13T04:25:18.516Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-13T04:25:18.516Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T04:25:18.516Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-13T04:25:18.679Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-10-13T04:25:18.697Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-10-13T04:25:18.714Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-13T04:25:18.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-13T04:25:18.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-13T04:25:18.767Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-13T04:25:18.785Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-13T04:25:18.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-13T04:25:18.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-13T04:25:18.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-13T04:25:18.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-13T04:25:18.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-10-13T04:25:18.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-13T04:25:18.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-13T04:25:18.925Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T04:25:18.934Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T04:25:18.943Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T04:25:18.951Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T04:25:18.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-13T04:25:18.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-13T04:25:19.001Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-13T04:25:19.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-10-13T04:25:19.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-13T04:25:19.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-13T04:25:19.061Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-13T04:25:19.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-13T04:25:19.084Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-13T04:25:19.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-13T04:25:19.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-13T04:25:19.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-13T04:25:19.152Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo [2023-10-13T04:25:19.172Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b23bf32 [Pipeline] echo [2023-10-13T04:25:19.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T04:25:19.228Z] provisioning config files... [2023-10-13T04:25:19.239Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8433974709622215276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:25:19.545Z] ---> docker-login.sh [2023-10-13T04:25:19.545Z] nexus3.edgexfoundry.org:10001 [2023-10-13T04:25:19.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:19.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:19.806Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:19.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:19.806Z] [2023-10-13T04:25:19.806Z] Login Succeeded [2023-10-13T04:25:19.806Z] nexus3.edgexfoundry.org:10002 [2023-10-13T04:25:19.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:20.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:20.069Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:20.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:20.069Z] [2023-10-13T04:25:20.069Z] Login Succeeded [2023-10-13T04:25:20.069Z] nexus3.edgexfoundry.org:10003 [2023-10-13T04:25:20.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:20.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:20.069Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:20.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:20.069Z] [2023-10-13T04:25:20.069Z] Login Succeeded [2023-10-13T04:25:20.069Z] nexus3.edgexfoundry.org:10004 [2023-10-13T04:25:20.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:20.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:20.329Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:20.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:20.329Z] [2023-10-13T04:25:20.329Z] Login Succeeded [2023-10-13T04:25:20.329Z] docker.io [2023-10-13T04:25:20.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:20.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:20.590Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:20.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:20.590Z] [2023-10-13T04:25:20.590Z] Login Succeeded [2023-10-13T04:25:20.590Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T04:25:20.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-13T04:25:20.981Z] + git rev-list -1 --merges b23bf323986474a02c08d039be0c06384ee74361~1..b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo [2023-10-13T04:25:21.022Z] -----------> git rev-list -1 --merges b23bf323986474a02c08d039be0c06384ee74361~1..b23bf323986474a02c08d039be0c06384ee74361 b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:25:21.023Z] b23bf323986474a02c08d039be0c06384ee74361 [false] [Pipeline] sh [2023-10-13T04:25:21.313Z] + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo [2023-10-13T04:25:21.353Z] ========================================================= [2023-10-13T04:25:21.353Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-13T04:25:21.353Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T04:25:21.677Z] + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo [2023-10-13T04:25:21.689Z] [semverPrep] GIT_COMMIT: b23bf323986474a02c08d039be0c06384ee74361, Commit Message: Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo [2023-10-13T04:25:21.698Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-13T04:25:22.069Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T04:25:22.069Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-13T04:25:22.069Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-13T04:25:22.069Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-13T04:25:22.069Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-13T04:25:22.069Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-13T04:25:22.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:25:22.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:25:22.494Z] [2023-10-13T04:25:22.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:25:22.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:25:22.800Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-13T04:25:22.800Z] b85a868b505f: Pulling fs layer [2023-10-13T04:25:22.800Z] e2be974225ed: Pulling fs layer [2023-10-13T04:25:22.800Z] 339a4e72a1f5: Pulling fs layer [2023-10-13T04:25:22.800Z] 988bab9f4d93: Pulling fs layer [2023-10-13T04:25:22.800Z] 1469e6f7b9e6: Pulling fs layer [2023-10-13T04:25:22.800Z] eaf3925da568: Pulling fs layer [2023-10-13T04:25:22.800Z] bab4dde63d76: Pulling fs layer [2023-10-13T04:25:22.800Z] bde34c3a00c8: Pulling fs layer [2023-10-13T04:25:22.800Z] b352a97aabf1: Pulling fs layer [2023-10-13T04:25:22.800Z] 4872d77fe225: Pulling fs layer [2023-10-13T04:25:22.800Z] 5851b861e8e6: Pulling fs layer [2023-10-13T04:25:22.800Z] b352a97aabf1: Waiting [2023-10-13T04:25:22.800Z] 5851b861e8e6: Waiting [2023-10-13T04:25:22.800Z] 1469e6f7b9e6: Waiting [2023-10-13T04:25:22.800Z] eaf3925da568: Waiting [2023-10-13T04:25:22.800Z] bab4dde63d76: Waiting [2023-10-13T04:25:22.800Z] 4872d77fe225: Waiting [2023-10-13T04:25:22.800Z] bde34c3a00c8: Waiting [2023-10-13T04:25:22.800Z] e2be974225ed: Verifying Checksum [2023-10-13T04:25:22.800Z] e2be974225ed: Download complete [2023-10-13T04:25:22.800Z] 988bab9f4d93: Download complete [2023-10-13T04:25:22.800Z] 1469e6f7b9e6: Verifying Checksum [2023-10-13T04:25:22.800Z] 1469e6f7b9e6: Download complete [2023-10-13T04:25:22.800Z] eaf3925da568: Verifying Checksum [2023-10-13T04:25:22.800Z] eaf3925da568: Download complete [2023-10-13T04:25:23.059Z] 339a4e72a1f5: Verifying Checksum [2023-10-13T04:25:23.059Z] 339a4e72a1f5: Download complete [2023-10-13T04:25:23.059Z] bde34c3a00c8: Download complete [2023-10-13T04:25:23.059Z] b352a97aabf1: Verifying Checksum [2023-10-13T04:25:23.059Z] b352a97aabf1: Download complete [2023-10-13T04:25:23.059Z] 4872d77fe225: Verifying Checksum [2023-10-13T04:25:23.059Z] 4872d77fe225: Download complete [2023-10-13T04:25:23.059Z] 5851b861e8e6: Verifying Checksum [2023-10-13T04:25:23.059Z] 5851b861e8e6: Download complete [2023-10-13T04:25:23.059Z] b85a868b505f: Verifying Checksum [2023-10-13T04:25:23.059Z] b85a868b505f: Download complete [2023-10-13T04:25:23.317Z] bab4dde63d76: Verifying Checksum [2023-10-13T04:25:23.317Z] bab4dde63d76: Download complete [2023-10-13T04:25:24.252Z] b85a868b505f: Pull complete [2023-10-13T04:25:24.252Z] e2be974225ed: Pull complete [2023-10-13T04:25:24.819Z] 339a4e72a1f5: Pull complete [2023-10-13T04:25:24.819Z] 988bab9f4d93: Pull complete [2023-10-13T04:25:25.078Z] 1469e6f7b9e6: Pull complete [2023-10-13T04:25:25.078Z] eaf3925da568: Pull complete [2023-10-13T04:25:26.983Z] bab4dde63d76: Pull complete [2023-10-13T04:25:26.983Z] bde34c3a00c8: Pull complete [2023-10-13T04:25:26.983Z] b352a97aabf1: Pull complete [2023-10-13T04:25:26.983Z] 4872d77fe225: Pull complete [2023-10-13T04:25:26.983Z] 5851b861e8e6: Pull complete [2023-10-13T04:25:26.983Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-13T04:25:26.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:25:26.983Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:25:27.076Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:25:27.110Z] $ 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 [2023-10-13T04:25:30.139Z] $ docker top 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc -eo pid,comm [2023-10-13T04:25:30.189Z] 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). [2023-10-13T04:25:30.189Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T04:25:30.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T04:25:30.230Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T04:25:30.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T04:25:30.346Z] $ docker exec 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent [2023-10-13T04:25:30.441Z] SSH_AUTH_SOCK=/tmp/ssh-F1cuVVGdTKoJ/agent.32 [2023-10-13T04:25:30.441Z] SSH_AGENT_PID=38 [2023-10-13T04:25:30.448Z] Running ssh-add (command line suppressed) [2023-10-13T04:25:30.552Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15259676839139250627.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15259676839139250627.key) [2023-10-13T04:25:30.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T04:25:30.850Z] + git tag --points-at HEAD [Pipeline] } [2023-10-13T04:25:30.872Z] $ docker exec --env ******** --env ******** 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent -k [2023-10-13T04:25:30.971Z] unset SSH_AUTH_SOCK; [2023-10-13T04:25:30.971Z] unset SSH_AGENT_PID; [2023-10-13T04:25:30.971Z] echo Agent pid 38 killed; [2023-10-13T04:25:30.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-13T04:25:31.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T04:25:31.003Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T04:25:31.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T04:25:31.116Z] $ docker exec 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent [2023-10-13T04:25:31.252Z] SSH_AUTH_SOCK=/tmp/ssh-nQzn7l3cEGHa/agent.70 [2023-10-13T04:25:31.252Z] SSH_AGENT_PID=76 [2023-10-13T04:25:31.257Z] Running ssh-add (command line suppressed) [2023-10-13T04:25:31.374Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1433736371033320640.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1433736371033320640.key) [2023-10-13T04:25:31.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T04:25:31.672Z] + git semver init [2023-10-13T04:25:31.930Z] 2023-10-13 04:25:31,908 [run_init] DEBUG init version:0.0.0 force:False [2023-10-13T04:25:31.930Z] 2023-10-13 04:25:31,908 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-10-13T04:25:31.930Z] 2023-10-13 04:25:31,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-10-13T04:25:31.930Z] 2023-10-13 04:25:31,909 [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) [2023-10-13T04:25:33.307Z] 2023-10-13 04:25:32,983 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-10-13T04:25:33.307Z] 2023-10-13 04:25:32,984 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-10-13T04:25:33.307Z] 2023-10-13 04:25:32,984 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:25:33.307Z] 2023-10-13 04:25:32,984 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:25:33.307Z] 3.1.0-dev.17 [Pipeline] } [2023-10-13T04:25:33.320Z] $ docker exec --env ******** --env ******** 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent -k [2023-10-13T04:25:33.412Z] unset SSH_AUTH_SOCK; [2023-10-13T04:25:33.413Z] unset SSH_AGENT_PID; [2023-10-13T04:25:33.413Z] echo Agent pid 76 killed; [2023-10-13T04:25:33.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T04:25:33.722Z] + git semver [Pipeline] } [2023-10-13T04:25:33.999Z] $ docker stop --time=1 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc [2023-10-13T04:25:35.281Z] $ docker rm -f --volumes 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T04:25:35.609Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-13T04:25:35.812Z] Stashed 1 file(s) [Pipeline] echo [2023-10-13T04:25:35.815Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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 [2023-10-13T04:25:35.953Z] provisioning config files... [2023-10-13T04:25:35.963Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3496150317887620431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:25:36.259Z] ---> docker-login.sh [2023-10-13T04:25:36.259Z] nexus3.edgexfoundry.org:10001 [2023-10-13T04:25:36.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:36.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:36.259Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:36.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:36.259Z] [2023-10-13T04:25:36.259Z] Login Succeeded [2023-10-13T04:25:36.259Z] nexus3.edgexfoundry.org:10002 [2023-10-13T04:25:36.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:36.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:36.259Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:36.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:36.259Z] [2023-10-13T04:25:36.259Z] Login Succeeded [2023-10-13T04:25:36.259Z] nexus3.edgexfoundry.org:10003 [2023-10-13T04:25:36.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:36.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:36.518Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:36.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:36.518Z] [2023-10-13T04:25:36.518Z] Login Succeeded [2023-10-13T04:25:36.518Z] nexus3.edgexfoundry.org:10004 [2023-10-13T04:25:36.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:36.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:36.518Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:36.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:36.518Z] [2023-10-13T04:25:36.518Z] Login Succeeded [2023-10-13T04:25:36.518Z] docker.io [2023-10-13T04:25:36.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:25:36.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:25:36.778Z] Configure a credential helper to remove this warning. See [2023-10-13T04:25:36.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:25:36.778Z] [2023-10-13T04:25:36.778Z] Login Succeeded [2023-10-13T04:25:36.778Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T04:25:36.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-13T04:25:36.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:25:36.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:25:36.889Z] ========================================================= [2023-10-13T04:25:36.889Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-13T04:25:36.889Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:25:37.214Z] + 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 . [2023-10-13T04:25:37.214Z] Sending build context to Docker daemon 21.57MB [2023-10-13T04:25:37.214Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T04:25:37.214Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-13T04:25:37.214Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-13T04:25:37.214Z] 7264a8db6415: Pulling fs layer [2023-10-13T04:25:37.214Z] c4d48a809fc2: Pulling fs layer [2023-10-13T04:25:37.214Z] 4f1c88b9dad5: Pulling fs layer [2023-10-13T04:25:37.214Z] ad3a456e5733: Pulling fs layer [2023-10-13T04:25:37.214Z] 33e27b845d1e: Pulling fs layer [2023-10-13T04:25:37.214Z] c68163c4e522: Pulling fs layer [2023-10-13T04:25:37.214Z] 50da416c3ac9: Pulling fs layer [2023-10-13T04:25:37.214Z] 23d2d4c4bb30: Pulling fs layer [2023-10-13T04:25:37.214Z] ad3a456e5733: Waiting [2023-10-13T04:25:37.214Z] 23d2d4c4bb30: Waiting [2023-10-13T04:25:37.214Z] 50da416c3ac9: Waiting [2023-10-13T04:25:37.214Z] 33e27b845d1e: Waiting [2023-10-13T04:25:37.214Z] c68163c4e522: Waiting [2023-10-13T04:25:37.474Z] c4d48a809fc2: Verifying Checksum [2023-10-13T04:25:37.474Z] c4d48a809fc2: Download complete [2023-10-13T04:25:37.474Z] ad3a456e5733: Verifying Checksum [2023-10-13T04:25:37.474Z] ad3a456e5733: Download complete [2023-10-13T04:25:37.474Z] 33e27b845d1e: Download complete [2023-10-13T04:25:37.474Z] 7264a8db6415: Verifying Checksum [2023-10-13T04:25:37.474Z] 7264a8db6415: Download complete [2023-10-13T04:25:37.474Z] c68163c4e522: Verifying Checksum [2023-10-13T04:25:37.474Z] c68163c4e522: Download complete [2023-10-13T04:25:37.474Z] 7264a8db6415: Pull complete [2023-10-13T04:25:37.734Z] 23d2d4c4bb30: Verifying Checksum [2023-10-13T04:25:37.734Z] c4d48a809fc2: Pull complete [2023-10-13T04:25:37.993Z] 4f1c88b9dad5: Verifying Checksum [2023-10-13T04:25:37.993Z] 4f1c88b9dad5: Download complete [2023-10-13T04:25:38.250Z] 50da416c3ac9: Verifying Checksum [2023-10-13T04:25:38.250Z] 50da416c3ac9: Download complete [2023-10-13T04:25:40.778Z] 4f1c88b9dad5: Pull complete [2023-10-13T04:25:40.778Z] ad3a456e5733: Pull complete [2023-10-13T04:25:41.036Z] 33e27b845d1e: Pull complete [2023-10-13T04:25:41.036Z] c68163c4e522: Pull complete [2023-10-13T04:25:43.562Z] 50da416c3ac9: Pull complete [2023-10-13T04:25:43.562Z] 23d2d4c4bb30: Pull complete [2023-10-13T04:25:43.562Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-13T04:25:43.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-13T04:25:43.562Z] ---> 0786185ac409 [2023-10-13T04:25:43.562Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-13T04:25:47.771Z] ---> Running in dd006d7c4364 [2023-10-13T04:25:48.030Z] Removing intermediate container dd006d7c4364 [2023-10-13T04:25:48.030Z] ---> 3401bbaa391b [2023-10-13T04:25:48.030Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T04:25:48.030Z] ---> Running in 369db9670a6d [2023-10-13T04:25:48.030Z] Removing intermediate container 369db9670a6d [2023-10-13T04:25:48.030Z] ---> eb9454618433 [2023-10-13T04:25:48.030Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-13T04:25:48.030Z] ---> Running in f163aaef3758 [2023-10-13T04:25:48.030Z] Removing intermediate container f163aaef3758 [2023-10-13T04:25:48.030Z] ---> bca502937679 [2023-10-13T04:25:48.030Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T04:25:48.030Z] ---> Running in 8d401468881e [2023-10-13T04:25:48.291Z] Removing intermediate container 8d401468881e [2023-10-13T04:25:48.291Z] ---> 75b2d07505e6 [2023-10-13T04:25:48.291Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-13T04:25:48.291Z] ---> Running in 5f7af7f57ace [2023-10-13T04:25:48.291Z] Removing intermediate container 5f7af7f57ace [2023-10-13T04:25:48.291Z] ---> d9660b6fc2d6 [2023-10-13T04:25:48.291Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T04:25:48.291Z] ---> Running in 4f98b1ffada1 [2023-10-13T04:25:48.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T04:25:48.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T04:25:49.072Z] OK: 264 MiB in 52 packages [2023-10-13T04:25:49.338Z] Removing intermediate container 4f98b1ffada1 [2023-10-13T04:25:49.338Z] ---> f0c0c3f2fba1 [2023-10-13T04:25:49.338Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-13T04:25:49.338Z] ---> Running in 7eed3f6267b7 [2023-10-13T04:25:49.597Z] Removing intermediate container 7eed3f6267b7 [2023-10-13T04:25:49.597Z] ---> 498ad3922d39 [2023-10-13T04:25:49.597Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-13T04:25:49.597Z] ---> 66f803b6f52f [2023-10-13T04:25:49.597Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T04:25:49.597Z] ---> Running in 0f4207ff920c [2023-10-13T04:25:50.923Z] Still waiting to schedule task [2023-10-13T04:25:50.924Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-13T04:26:57.290Z] Removing intermediate container 0f4207ff920c [2023-10-13T04:26:57.290Z] ---> b7ff99d75cc8 [2023-10-13T04:26:57.290Z] Step 12/13 : COPY . . [2023-10-13T04:26:57.290Z] ---> 172899646f82 [2023-10-13T04:26:57.290Z] Step 13/13 : RUN ${MAKE} [2023-10-13T04:26:57.290Z] ---> Running in 54f5771f3bbe [2023-10-13T04:26:57.290Z] noop [2023-10-13T04:26:57.290Z] Removing intermediate container 54f5771f3bbe [2023-10-13T04:26:57.290Z] ---> be9a56f8dc7b [2023-10-13T04:26:57.290Z] Successfully built be9a56f8dc7b [2023-10-13T04:26:57.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:26:57.599Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T04:26:57.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:26:57.671Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:26:57.703Z] $ 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 [2023-10-13T04:26:58.031Z] $ docker top e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T04:26:58.369Z] + go version [2023-10-13T04:26:58.369Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-13T04:26:58.382Z] $ docker stop --time=1 e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 [2023-10-13T04:26:59.659Z] $ docker rm -f --volumes e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:00.058Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T04:27:00.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:27:00.127Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:27:00.161Z] $ 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 [2023-10-13T04:27:00.483Z] $ docker top bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T04:27:00.824Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-10-13T04:27:01.119Z] + make test [2023-10-13T04:27:01.119Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T04:27:02.497Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-13T04:27:12.475Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-13T04:27:12.475Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-13T04:27:14.379Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements [2023-10-13T04:27:14.379Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.100s coverage: 86.5% of statements [2023-10-13T04:27:20.933Z] go vet ./... [2023-10-13T04:27:24.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T04:27:24.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T04:27:24.208Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T04:27:24.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T04:27:24.233Z] $ docker stop --time=1 bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 [2023-10-13T04:27:26.959Z] $ docker rm -f --volumes bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T04:27:27.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T04:27:27.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-13T04:27:28.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T04:27:28.325Z] + ls -al . [2023-10-13T04:27:28.325Z] total 244 [2023-10-13T04:27:28.325Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 04:27 . [2023-10-13T04:27:28.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 .. [2023-10-13T04:27:28.325Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:27 .git [2023-10-13T04:27:28.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:25 .github [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 04:25 .gitignore [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:25 .golangci.yml [2023-10-13T04:27:28.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:25 .semver [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 13 04:25 Attribution.txt [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 13 04:25 CHANGELOG.md [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 13 04:25 Dockerfile [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:25 GOVERNANCE.md [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 13 04:25 Jenkinsfile [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 04:25 LICENSE [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 13 04:25 Makefile [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 04:25 OWNERS.md [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 13 04:25 README.md [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:25 VERSION [2023-10-13T04:27:28.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:25 bin [2023-10-13T04:27:28.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:25 cmd [2023-10-13T04:27:28.325Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 13 04:27 coverage.out [2023-10-13T04:27:28.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 doc [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 13 04:25 go.mod [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 37526 Oct 13 04:25 go.sum [2023-10-13T04:27:28.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 internal [2023-10-13T04:27:28.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 snap [2023-10-13T04:27:28.325Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 04:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:28.533Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9194 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-10-13T04:27:28.548Z] Running in /w/workspace/device-onvif-camera/174 [Pipeline] { [Pipeline] checkout [2023-10-13T04:27:28.577Z] The recommended git tool is: git [2023-10-13T04:27:28.629Z] + 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=b23bf323986474a02c08d039be0c06384ee74361 --label arch=amd64 --label version=3.1.0-dev.17 . [2023-10-13T04:27:28.629Z] Sending build context to Docker daemon 21.65MB [2023-10-13T04:27:28.630Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T04:27:28.630Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-13T04:27:28.630Z] ---> be9a56f8dc7b [2023-10-13T04:27:28.630Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-13T04:27:28.888Z] ---> Running in 3b58c8745751 [2023-10-13T04:27:29.147Z] Removing intermediate container 3b58c8745751 [2023-10-13T04:27:29.147Z] ---> 34df1d518cbe [2023-10-13T04:27:29.147Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T04:27:29.147Z] ---> Running in 355389277fa2 [2023-10-13T04:27:29.147Z] Removing intermediate container 355389277fa2 [2023-10-13T04:27:29.147Z] ---> aefc94481c6a [2023-10-13T04:27:29.147Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-13T04:27:29.147Z] ---> Running in f260ab234fd4 [2023-10-13T04:27:29.405Z] Removing intermediate container f260ab234fd4 [2023-10-13T04:27:29.405Z] ---> 7ccdb35e20aa [2023-10-13T04:27:29.405Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T04:27:29.405Z] ---> Running in 848084f992d7 [2023-10-13T04:27:29.405Z] Removing intermediate container 848084f992d7 [2023-10-13T04:27:29.405Z] ---> 8a9c660d2935 [2023-10-13T04:27:29.405Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-13T04:27:29.405Z] ---> Running in e90145f6a35a [2023-10-13T04:27:29.405Z] Removing intermediate container e90145f6a35a [2023-10-13T04:27:29.405Z] ---> 9962bc5e7917 [2023-10-13T04:27:29.405Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T04:27:29.405Z] ---> Running in fcd0dee27f64 [2023-10-13T04:27:29.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T04:27:29.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T04:27:30.212Z] OK: 264 MiB in 52 packages [2023-10-13T04:27:30.471Z] Removing intermediate container fcd0dee27f64 [2023-10-13T04:27:30.471Z] ---> 45ebf2fa06a1 [2023-10-13T04:27:30.471Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-13T04:27:30.471Z] ---> Running in 3b1dde6b112f [2023-10-13T04:27:30.729Z] Removing intermediate container 3b1dde6b112f [2023-10-13T04:27:30.729Z] ---> 7b038351fb35 [2023-10-13T04:27:30.729Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-13T04:27:30.729Z] ---> cfc483572307 [2023-10-13T04:27:30.729Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T04:27:30.729Z] ---> Running in b821d1a5004a [2023-10-13T04:27:31.664Z] Removing intermediate container b821d1a5004a [2023-10-13T04:27:31.664Z] ---> 0fb1f456870d [2023-10-13T04:27:31.664Z] Step 12/26 : COPY . . [2023-10-13T04:27:32.235Z] ---> 342ff63372f3 [2023-10-13T04:27:32.235Z] Step 13/26 : RUN ${MAKE} [2023-10-13T04:27:32.235Z] ---> Running in 15adca89203e [2023-10-13T04:27:32.493Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-13T04:27:34.318Z] using credential edgex-jenkins-ssh [2023-10-13T04:27:34.337Z] Cloning the remote Git repository [2023-10-13T04:27:34.379Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-13T04:27:34.469Z] > git init /w/workspace/device-onvif-camera/174 # timeout=10 [2023-10-13T04:27:34.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-13T04:27:34.616Z] > git --version # timeout=10 [2023-10-13T04:27:34.635Z] > git --version # 'git version 2.25.1' [2023-10-13T04:27:34.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-13T04:27:34.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T04:27:37.075Z] Avoid second fetch [2023-10-13T04:27:37.076Z] Checking out Revision b23bf323986474a02c08d039be0c06384ee74361 (main) [2023-10-13T04:27:36.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-13T04:27:36.311Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T04:27:37.091Z] > git config core.sparsecheckout # timeout=10 [2023-10-13T04:27:37.150Z] > git checkout -f b23bf323986474a02c08d039be0c06384ee74361 # timeout=10 [2023-10-13T04:27:37.650Z] Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T04:27:38.700Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-13T04:27:38.700Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T04:27:38.700Z] Dload Upload Total Spent Left Speed [2023-10-13T04:27:38.700Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 86054 0 --:--:-- --:--:-- --:--:-- 85387 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-10-13T04:27:39.284Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-13T04:27:39.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-13T04:27:39.612Z] + sudo tee /etc/docker/daemon.new [2023-10-13T04:27:39.612Z] { [2023-10-13T04:27:39.612Z] "registry-mirrors": [ [2023-10-13T04:27:39.612Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-13T04:27:39.612Z] ], [2023-10-13T04:27:39.612Z] "bip": "10.250.0.254/24", [2023-10-13T04:27:39.612Z] "hosts": [ [2023-10-13T04:27:39.612Z] "tcp://0.0.0.0:5555", [2023-10-13T04:27:39.612Z] "unix:///var/run/docker.sock" [2023-10-13T04:27:39.612Z] ], [2023-10-13T04:27:39.612Z] "mtu": 1458, [2023-10-13T04:27:39.612Z] "selinux-enabled": true, [2023-10-13T04:27:39.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-13T04:27:39.612Z] } [Pipeline] sh [2023-10-13T04:27:39.938Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-13T04:27:40.264Z] + sudo service docker restart [2023-10-13T04:27:54.418Z] Removing intermediate container 15adca89203e [2023-10-13T04:27:54.418Z] ---> 9cd48c91c093 [2023-10-13T04:27:54.418Z] Step 14/26 : FROM alpine:3.18 [2023-10-13T04:27:54.418Z] 3.18: Pulling from library/alpine [2023-10-13T04:27:54.418Z] 96526aa774ef: Pulling fs layer [2023-10-13T04:27:54.418Z] 96526aa774ef: Verifying Checksum [2023-10-13T04:27:54.418Z] 96526aa774ef: Download complete [2023-10-13T04:27:54.418Z] 96526aa774ef: Pull complete [2023-10-13T04:27:54.418Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T04:27:54.418Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T04:27:54.418Z] ---> 8ca4688f4f35 [2023-10-13T04:27:54.418Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-13T04:27:54.418Z] ---> Running in a3d80901af70 [2023-10-13T04:27:54.418Z] Removing intermediate container a3d80901af70 [2023-10-13T04:27:54.418Z] ---> 8135d6edc3e3 [2023-10-13T04:27:54.418Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-13T04:27:54.418Z] ---> Running in 2471c0d5f34e [2023-10-13T04:27:54.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T04:27:54.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T04:27:54.418Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T04:27:54.418Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T04:27:54.418Z] OK: 7 MiB in 16 packages [2023-10-13T04:27:54.418Z] Removing intermediate container 2471c0d5f34e [2023-10-13T04:27:54.418Z] ---> 470a66f73f03 [2023-10-13T04:27:54.418Z] Step 17/26 : WORKDIR / [2023-10-13T04:27:54.418Z] ---> Running in 5b3fea711fcd [2023-10-13T04:27:54.418Z] Removing intermediate container 5b3fea711fcd [2023-10-13T04:27:54.418Z] ---> 2e77261cf6f9 [2023-10-13T04:27:54.418Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-13T04:27:54.418Z] ---> bccef4333cf0 [2023-10-13T04:27:54.418Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-13T04:27:54.418Z] ---> 9f8ac5118904 [2023-10-13T04:27:54.418Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-13T04:27:54.418Z] ---> 5e84ea49ad05 [2023-10-13T04:27:54.418Z] Step 21/26 : EXPOSE 59984 [2023-10-13T04:27:54.418Z] ---> Running in a862c282dbf4 [2023-10-13T04:27:54.418Z] Removing intermediate container a862c282dbf4 [2023-10-13T04:27:54.418Z] ---> 5a105ea93fe3 [2023-10-13T04:27:54.418Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-13T04:27:54.418Z] ---> Running in 808ab82acb86 [2023-10-13T04:27:54.418Z] Removing intermediate container 808ab82acb86 [2023-10-13T04:27:54.418Z] ---> 82a734a35343 [2023-10-13T04:27:54.418Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-13T04:27:54.418Z] ---> Running in 0b4b6aea2aa6 [2023-10-13T04:27:54.418Z] Removing intermediate container 0b4b6aea2aa6 [2023-10-13T04:27:54.418Z] ---> b6127472b82f [2023-10-13T04:27:54.418Z] Step 24/26 : LABEL arch=amd64 [2023-10-13T04:27:54.418Z] ---> Running in 70390c700f31 [2023-10-13T04:27:54.677Z] Removing intermediate container 70390c700f31 [2023-10-13T04:27:54.677Z] ---> a63b12a83b7b [2023-10-13T04:27:54.677Z] Step 25/26 : LABEL git_sha=b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:27:54.677Z] ---> Running in e085b706961e [2023-10-13T04:27:54.677Z] Removing intermediate container e085b706961e [2023-10-13T04:27:54.677Z] ---> 455f2aa415d2 [2023-10-13T04:27:54.677Z] Step 26/26 : LABEL version=3.1.0-dev.17 [2023-10-13T04:27:54.677Z] ---> Running in 48308a53d415 [2023-10-13T04:27:54.677Z] Removing intermediate container 48308a53d415 [2023-10-13T04:27:54.677Z] ---> 9708fd122ed2 [2023-10-13T04:27:54.677Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T04:27:54.677Z] Successfully built 9708fd122ed2 [2023-10-13T04:27:54.677Z] 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 [2023-10-13T04:27:54.843Z] provisioning config files... [2023-10-13T04:27:54.913Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10425445990698845649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:27:55.246Z] ---> docker-login.sh [2023-10-13T04:27:55.246Z] nexus3.edgexfoundry.org:10001 [2023-10-13T04:27:55.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:55.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:55.246Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:55.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:55.246Z] [2023-10-13T04:27:55.246Z] Login Succeeded [2023-10-13T04:27:55.246Z] nexus3.edgexfoundry.org:10002 [2023-10-13T04:27:55.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:55.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:55.246Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:55.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:55.246Z] [2023-10-13T04:27:55.246Z] Login Succeeded [2023-10-13T04:27:55.246Z] nexus3.edgexfoundry.org:10003 [2023-10-13T04:27:55.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:55.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:55.537Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:55.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:55.537Z] [2023-10-13T04:27:55.537Z] Login Succeeded [2023-10-13T04:27:55.537Z] nexus3.edgexfoundry.org:10004 [2023-10-13T04:27:55.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:55.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:55.538Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:55.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:55.538Z] [2023-10-13T04:27:55.538Z] Login Succeeded [2023-10-13T04:27:55.538Z] docker.io [2023-10-13T04:27:55.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:55.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:55.825Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:55.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:55.825Z] [2023-10-13T04:27:55.825Z] Login Succeeded [2023-10-13T04:27:55.825Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T04:27:55.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T04:27:55.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:27:55.891Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-10-13T04:27:55.891Z] b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:27:55.891Z] latest [2023-10-13T04:27:55.891Z] 3.1.0-dev.17 [2023-10-13T04:27:55.891Z] b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:27:55.891Z] main [2023-10-13T04:27:55.891Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:56.222Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:56.530Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:27:56.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-10-13T04:27:56.531Z] bb4493a1a708: Preparing [2023-10-13T04:27:56.531Z] b56b684fe5fb: Preparing [2023-10-13T04:27:56.531Z] 120be3da17bc: Preparing [2023-10-13T04:27:56.531Z] bc5f15b67aff: Preparing [2023-10-13T04:27:56.531Z] cc2447e1835a: Preparing [2023-10-13T04:27:56.531Z] cc2447e1835a: Layer already exists [2023-10-13T04:27:56.531Z] b56b684fe5fb: Pushed [2023-10-13T04:27:56.531Z] bb4493a1a708: Pushed [2023-10-13T04:27:56.531Z] bc5f15b67aff: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T04:27:58.506Z] provisioning config files... [2023-10-13T04:27:58.528Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/174@tmp/config5319581676773730241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:27:58.881Z] ---> docker-login.sh [2023-10-13T04:27:58.881Z] nexus3.edgexfoundry.org:10001 [2023-10-13T04:27:59.063Z] 120be3da17bc: Pushed [2023-10-13T04:27:59.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:59.322Z] b23bf323986474a02c08d039be0c06384ee74361: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:59.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:59.420Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:59.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:59.420Z] [2023-10-13T04:27:59.420Z] Login Succeeded [2023-10-13T04:27:59.420Z] nexus3.edgexfoundry.org:10002 [2023-10-13T04:27:59.638Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:27:59.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:27:59.944Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-10-13T04:27:59.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-10-13T04:27:59.944Z] bb4493a1a708: Preparing [2023-10-13T04:27:59.944Z] b56b684fe5fb: Preparing [2023-10-13T04:27:59.944Z] 120be3da17bc: Preparing [2023-10-13T04:27:59.944Z] bc5f15b67aff: Preparing [2023-10-13T04:27:59.944Z] cc2447e1835a: Preparing [2023-10-13T04:27:59.944Z] b56b684fe5fb: Layer already exists [2023-10-13T04:27:59.944Z] bc5f15b67aff: Layer already exists [2023-10-13T04:27:59.944Z] bb4493a1a708: Layer already exists [2023-10-13T04:27:59.944Z] 120be3da17bc: Layer already exists [2023-10-13T04:27:59.944Z] cc2447e1835a: Layer already exists [2023-10-13T04:27:59.944Z] latest: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [2023-10-13T04:27:59.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:27:59.960Z] Configure a credential helper to remove this warning. See [2023-10-13T04:27:59.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:27:59.960Z] [2023-10-13T04:27:59.960Z] Login Succeeded [2023-10-13T04:27:59.960Z] nexus3.edgexfoundry.org:10003 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:00.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:28:00.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:28:00.238Z] Configure a credential helper to remove this warning. See [2023-10-13T04:28:00.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:28:00.238Z] [2023-10-13T04:28:00.238Z] Login Succeeded [2023-10-13T04:28:00.238Z] nexus3.edgexfoundry.org:10004 [2023-10-13T04:28:00.257Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:00.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:28:00.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:28:00.508Z] Configure a credential helper to remove this warning. See [2023-10-13T04:28:00.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:28:00.508Z] [2023-10-13T04:28:00.508Z] Login Succeeded [2023-10-13T04:28:00.508Z] docker.io [2023-10-13T04:28:00.564Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 [2023-10-13T04:28:00.564Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-10-13T04:28:00.564Z] bb4493a1a708: Preparing [2023-10-13T04:28:00.564Z] b56b684fe5fb: Preparing [2023-10-13T04:28:00.564Z] 120be3da17bc: Preparing [2023-10-13T04:28:00.564Z] bc5f15b67aff: Preparing [2023-10-13T04:28:00.564Z] cc2447e1835a: Preparing [2023-10-13T04:28:00.564Z] cc2447e1835a: Layer already exists [2023-10-13T04:28:00.564Z] bb4493a1a708: Layer already exists [2023-10-13T04:28:00.564Z] bc5f15b67aff: Layer already exists [2023-10-13T04:28:00.564Z] 120be3da17bc: Layer already exists [2023-10-13T04:28:00.564Z] b56b684fe5fb: Layer already exists [2023-10-13T04:28:00.564Z] 3.1.0-dev.17: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:00.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:28:00.872Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:01.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:28:01.049Z] Configure a credential helper to remove this warning. See [2023-10-13T04:28:01.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:28:01.049Z] [2023-10-13T04:28:01.049Z] Login Succeeded [2023-10-13T04:28:01.049Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T04:28:01.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-13T04:28:01.179Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:28:01.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-10-13T04:28:01.179Z] bb4493a1a708: Preparing [2023-10-13T04:28:01.179Z] b56b684fe5fb: Preparing [2023-10-13T04:28:01.179Z] 120be3da17bc: Preparing [2023-10-13T04:28:01.179Z] bc5f15b67aff: Preparing [2023-10-13T04:28:01.179Z] cc2447e1835a: Preparing [2023-10-13T04:28:01.179Z] cc2447e1835a: Layer already exists [2023-10-13T04:28:01.179Z] 120be3da17bc: Layer already exists [2023-10-13T04:28:01.179Z] bb4493a1a708: Layer already exists [2023-10-13T04:28:01.179Z] b56b684fe5fb: Layer already exists [2023-10-13T04:28:01.179Z] bc5f15b67aff: Layer already exists [2023-10-13T04:28:01.179Z] b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-10-13T04:28:01.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:28:01.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:28:01.355Z] ========================================================= [2023-10-13T04:28:01.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-13T04:28:01.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:01.504Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:01.717Z] + 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 . [2023-10-13T04:28:01.809Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-10-13T04:28:01.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-10-13T04:28:01.809Z] bb4493a1a708: Preparing [2023-10-13T04:28:01.809Z] b56b684fe5fb: Preparing [2023-10-13T04:28:01.809Z] 120be3da17bc: Preparing [2023-10-13T04:28:01.809Z] bc5f15b67aff: Preparing [2023-10-13T04:28:01.809Z] cc2447e1835a: Preparing [2023-10-13T04:28:01.809Z] 120be3da17bc: Layer already exists [2023-10-13T04:28:01.809Z] bb4493a1a708: Layer already exists [2023-10-13T04:28:01.809Z] bc5f15b67aff: Layer already exists [2023-10-13T04:28:01.809Z] b56b684fe5fb: Layer already exists [2023-10-13T04:28:01.809Z] cc2447e1835a: Layer already exists [2023-10-13T04:28:01.809Z] main: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T04:28:01.857Z] ===================================================== [Pipeline] echo [2023-10-13T04:28:01.866Z] taggedImages: [2023-10-13T04:28:01.866Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:28:01.866Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-10-13T04:28:01.866Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 [2023-10-13T04:28:01.866Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:28:01.866Z] - 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 [2023-10-13T04:28:02.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T04:28:02.248Z] [2023-10-13T04:28:02.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:28:02.320Z] Sending build context to Docker daemon 14.15MB [2023-10-13T04:28:02.320Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T04:28:02.320Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-13T04:28:02.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T04:28:02.550Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-13T04:28:02.550Z] 5eb5b503b376: Pulling fs layer [2023-10-13T04:28:02.550Z] 5c69ac0246d0: Pulling fs layer [2023-10-13T04:28:02.550Z] ec43610c2a17: Pulling fs layer [2023-10-13T04:28:02.550Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-13T04:28:02.550Z] 33b1e0a273af: Pulling fs layer [2023-10-13T04:28:02.550Z] 5d3b04190fa2: Pulling fs layer [2023-10-13T04:28:02.550Z] 2f39f015ded8: Pulling fs layer [2023-10-13T04:28:02.550Z] 3a2ae6a8a46f: Waiting [2023-10-13T04:28:02.550Z] 5d3b04190fa2: Waiting [2023-10-13T04:28:02.550Z] 5c69ac0246d0: Verifying Checksum [2023-10-13T04:28:02.550Z] 5c69ac0246d0: Download complete [2023-10-13T04:28:02.550Z] 3a2ae6a8a46f: Download complete [2023-10-13T04:28:02.550Z] ec43610c2a17: Verifying Checksum [2023-10-13T04:28:02.550Z] ec43610c2a17: Download complete [2023-10-13T04:28:02.550Z] 33b1e0a273af: Verifying Checksum [2023-10-13T04:28:02.550Z] 33b1e0a273af: Download complete [2023-10-13T04:28:02.550Z] 5d3b04190fa2: Verifying Checksum [2023-10-13T04:28:02.550Z] 5d3b04190fa2: Download complete [2023-10-13T04:28:02.808Z] 5eb5b503b376: Download complete [2023-10-13T04:28:02.905Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-13T04:28:02.905Z] 9fda8d8052c6: Pulling fs layer [2023-10-13T04:28:02.905Z] 5d54e960e981: Pulling fs layer [2023-10-13T04:28:02.905Z] c4a7e357bf2a: Pulling fs layer [2023-10-13T04:28:02.905Z] f0e02332f6b5: Pulling fs layer [2023-10-13T04:28:02.905Z] cefa15bbcfad: Pulling fs layer [2023-10-13T04:28:02.905Z] 17808c966233: Pulling fs layer [2023-10-13T04:28:02.905Z] f4c1fc716caa: Pulling fs layer [2023-10-13T04:28:02.905Z] cefa15bbcfad: Waiting [2023-10-13T04:28:02.905Z] 17808c966233: Waiting [2023-10-13T04:28:02.905Z] f4c1fc716caa: Waiting [2023-10-13T04:28:02.905Z] f0e02332f6b5: Waiting [2023-10-13T04:28:02.905Z] 5d54e960e981: Download complete [2023-10-13T04:28:02.905Z] f0e02332f6b5: Verifying Checksum [2023-10-13T04:28:02.905Z] f0e02332f6b5: Download complete [2023-10-13T04:28:02.905Z] cefa15bbcfad: Verifying Checksum [2023-10-13T04:28:02.905Z] cefa15bbcfad: Download complete [2023-10-13T04:28:03.175Z] 9fda8d8052c6: Download complete [2023-10-13T04:28:03.374Z] 2f39f015ded8: Verifying Checksum [2023-10-13T04:28:03.374Z] 2f39f015ded8: Download complete [2023-10-13T04:28:03.443Z] f4c1fc716caa: Verifying Checksum [2023-10-13T04:28:03.443Z] f4c1fc716caa: Download complete [2023-10-13T04:28:03.939Z] 5eb5b503b376: Pull complete [2023-10-13T04:28:04.029Z] 9fda8d8052c6: Pull complete [2023-10-13T04:28:04.197Z] 5c69ac0246d0: Pull complete [2023-10-13T04:28:04.455Z] ec43610c2a17: Pull complete [2023-10-13T04:28:04.621Z] 5d54e960e981: Pull complete [2023-10-13T04:28:04.714Z] 3a2ae6a8a46f: Pull complete [2023-10-13T04:28:04.889Z] c4a7e357bf2a: Verifying Checksum [2023-10-13T04:28:04.889Z] c4a7e357bf2a: Download complete [2023-10-13T04:28:04.972Z] 33b1e0a273af: Pull complete [2023-10-13T04:28:04.972Z] 5d3b04190fa2: Pull complete [2023-10-13T04:28:05.857Z] 17808c966233: Verifying Checksum [2023-10-13T04:28:05.857Z] 17808c966233: Download complete [2023-10-13T04:28:09.157Z] 2f39f015ded8: Pull complete [2023-10-13T04:28:09.157Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-13T04:28:09.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T04:28:09.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:28:09.246Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:28:09.283Z] $ 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 [2023-10-13T04:28:12.738Z] $ docker top 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:28:13.120Z] ---> job-cost.sh [2023-10-13T04:28:13.120Z] lf-activate-venv: SKIPPING [2023-10-13T04:28:13.120Z] INFO: No Stack... [2023-10-13T04:28:13.379Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T04:28:13.640Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T04:28:13.927Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-10-13T04:28:13.927Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T04:28:13.940Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [2023-10-13T04:28:13.947Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] did not exist. Created. [2023-10-13T04:28:13.947Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T04:28:14.243Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-13T04:28:14.278Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T04:28:14.288Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T04:28:14.306Z] $ docker stop --time=1 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 [2023-10-13T04:28:15.456Z] $ docker rm -f --volumes 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-13T04:28:18.174Z] c4a7e357bf2a: Pull complete [2023-10-13T04:28:18.174Z] f0e02332f6b5: Pull complete [2023-10-13T04:28:18.174Z] cefa15bbcfad: Pull complete [2023-10-13T04:28:26.496Z] 17808c966233: Pull complete [2023-10-13T04:28:30.752Z] f4c1fc716caa: Pull complete [2023-10-13T04:28:30.752Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-13T04:28:30.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-13T04:28:30.752Z] ---> ea914061e18c [2023-10-13T04:28:30.752Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-13T04:28:31.725Z] ---> Running in 2ba8e45145f2 [2023-10-13T04:28:32.000Z] Removing intermediate container 2ba8e45145f2 [2023-10-13T04:28:32.000Z] ---> 209511692dfe [2023-10-13T04:28:32.000Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T04:28:32.275Z] ---> Running in b6894b0f823c [2023-10-13T04:28:32.544Z] Removing intermediate container b6894b0f823c [2023-10-13T04:28:32.544Z] ---> 15467ba9d436 [2023-10-13T04:28:32.544Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-13T04:28:32.544Z] ---> Running in f0ef5cc2f8ec [2023-10-13T04:28:32.814Z] Removing intermediate container f0ef5cc2f8ec [2023-10-13T04:28:32.814Z] ---> 6e9e796f5537 [2023-10-13T04:28:32.814Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T04:28:33.081Z] ---> Running in 1f4996833abe [2023-10-13T04:28:33.348Z] Removing intermediate container 1f4996833abe [2023-10-13T04:28:33.348Z] ---> 76b2ff9f8900 [2023-10-13T04:28:33.348Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-13T04:28:33.348Z] ---> Running in 351ce42496d1 [2023-10-13T04:28:33.617Z] Removing intermediate container 351ce42496d1 [2023-10-13T04:28:33.617Z] ---> 954d72536b25 [2023-10-13T04:28:33.617Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T04:28:33.617Z] ---> Running in 577b09036387 [2023-10-13T04:28:35.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T04:28:35.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T04:28:36.254Z] OK: 266 MiB in 52 packages [2023-10-13T04:28:37.213Z] Removing intermediate container 577b09036387 [2023-10-13T04:28:37.213Z] ---> 19462ff72cbb [2023-10-13T04:28:37.213Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-13T04:28:37.213Z] ---> Running in 2977cb2e1fb5 [2023-10-13T04:28:37.479Z] Removing intermediate container 2977cb2e1fb5 [2023-10-13T04:28:37.479Z] ---> 4061712bbccd [2023-10-13T04:28:37.479Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-13T04:28:38.060Z] ---> e20e3b42f9ab [2023-10-13T04:28:38.060Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T04:28:38.060Z] ---> Running in bc9a478340cc [2023-10-13T04:30:14.717Z] Removing intermediate container bc9a478340cc [2023-10-13T04:30:14.717Z] ---> 807eedac044f [2023-10-13T04:30:14.717Z] Step 12/13 : COPY . . [2023-10-13T04:30:14.717Z] ---> a34716225683 [2023-10-13T04:30:14.717Z] Step 13/13 : RUN ${MAKE} [2023-10-13T04:30:14.717Z] ---> Running in 06467d50f274 [2023-10-13T04:30:14.717Z] noop [2023-10-13T04:30:14.717Z] Removing intermediate container 06467d50f274 [2023-10-13T04:30:14.717Z] ---> 53529ecd53c0 [2023-10-13T04:30:14.717Z] Successfully built 53529ecd53c0 [2023-10-13T04:30:14.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:30:15.073Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T04:30:15.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:30:15.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container [2023-10-13T04:30:15.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@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 [2023-10-13T04:30:16.596Z] $ docker top b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T04:30:17.431Z] + go version [2023-10-13T04:30:17.431Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-13T04:30:17.451Z] $ docker stop --time=1 b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d [2023-10-13T04:30:20.800Z] $ docker rm -f --volumes b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:30:21.347Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T04:30:21.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:30:21.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container [2023-10-13T04:30:21.600Z] $ 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/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@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 [2023-10-13T04:30:22.730Z] $ docker top a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T04:30:23.235Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/174 [Pipeline] fileExists [Pipeline] sh [2023-10-13T04:30:23.830Z] + make test [2023-10-13T04:30:24.098Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T04:30:28.349Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-13T04:32:05.011Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-13T04:32:05.011Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-13T04:32:05.011Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.170s coverage: 31.5% of statements [2023-10-13T04:32:23.211Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.993s coverage: 86.5% of statements [2023-10-13T04:32:24.165Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-13T04:32:24.165Z] go vet ./... [2023-10-13T04:32:46.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T04:32:46.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T04:32:46.210Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T04:32:46.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T04:32:46.244Z] $ docker stop --time=1 a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e [2023-10-13T04:32:49.995Z] $ docker rm -f --volumes a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T04:32:51.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T04:32:51.187Z] Warning: overwriting stash ‘coverage-report’ [2023-10-13T04:32:51.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T04:32:52.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T04:32:52.341Z] + ls -al . [2023-10-13T04:32:52.341Z] total 240 [2023-10-13T04:32:52.341Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 04:30 . [2023-10-13T04:32:52.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 .. [2023-10-13T04:32:52.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:27 .git [2023-10-13T04:32:52.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:27 .github [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 04:27 .gitignore [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:27 .golangci.yml [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 13 04:27 Attribution.txt [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 13 04:27 CHANGELOG.md [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 13 04:27 Dockerfile [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:27 GOVERNANCE.md [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 13 04:27 Jenkinsfile [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 04:27 LICENSE [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 13 04:27 Makefile [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 04:27 OWNERS.md [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 13 04:27 README.md [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:25 VERSION [2023-10-13T04:32:52.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:27 bin [2023-10-13T04:32:52.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:27 cmd [2023-10-13T04:32:52.341Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 13 04:32 coverage.out [2023-10-13T04:32:52.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 doc [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 13 04:27 go.mod [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 37526 Oct 13 04:27 go.sum [2023-10-13T04:32:52.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 internal [2023-10-13T04:32:52.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 snap [2023-10-13T04:32:52.341Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:32:52.672Z] + 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=b23bf323986474a02c08d039be0c06384ee74361 --label arch=arm64 --label version=3.1.0-dev.17 . [2023-10-13T04:32:53.252Z] Sending build context to Docker daemon 14.23MB [2023-10-13T04:32:53.252Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T04:32:53.252Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-13T04:32:53.252Z] ---> 53529ecd53c0 [2023-10-13T04:32:53.252Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-13T04:32:53.252Z] ---> Running in 238c37539134 [2023-10-13T04:32:53.520Z] Removing intermediate container 238c37539134 [2023-10-13T04:32:53.520Z] ---> d4110bfb56c0 [2023-10-13T04:32:53.520Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T04:32:53.786Z] ---> Running in c72e18b1380f [2023-10-13T04:32:54.060Z] Removing intermediate container c72e18b1380f [2023-10-13T04:32:54.060Z] ---> 804aa776c54e [2023-10-13T04:32:54.060Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-13T04:32:54.060Z] ---> Running in 0d3aa3b9ecf5 [2023-10-13T04:32:54.326Z] Removing intermediate container 0d3aa3b9ecf5 [2023-10-13T04:32:54.326Z] ---> 5f2cc8226506 [2023-10-13T04:32:54.326Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T04:32:54.326Z] ---> Running in 5bd6bd4a118e [2023-10-13T04:32:54.593Z] Removing intermediate container 5bd6bd4a118e [2023-10-13T04:32:54.593Z] ---> d05e29803198 [2023-10-13T04:32:54.593Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-13T04:32:54.862Z] ---> Running in 017717b9b01a [2023-10-13T04:32:55.128Z] Removing intermediate container 017717b9b01a [2023-10-13T04:32:55.128Z] ---> 779d6ea481a6 [2023-10-13T04:32:55.128Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T04:32:55.128Z] ---> Running in f96ff3da5d5d [2023-10-13T04:32:56.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T04:32:56.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T04:32:57.746Z] OK: 266 MiB in 52 packages [2023-10-13T04:32:58.332Z] Removing intermediate container f96ff3da5d5d [2023-10-13T04:32:58.332Z] ---> 54455b567b26 [2023-10-13T04:32:58.332Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-13T04:32:58.600Z] ---> Running in 8937fc356a62 [2023-10-13T04:32:58.872Z] Removing intermediate container 8937fc356a62 [2023-10-13T04:32:58.872Z] ---> 6f6f45a5e79e [2023-10-13T04:32:58.872Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-13T04:32:59.144Z] ---> fdfb56da0c09 [2023-10-13T04:32:59.144Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T04:32:59.414Z] ---> Running in 2c75c83b108c [2023-10-13T04:33:03.678Z] Removing intermediate container 2c75c83b108c [2023-10-13T04:33:03.678Z] ---> ceff6b316073 [2023-10-13T04:33:03.678Z] Step 12/26 : COPY . . [2023-10-13T04:33:04.641Z] ---> 950b78a40222 [2023-10-13T04:33:04.641Z] Step 13/26 : RUN ${MAKE} [2023-10-13T04:33:04.641Z] ---> Running in 65e295fdd428 [2023-10-13T04:33:05.601Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-13T04:34:57.241Z] Removing intermediate container 65e295fdd428 [2023-10-13T04:34:57.241Z] ---> 68a6fa29b5ae [2023-10-13T04:34:57.241Z] Step 14/26 : FROM alpine:3.18 [2023-10-13T04:34:57.241Z] 3.18: Pulling from library/alpine [2023-10-13T04:34:57.241Z] 579b34f0a95b: Pulling fs layer [2023-10-13T04:34:57.241Z] 579b34f0a95b: Verifying Checksum [2023-10-13T04:34:57.241Z] 579b34f0a95b: Download complete [2023-10-13T04:34:57.241Z] 579b34f0a95b: Pull complete [2023-10-13T04:34:57.241Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T04:34:57.241Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T04:34:57.241Z] ---> 3cc203321400 [2023-10-13T04:34:57.241Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-13T04:34:57.241Z] ---> Running in 62abed6e72a4 [2023-10-13T04:34:57.241Z] Removing intermediate container 62abed6e72a4 [2023-10-13T04:34:57.241Z] ---> d0d0f45104a9 [2023-10-13T04:34:57.241Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-13T04:34:57.241Z] ---> Running in 88c5e8d2e6f5 [2023-10-13T04:34:57.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T04:34:57.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T04:34:57.241Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T04:34:57.241Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T04:34:57.241Z] OK: 8 MiB in 16 packages [2023-10-13T04:34:57.512Z] Removing intermediate container 88c5e8d2e6f5 [2023-10-13T04:34:57.512Z] ---> d4d387e1edae [2023-10-13T04:34:57.512Z] Step 17/26 : WORKDIR / [2023-10-13T04:34:57.781Z] ---> Running in 9e9137b85aa2 [2023-10-13T04:34:58.048Z] Removing intermediate container 9e9137b85aa2 [2023-10-13T04:34:58.048Z] ---> 469cfd555470 [2023-10-13T04:34:58.048Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-13T04:34:59.457Z] ---> bfa7f4d2260c [2023-10-13T04:34:59.457Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-13T04:35:00.049Z] ---> 64577251f135 [2023-10-13T04:35:00.049Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-13T04:35:00.632Z] ---> 5d21a6c01acb [2023-10-13T04:35:00.632Z] Step 21/26 : EXPOSE 59984 [2023-10-13T04:35:00.632Z] ---> Running in 5379b4e9fe1e [2023-10-13T04:35:00.902Z] Removing intermediate container 5379b4e9fe1e [2023-10-13T04:35:00.902Z] ---> cf941f37b171 [2023-10-13T04:35:00.902Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-13T04:35:00.902Z] ---> Running in e534b7a37fb5 [2023-10-13T04:35:01.169Z] Removing intermediate container e534b7a37fb5 [2023-10-13T04:35:01.169Z] ---> 876e9e7ead04 [2023-10-13T04:35:01.169Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-13T04:35:01.443Z] ---> Running in a50c44b166d2 [2023-10-13T04:35:01.710Z] Removing intermediate container a50c44b166d2 [2023-10-13T04:35:01.710Z] ---> 9abd1004349b [2023-10-13T04:35:01.710Z] Step 24/26 : LABEL arch=arm64 [2023-10-13T04:35:01.710Z] ---> Running in d0d332b49f1e [2023-10-13T04:35:01.980Z] Removing intermediate container d0d332b49f1e [2023-10-13T04:35:01.980Z] ---> fedeb6bb6f68 [2023-10-13T04:35:01.980Z] Step 25/26 : LABEL git_sha=b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:35:01.980Z] ---> Running in 552705d8db66 [2023-10-13T04:35:02.247Z] Removing intermediate container 552705d8db66 [2023-10-13T04:35:02.247Z] ---> ffd2d05ceb3f [2023-10-13T04:35:02.247Z] Step 26/26 : LABEL version=3.1.0-dev.17 [2023-10-13T04:35:02.514Z] ---> Running in ec07725eb3e2 [2023-10-13T04:35:02.779Z] Removing intermediate container ec07725eb3e2 [2023-10-13T04:35:02.779Z] ---> 4bff31197762 [2023-10-13T04:35:02.779Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T04:35:02.779Z] Successfully built 4bff31197762 [2023-10-13T04:35:02.779Z] 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 [2023-10-13T04:35:02.883Z] provisioning config files... [2023-10-13T04:35:02.899Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/174@tmp/config8523118610011585763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:35:03.234Z] ---> docker-login.sh [2023-10-13T04:35:03.234Z] nexus3.edgexfoundry.org:10001 [2023-10-13T04:35:03.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:35:03.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:35:03.503Z] Configure a credential helper to remove this warning. See [2023-10-13T04:35:03.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:35:03.503Z] [2023-10-13T04:35:03.503Z] Login Succeeded [2023-10-13T04:35:03.503Z] nexus3.edgexfoundry.org:10002 [2023-10-13T04:35:03.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:35:03.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:35:03.771Z] Configure a credential helper to remove this warning. See [2023-10-13T04:35:03.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:35:03.771Z] [2023-10-13T04:35:03.771Z] Login Succeeded [2023-10-13T04:35:03.771Z] nexus3.edgexfoundry.org:10003 [2023-10-13T04:35:04.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:35:04.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:35:04.304Z] Configure a credential helper to remove this warning. See [2023-10-13T04:35:04.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:35:04.304Z] [2023-10-13T04:35:04.304Z] Login Succeeded [2023-10-13T04:35:04.304Z] nexus3.edgexfoundry.org:10004 [2023-10-13T04:35:04.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:35:04.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:35:04.571Z] Configure a credential helper to remove this warning. See [2023-10-13T04:35:04.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:35:04.571Z] [2023-10-13T04:35:04.571Z] Login Succeeded [2023-10-13T04:35:04.571Z] docker.io [2023-10-13T04:35:04.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T04:35:05.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T04:35:05.101Z] Configure a credential helper to remove this warning. See [2023-10-13T04:35:05.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T04:35:05.101Z] [2023-10-13T04:35:05.101Z] Login Succeeded [2023-10-13T04:35:05.101Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T04:35:05.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T04:35:05.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T04:35:05.161Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-10-13T04:35:05.161Z] b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:35:05.161Z] latest [2023-10-13T04:35:05.161Z] 3.1.0-dev.17 [2023-10-13T04:35:05.161Z] b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:35:05.161Z] main [2023-10-13T04:35:05.161Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:05.499Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:05.927Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:35:05.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-10-13T04:35:05.927Z] 3a16ceaff5fd: Preparing [2023-10-13T04:35:05.927Z] ac5f1bc130a2: Preparing [2023-10-13T04:35:05.927Z] 40ee2db336ed: Preparing [2023-10-13T04:35:05.927Z] 43af14dd80f0: Preparing [2023-10-13T04:35:05.927Z] 5f4d9fc4d98d: Preparing [2023-10-13T04:35:05.927Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T04:35:06.211Z] 3a16ceaff5fd: Pushed [2023-10-13T04:35:06.211Z] ac5f1bc130a2: Pushed [2023-10-13T04:35:06.211Z] 43af14dd80f0: Pushed [2023-10-13T04:35:12.904Z] 40ee2db336ed: Pushed [2023-10-13T04:35:12.904Z] b23bf323986474a02c08d039be0c06384ee74361: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:13.241Z] + 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 [2023-10-13T04:35:13.573Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-10-13T04:35:13.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-10-13T04:35:13.573Z] 3a16ceaff5fd: Preparing [2023-10-13T04:35:13.573Z] ac5f1bc130a2: Preparing [2023-10-13T04:35:13.573Z] 40ee2db336ed: Preparing [2023-10-13T04:35:13.573Z] 43af14dd80f0: Preparing [2023-10-13T04:35:13.573Z] 5f4d9fc4d98d: Preparing [2023-10-13T04:35:13.573Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T04:35:13.573Z] 40ee2db336ed: Layer already exists [2023-10-13T04:35:13.573Z] 3a16ceaff5fd: Layer already exists [2023-10-13T04:35:13.573Z] ac5f1bc130a2: Layer already exists [2023-10-13T04:35:13.573Z] 43af14dd80f0: Layer already exists [2023-10-13T04:35:13.839Z] latest: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:14.172Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:14.504Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 [2023-10-13T04:35:14.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-10-13T04:35:14.504Z] 3a16ceaff5fd: Preparing [2023-10-13T04:35:14.504Z] ac5f1bc130a2: Preparing [2023-10-13T04:35:14.504Z] 40ee2db336ed: Preparing [2023-10-13T04:35:14.504Z] 43af14dd80f0: Preparing [2023-10-13T04:35:14.504Z] 5f4d9fc4d98d: Preparing [2023-10-13T04:35:14.504Z] ac5f1bc130a2: Layer already exists [2023-10-13T04:35:14.504Z] 3a16ceaff5fd: Layer already exists [2023-10-13T04:35:14.504Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T04:35:14.504Z] 43af14dd80f0: Layer already exists [2023-10-13T04:35:14.504Z] 40ee2db336ed: Layer already exists [2023-10-13T04:35:14.504Z] 3.1.0-dev.17: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:14.837Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:15.168Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:35:15.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-10-13T04:35:15.168Z] 3a16ceaff5fd: Preparing [2023-10-13T04:35:15.168Z] ac5f1bc130a2: Preparing [2023-10-13T04:35:15.168Z] 40ee2db336ed: Preparing [2023-10-13T04:35:15.168Z] 43af14dd80f0: Preparing [2023-10-13T04:35:15.168Z] 5f4d9fc4d98d: Preparing [2023-10-13T04:35:15.168Z] 40ee2db336ed: Layer already exists [2023-10-13T04:35:15.168Z] ac5f1bc130a2: Layer already exists [2023-10-13T04:35:15.168Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T04:35:15.168Z] 3a16ceaff5fd: Layer already exists [2023-10-13T04:35:15.168Z] 43af14dd80f0: Layer already exists [2023-10-13T04:35:15.168Z] b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:15.501Z] + 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 [2023-10-13T04:35:15.833Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-10-13T04:35:15.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-10-13T04:35:15.833Z] 3a16ceaff5fd: Preparing [2023-10-13T04:35:15.833Z] ac5f1bc130a2: Preparing [2023-10-13T04:35:15.833Z] 40ee2db336ed: Preparing [2023-10-13T04:35:15.833Z] 43af14dd80f0: Preparing [2023-10-13T04:35:15.833Z] 5f4d9fc4d98d: Preparing [2023-10-13T04:35:15.833Z] ac5f1bc130a2: Layer already exists [2023-10-13T04:35:15.833Z] 5f4d9fc4d98d: Layer already exists [2023-10-13T04:35:15.833Z] 40ee2db336ed: Layer already exists [2023-10-13T04:35:15.833Z] 3a16ceaff5fd: Layer already exists [2023-10-13T04:35:15.833Z] 43af14dd80f0: Layer already exists [2023-10-13T04:35:15.833Z] main: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-13T04:35:16.136Z] ===================================================== [Pipeline] echo [2023-10-13T04:35:16.142Z] taggedImages: [2023-10-13T04:35:16.142Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 [2023-10-13T04:35:16.142Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-10-13T04:35:16.142Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 [2023-10-13T04:35:16.142Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [2023-10-13T04:35:16.142Z] - 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 [2023-10-13T04:35:16.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T04:35:16.485Z] [2023-10-13T04:35:16.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:16.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T04:35:16.813Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-13T04:35:16.813Z] 8998bd30e6a1: Pulling fs layer [2023-10-13T04:35:16.813Z] 04944245beec: Pulling fs layer [2023-10-13T04:35:16.813Z] 699f458cf7ca: Pulling fs layer [2023-10-13T04:35:16.813Z] 765212b225bb: Pulling fs layer [2023-10-13T04:35:16.813Z] 765212b225bb: Waiting [2023-10-13T04:35:16.813Z] f23df028b6ca: Pulling fs layer [2023-10-13T04:35:16.813Z] d65c8cfc05b1: Pulling fs layer [2023-10-13T04:35:16.813Z] 2437ff75d9bd: Pulling fs layer [2023-10-13T04:35:16.813Z] f23df028b6ca: Waiting [2023-10-13T04:35:16.813Z] d65c8cfc05b1: Waiting [2023-10-13T04:35:16.813Z] 2437ff75d9bd: Waiting [2023-10-13T04:35:17.081Z] 04944245beec: Verifying Checksum [2023-10-13T04:35:17.081Z] 04944245beec: Download complete [2023-10-13T04:35:17.081Z] 765212b225bb: Verifying Checksum [2023-10-13T04:35:17.081Z] 765212b225bb: Download complete [2023-10-13T04:35:17.081Z] f23df028b6ca: Verifying Checksum [2023-10-13T04:35:17.081Z] f23df028b6ca: Download complete [2023-10-13T04:35:17.081Z] d65c8cfc05b1: Download complete [2023-10-13T04:35:17.081Z] 699f458cf7ca: Verifying Checksum [2023-10-13T04:35:17.081Z] 699f458cf7ca: Download complete [2023-10-13T04:35:17.663Z] 8998bd30e6a1: Verifying Checksum [2023-10-13T04:35:17.663Z] 8998bd30e6a1: Download complete [2023-10-13T04:35:20.254Z] 2437ff75d9bd: Verifying Checksum [2023-10-13T04:35:20.254Z] 2437ff75d9bd: Download complete [2023-10-13T04:35:22.197Z] 8998bd30e6a1: Pull complete [2023-10-13T04:35:22.464Z] 04944245beec: Pull complete [2023-10-13T04:35:24.406Z] 699f458cf7ca: Pull complete [2023-10-13T04:35:24.406Z] 765212b225bb: Pull complete [2023-10-13T04:35:24.987Z] f23df028b6ca: Pull complete [2023-10-13T04:35:25.254Z] d65c8cfc05b1: Pull complete [2023-10-13T04:35:43.462Z] 2437ff75d9bd: Pull complete [2023-10-13T04:35:43.462Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-13T04:35:43.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T04:35:43.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:35:43.666Z] prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container [2023-10-13T04:35:43.754Z] $ 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/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@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 [2023-10-13T04:35:45.976Z] $ docker top a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:35:46.840Z] ---> job-cost.sh [2023-10-13T04:35:46.840Z] lf-activate-venv: SKIPPING [2023-10-13T04:35:46.840Z] INFO: No Stack... [2023-10-13T04:35:47.106Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-13T04:35:48.058Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T04:35:48.374Z] + cat /w/workspace/device-onvif-camera/174/archives/cost.csv [2023-10-13T04:35:48.374Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T04:35:48.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [2023-10-13T04:35:48.715Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] did not exist. Created. [2023-10-13T04:35:48.715Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T04:35:49.366Z] /w/workspace/device-onvif-camera/174@tmp/durable-accd6d9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-13T04:35:50.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-13T04:35:50.038Z] Warning: overwriting stash ‘stack-cost’ [2023-10-13T04:35:50.125Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T04:35:50.135Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T04:35:50.151Z] $ docker stop --time=1 a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 [2023-10-13T04:35:51.680Z] $ docker rm -f --volumes a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 [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 [2023-10-13T04:35:52.074Z] provisioning config files... [2023-10-13T04:35:52.081Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12263814411795892175tmp [Pipeline] { [Pipeline] sh [2023-10-13T04:35:52.374Z] + set +x [2023-10-13T04:35:52.374Z] + curl -s https://codecov.io/bash [2023-10-13T04:35:52.374Z] + bash -s -- [2023-10-13T04:35:52.374Z] [2023-10-13T04:35:52.374Z] _____ _ [2023-10-13T04:35:52.374Z] / ____| | | [2023-10-13T04:35:52.374Z] | | ___ __| | ___ ___ _____ __ [2023-10-13T04:35:52.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-13T04:35:52.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-13T04:35:52.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-13T04:35:52.374Z] Bash-1.0.6 [2023-10-13T04:35:52.374Z] [2023-10-13T04:35:52.374Z] [2023-10-13T04:35:52.374Z] ==> git version 2.25.1 found [2023-10-13T04:35:52.374Z] ==> 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 [2023-10-13T04:35:52.374Z] Release-Date: 2020-01-08 [2023-10-13T04:35:52.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-13T04:35:52.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-13T04:35:52.374Z] ==> Jenkins CI detected. [2023-10-13T04:35:52.374Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-10-13T04:35:52.374Z] project root: . [2023-10-13T04:35:52.374Z] --> token set from env [2023-10-13T04:35:52.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-13T04:35:52.374Z] ==> Running gcov in . (disable via -X gcov) [2023-10-13T04:35:52.374Z] ==> Python coveragepy not found [2023-10-13T04:35:52.374Z] ==> Searching for coverage reports in: [2023-10-13T04:35:52.374Z] + . [2023-10-13T04:35:52.374Z] -> Found 1 reports [2023-10-13T04:35:52.374Z] ==> Detecting git/mercurial file structure [2023-10-13T04:35:52.374Z] ==> Reading reports [2023-10-13T04:35:52.637Z] + ./coverage.out bytes=78456 [2023-10-13T04:35:52.637Z] ==> Appending adjustments [2023-10-13T04:35:52.637Z] https://docs.codecov.io/docs/fixing-reports [2023-10-13T04:35:52.637Z] + Found adjustments [2023-10-13T04:35:52.637Z] ==> Gzipping contents [2023-10-13T04:35:52.637Z] 12K /tmp/codecov.0kpfuf.gz [2023-10-13T04:35:52.637Z] ==> Uploading reports [2023-10-13T04:35:52.637Z] url: https://codecov.io [2023-10-13T04:35:52.637Z] query: branch=main&commit=b23bf323986474a02c08d039be0c06384ee74361&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-13T04:35:52.637Z] -> Pinging Codecov [2023-10-13T04:35:52.637Z] 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=b23bf323986474a02c08d039be0c06384ee74361&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-13T04:35:52.896Z] -> Uploading to [2023-10-13T04:35:52.896Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-13/F29A59C45E3A92E06B3E522C9905F8EF/b23bf323986474a02c08d039be0c06384ee74361/10993131-d356-4642-aecd-9c5218860438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T043552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d3b0f9200c191907ee5e6f9003a14e1b2c8e9002d018df47c5f1729f316a7e1 [2023-10-13T04:35:52.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T04:35:52.896Z] Dload Upload Total Spent Left Speed [2023-10-13T04:35:53.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 33741 --:--:-- --:--:-- --:--:-- 33741 100 10561 0 0 100 10561 0 33741 --:--:-- --:--:-- --:--:-- 33633 [2023-10-13T04:35:53.155Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } [2023-10-13T04:35:53.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-13T04:35:53.390Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-13T04:35:53.401Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:53.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T04:35:53.707Z] [2023-10-13T04:35:53.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:35:54.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T04:35:54.009Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-13T04:35:54.009Z] df9b9388f04a: Pulling fs layer [2023-10-13T04:35:54.009Z] 52dc419b0ee2: Pulling fs layer [2023-10-13T04:35:54.009Z] 25bc292e5bac: Pulling fs layer [2023-10-13T04:35:54.009Z] 114826534d7a: Pulling fs layer [2023-10-13T04:35:54.009Z] 4657fd5d0bcf: Pulling fs layer [2023-10-13T04:35:54.009Z] 6ad1cebc031e: Pulling fs layer [2023-10-13T04:35:54.009Z] 8a3aa393b2d8: Pulling fs layer [2023-10-13T04:35:54.009Z] 114826534d7a: Waiting [2023-10-13T04:35:54.009Z] 4657fd5d0bcf: Waiting [2023-10-13T04:35:54.009Z] 6ad1cebc031e: Waiting [2023-10-13T04:35:54.009Z] 8a3aa393b2d8: Waiting [2023-10-13T04:35:54.009Z] 25bc292e5bac: Download complete [2023-10-13T04:35:54.009Z] 52dc419b0ee2: Verifying Checksum [2023-10-13T04:35:54.009Z] 52dc419b0ee2: Download complete [2023-10-13T04:35:54.009Z] 4657fd5d0bcf: Download complete [2023-10-13T04:35:54.009Z] df9b9388f04a: Download complete [2023-10-13T04:35:54.267Z] 6ad1cebc031e: Download complete [2023-10-13T04:35:54.267Z] df9b9388f04a: Pull complete [2023-10-13T04:35:54.267Z] 52dc419b0ee2: Pull complete [2023-10-13T04:35:54.267Z] 25bc292e5bac: Pull complete [2023-10-13T04:35:54.833Z] 114826534d7a: Verifying Checksum [2023-10-13T04:35:54.833Z] 114826534d7a: Download complete [2023-10-13T04:35:54.833Z] 8a3aa393b2d8: Verifying Checksum [2023-10-13T04:35:54.833Z] 8a3aa393b2d8: Download complete [2023-10-13T04:35:58.117Z] 114826534d7a: Pull complete [2023-10-13T04:35:58.375Z] 4657fd5d0bcf: Pull complete [2023-10-13T04:35:58.636Z] 6ad1cebc031e: Pull complete [2023-10-13T04:36:01.163Z] 8a3aa393b2d8: Pull complete [2023-10-13T04:36:01.163Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-13T04:36:01.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-13T04:36:01.163Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:01.246Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:01.272Z] $ 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 [2023-10-13T04:36:05.528Z] $ docker top 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-13T04:36:05.599Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-10-13T04:36:05.874Z] + set -o pipefail [2023-10-13T04:36:05.874Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0bab04de-07ad-41a8-b2bc-f6cb0995e1d3 [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] [2023-10-13T04:36:13.997Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-13T04:36:13.997Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-13T04:36:13.997Z] More details here: https://snyk.co/ue1NS [2023-10-13T04:36:13.997Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-13T04:36:13.997Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-13T04:36:14.003Z] $ docker stop --time=1 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a [2023-10-13T04:36:17.728Z] $ docker rm -f --volumes 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a [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 [2023-10-13T04:36:18.148Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T04:36:18.162Z] provisioning config files... [2023-10-13T04:36:18.169Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6030793632882194318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:18.460Z] --> edgex-publish-swagger.sh [2023-10-13T04:36:18.460Z] === Publish doc/openapi/v3 API === [2023-10-13T04:36:18.460Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-10-13T04:36:18.460Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-10-13T04:36:18.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T04:36:18.460Z] Dload Upload Total Spent Left Speed [2023-10-13T04:36:19.401Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 542k --:--:-- --:--:-- --:--:-- 541k 100 485k 0 0 100 485k 0 542k --:--:-- --:--:-- --:--:-- 541k [2023-10-13T04:36:19.401Z] [2023-10-13T04:36:19.401Z] [Pipeline] } [2023-10-13T04:36:19.409Z] 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 [2023-10-13T04:36:19.814Z] + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] sh [2023-10-13T04:36:20.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T04:36:20.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:20.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:36:20.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:20.476Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:20.499Z] $ 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 [2023-10-13T04:36:20.954Z] $ docker top e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T04:36:21.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T04:36:21.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T04:36:21.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T04:36:21.159Z] $ docker exec e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 ssh-agent [2023-10-13T04:36:21.271Z] SSH_AUTH_SOCK=/tmp/ssh-6lrhPYwanfU9/agent.32 [2023-10-13T04:36:21.271Z] SSH_AGENT_PID=38 [2023-10-13T04:36:21.276Z] Running ssh-add (command line suppressed) [2023-10-13T04:36:21.372Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3332146264652486126.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3332146264652486126.key) [2023-10-13T04:36:21.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T04:36:21.674Z] + git semver tag [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,834 [run_tag] DEBUG tag force:False [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,834 [check_head_tag] DEBUG check head tag [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,835 [execute] INFO git cat-file --batch-check [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,839 [execute] INFO git cat-file --batch [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,848 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,848 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,849 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-10-13T04:36:21.932Z] 2023-10-13 04:36:21,853 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:21.932Z] 3.1.0-dev.17 [Pipeline] } [2023-10-13T04:36:21.935Z] $ docker exec --env ******** --env ******** e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 ssh-agent -k [2023-10-13T04:36:22.034Z] unset SSH_AUTH_SOCK; [2023-10-13T04:36:22.034Z] unset SSH_AGENT_PID; [2023-10-13T04:36:22.035Z] echo Agent pid 38 killed; [2023-10-13T04:36:22.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T04:36:22.530Z] + git semver [Pipeline] } [2023-10-13T04:36:22.796Z] $ docker stop --time=1 e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 [2023-10-13T04:36:24.062Z] $ docker rm -f --volumes e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:24.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T04:36:24.460Z] [2023-10-13T04:36:24.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:24.755Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T04:36:24.755Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-13T04:36:24.755Z] ab5ef0e58194: Pulling fs layer [2023-10-13T04:36:24.755Z] 9712f1f96733: Pulling fs layer [2023-10-13T04:36:24.755Z] 63f879dbbcfc: Pulling fs layer [2023-10-13T04:36:24.755Z] 0d9ebad4ef96: Pulling fs layer [2023-10-13T04:36:24.755Z] e9a5061849ea: Pulling fs layer [2023-10-13T04:36:24.755Z] d747dcd14b5f: Pulling fs layer [2023-10-13T04:36:24.755Z] 2de7ff778b66: Pulling fs layer [2023-10-13T04:36:24.755Z] e9a5061849ea: Waiting [2023-10-13T04:36:24.755Z] d747dcd14b5f: Waiting [2023-10-13T04:36:24.755Z] 2de7ff778b66: Waiting [2023-10-13T04:36:24.755Z] 0d9ebad4ef96: Waiting [2023-10-13T04:36:24.755Z] 9712f1f96733: Verifying Checksum [2023-10-13T04:36:24.755Z] 9712f1f96733: Download complete [2023-10-13T04:36:25.322Z] 63f879dbbcfc: Verifying Checksum [2023-10-13T04:36:25.322Z] 63f879dbbcfc: Download complete [2023-10-13T04:36:25.322Z] 0d9ebad4ef96: Verifying Checksum [2023-10-13T04:36:25.322Z] 0d9ebad4ef96: Download complete [2023-10-13T04:36:25.322Z] d747dcd14b5f: Download complete [2023-10-13T04:36:25.322Z] e9a5061849ea: Verifying Checksum [2023-10-13T04:36:25.322Z] e9a5061849ea: Download complete [2023-10-13T04:36:25.322Z] ab5ef0e58194: Verifying Checksum [2023-10-13T04:36:25.322Z] ab5ef0e58194: Download complete [2023-10-13T04:36:25.322Z] 2de7ff778b66: Verifying Checksum [2023-10-13T04:36:25.322Z] 2de7ff778b66: Download complete [2023-10-13T04:36:28.615Z] ab5ef0e58194: Pull complete [2023-10-13T04:36:28.615Z] 9712f1f96733: Pull complete [2023-10-13T04:36:28.615Z] 63f879dbbcfc: Pull complete [2023-10-13T04:36:32.798Z] 0d9ebad4ef96: Pull complete [2023-10-13T04:36:32.798Z] e9a5061849ea: Pull complete [2023-10-13T04:36:32.798Z] d747dcd14b5f: Pull complete [2023-10-13T04:36:33.731Z] 2de7ff778b66: Pull complete [2023-10-13T04:36:33.731Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-13T04:36:33.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-13T04:36:33.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:33.815Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:33.838Z] $ 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 [2023-10-13T04:36:38.815Z] $ docker top 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-13T04:36:38.891Z] provisioning config files... [2023-10-13T04:36:38.899Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12727552731278018690tmp [2023-10-13T04:36:38.909Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6455176549463897060tmp [2023-10-13T04:36:38.918Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5092611073305896831tmp [Pipeline] { [Pipeline] echo [2023-10-13T04:36:38.932Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:39.213Z] ---> sigul-configuration.sh [2023-10-13T04:36:39.213Z] gpg: directory `/root/.gnupg' created [2023-10-13T04:36:39.213Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-13T04:36:39.213Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-13T04:36:39.213Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-13T04:36:39.213Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-13T04:36:39.213Z] gpg: CAST5 encrypted data [2023-10-13T04:36:39.213Z] gpg: encrypted with 1 passphrase [2023-10-13T04:36:39.213Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-13T04:36:39.498Z] + mkdir /home/jenkins [2023-10-13T04:36:39.498Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-13T04:36:39.781Z] + 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 [2023-10-13T04:36:39.789Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:40.073Z] ---> sigul-install.sh [2023-10-13T04:36:40.073Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-13T04:36:40.368Z] + git tag --list [2023-10-13T04:36:40.368Z] v0.0.0 [2023-10-13T04:36:40.368Z] v2.2.0 [2023-10-13T04:36:40.368Z] v2.3.0 [2023-10-13T04:36:40.368Z] v2.3.1 [2023-10-13T04:36:40.368Z] v3.0 [2023-10-13T04:36:40.368Z] v3.0.0 [2023-10-13T04:36:40.368Z] v3.1.0-dev.1 [2023-10-13T04:36:40.368Z] v3.1.0-dev.10 [2023-10-13T04:36:40.368Z] v3.1.0-dev.11 [2023-10-13T04:36:40.368Z] v3.1.0-dev.12 [2023-10-13T04:36:40.368Z] v3.1.0-dev.13 [2023-10-13T04:36:40.368Z] v3.1.0-dev.14 [2023-10-13T04:36:40.368Z] v3.1.0-dev.15 [2023-10-13T04:36:40.368Z] v3.1.0-dev.16 [2023-10-13T04:36:40.368Z] v3.1.0-dev.17 [2023-10-13T04:36:40.368Z] v3.1.0-dev.2 [2023-10-13T04:36:40.368Z] v3.1.0-dev.3 [2023-10-13T04:36:40.368Z] v3.1.0-dev.4 [2023-10-13T04:36:40.368Z] v3.1.0-dev.5 [2023-10-13T04:36:40.368Z] v3.1.0-dev.6 [2023-10-13T04:36:40.368Z] v3.1.0-dev.7 [2023-10-13T04:36:40.368Z] v3.1.0-dev.8 [2023-10-13T04:36:40.368Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-13T04:36:40.652Z] + lftools sign git-tag v3.1.0-dev.17 [2023-10-13T04:36:41.221Z] Signing Git tag with Sigul... [2023-10-13T04:36:41.221Z] Signing v3.1.0-dev.17 [Pipeline] echo [2023-10-13T04:36:41.486Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:41.769Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-13T04:36:41.777Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-13T04:36:41.789Z] $ docker stop --time=1 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf [2023-10-13T04:36:43.051Z] $ docker rm -f --volumes 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-13T04:36:43.464Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T04:36:43.464Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:43.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:36:43.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:43.874Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:43.902Z] $ 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 [2023-10-13T04:36:44.260Z] $ docker top dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 -eo pid,comm [2023-10-13T04:36:44.313Z] 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). [2023-10-13T04:36:44.313Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T04:36:44.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T04:36:44.348Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T04:36:44.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T04:36:44.488Z] $ docker exec dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 ssh-agent [2023-10-13T04:36:44.594Z] SSH_AUTH_SOCK=/tmp/ssh-SGmvvrwLGSyv/agent.31 [2023-10-13T04:36:44.594Z] SSH_AGENT_PID=37 [2023-10-13T04:36:44.600Z] Running ssh-add (command line suppressed) [2023-10-13T04:36:44.693Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15844376996974738103.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15844376996974738103.key) [2023-10-13T04:36:44.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T04:36:45.001Z] + git semver bump pre [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,176 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,176 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,177 [bump_version] DEBUG bumped version:3.1.0-dev.18 [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,177 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,177 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,177 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,179 [execute] INFO git cat-file --batch-check [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,184 [execute] INFO git cat-file --batch [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T04:36:45.261Z] 2023-10-13 04:36:45,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:45.261Z] 3.1.0-dev.18 [Pipeline] } [2023-10-13T04:36:45.264Z] $ docker exec --env ******** --env ******** dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 ssh-agent -k [2023-10-13T04:36:45.366Z] unset SSH_AUTH_SOCK; [2023-10-13T04:36:45.366Z] unset SSH_AGENT_PID; [2023-10-13T04:36:45.366Z] echo Agent pid 37 killed; [2023-10-13T04:36:45.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T04:36:45.681Z] + git semver [Pipeline] } [2023-10-13T04:36:45.946Z] $ docker stop --time=1 dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 [2023-10-13T04:36:47.227Z] $ docker rm -f --volumes dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T04:36:47.581Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T04:36:47.581Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:47.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T04:36:47.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:47.947Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:47.973Z] $ 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 [2023-10-13T04:36:48.314Z] $ docker top 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T04:36:48.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T04:36:48.401Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T04:36:48.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T04:36:48.519Z] $ docker exec 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec ssh-agent [2023-10-13T04:36:48.633Z] SSH_AUTH_SOCK=/tmp/ssh-61Mdf6wxKVTX/agent.33 [2023-10-13T04:36:48.633Z] SSH_AGENT_PID=39 [2023-10-13T04:36:48.638Z] Running ssh-add (command line suppressed) [2023-10-13T04:36:48.737Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_657147812249819218.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_657147812249819218.key) [2023-10-13T04:36:48.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T04:36:49.043Z] + git semver push [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,214 [run_push] DEBUG push [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,214 [execute] INFO git cat-file --batch-check [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,219 [execute] INFO git rev-list 85704eadd361449d7b067a0152a241e5f33acafc -- [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,219 [execute] DEBUG Popen(['git', 'rev-list', '85704eadd361449d7b067a0152a241e5f33acafc', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,227 [execute] INFO git fetch -v origin [2023-10-13T04:36:49.302Z] 2023-10-13 04:36:49,227 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-13T04:36:49.869Z] 2023-10-13 04:36:49,752 [run_push] DEBUG no remote changes detected [2023-10-13T04:36:49.869Z] 2023-10-13 04:36:49,753 [execute] INFO git push origin semver [2023-10-13T04:36:49.869Z] 2023-10-13 04:36:49,753 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-13T04:36:50.808Z] 2023-10-13 04:36:50,536 [run_push] DEBUG push all version tags [2023-10-13T04:36:50.808Z] 2023-10-13 04:36:50,537 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-13T04:36:50.808Z] 2023-10-13 04:36:50,537 [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) [2023-10-13T04:36:51.746Z] 2023-10-13 04:36:51,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-10-13T04:36:51.746Z] 3.1.0-dev.18 [Pipeline] } [2023-10-13T04:36:51.749Z] $ docker exec --env ******** --env ******** 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec ssh-agent -k [2023-10-13T04:36:51.841Z] unset SSH_AUTH_SOCK; [2023-10-13T04:36:51.841Z] unset SSH_AGENT_PID; [2023-10-13T04:36:51.841Z] echo Agent pid 39 killed; [2023-10-13T04:36:51.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T04:36:52.163Z] + git semver [Pipeline] } [2023-10-13T04:36:52.427Z] $ docker stop --time=1 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec [2023-10-13T04:36:53.687Z] $ docker rm -f --volumes 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec [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 [2023-10-13T04:36:54.277Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-10-13T04:36:54.277Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-10-13T04:36:54.277Z] total 16 [2023-10-13T04:36:54.277Z] drwxr-xr-x 3 root root 4096 Oct 13 04:28 . [2023-10-13T04:36:54.277Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:36 .. [2023-10-13T04:36:54.277Z] drwxr-xr-x 2 root root 4096 Oct 13 04:28 cost [2023-10-13T04:36:54.277Z] -rw-r--r-- 1 root root 91 Oct 13 04:28 cost.csv [2023-10-13T04:36:54.277Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-10-13T04:36:54.277Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-10-13T04:36:54.277Z] total 16 [2023-10-13T04:36:54.277Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:28 . [2023-10-13T04:36:54.277Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:36 .. [2023-10-13T04:36:54.277Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 04:28 cost [2023-10-13T04:36:54.277Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 13 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:54.569Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:55.426Z] ---> package-listing.sh [2023-10-13T04:36:55.427Z] ++ facter osfamily [2023-10-13T04:36:55.427Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-13T04:36:55.685Z] + OS_FAMILY=debian [2023-10-13T04:36:55.685Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-10-13T04:36:55.685Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-13T04:36:55.685Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-13T04:36:55.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-13T04:36:55.685Z] + PACKAGES=/tmp/packages_start.txt [2023-10-13T04:36:55.685Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-10-13T04:36:55.685Z] + PACKAGES=/tmp/packages_end.txt [2023-10-13T04:36:55.685Z] + case "${OS_FAMILY}" in [2023-10-13T04:36:55.685Z] + dpkg -l [2023-10-13T04:36:55.685Z] + grep '^ii' [2023-10-13T04:36:55.685Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-13T04:36:55.685Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-13T04:36:55.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-13T04:36:55.685Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-10-13T04:36:55.685Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-10-13T04:36:55.685Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-10-13T04:36:55.694Z] 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 [2023-10-13T04:36:55.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T04:36:56.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T04:36:56.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T04:36:56.590Z] prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container [2023-10-13T04:36:56.691Z] $ 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 [2023-10-13T04:36:56.873Z] $ docker top d4d056490d5664bcfc525c67ce075f59aa56ec74effbf7cab72ae956a01fea62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T04:36:57.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-13T04:36:57.581Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-13T04:36:57.865Z] + ls /var/log/sa-host [2023-10-13T04:36:57.865Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T04:36:57.999Z] provisioning config files... [2023-10-13T04:36:58.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8077044251377587852tmp [Pipeline] { [Pipeline] echo [2023-10-13T04:36:58.022Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:58.306Z] ---> create-netrc.sh [Pipeline] } [2023-10-13T04:36:58.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:58.638Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-13T04:36:58.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:58.946Z] ---> sudo-logs.sh [2023-10-13T04:36:58.946Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-13T04:36:58.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:36:59.246Z] ---> job-cost.sh [2023-10-13T04:36:59.246Z] lf-activate-venv: SKIPPING [2023-10-13T04:36:59.246Z] DEBUG: total: 0.2199999988079071 [2023-10-13T04:36:59.246Z] INFO: Retrieving Stack Cost... [2023-10-13T04:36:59.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T04:37:00.075Z] INFO: Archiving Costs [Pipeline] echo [2023-10-13T04:37:00.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T04:37:00.369Z] ---> logs-deploy.sh [2023-10-13T04:37:00.369Z] lf-activate-venv: SKIPPING [2023-10-13T04:37:00.369Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/174 [2023-10-13T04:37:00.370Z] INFO: archiving workspace using pattern(s): [2023-10-13T04:37:01.308Z] Archives upload complete. [2023-10-13T04:37:01.308Z] INFO: archiving logs to Nexus