Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ed280a745d7a481fda411e84eedc9b35ce489b45 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-ssh11825175669263886692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh1262394081007849135.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11671457724520218550.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh16893260007630089616.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-ssh4993972764362394715.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.20 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-4556 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 > 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 Avoid second fetch Checking out Revision ed280a745d7a481fda411e84eedc9b35ce489b45 (main) Commit message: "Merge pull request #377 from FelixTing/update-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 > git rev-list --no-walk 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T10:57:24.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T10:57:24.908Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T10:57:24.923Z] ========================================================= [2023-08-25T10:57:24.923Z] EdgeX Global Pipelines Version Info [2023-08-25T10:57:24.923Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:57:25.624Z] ------------------- [2023-08-25T10:57:25.624Z] stable info: [2023-08-25T10:57:25.624Z] ------------------- [2023-08-25T10:57:25.624Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T10:57:25.624Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:57:25.625Z] Message: update stable to v1.0.253 [2023-08-25T10:57:26.192Z] ------------------- [2023-08-25T10:57:26.192Z] experimental info: [2023-08-25T10:57:26.192Z] ------------------- [2023-08-25T10:57:26.193Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T10:57:26.193Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:57:26.193Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T10:57:26.348Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-08-25T10:57:26.358Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-08-25T10:57:26.374Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T10:57:26.387Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T10:57:26.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T10:57:26.414Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T10:57:26.433Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T10:57:26.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T10:57:26.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T10:57:26.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T10:57:26.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T10:57:26.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-08-25T10:57:26.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T10:57:26.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T10:57:26.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:57:26.582Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:57:26.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:57:26.606Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:57:26.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T10:57:26.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T10:57:26.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-25T10:57:26.665Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-08-25T10:57:26.685Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T10:57:26.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T10:57:26.722Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T10:57:26.735Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T10:57:26.753Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T10:57:26.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T10:57:26.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T10:57:26.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T10:57:26.814Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo [2023-08-25T10:57:26.828Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed280a7 [Pipeline] echo [2023-08-25T10:57:26.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T10:57:26.883Z] provisioning config files... [2023-08-25T10:57:26.893Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7893203982344442210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:57:27.192Z] ---> docker-login.sh [2023-08-25T10:57:27.192Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:57:27.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:27.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:27.452Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:27.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:27.452Z] [2023-08-25T10:57:27.452Z] Login Succeeded [2023-08-25T10:57:27.452Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:57:27.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:27.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:27.452Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:27.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:27.452Z] [2023-08-25T10:57:27.452Z] Login Succeeded [2023-08-25T10:57:27.452Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:57:27.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:27.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:27.712Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:27.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:27.712Z] [2023-08-25T10:57:27.712Z] Login Succeeded [2023-08-25T10:57:27.712Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:57:27.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:27.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:27.712Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:27.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:27.712Z] [2023-08-25T10:57:27.712Z] Login Succeeded [2023-08-25T10:57:27.712Z] docker.io [2023-08-25T10:57:27.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:27.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:27.973Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:27.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:27.973Z] [2023-08-25T10:57:27.973Z] Login Succeeded [2023-08-25T10:57:27.973Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:57:27.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T10:57:28.330Z] + git rev-list -1 --merges ed280a745d7a481fda411e84eedc9b35ce489b45~1..ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo [2023-08-25T10:57:28.376Z] -----------> git rev-list -1 --merges ed280a745d7a481fda411e84eedc9b35ce489b45~1..ed280a745d7a481fda411e84eedc9b35ce489b45 ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T10:57:28.376Z] ed280a745d7a481fda411e84eedc9b35ce489b45 [false] [Pipeline] sh [2023-08-25T10:57:28.668Z] + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo [2023-08-25T10:57:28.683Z] ========================================================= [2023-08-25T10:57:28.683Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T10:57:28.683Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T10:57:29.022Z] + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] echo [2023-08-25T10:57:29.057Z] [semverPrep] GIT_COMMIT: ed280a745d7a481fda411e84eedc9b35ce489b45, Commit Message: Merge pull request #377 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T10:57:29.067Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T10:57:29.412Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T10:57:29.412Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T10:57:29.412Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T10:57:29.412Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T10:57:29.412Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T10:57:29.412Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T10:57:29.412Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:57:29.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:57:29.754Z] [2023-08-25T10:57:29.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:57:30.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:57:30.054Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T10:57:30.054Z] b85a868b505f: Pulling fs layer [2023-08-25T10:57:30.054Z] e2be974225ed: Pulling fs layer [2023-08-25T10:57:30.055Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T10:57:30.055Z] 988bab9f4d93: Pulling fs layer [2023-08-25T10:57:30.055Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T10:57:30.055Z] eaf3925da568: Pulling fs layer [2023-08-25T10:57:30.055Z] 1469e6f7b9e6: Waiting [2023-08-25T10:57:30.055Z] bab4dde63d76: Pulling fs layer [2023-08-25T10:57:30.055Z] bde34c3a00c8: Pulling fs layer [2023-08-25T10:57:30.055Z] b352a97aabf1: Pulling fs layer [2023-08-25T10:57:30.055Z] eaf3925da568: Waiting [2023-08-25T10:57:30.055Z] 4872d77fe225: Pulling fs layer [2023-08-25T10:57:30.055Z] bab4dde63d76: Waiting [2023-08-25T10:57:30.055Z] 5851b861e8e6: Pulling fs layer [2023-08-25T10:57:30.055Z] b352a97aabf1: Waiting [2023-08-25T10:57:30.055Z] 5851b861e8e6: Waiting [2023-08-25T10:57:30.055Z] e2be974225ed: Verifying Checksum [2023-08-25T10:57:30.055Z] e2be974225ed: Download complete [2023-08-25T10:57:30.055Z] 988bab9f4d93: Verifying Checksum [2023-08-25T10:57:30.055Z] 988bab9f4d93: Download complete [2023-08-25T10:57:30.055Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T10:57:30.055Z] 1469e6f7b9e6: Download complete [2023-08-25T10:57:30.055Z] eaf3925da568: Verifying Checksum [2023-08-25T10:57:30.055Z] eaf3925da568: Download complete [2023-08-25T10:57:30.314Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T10:57:30.314Z] 339a4e72a1f5: Download complete [2023-08-25T10:57:30.314Z] bde34c3a00c8: Download complete [2023-08-25T10:57:30.314Z] b352a97aabf1: Verifying Checksum [2023-08-25T10:57:30.314Z] b352a97aabf1: Download complete [2023-08-25T10:57:30.314Z] 4872d77fe225: Download complete [2023-08-25T10:57:30.314Z] 5851b861e8e6: Verifying Checksum [2023-08-25T10:57:30.314Z] 5851b861e8e6: Download complete [2023-08-25T10:57:30.314Z] b85a868b505f: Verifying Checksum [2023-08-25T10:57:30.314Z] b85a868b505f: Download complete [2023-08-25T10:57:30.571Z] bab4dde63d76: Verifying Checksum [2023-08-25T10:57:30.571Z] bab4dde63d76: Download complete [2023-08-25T10:57:31.505Z] b85a868b505f: Pull complete [2023-08-25T10:57:31.505Z] e2be974225ed: Pull complete [2023-08-25T10:57:32.073Z] 339a4e72a1f5: Pull complete [2023-08-25T10:57:32.073Z] 988bab9f4d93: Pull complete [2023-08-25T10:57:32.333Z] 1469e6f7b9e6: Pull complete [2023-08-25T10:57:32.591Z] eaf3925da568: Pull complete [2023-08-25T10:57:33.971Z] bab4dde63d76: Pull complete [2023-08-25T10:57:34.230Z] bde34c3a00c8: Pull complete [2023-08-25T10:57:34.230Z] b352a97aabf1: Pull complete [2023-08-25T10:57:34.489Z] 4872d77fe225: Pull complete [2023-08-25T10:57:34.489Z] 5851b861e8e6: Pull complete [2023-08-25T10:57:34.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T10:57:34.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:57:34.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:57:34.580Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T10:57:34.607Z] $ 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-08-25T10:57:38.573Z] $ docker top 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 -eo pid,comm [2023-08-25T10:57:38.625Z] 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-08-25T10:57:38.625Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T10:57:38.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:57:38.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:57:38.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:57:38.778Z] $ docker exec 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent [2023-08-25T10:57:38.885Z] SSH_AUTH_SOCK=/tmp/ssh-7mHVLWRqGwiU/agent.33 [2023-08-25T10:57:38.885Z] SSH_AGENT_PID=39 [2023-08-25T10:57:38.892Z] Running ssh-add (command line suppressed) [2023-08-25T10:57:38.993Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7164554685547454810.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7164554685547454810.key) [2023-08-25T10:57:39.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:57:39.299Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T10:57:39.317Z] $ docker exec --env ******** --env ******** 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent -k [2023-08-25T10:57:39.422Z] unset SSH_AUTH_SOCK; [2023-08-25T10:57:39.422Z] unset SSH_AGENT_PID; [2023-08-25T10:57:39.422Z] echo Agent pid 39 killed; [2023-08-25T10:57:39.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T10:57:39.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:57:39.455Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:57:39.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:57:39.569Z] $ docker exec 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent [2023-08-25T10:57:39.687Z] SSH_AUTH_SOCK=/tmp/ssh-Il4tDKuPI6RF/agent.71 [2023-08-25T10:57:39.687Z] SSH_AGENT_PID=77 [2023-08-25T10:57:39.696Z] Running ssh-add (command line suppressed) [2023-08-25T10:57:39.791Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12311562776568713031.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12311562776568713031.key) [2023-08-25T10:57:39.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:57:40.092Z] + git semver init [2023-08-25T10:57:40.352Z] 2023-08-25 10:57:40,257 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T10:57:40.352Z] 2023-08-25 10:57:40,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-08-25T10:57:40.352Z] 2023-08-25 10:57:40,258 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-08-25T10:57:40.352Z] 2023-08-25 10:57:40,259 [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-08-25T10:57:41.292Z] 2023-08-25 10:57:41,259 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-08-25T10:57:41.292Z] 2023-08-25 10:57:41,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-08-25T10:57:41.292Z] 2023-08-25 10:57:41,260 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T10:57:41.292Z] 2023-08-25 10:57:41,260 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T10:57:41.292Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T10:57:41.299Z] $ docker exec --env ******** --env ******** 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 ssh-agent -k [2023-08-25T10:57:41.387Z] unset SSH_AUTH_SOCK; [2023-08-25T10:57:41.388Z] unset SSH_AGENT_PID; [2023-08-25T10:57:41.388Z] echo Agent pid 77 killed; [2023-08-25T10:57:41.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T10:57:41.711Z] + git semver [Pipeline] } [2023-08-25T10:57:41.985Z] $ docker stop --time=1 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 [2023-08-25T10:57:43.284Z] $ docker rm -f --volumes 06ed319c0ac25d2bf6af8764ce57e00531961bd5430b9fc22b4f08196f8582e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T10:57:43.619Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T10:57:43.821Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T10:57:43.823Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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-08-25T10:57:43.981Z] provisioning config files... [2023-08-25T10:57:43.991Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9383194172009327611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:57:44.288Z] ---> docker-login.sh [2023-08-25T10:57:44.288Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:57:44.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:44.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:44.288Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:44.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:44.288Z] [2023-08-25T10:57:44.288Z] Login Succeeded [2023-08-25T10:57:44.288Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:57:44.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:44.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:44.288Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:44.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:44.288Z] [2023-08-25T10:57:44.288Z] Login Succeeded [2023-08-25T10:57:44.288Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:57:44.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:44.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:44.547Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:44.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:44.547Z] [2023-08-25T10:57:44.547Z] Login Succeeded [2023-08-25T10:57:44.547Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:57:44.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:44.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:44.547Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:44.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:44.547Z] [2023-08-25T10:57:44.547Z] Login Succeeded [2023-08-25T10:57:44.547Z] docker.io [2023-08-25T10:57:44.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:57:44.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:57:44.806Z] Configure a credential helper to remove this warning. See [2023-08-25T10:57:44.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:57:44.806Z] [2023-08-25T10:57:44.806Z] Login Succeeded [2023-08-25T10:57:44.806Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:57:44.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T10:57:44.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:57:44.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:57:44.907Z] ========================================================= [2023-08-25T10:57:44.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T10:57:44.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:57:45.217Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T10:57:45.217Z] Sending build context to Docker daemon 21.67MB [2023-08-25T10:57:45.217Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T10:57:45.217Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-25T10:57:45.507Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T10:57:45.507Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T10:57:45.507Z] 6911f1a30b25: Pulling fs layer [2023-08-25T10:57:45.507Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T10:57:45.507Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T10:57:45.507Z] ec0bb842ea78: Pulling fs layer [2023-08-25T10:57:45.507Z] 40a00589a448: Pulling fs layer [2023-08-25T10:57:45.507Z] 6c08303d61cc: Pulling fs layer [2023-08-25T10:57:45.507Z] 798269fcf238: Pulling fs layer [2023-08-25T10:57:45.507Z] ec0bb842ea78: Waiting [2023-08-25T10:57:45.507Z] 40a00589a448: Waiting [2023-08-25T10:57:45.507Z] 6863d3e3a2b1: Waiting [2023-08-25T10:57:45.507Z] 6c08303d61cc: Waiting [2023-08-25T10:57:45.507Z] 798269fcf238: Waiting [2023-08-25T10:57:45.507Z] 6911f1a30b25: Download complete [2023-08-25T10:57:45.507Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T10:57:45.507Z] 6863d3e3a2b1: Download complete [2023-08-25T10:57:45.507Z] ec0bb842ea78: Download complete [2023-08-25T10:57:45.507Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T10:57:45.507Z] 4db1b89c0bd1: Download complete [2023-08-25T10:57:45.507Z] 40a00589a448: Verifying Checksum [2023-08-25T10:57:45.508Z] 40a00589a448: Download complete [2023-08-25T10:57:45.769Z] 4db1b89c0bd1: Pull complete [2023-08-25T10:57:45.769Z] 6911f1a30b25: Pull complete [2023-08-25T10:57:46.028Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T10:57:46.028Z] e194b8c5c2a9: Download complete [2023-08-25T10:57:46.287Z] 798269fcf238: Verifying Checksum [2023-08-25T10:57:46.287Z] 798269fcf238: Download complete [2023-08-25T10:57:46.287Z] 6c08303d61cc: Verifying Checksum [2023-08-25T10:57:46.287Z] 6c08303d61cc: Download complete [2023-08-25T10:57:49.567Z] e194b8c5c2a9: Pull complete [2023-08-25T10:57:49.567Z] 6863d3e3a2b1: Pull complete [2023-08-25T10:57:49.567Z] ec0bb842ea78: Pull complete [2023-08-25T10:57:49.567Z] 40a00589a448: Pull complete [2023-08-25T10:57:52.101Z] 6c08303d61cc: Pull complete [2023-08-25T10:57:52.668Z] 798269fcf238: Pull complete [2023-08-25T10:57:52.668Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T10:57:52.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T10:57:52.668Z] ---> ec979cd7f677 [2023-08-25T10:57:52.668Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-25T10:57:57.958Z] ---> Running in 6d144f9a49a3 [2023-08-25T10:57:57.958Z] Removing intermediate container 6d144f9a49a3 [2023-08-25T10:57:57.958Z] ---> fa5a1c3f8664 [2023-08-25T10:57:57.958Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T10:57:57.958Z] ---> Running in 293f29c9eea6 [2023-08-25T10:57:57.958Z] Removing intermediate container 293f29c9eea6 [2023-08-25T10:57:57.958Z] ---> 532ddcec4d34 [2023-08-25T10:57:57.958Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-25T10:57:57.958Z] ---> Running in 67bdef01d858 [2023-08-25T10:57:57.958Z] Removing intermediate container 67bdef01d858 [2023-08-25T10:57:57.958Z] ---> 33a70c2ec6e4 [2023-08-25T10:57:57.958Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T10:57:57.958Z] ---> Running in 4032b25ded5a [2023-08-25T10:57:57.958Z] Removing intermediate container 4032b25ded5a [2023-08-25T10:57:57.958Z] ---> e1f04fed7498 [2023-08-25T10:57:57.958Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-25T10:57:57.958Z] ---> Running in d99ac9b23f7b [2023-08-25T10:57:57.958Z] Removing intermediate container d99ac9b23f7b [2023-08-25T10:57:57.958Z] ---> dd01e59b4935 [2023-08-25T10:57:57.958Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T10:57:57.958Z] ---> Running in ab695e326757 [2023-08-25T10:57:58.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:57:58.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:57:58.735Z] OK: 265 MiB in 53 packages [2023-08-25T10:57:58.932Z] Still waiting to schedule task [2023-08-25T10:57:58.933Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-25T10:57:58.994Z] Removing intermediate container ab695e326757 [2023-08-25T10:57:58.994Z] ---> 4f8e52aa7dba [2023-08-25T10:57:58.994Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-25T10:57:58.994Z] ---> Running in 8d22aa822d49 [2023-08-25T10:57:58.994Z] Removing intermediate container 8d22aa822d49 [2023-08-25T10:57:58.994Z] ---> beece4283a75 [2023-08-25T10:57:58.994Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-25T10:57:59.257Z] ---> 384bc4f02eda [2023-08-25T10:57:59.258Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T10:57:59.258Z] ---> Running in 9f79fc475e30 [2023-08-25T10:58:31.908Z] Removing intermediate container 9f79fc475e30 [2023-08-25T10:58:31.908Z] ---> e66d0892fa63 [2023-08-25T10:58:31.908Z] Step 12/13 : COPY . . [2023-08-25T10:58:31.908Z] ---> 221da03ff621 [2023-08-25T10:58:31.908Z] Step 13/13 : RUN ${MAKE} [2023-08-25T10:58:31.908Z] ---> Running in a44dec39d2b6 [2023-08-25T10:58:31.908Z] noop [2023-08-25T10:58:31.908Z] Removing intermediate container a44dec39d2b6 [2023-08-25T10:58:31.908Z] ---> db1ae2944906 [2023-08-25T10:58:31.908Z] Successfully built db1ae2944906 [2023-08-25T10:58:31.908Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:32.217Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:58:32.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:32.297Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T10:58:32.325Z] $ 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-08-25T10:58:32.679Z] $ docker top 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:58:33.032Z] + go version [2023-08-25T10:58:33.032Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T10:58:33.039Z] $ docker stop --time=1 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca [2023-08-25T10:58:34.303Z] $ docker rm -f --volumes 63225ddfec977ce6c030e59994d4a3ce46b9228b063f3d95615665e7098379ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:34.740Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:58:34.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:34.812Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T10:58:34.840Z] $ 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-08-25T10:58:35.196Z] $ docker top 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:58:35.533Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T10:58:35.834Z] + make test [2023-08-25T10:58:35.834Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T10:58:41.093Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-25T10:58:53.290Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-25T10:58:53.290Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-25T10:58:53.864Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 31.4% of statements [2023-08-25T10:58:53.864Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.090s coverage: 86.5% of statements [2023-08-25T10:59:01.974Z] go vet ./... [2023-08-25T10:59:05.262Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T10:59:05.262Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T10:59:05.262Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T10:59:05.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T10:59:05.282Z] $ docker stop --time=1 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 [2023-08-25T10:59:08.532Z] $ docker rm -f --volumes 54cb611b37cb04f5fac3a165aa8a0ee754db8df41f9d36381a3ceb36c628ec34 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T10:59:08.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T10:59:09.034Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T10:59:09.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T10:59:09.744Z] + ls -al . [2023-08-25T10:59:09.744Z] total 244 [2023-08-25T10:59:09.744Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 10:58 . [2023-08-25T10:59:09.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 .. [2023-08-25T10:59:09.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:57 .git [2023-08-25T10:59:09.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 .github [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 10:57 .gitignore [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:57 .golangci.yml [2023-08-25T10:59:09.744Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:57 .semver [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 10:57 Attribution.txt [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 10:57 CHANGELOG.md [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 10:57 Dockerfile [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:57 GOVERNANCE.md [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 10:57 Jenkinsfile [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:57 LICENSE [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 10:57 Makefile [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:57 OWNERS.md [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 10:57 README.md [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:57 VERSION [2023-08-25T10:59:09.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:57 bin [2023-08-25T10:59:09.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:57 cmd [2023-08-25T10:59:09.744Z] -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 10:58 coverage.out [2023-08-25T10:59:09.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 doc [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 10:57 go.mod [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 10:57 go.sum [2023-08-25T10:59:09.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 internal [2023-08-25T10:59:09.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:57 snap [2023-08-25T10:59:09.744Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:10.045Z] + 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=ed280a745d7a481fda411e84eedc9b35ce489b45 --label arch=amd64 --label version=3.1.0-dev.5 . [2023-08-25T10:59:10.045Z] Sending build context to Docker daemon 21.75MB [2023-08-25T10:59:10.045Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T10:59:10.045Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-25T10:59:10.045Z] ---> db1ae2944906 [2023-08-25T10:59:10.045Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-25T10:59:10.304Z] ---> Running in 8c10942c7409 [2023-08-25T10:59:10.563Z] Removing intermediate container 8c10942c7409 [2023-08-25T10:59:10.563Z] ---> 56caf9d7e175 [2023-08-25T10:59:10.563Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T10:59:10.563Z] ---> Running in fe5e3954e663 [2023-08-25T10:59:10.563Z] Removing intermediate container fe5e3954e663 [2023-08-25T10:59:10.563Z] ---> ec8967a51717 [2023-08-25T10:59:10.563Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-25T10:59:10.563Z] ---> Running in 0cf56aa25bea [2023-08-25T10:59:10.563Z] Removing intermediate container 0cf56aa25bea [2023-08-25T10:59:10.563Z] ---> 46f24e9bcd66 [2023-08-25T10:59:10.563Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T10:59:10.563Z] ---> Running in 506fa5fb3953 [2023-08-25T10:59:10.823Z] Removing intermediate container 506fa5fb3953 [2023-08-25T10:59:10.823Z] ---> f2099bf5a884 [2023-08-25T10:59:10.823Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-25T10:59:10.823Z] ---> Running in 70b24d451471 [2023-08-25T10:59:10.823Z] Removing intermediate container 70b24d451471 [2023-08-25T10:59:10.823Z] ---> 4cfc36a3fd99 [2023-08-25T10:59:10.823Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T10:59:10.823Z] ---> Running in 66d1337d0f61 [2023-08-25T10:59:11.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:11.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:11.348Z] OK: 265 MiB in 53 packages [2023-08-25T10:59:11.924Z] Removing intermediate container 66d1337d0f61 [2023-08-25T10:59:11.924Z] ---> a2cebce996c0 [2023-08-25T10:59:11.924Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-25T10:59:11.924Z] ---> Running in 2107cf201c12 [2023-08-25T10:59:11.924Z] Removing intermediate container 2107cf201c12 [2023-08-25T10:59:11.924Z] ---> 756f6f3b4d4f [2023-08-25T10:59:11.924Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-25T10:59:11.924Z] ---> 2854424050e4 [2023-08-25T10:59:11.924Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T10:59:11.924Z] ---> Running in 25e9574caded [2023-08-25T10:59:12.857Z] Removing intermediate container 25e9574caded [2023-08-25T10:59:12.857Z] ---> ec823ef731e1 [2023-08-25T10:59:12.857Z] Step 12/26 : COPY . . [2023-08-25T10:59:13.421Z] ---> ab89c9927164 [2023-08-25T10:59:13.421Z] Step 13/26 : RUN ${MAKE} [2023-08-25T10:59:13.421Z] ---> Running in 390cfa411570 [2023-08-25T10:59:13.679Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-08-25T10:59:35.726Z] Removing intermediate container 390cfa411570 [2023-08-25T10:59:35.726Z] ---> e9d43317eb1f [2023-08-25T10:59:35.726Z] Step 14/26 : FROM alpine:3.17 [2023-08-25T10:59:35.726Z] 3.17: Pulling from library/alpine [2023-08-25T10:59:35.726Z] 9398808236ff: Pulling fs layer [2023-08-25T10:59:35.726Z] 9398808236ff: Download complete [2023-08-25T10:59:35.726Z] 9398808236ff: Pull complete [2023-08-25T10:59:35.726Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T10:59:35.726Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T10:59:35.726Z] ---> 1e0b8b5322fc [2023-08-25T10:59:35.726Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-25T10:59:35.726Z] ---> Running in 28897376662a [2023-08-25T10:59:35.726Z] Removing intermediate container 28897376662a [2023-08-25T10:59:35.726Z] ---> 557c70575f66 [2023-08-25T10:59:35.726Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-25T10:59:35.726Z] ---> Running in cb09089ae62a [2023-08-25T10:59:35.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:35.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:59:35.726Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T10:59:35.726Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T10:59:35.726Z] OK: 7 MiB in 16 packages [2023-08-25T10:59:35.984Z] Removing intermediate container cb09089ae62a [2023-08-25T10:59:35.984Z] ---> 6eac7482113f [2023-08-25T10:59:35.984Z] Step 17/26 : WORKDIR / [2023-08-25T10:59:35.984Z] ---> Running in 3c85240bf891 [2023-08-25T10:59:36.241Z] Removing intermediate container 3c85240bf891 [2023-08-25T10:59:36.241Z] ---> 296a85a5f318 [2023-08-25T10:59:36.241Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-25T10:59:36.811Z] ---> ea6ac0022225 [2023-08-25T10:59:36.811Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-25T10:59:37.069Z] ---> 06d64d6e2fa1 [2023-08-25T10:59:37.069Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-25T10:59:37.069Z] ---> faa485d905df [2023-08-25T10:59:37.069Z] Step 21/26 : EXPOSE 59984 [2023-08-25T10:59:37.069Z] ---> Running in 304870a2d9f3 [2023-08-25T10:59:37.328Z] Removing intermediate container 304870a2d9f3 [2023-08-25T10:59:37.328Z] ---> ea56d0720e74 [2023-08-25T10:59:37.328Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-25T10:59:37.328Z] ---> Running in 2c7d953d569c [2023-08-25T10:59:37.328Z] Removing intermediate container 2c7d953d569c [2023-08-25T10:59:37.328Z] ---> 450388319b4e [2023-08-25T10:59:37.328Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T10:59:37.328Z] ---> Running in ae7fda24e581 [2023-08-25T10:59:37.588Z] Removing intermediate container ae7fda24e581 [2023-08-25T10:59:37.588Z] ---> 8e0ed8d45852 [2023-08-25T10:59:37.588Z] Step 24/26 : LABEL arch=amd64 [2023-08-25T10:59:37.588Z] ---> Running in 938a8235dcf8 [2023-08-25T10:59:37.588Z] Removing intermediate container 938a8235dcf8 [2023-08-25T10:59:37.588Z] ---> e80fd808e98d [2023-08-25T10:59:37.588Z] Step 25/26 : LABEL git_sha=ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T10:59:37.588Z] ---> Running in b70b49cda884 [2023-08-25T10:59:37.588Z] Removing intermediate container b70b49cda884 [2023-08-25T10:59:37.588Z] ---> 73eb66dd108e [2023-08-25T10:59:37.588Z] Step 26/26 : LABEL version=3.1.0-dev.5 [2023-08-25T10:59:37.848Z] ---> Running in 2b65fbfa513e [2023-08-25T10:59:37.848Z] Removing intermediate container 2b65fbfa513e [2023-08-25T10:59:37.848Z] ---> 09b5ee7bb799 [2023-08-25T10:59:37.848Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T10:59:37.848Z] Successfully built 09b5ee7bb799 [2023-08-25T10:59:37.848Z] 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-08-25T10:59:37.963Z] provisioning config files... [2023-08-25T10:59:37.994Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2395798098311499357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:59:38.284Z] ---> docker-login.sh [2023-08-25T10:59:38.284Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:59:38.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:38.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:38.284Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:38.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:38.284Z] [2023-08-25T10:59:38.284Z] Login Succeeded [2023-08-25T10:59:38.284Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:59:38.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:38.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:38.575Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:38.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:38.575Z] [2023-08-25T10:59:38.575Z] Login Succeeded [2023-08-25T10:59:38.575Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:59:38.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:38.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:38.575Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:38.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:38.575Z] [2023-08-25T10:59:38.575Z] Login Succeeded [2023-08-25T10:59:38.575Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:59:38.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:38.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:38.832Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:38.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:38.832Z] [2023-08-25T10:59:38.832Z] Login Succeeded [2023-08-25T10:59:38.832Z] docker.io [2023-08-25T10:59:38.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:59:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:59:39.092Z] Configure a credential helper to remove this warning. See [2023-08-25T10:59:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:59:39.092Z] [2023-08-25T10:59:39.092Z] Login Succeeded [2023-08-25T10:59:39.092Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:59:39.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T10:59:39.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:59:39.163Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-08-25T10:59:39.163Z] ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T10:59:39.163Z] latest [2023-08-25T10:59:39.163Z] 3.1.0-dev.5 [2023-08-25T10:59:39.163Z] ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T10:59:39.163Z] main [2023-08-25T10:59:39.163Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:39.648Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:39.960Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T10:59:39.960Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-25T10:59:39.960Z] 2c7777881b97: Preparing [2023-08-25T10:59:39.960Z] 24ab3a0cfe47: Preparing [2023-08-25T10:59:39.960Z] 1a5d56c28d5f: Preparing [2023-08-25T10:59:39.960Z] c1a845faf1a0: Preparing [2023-08-25T10:59:39.960Z] 36b50b131297: Preparing [2023-08-25T10:59:39.960Z] 36b50b131297: Layer already exists [2023-08-25T10:59:39.960Z] 2c7777881b97: Pushed [2023-08-25T10:59:39.960Z] 24ab3a0cfe47: Pushed [2023-08-25T10:59:39.960Z] c1a845faf1a0: Pushed [2023-08-25T10:59:43.243Z] 1a5d56c28d5f: Pushed [2023-08-25T10:59:43.243Z] ed280a745d7a481fda411e84eedc9b35ce489b45: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:43.553Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:43.861Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-08-25T10:59:43.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-25T10:59:43.861Z] 2c7777881b97: Preparing [2023-08-25T10:59:43.861Z] 24ab3a0cfe47: Preparing [2023-08-25T10:59:43.861Z] 1a5d56c28d5f: Preparing [2023-08-25T10:59:43.861Z] c1a845faf1a0: Preparing [2023-08-25T10:59:43.861Z] 36b50b131297: Preparing [2023-08-25T10:59:43.861Z] 1a5d56c28d5f: Layer already exists [2023-08-25T10:59:43.861Z] c1a845faf1a0: Layer already exists [2023-08-25T10:59:43.861Z] 2c7777881b97: Layer already exists [2023-08-25T10:59:43.861Z] 36b50b131297: Layer already exists [2023-08-25T10:59:43.861Z] 24ab3a0cfe47: Layer already exists [2023-08-25T10:59:43.861Z] latest: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:44.166Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:44.499Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 [2023-08-25T10:59:44.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-25T10:59:44.499Z] 2c7777881b97: Preparing [2023-08-25T10:59:44.499Z] 24ab3a0cfe47: Preparing [2023-08-25T10:59:44.499Z] 1a5d56c28d5f: Preparing [2023-08-25T10:59:44.499Z] c1a845faf1a0: Preparing [2023-08-25T10:59:44.499Z] 36b50b131297: Preparing [2023-08-25T10:59:44.499Z] 1a5d56c28d5f: Layer already exists [2023-08-25T10:59:44.499Z] 24ab3a0cfe47: Layer already exists [2023-08-25T10:59:44.499Z] 2c7777881b97: Layer already exists [2023-08-25T10:59:44.499Z] 36b50b131297: Layer already exists [2023-08-25T10:59:44.499Z] c1a845faf1a0: Layer already exists [2023-08-25T10:59:44.499Z] 3.1.0-dev.5: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:44.804Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:45.113Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T10:59:45.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-25T10:59:45.113Z] 2c7777881b97: Preparing [2023-08-25T10:59:45.113Z] 24ab3a0cfe47: Preparing [2023-08-25T10:59:45.113Z] 1a5d56c28d5f: Preparing [2023-08-25T10:59:45.113Z] c1a845faf1a0: Preparing [2023-08-25T10:59:45.113Z] 36b50b131297: Preparing [2023-08-25T10:59:45.113Z] 36b50b131297: Layer already exists [2023-08-25T10:59:45.113Z] 2c7777881b97: Layer already exists [2023-08-25T10:59:45.113Z] 1a5d56c28d5f: Layer already exists [2023-08-25T10:59:45.113Z] c1a845faf1a0: Layer already exists [2023-08-25T10:59:45.113Z] 24ab3a0cfe47: Layer already exists [2023-08-25T10:59:45.373Z] ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:45.691Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:46.010Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-08-25T10:59:46.010Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-08-25T10:59:46.010Z] 2c7777881b97: Preparing [2023-08-25T10:59:46.010Z] 24ab3a0cfe47: Preparing [2023-08-25T10:59:46.010Z] 1a5d56c28d5f: Preparing [2023-08-25T10:59:46.010Z] c1a845faf1a0: Preparing [2023-08-25T10:59:46.010Z] 36b50b131297: Preparing [2023-08-25T10:59:46.010Z] c1a845faf1a0: Layer already exists [2023-08-25T10:59:46.010Z] 36b50b131297: Layer already exists [2023-08-25T10:59:46.011Z] 24ab3a0cfe47: Layer already exists [2023-08-25T10:59:46.011Z] 2c7777881b97: Layer already exists [2023-08-25T10:59:46.011Z] 1a5d56c28d5f: Layer already exists [2023-08-25T10:59:46.011Z] main: digest: sha256:1ef0bd39f468a5d4a6688a52c148106f40d807f23d2747c62241ebde4b9e1adc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T10:59:46.063Z] ===================================================== [Pipeline] echo [2023-08-25T10:59:46.074Z] taggedImages: [2023-08-25T10:59:46.074Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T10:59:46.074Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-08-25T10:59:46.074Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.5 [2023-08-25T10:59:46.074Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T10:59:46.074Z] - 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-08-25T10:59:46.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T10:59:46.467Z] [2023-08-25T10:59:46.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:46.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T10:59:46.761Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T10:59:46.761Z] 5eb5b503b376: Pulling fs layer [2023-08-25T10:59:46.761Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T10:59:46.761Z] ec43610c2a17: Pulling fs layer [2023-08-25T10:59:46.761Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T10:59:46.761Z] 33b1e0a273af: Pulling fs layer [2023-08-25T10:59:46.761Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T10:59:46.761Z] 2f39f015ded8: Pulling fs layer [2023-08-25T10:59:46.761Z] 2f39f015ded8: Waiting [2023-08-25T10:59:46.761Z] 33b1e0a273af: Waiting [2023-08-25T10:59:46.761Z] 5d3b04190fa2: Waiting [2023-08-25T10:59:46.761Z] 3a2ae6a8a46f: Waiting [2023-08-25T10:59:46.761Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T10:59:46.761Z] 5c69ac0246d0: Download complete [2023-08-25T10:59:46.761Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T10:59:46.761Z] 3a2ae6a8a46f: Download complete [2023-08-25T10:59:47.020Z] 33b1e0a273af: Verifying Checksum [2023-08-25T10:59:47.020Z] 33b1e0a273af: Download complete [2023-08-25T10:59:47.020Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T10:59:47.020Z] 5d3b04190fa2: Download complete [2023-08-25T10:59:47.020Z] ec43610c2a17: Verifying Checksum [2023-08-25T10:59:47.020Z] ec43610c2a17: Download complete [2023-08-25T10:59:47.279Z] 5eb5b503b376: Download complete [2023-08-25T10:59:47.847Z] 2f39f015ded8: Download complete [2023-08-25T10:59:48.483Z] 5eb5b503b376: Pull complete [2023-08-25T10:59:48.483Z] 5c69ac0246d0: Pull complete [2023-08-25T10:59:48.741Z] ec43610c2a17: Pull complete [2023-08-25T10:59:48.999Z] 3a2ae6a8a46f: Pull complete [2023-08-25T10:59:48.999Z] 33b1e0a273af: Pull complete [2023-08-25T10:59:49.256Z] 5d3b04190fa2: Pull complete [2023-08-25T10:59:53.438Z] 2f39f015ded8: Pull complete [2023-08-25T10:59:53.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T10:59:53.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T10:59:53.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:59:53.522Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T10:59:53.557Z] $ 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-08-25T10:59:57.264Z] $ docker top 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:59:57.631Z] ---> job-cost.sh [2023-08-25T10:59:57.631Z] lf-activate-venv: SKIPPING [2023-08-25T10:59:57.631Z] INFO: No Stack... [2023-08-25T10:59:57.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T10:59:58.148Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T10:59:58.436Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-08-25T10:59:58.436Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T10:59:58.446Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [2023-08-25T10:59:58.451Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] did not exist. Created. [2023-08-25T10:59:58.451Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T10:59:58.751Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T10:59:58.778Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T10:59:58.783Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T10:59:58.799Z] $ docker stop --time=1 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 [2023-08-25T10:59:59.984Z] $ docker rm -f --volumes 1b6750b754b2aa954a8b4189423dcf4ee9482d7df4a3f798ec42f839fc08bf78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T11:00:15.772Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4561 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-08-25T11:00:15.785Z] Running in /w/workspace/device-onvif-camera/161 [Pipeline] { [Pipeline] checkout [2023-08-25T11:00:15.818Z] The recommended git tool is: git [2023-08-25T11:00:25.666Z] using credential edgex-jenkins-ssh [2023-08-25T11:00:25.684Z] Cloning the remote Git repository [2023-08-25T11:00:25.740Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-25T11:00:25.851Z] > git init /w/workspace/device-onvif-camera/161 # timeout=10 [2023-08-25T11:00:26.045Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-08-25T11:00:26.047Z] > git --version # timeout=10 [2023-08-25T11:00:26.074Z] > git --version # 'git version 2.25.1' [2023-08-25T11:00:26.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T11:00:26.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:00:28.956Z] Avoid second fetch [2023-08-25T11:00:28.957Z] Checking out Revision ed280a745d7a481fda411e84eedc9b35ce489b45 (main) [2023-08-25T11:00:27.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-08-25T11:00:27.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:00:29.692Z] Commit message: "Merge pull request #377 from FelixTing/update-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:00:30.574Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T11:00:30.574Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:00:30.574Z] Dload Upload Total Spent Left Speed [2023-08-25T11:00:30.574Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [2023-08-25T11:00:28.981Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T11:00:29.061Z] > git checkout -f ed280a745d7a481fda411e84eedc9b35ce489b45 # timeout=10 [Pipeline] sh [2023-08-25T11:00:31.196Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T11:00:31.527Z] + sudo tee /etc/docker/daemon.new [2023-08-25T11:00:31.527Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T11:00:31.527Z] { [2023-08-25T11:00:31.527Z] "registry-mirrors": [ [2023-08-25T11:00:31.527Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T11:00:31.527Z] ], [2023-08-25T11:00:31.527Z] "bip": "10.250.0.254/24", [2023-08-25T11:00:31.527Z] "hosts": [ [2023-08-25T11:00:31.527Z] "tcp://0.0.0.0:5555", [2023-08-25T11:00:31.527Z] "unix:///var/run/docker.sock" [2023-08-25T11:00:31.527Z] ], [2023-08-25T11:00:31.527Z] "mtu": 1458, [2023-08-25T11:00:31.527Z] "selinux-enabled": true, [2023-08-25T11:00:31.527Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T11:00:31.527Z] } [Pipeline] sh [2023-08-25T11:00:31.877Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T11:00:32.222Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:00:50.500Z] provisioning config files... [2023-08-25T11:00:50.531Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/161@tmp/config11383957778330154453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:50.956Z] ---> docker-login.sh [2023-08-25T11:00:50.956Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:00:51.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:51.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:51.550Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:51.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:51.550Z] [2023-08-25T11:00:51.550Z] Login Succeeded [2023-08-25T11:00:51.550Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:00:51.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:52.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:52.096Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:52.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:52.096Z] [2023-08-25T11:00:52.096Z] Login Succeeded [2023-08-25T11:00:52.096Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:00:52.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:52.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:52.368Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:52.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:52.368Z] [2023-08-25T11:00:52.368Z] Login Succeeded [2023-08-25T11:00:52.368Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:00:52.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:52.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:52.918Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:52.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:52.918Z] [2023-08-25T11:00:52.918Z] Login Succeeded [2023-08-25T11:00:52.918Z] docker.io [2023-08-25T11:00:53.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:53.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:53.467Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:53.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:53.467Z] [2023-08-25T11:00:53.467Z] Login Succeeded [2023-08-25T11:00:53.467Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:00:53.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:00:53.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:00:53.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:00:53.829Z] ========================================================= [2023-08-25T11:00:53.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T11:00:53.829Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:54.189Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T11:00:54.785Z] Sending build context to Docker daemon 14.2MB [2023-08-25T11:00:54.785Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:00:54.785Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-25T11:00:54.785Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T11:00:54.785Z] edb6bdbacee9: Pulling fs layer [2023-08-25T11:00:54.785Z] 5f9638ab2659: Pulling fs layer [2023-08-25T11:00:54.785Z] 8d51d6327a98: Pulling fs layer [2023-08-25T11:00:54.785Z] 8b374f2dd631: Pulling fs layer [2023-08-25T11:00:54.785Z] ec14aa9079de: Pulling fs layer [2023-08-25T11:00:54.785Z] 2f466654f4bb: Pulling fs layer [2023-08-25T11:00:54.785Z] 554e91adad29: Pulling fs layer [2023-08-25T11:00:54.785Z] ec14aa9079de: Waiting [2023-08-25T11:00:54.785Z] 2f466654f4bb: Waiting [2023-08-25T11:00:54.785Z] 554e91adad29: Waiting [2023-08-25T11:00:54.785Z] 8b374f2dd631: Waiting [2023-08-25T11:00:54.785Z] 5f9638ab2659: Verifying Checksum [2023-08-25T11:00:54.785Z] 5f9638ab2659: Download complete [2023-08-25T11:00:54.785Z] 8b374f2dd631: Verifying Checksum [2023-08-25T11:00:54.785Z] 8b374f2dd631: Download complete [2023-08-25T11:00:55.053Z] ec14aa9079de: Verifying Checksum [2023-08-25T11:00:55.053Z] ec14aa9079de: Download complete [2023-08-25T11:00:55.053Z] edb6bdbacee9: Verifying Checksum [2023-08-25T11:00:55.053Z] edb6bdbacee9: Download complete [2023-08-25T11:00:56.024Z] edb6bdbacee9: Pull complete [2023-08-25T11:00:56.613Z] 554e91adad29: Verifying Checksum [2023-08-25T11:00:56.613Z] 554e91adad29: Download complete [2023-08-25T11:00:56.613Z] 5f9638ab2659: Pull complete [2023-08-25T11:00:57.579Z] 8d51d6327a98: Verifying Checksum [2023-08-25T11:00:57.579Z] 8d51d6327a98: Download complete [2023-08-25T11:00:57.579Z] 2f466654f4bb: Verifying Checksum [2023-08-25T11:00:57.579Z] 2f466654f4bb: Download complete [2023-08-25T11:01:09.923Z] 8d51d6327a98: Pull complete [2023-08-25T11:01:09.923Z] 8b374f2dd631: Pull complete [2023-08-25T11:01:09.923Z] ec14aa9079de: Pull complete [2023-08-25T11:01:16.721Z] 2f466654f4bb: Pull complete [2023-08-25T11:01:19.323Z] 554e91adad29: Pull complete [2023-08-25T11:01:19.323Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T11:01:19.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T11:01:19.323Z] ---> 1e15ea492957 [2023-08-25T11:01:19.323Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:01:21.282Z] ---> Running in d4937e0caa15 [2023-08-25T11:01:21.555Z] Removing intermediate container d4937e0caa15 [2023-08-25T11:01:21.555Z] ---> bd2055d895a8 [2023-08-25T11:01:21.555Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:01:21.555Z] ---> Running in 98be4b0587a7 [2023-08-25T11:01:22.146Z] Removing intermediate container 98be4b0587a7 [2023-08-25T11:01:22.146Z] ---> 70e86516b5f5 [2023-08-25T11:01:22.146Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-08-25T11:01:22.146Z] ---> Running in c85c93c38e60 [2023-08-25T11:01:22.420Z] Removing intermediate container c85c93c38e60 [2023-08-25T11:01:22.420Z] ---> fa8f2397efcb [2023-08-25T11:01:22.420Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:01:22.420Z] ---> Running in 9fc9dd0e2176 [2023-08-25T11:01:23.010Z] Removing intermediate container 9fc9dd0e2176 [2023-08-25T11:01:23.010Z] ---> 374166d33912 [2023-08-25T11:01:23.010Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-08-25T11:01:23.010Z] ---> Running in e71a0f8330bb [2023-08-25T11:01:23.285Z] Removing intermediate container e71a0f8330bb [2023-08-25T11:01:23.285Z] ---> f3959ac2633b [2023-08-25T11:01:23.285Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:01:23.285Z] ---> Running in 97cbd2f4437d [2023-08-25T11:01:24.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:01:25.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:01:26.258Z] OK: 263 MiB in 53 packages [2023-08-25T11:01:27.231Z] Removing intermediate container 97cbd2f4437d [2023-08-25T11:01:27.231Z] ---> 1cd2c0a2b5b0 [2023-08-25T11:01:27.231Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-08-25T11:01:27.499Z] ---> Running in 7d0769511375 [2023-08-25T11:01:28.089Z] Removing intermediate container 7d0769511375 [2023-08-25T11:01:28.090Z] ---> 5a9b72f3daaf [2023-08-25T11:01:28.090Z] Step 10/13 : COPY go.mod vendor* ./ [2023-08-25T11:01:28.357Z] ---> c015e914cf11 [2023-08-25T11:01:28.357Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:01:28.625Z] ---> Running in f4b910d8fd19 [2023-08-25T11:02:50.323Z] Removing intermediate container f4b910d8fd19 [2023-08-25T11:02:50.323Z] ---> 7ba2741c03f9 [2023-08-25T11:02:50.323Z] Step 12/13 : COPY . . [2023-08-25T11:02:50.323Z] ---> cd6dbf49ae45 [2023-08-25T11:02:50.323Z] Step 13/13 : RUN ${MAKE} [2023-08-25T11:02:50.323Z] ---> Running in fbff59cc69c6 [2023-08-25T11:02:50.323Z] noop [2023-08-25T11:02:50.323Z] Removing intermediate container fbff59cc69c6 [2023-08-25T11:02:50.323Z] ---> 2ad4434be69b [2023-08-25T11:02:50.323Z] Successfully built 2ad4434be69b [2023-08-25T11:02:50.323Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:50.674Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:02:50.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:02:50.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container [2023-08-25T11:02:50.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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-08-25T11:02:52.220Z] $ docker top e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:02:53.060Z] + go version [2023-08-25T11:02:53.060Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T11:02:53.083Z] $ docker stop --time=1 e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a [2023-08-25T11:02:54.868Z] $ docker rm -f --volumes e5be7d386ecf15d29eb4665a2e78990a0b859f229794ca7fae8cb8baf70cea4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:55.425Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:02:55.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:02:55.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container [2023-08-25T11:02:55.688Z] $ 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/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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-08-25T11:02:57.007Z] $ docker top 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:02:57.841Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/161 [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:02:58.498Z] + make test [2023-08-25T11:02:58.498Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T11:03:37.450Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-08-25T11:06:29.233Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-08-25T11:06:32.594Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-08-25T11:06:34.562Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.240s coverage: 31.4% of statements [2023-08-25T11:07:01.306Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.957s coverage: 86.5% of statements [2023-08-25T11:07:01.306Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T11:07:01.306Z] go vet ./... [2023-08-25T11:07:40.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:07:40.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:07:40.228Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:07:40.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:07:40.265Z] $ docker stop --time=1 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 [2023-08-25T11:07:42.258Z] $ docker rm -f --volumes 3ea644a8fb9a0bf30b9debdca0e36164d01259076f6d0c19b9856f1fd9982db8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:07:43.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:07:43.717Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T11:07:44.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:07:44.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:07:45.105Z] + ls -al . [2023-08-25T11:07:45.105Z] total 240 [2023-08-25T11:07:45.105Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 11:03 . [2023-08-25T11:07:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 .. [2023-08-25T11:07:45.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:00 .git [2023-08-25T11:07:45.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 .github [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 11:00 .gitignore [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 11:00 .golangci.yml [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 11:00 Attribution.txt [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 11:00 CHANGELOG.md [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 11:00 Dockerfile [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:00 GOVERNANCE.md [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 11:00 Jenkinsfile [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 11:00 LICENSE [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 2877 Aug 25 11:00 Makefile [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 11:00 OWNERS.md [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 11:00 README.md [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:57 VERSION [2023-08-25T11:07:45.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 bin [2023-08-25T11:07:45.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 cmd [2023-08-25T11:07:45.105Z] -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 11:07 coverage.out [2023-08-25T11:07:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 doc [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 11:00 go.mod [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 11:00 go.sum [2023-08-25T11:07:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 internal [2023-08-25T11:07:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 snap [2023-08-25T11:07:45.105Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:07:45.469Z] + 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=ed280a745d7a481fda411e84eedc9b35ce489b45 --label arch=arm64 --label version=3.1.0-dev.5 . [2023-08-25T11:07:46.058Z] Sending build context to Docker daemon 14.28MB [2023-08-25T11:07:46.058Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:07:46.058Z] Step 2/26 : FROM ${BASE} AS builder [2023-08-25T11:07:46.058Z] ---> 2ad4434be69b [2023-08-25T11:07:46.058Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:07:46.058Z] ---> Running in 1d982bd4a2a5 [2023-08-25T11:07:46.644Z] Removing intermediate container 1d982bd4a2a5 [2023-08-25T11:07:46.644Z] ---> 435d1c25ce50 [2023-08-25T11:07:46.644Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:07:46.644Z] ---> Running in 96029ae7bdcb [2023-08-25T11:07:46.913Z] Removing intermediate container 96029ae7bdcb [2023-08-25T11:07:46.913Z] ---> ea4fd04b4c02 [2023-08-25T11:07:46.913Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-08-25T11:07:46.913Z] ---> Running in f12789dfe930 [2023-08-25T11:07:47.502Z] Removing intermediate container f12789dfe930 [2023-08-25T11:07:47.503Z] ---> a40584d8a50c [2023-08-25T11:07:47.503Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:07:47.503Z] ---> Running in b906b555c31b [2023-08-25T11:07:47.771Z] Removing intermediate container b906b555c31b [2023-08-25T11:07:47.771Z] ---> aa76fc1fbbf9 [2023-08-25T11:07:47.771Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-08-25T11:07:47.771Z] ---> Running in 52bd8e3d5d37 [2023-08-25T11:07:48.039Z] Removing intermediate container 52bd8e3d5d37 [2023-08-25T11:07:48.039Z] ---> 52aac7788745 [2023-08-25T11:07:48.039Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:07:48.309Z] ---> Running in b4b732ffccab [2023-08-25T11:07:49.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:07:50.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:07:51.203Z] OK: 263 MiB in 53 packages [2023-08-25T11:07:52.167Z] Removing intermediate container b4b732ffccab [2023-08-25T11:07:52.167Z] ---> c20d2fce9c45 [2023-08-25T11:07:52.167Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-08-25T11:07:52.167Z] ---> Running in f6c48bfff465 [2023-08-25T11:07:52.754Z] Removing intermediate container f6c48bfff465 [2023-08-25T11:07:52.754Z] ---> 0636a931f22c [2023-08-25T11:07:52.754Z] Step 10/26 : COPY go.mod vendor* ./ [2023-08-25T11:07:53.343Z] ---> b2afdeea2983 [2023-08-25T11:07:53.343Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:07:53.343Z] ---> Running in 61204961ccff [2023-08-25T11:07:56.697Z] Removing intermediate container 61204961ccff [2023-08-25T11:07:56.697Z] ---> 4bd9260984b8 [2023-08-25T11:07:56.697Z] Step 12/26 : COPY . . [2023-08-25T11:07:57.670Z] ---> 71009dc50ed0 [2023-08-25T11:07:57.670Z] Step 13/26 : RUN ${MAKE} [2023-08-25T11:07:57.670Z] ---> Running in d6d8d16cdaee [2023-08-25T11:07:58.639Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-08-25T11:10:50.397Z] Removing intermediate container d6d8d16cdaee [2023-08-25T11:10:50.397Z] ---> 9541a463fb0a [2023-08-25T11:10:50.397Z] Step 14/26 : FROM alpine:3.17 [2023-08-25T11:10:50.397Z] 3.17: Pulling from library/alpine [2023-08-25T11:10:50.397Z] 4060ece20d7a: Pulling fs layer [2023-08-25T11:10:50.397Z] 4060ece20d7a: Verifying Checksum [2023-08-25T11:10:50.397Z] 4060ece20d7a: Download complete [2023-08-25T11:10:50.397Z] 4060ece20d7a: Pull complete [2023-08-25T11:10:50.398Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:10:50.398Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:10:50.398Z] ---> 8650cd65339b [2023-08-25T11:10:50.398Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-25T11:10:50.398Z] ---> Running in d294a49f63d6 [2023-08-25T11:10:50.398Z] Removing intermediate container d294a49f63d6 [2023-08-25T11:10:50.398Z] ---> 195c7c6b357a [2023-08-25T11:10:50.398Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:10:50.398Z] ---> Running in 18776bb5b32f [2023-08-25T11:10:50.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:10:50.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:10:51.942Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:10:52.210Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:10:52.210Z] OK: 8 MiB in 16 packages [2023-08-25T11:10:56.549Z] Removing intermediate container 18776bb5b32f [2023-08-25T11:10:56.549Z] ---> 6172ff2da5a4 [2023-08-25T11:10:56.549Z] Step 17/26 : WORKDIR / [2023-08-25T11:10:56.549Z] ---> Running in 13b774b60670 [2023-08-25T11:10:56.837Z] Removing intermediate container 13b774b60670 [2023-08-25T11:10:56.837Z] ---> dada90d950e2 [2023-08-25T11:10:56.837Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-08-25T11:10:58.813Z] ---> 38e70226c214 [2023-08-25T11:10:58.813Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-08-25T11:10:59.079Z] ---> 2a705593e097 [2023-08-25T11:10:59.079Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-08-25T11:10:59.346Z] ---> a5b55799cffc [2023-08-25T11:10:59.346Z] Step 21/26 : EXPOSE 59984 [2023-08-25T11:11:00.472Z] ---> Running in cd33440968f8 [2023-08-25T11:11:00.472Z] Removing intermediate container cd33440968f8 [2023-08-25T11:11:00.472Z] ---> 70c02b28a3b1 [2023-08-25T11:11:00.472Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-08-25T11:11:00.472Z] ---> Running in 39da1d94b475 [2023-08-25T11:11:00.472Z] Removing intermediate container 39da1d94b475 [2023-08-25T11:11:00.472Z] ---> b67135bc3ffc [2023-08-25T11:11:00.472Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:11:00.472Z] ---> Running in 30a7fca72f01 [2023-08-25T11:11:00.472Z] Removing intermediate container 30a7fca72f01 [2023-08-25T11:11:00.472Z] ---> 712de111d5d1 [2023-08-25T11:11:00.472Z] Step 24/26 : LABEL arch=arm64 [2023-08-25T11:11:00.740Z] ---> Running in 9a10859cc2d2 [2023-08-25T11:11:01.007Z] Removing intermediate container 9a10859cc2d2 [2023-08-25T11:11:01.007Z] ---> 71f9d3c2acd3 [2023-08-25T11:11:01.007Z] Step 25/26 : LABEL git_sha=ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T11:11:01.007Z] ---> Running in 476c03cddff5 [2023-08-25T11:11:01.274Z] Removing intermediate container 476c03cddff5 [2023-08-25T11:11:01.274Z] ---> 4a71d597ac96 [2023-08-25T11:11:01.274Z] Step 26/26 : LABEL version=3.1.0-dev.5 [2023-08-25T11:11:01.274Z] ---> Running in 69b9f8437e32 [2023-08-25T11:11:01.541Z] Removing intermediate container 69b9f8437e32 [2023-08-25T11:11:01.541Z] ---> 86b32b3d2b82 [2023-08-25T11:11:01.541Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:11:01.541Z] Successfully built 86b32b3d2b82 [2023-08-25T11:11:01.541Z] 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-08-25T11:11:01.928Z] provisioning config files... [2023-08-25T11:11:01.941Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/161@tmp/config993901845946453356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:02.281Z] ---> docker-login.sh [2023-08-25T11:11:02.281Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:11:02.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:02.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:02.550Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:02.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:02.550Z] [2023-08-25T11:11:02.550Z] Login Succeeded [2023-08-25T11:11:02.550Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:11:02.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:02.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:02.816Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:02.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:02.816Z] [2023-08-25T11:11:02.816Z] Login Succeeded [2023-08-25T11:11:02.816Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:11:03.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:03.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:03.348Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:03.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:03.348Z] [2023-08-25T11:11:03.348Z] Login Succeeded [2023-08-25T11:11:03.348Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:11:03.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:03.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:03.613Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:03.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:03.613Z] [2023-08-25T11:11:03.613Z] Login Succeeded [2023-08-25T11:11:03.613Z] docker.io [2023-08-25T11:11:03.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:04.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:04.144Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:04.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:04.144Z] [2023-08-25T11:11:04.144Z] Login Succeeded [2023-08-25T11:11:04.144Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:11:04.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:04.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:11:04.217Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-08-25T11:11:04.217Z] ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T11:11:04.217Z] latest [2023-08-25T11:11:04.217Z] 3.1.0-dev.5 [2023-08-25T11:11:04.217Z] ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T11:11:04.217Z] main [2023-08-25T11:11:04.217Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:04.592Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:04.941Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T11:11:04.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-25T11:11:04.941Z] 52d9c735d1b0: Preparing [2023-08-25T11:11:04.941Z] 17d088ea73d4: Preparing [2023-08-25T11:11:04.941Z] 721f69461b8c: Preparing [2023-08-25T11:11:04.941Z] c396dfa3a398: Preparing [2023-08-25T11:11:04.941Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:04.941Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:05.208Z] 52d9c735d1b0: Pushed [2023-08-25T11:11:05.208Z] 17d088ea73d4: Pushed [2023-08-25T11:11:05.208Z] c396dfa3a398: Pushed [2023-08-25T11:11:11.838Z] 721f69461b8c: Pushed [2023-08-25T11:11:11.838Z] ed280a745d7a481fda411e84eedc9b35ce489b45: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:12.187Z] + 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-08-25T11:11:12.535Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-08-25T11:11:12.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-25T11:11:12.535Z] 52d9c735d1b0: Preparing [2023-08-25T11:11:12.535Z] 17d088ea73d4: Preparing [2023-08-25T11:11:12.535Z] 721f69461b8c: Preparing [2023-08-25T11:11:12.535Z] c396dfa3a398: Preparing [2023-08-25T11:11:12.535Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:12.535Z] 52d9c735d1b0: Layer already exists [2023-08-25T11:11:12.535Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:12.535Z] 721f69461b8c: Layer already exists [2023-08-25T11:11:12.535Z] 17d088ea73d4: Layer already exists [2023-08-25T11:11:12.535Z] c396dfa3a398: Layer already exists [2023-08-25T11:11:12.535Z] latest: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:12.895Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:13.245Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 [2023-08-25T11:11:13.245Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-25T11:11:13.245Z] 52d9c735d1b0: Preparing [2023-08-25T11:11:13.245Z] 17d088ea73d4: Preparing [2023-08-25T11:11:13.245Z] 721f69461b8c: Preparing [2023-08-25T11:11:13.245Z] c396dfa3a398: Preparing [2023-08-25T11:11:13.245Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:13.245Z] 17d088ea73d4: Layer already exists [2023-08-25T11:11:13.245Z] 721f69461b8c: Layer already exists [2023-08-25T11:11:13.245Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:13.245Z] c396dfa3a398: Layer already exists [2023-08-25T11:11:13.245Z] 52d9c735d1b0: Layer already exists [2023-08-25T11:11:13.245Z] 3.1.0-dev.5: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:13.592Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:13.932Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T11:11:13.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-25T11:11:13.932Z] 52d9c735d1b0: Preparing [2023-08-25T11:11:13.932Z] 17d088ea73d4: Preparing [2023-08-25T11:11:13.932Z] 721f69461b8c: Preparing [2023-08-25T11:11:13.932Z] c396dfa3a398: Preparing [2023-08-25T11:11:13.932Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:13.932Z] c396dfa3a398: Layer already exists [2023-08-25T11:11:13.932Z] 17d088ea73d4: Layer already exists [2023-08-25T11:11:13.932Z] 721f69461b8c: Layer already exists [2023-08-25T11:11:13.932Z] 52d9c735d1b0: Layer already exists [2023-08-25T11:11:13.932Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:13.932Z] ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:14.278Z] + 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-08-25T11:11:14.618Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-08-25T11:11:14.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-08-25T11:11:14.618Z] 52d9c735d1b0: Preparing [2023-08-25T11:11:14.618Z] 17d088ea73d4: Preparing [2023-08-25T11:11:14.618Z] 721f69461b8c: Preparing [2023-08-25T11:11:14.618Z] c396dfa3a398: Preparing [2023-08-25T11:11:14.618Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:14.618Z] 721f69461b8c: Layer already exists [2023-08-25T11:11:14.618Z] c396dfa3a398: Layer already exists [2023-08-25T11:11:14.618Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:14.618Z] 52d9c735d1b0: Layer already exists [2023-08-25T11:11:14.618Z] 17d088ea73d4: Layer already exists [2023-08-25T11:11:14.618Z] main: digest: sha256:a30e426148fcc83a4ae72c86365a0f0e334bea1f37ac34a0cf351c57fb354011 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:14.672Z] ===================================================== [Pipeline] echo [2023-08-25T11:11:14.683Z] taggedImages: [2023-08-25T11:11:14.683Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45 [2023-08-25T11:11:14.683Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-08-25T11:11:14.683Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.5 [2023-08-25T11:11:14.683Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ed280a745d7a481fda411e84eedc9b35ce489b45-3.1.0-dev.5 [2023-08-25T11:11:14.683Z] - 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-08-25T11:11:15.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:15.057Z] [2023-08-25T11:11:15.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:15.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:15.390Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T11:11:15.390Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T11:11:15.390Z] 04944245beec: Pulling fs layer [2023-08-25T11:11:15.390Z] 699f458cf7ca: Pulling fs layer [2023-08-25T11:11:15.390Z] 765212b225bb: Pulling fs layer [2023-08-25T11:11:15.390Z] f23df028b6ca: Pulling fs layer [2023-08-25T11:11:15.390Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T11:11:15.390Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T11:11:15.390Z] f23df028b6ca: Waiting [2023-08-25T11:11:15.390Z] 2437ff75d9bd: Waiting [2023-08-25T11:11:15.390Z] d65c8cfc05b1: Waiting [2023-08-25T11:11:15.390Z] 765212b225bb: Waiting [2023-08-25T11:11:15.657Z] 04944245beec: Verifying Checksum [2023-08-25T11:11:15.657Z] 04944245beec: Download complete [2023-08-25T11:11:15.657Z] 765212b225bb: Verifying Checksum [2023-08-25T11:11:15.657Z] 765212b225bb: Download complete [2023-08-25T11:11:15.657Z] f23df028b6ca: Verifying Checksum [2023-08-25T11:11:15.657Z] f23df028b6ca: Download complete [2023-08-25T11:11:15.657Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T11:11:15.657Z] d65c8cfc05b1: Download complete [2023-08-25T11:11:15.924Z] 699f458cf7ca: Verifying Checksum [2023-08-25T11:11:15.925Z] 699f458cf7ca: Download complete [2023-08-25T11:11:16.194Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T11:11:16.194Z] 8998bd30e6a1: Download complete [2023-08-25T11:11:18.781Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T11:11:18.781Z] 2437ff75d9bd: Download complete [2023-08-25T11:11:19.762Z] 8998bd30e6a1: Pull complete [2023-08-25T11:11:20.344Z] 04944245beec: Pull complete [2023-08-25T11:11:24.591Z] 699f458cf7ca: Pull complete [2023-08-25T11:11:24.591Z] 765212b225bb: Pull complete [2023-08-25T11:11:24.857Z] f23df028b6ca: Pull complete [2023-08-25T11:11:25.124Z] d65c8cfc05b1: Pull complete [2023-08-25T11:11:37.424Z] 2437ff75d9bd: Pull complete [2023-08-25T11:11:37.424Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T11:11:37.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:37.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:11:37.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-4561 does not seem to be running inside a container [2023-08-25T11:11:37.959Z] $ 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/161 -v /w/workspace/device-onvif-camera/161:/w/workspace/device-onvif-camera/161:rw,z -v /w/workspace/device-onvif-camera/161@tmp:/w/workspace/device-onvif-camera/161@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-08-25T11:11:40.594Z] $ docker top 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:41.455Z] ---> job-cost.sh [2023-08-25T11:11:41.455Z] lf-activate-venv: SKIPPING [2023-08-25T11:11:41.455Z] INFO: No Stack... [2023-08-25T11:11:42.038Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T11:11:42.623Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:11:43.277Z] + cat /w/workspace/device-onvif-camera/161/archives/cost.csv [2023-08-25T11:11:43.277Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:11:43.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [2023-08-25T11:11:43.358Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] did not exist. Created. [2023-08-25T11:11:43.359Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:11:44.031Z] /w/workspace/device-onvif-camera/161@tmp/durable-50844199/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T11:11:44.690Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T11:11:44.704Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T11:11:44.781Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:11:44.788Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-161-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:11:44.811Z] $ docker stop --time=1 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f [2023-08-25T11:11:46.358Z] $ docker rm -f --volumes 3e6f5411150cef1cd7b7037c18e6673b498e45571dba0b427ab3079b25dd274f [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-08-25T11:11:46.751Z] provisioning config files... [2023-08-25T11:11:46.759Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17053149968713370955tmp [Pipeline] { [Pipeline] sh [2023-08-25T11:11:47.054Z] + set +x [2023-08-25T11:11:47.054Z] + curl -s https://codecov.io/bash [2023-08-25T11:11:47.054Z] + bash -s -- [2023-08-25T11:11:47.054Z] [2023-08-25T11:11:47.054Z] _____ _ [2023-08-25T11:11:47.054Z] / ____| | | [2023-08-25T11:11:47.054Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T11:11:47.054Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T11:11:47.054Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T11:11:47.054Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T11:11:47.054Z] Bash-1.0.6 [2023-08-25T11:11:47.054Z] [2023-08-25T11:11:47.054Z] [2023-08-25T11:11:47.054Z] ==> git version 2.25.1 found [2023-08-25T11:11:47.054Z] ==> 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-08-25T11:11:47.054Z] Release-Date: 2020-01-08 [2023-08-25T11:11:47.054Z] 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-08-25T11:11:47.054Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T11:11:47.054Z] ==> Jenkins CI detected. [2023-08-25T11:11:47.054Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-08-25T11:11:47.054Z] project root: . [2023-08-25T11:11:47.054Z] --> token set from env [2023-08-25T11:11:47.054Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T11:11:47.054Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T11:11:47.054Z] ==> Python coveragepy not found [2023-08-25T11:11:47.054Z] ==> Searching for coverage reports in: [2023-08-25T11:11:47.054Z] + . [2023-08-25T11:11:47.054Z] -> Found 1 reports [2023-08-25T11:11:47.054Z] ==> Detecting git/mercurial file structure [2023-08-25T11:11:47.054Z] ==> Reading reports [2023-08-25T11:11:47.054Z] + ./coverage.out bytes=78459 [2023-08-25T11:11:47.054Z] ==> Appending adjustments [2023-08-25T11:11:47.054Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T11:11:47.314Z] + Found adjustments [2023-08-25T11:11:47.314Z] ==> Gzipping contents [2023-08-25T11:11:47.314Z] 12K /tmp/codecov.DkMGhI.gz [2023-08-25T11:11:47.314Z] ==> Uploading reports [2023-08-25T11:11:47.314Z] url: https://codecov.io [2023-08-25T11:11:47.314Z] query: branch=main&commit=ed280a745d7a481fda411e84eedc9b35ce489b45&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:11:47.314Z] -> Pinging Codecov [2023-08-25T11:11:47.314Z] 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=ed280a745d7a481fda411e84eedc9b35ce489b45&build=161&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F161%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:11:47.573Z] -> Uploading to [2023-08-25T11:11:47.573Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/F29A59C45E3A92E06B3E522C9905F8EF/ed280a745d7a481fda411e84eedc9b35ce489b45/1945140f-36a1-49c5-b369-271cb1b584e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a09cb2338052f7f51a5b6ed41cf1ee20380ccc86cfc6e7aa105bc5b9fe01d512 [2023-08-25T11:11:47.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:11:47.573Z] Dload Upload Total Spent Left Speed [2023-08-25T11:11:47.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 51077 --:--:-- --:--:-- --:--:-- 51077 [2023-08-25T11:11:47.573Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] } [2023-08-25T11:11:47.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T11:11:47.976Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T11:11:47.985Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:48.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:48.286Z] [2023-08-25T11:11:48.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:48.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:48.588Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T11:11:48.588Z] df9b9388f04a: Pulling fs layer [2023-08-25T11:11:48.588Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T11:11:48.588Z] 25bc292e5bac: Pulling fs layer [2023-08-25T11:11:48.588Z] 114826534d7a: Pulling fs layer [2023-08-25T11:11:48.588Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T11:11:48.588Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T11:11:48.588Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T11:11:48.588Z] 114826534d7a: Waiting [2023-08-25T11:11:48.588Z] 4657fd5d0bcf: Waiting [2023-08-25T11:11:48.588Z] 6ad1cebc031e: Waiting [2023-08-25T11:11:48.588Z] 8a3aa393b2d8: Waiting [2023-08-25T11:11:48.588Z] 25bc292e5bac: Download complete [2023-08-25T11:11:48.588Z] 52dc419b0ee2: Download complete [2023-08-25T11:11:48.588Z] 4657fd5d0bcf: Download complete [2023-08-25T11:11:48.588Z] df9b9388f04a: Verifying Checksum [2023-08-25T11:11:48.588Z] df9b9388f04a: Download complete [2023-08-25T11:11:48.846Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T11:11:48.846Z] 6ad1cebc031e: Download complete [2023-08-25T11:11:48.846Z] df9b9388f04a: Pull complete [2023-08-25T11:11:48.846Z] 52dc419b0ee2: Pull complete [2023-08-25T11:11:49.106Z] 25bc292e5bac: Pull complete [2023-08-25T11:11:49.365Z] 114826534d7a: Verifying Checksum [2023-08-25T11:11:49.365Z] 114826534d7a: Download complete [2023-08-25T11:11:49.622Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T11:11:49.622Z] 8a3aa393b2d8: Download complete [2023-08-25T11:11:52.905Z] 114826534d7a: Pull complete [2023-08-25T11:11:53.162Z] 4657fd5d0bcf: Pull complete [2023-08-25T11:11:53.420Z] 6ad1cebc031e: Pull complete [2023-08-25T11:11:56.702Z] 8a3aa393b2d8: Pull complete [2023-08-25T11:11:56.702Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T11:11:56.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:11:56.702Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:11:56.786Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:11:56.805Z] $ 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-08-25T11:12:01.955Z] $ docker top 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T11:12:02.029Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-08-25T11:12:02.306Z] + set -o pipefail [2023-08-25T11:12:02.306Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/7946954d-6182-4a5b-98af-8dc2bec1d666 [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] [2023-08-25T11:12:07.572Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T11:12:07.572Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T11:12:07.572Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T11:12:07.569Z] $ docker stop --time=1 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c [2023-08-25T11:12:11.863Z] $ docker rm -f --volumes 353bd8ad6cd38c9aea579e50ee837f5af6f8dd222ac2a7d096b7a5d5e6b2751c [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-08-25T11:12:12.288Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:12.300Z] provisioning config files... [2023-08-25T11:12:12.308Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3896944169486186514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:12.604Z] --> edgex-publish-swagger.sh [2023-08-25T11:12:12.604Z] === Publish doc/openapi/v3 API === [2023-08-25T11:12:12.604Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-08-25T11:12:12.604Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-08-25T11:12:12.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:12:12.604Z] Dload Upload Total Spent Left Speed [2023-08-25T11:12:13.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 814k --:--:-- --:--:-- --:--:-- 814k [2023-08-25T11:12:13.170Z] [2023-08-25T11:12:13.170Z] [Pipeline] } [2023-08-25T11:12:13.178Z] 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-08-25T11:12:13.563Z] + git log --format=format:%s -1 ed280a745d7a481fda411e84eedc9b35ce489b45 [Pipeline] sh [2023-08-25T11:12:13.854Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:13.854Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:14.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:14.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:14.222Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:12:14.240Z] $ 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-08-25T11:12:14.714Z] $ docker top e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 -eo pid,comm [2023-08-25T11:12:14.770Z] 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-08-25T11:12:14.770Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:14.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:14.807Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:14.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:14.909Z] $ docker exec e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 ssh-agent [2023-08-25T11:12:15.029Z] SSH_AUTH_SOCK=/tmp/ssh-oNQLpelU9NXk/agent.32 [2023-08-25T11:12:15.029Z] SSH_AGENT_PID=38 [2023-08-25T11:12:15.034Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:15.133Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15803025822657521170.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15803025822657521170.key) [2023-08-25T11:12:15.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:15.444Z] + git semver tag [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,596 [run_tag] DEBUG tag force:False [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,596 [check_head_tag] DEBUG check head tag [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,596 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,600 [execute] INFO git cat-file --batch [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,606 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,607 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:15.703Z] 2023-08-25 11:12:15,611 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:15.703Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T11:12:15.700Z] $ docker exec --env ******** --env ******** e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 ssh-agent -k [2023-08-25T11:12:15.780Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:15.780Z] unset SSH_AGENT_PID; [2023-08-25T11:12:15.780Z] echo Agent pid 38 killed; [2023-08-25T11:12:15.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:16.100Z] + git semver [Pipeline] } [2023-08-25T11:12:16.359Z] $ docker stop --time=1 e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 [2023-08-25T11:12:17.618Z] $ docker rm -f --volumes e48f853a61ce066e64a73f30ba469e13074ecd38e7dacd38cc7aad02a4491336 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:18.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:18.004Z] [2023-08-25T11:12:18.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:18.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:18.303Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T11:12:18.303Z] ab5ef0e58194: Pulling fs layer [2023-08-25T11:12:18.303Z] 9712f1f96733: Pulling fs layer [2023-08-25T11:12:18.303Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T11:12:18.303Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T11:12:18.303Z] e9a5061849ea: Pulling fs layer [2023-08-25T11:12:18.303Z] d747dcd14b5f: Pulling fs layer [2023-08-25T11:12:18.303Z] 2de7ff778b66: Pulling fs layer [2023-08-25T11:12:18.303Z] 0d9ebad4ef96: Waiting [2023-08-25T11:12:18.303Z] d747dcd14b5f: Waiting [2023-08-25T11:12:18.303Z] 2de7ff778b66: Waiting [2023-08-25T11:12:18.303Z] e9a5061849ea: Waiting [2023-08-25T11:12:18.303Z] 9712f1f96733: Verifying Checksum [2023-08-25T11:12:18.303Z] 9712f1f96733: Download complete [2023-08-25T11:12:18.561Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T11:12:18.561Z] 63f879dbbcfc: Download complete [2023-08-25T11:12:18.819Z] ab5ef0e58194: Download complete [2023-08-25T11:12:18.819Z] d747dcd14b5f: Verifying Checksum [2023-08-25T11:12:18.819Z] d747dcd14b5f: Download complete [2023-08-25T11:12:18.819Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T11:12:18.819Z] 0d9ebad4ef96: Download complete [2023-08-25T11:12:18.819Z] e9a5061849ea: Verifying Checksum [2023-08-25T11:12:18.819Z] e9a5061849ea: Download complete [2023-08-25T11:12:19.076Z] 2de7ff778b66: Verifying Checksum [2023-08-25T11:12:19.076Z] 2de7ff778b66: Download complete [2023-08-25T11:12:21.607Z] ab5ef0e58194: Pull complete [2023-08-25T11:12:21.607Z] 9712f1f96733: Pull complete [2023-08-25T11:12:22.174Z] 63f879dbbcfc: Pull complete [2023-08-25T11:12:25.453Z] 0d9ebad4ef96: Pull complete [2023-08-25T11:12:25.720Z] e9a5061849ea: Pull complete [2023-08-25T11:12:25.720Z] d747dcd14b5f: Pull complete [2023-08-25T11:12:26.664Z] 2de7ff778b66: Pull complete [2023-08-25T11:12:26.664Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T11:12:26.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:26.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:26.739Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:12:26.757Z] $ 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-08-25T11:12:32.061Z] $ docker top 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:32.141Z] provisioning config files... [2023-08-25T11:12:32.148Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17284414668384116237tmp [2023-08-25T11:12:32.158Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15835216627597744385tmp [2023-08-25T11:12:32.168Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11171331064380929164tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:12:32.181Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:32.463Z] ---> sigul-configuration.sh [2023-08-25T11:12:32.463Z] gpg: directory `/root/.gnupg' created [2023-08-25T11:12:32.463Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T11:12:32.463Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T11:12:32.463Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T11:12:32.463Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T11:12:32.463Z] gpg: CAST5 encrypted data [2023-08-25T11:12:32.463Z] gpg: encrypted with 1 passphrase [2023-08-25T11:12:32.463Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T11:12:32.742Z] + mkdir /home/jenkins [2023-08-25T11:12:32.743Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T11:12:33.024Z] + 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-08-25T11:12:33.032Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:33.313Z] ---> sigul-install.sh [2023-08-25T11:12:33.313Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T11:12:33.591Z] + git tag --list [2023-08-25T11:12:33.591Z] v0.0.0 [2023-08-25T11:12:33.591Z] v2.2.0 [2023-08-25T11:12:33.591Z] v2.3.0 [2023-08-25T11:12:33.591Z] v2.3.1 [2023-08-25T11:12:33.591Z] v3.0 [2023-08-25T11:12:33.591Z] v3.0.0 [2023-08-25T11:12:33.591Z] v3.1.0-dev.1 [2023-08-25T11:12:33.591Z] v3.1.0-dev.2 [2023-08-25T11:12:33.591Z] v3.1.0-dev.3 [2023-08-25T11:12:33.591Z] v3.1.0-dev.4 [2023-08-25T11:12:33.591Z] v3.1.0-dev.5 [Pipeline] sh [2023-08-25T11:12:33.877Z] + lftools sign git-tag v3.1.0-dev.5 [2023-08-25T11:12:34.444Z] Signing Git tag with Sigul... [2023-08-25T11:12:34.444Z] Signing v3.1.0-dev.5 [Pipeline] echo [2023-08-25T11:12:34.710Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:34.992Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T11:12:34.999Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T11:12:35.006Z] $ docker stop --time=1 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 [2023-08-25T11:12:36.343Z] $ docker rm -f --volumes 3abadcacdfe70cafb25463cc044efe8d6a44c0e40479ab944c3adbb11135a101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T11:12:36.774Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:36.774Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:37.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:37.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:37.143Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:12:37.155Z] $ 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-08-25T11:12:37.514Z] $ docker top f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 -eo pid,comm [2023-08-25T11:12:37.573Z] 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-08-25T11:12:37.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:37.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:37.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:37.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:37.699Z] $ docker exec f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 ssh-agent [2023-08-25T11:12:37.816Z] SSH_AUTH_SOCK=/tmp/ssh-9RQURCOJiMht/agent.31 [2023-08-25T11:12:37.816Z] SSH_AGENT_PID=37 [2023-08-25T11:12:37.819Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:37.914Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16514644614971126701.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16514644614971126701.key) [2023-08-25T11:12:37.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:38.230Z] + git semver bump pre [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [bump_version] DEBUG bumped version:3.1.0-dev.6 [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,384 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,386 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,391 [execute] INFO git cat-file --batch [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:38.488Z] 2023-08-25 11:12:38,395 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:38.488Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T11:12:38.483Z] $ docker exec --env ******** --env ******** f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 ssh-agent -k [2023-08-25T11:12:38.574Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:38.574Z] unset SSH_AGENT_PID; [2023-08-25T11:12:38.575Z] echo Agent pid 37 killed; [2023-08-25T11:12:38.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:38.903Z] + git semver [Pipeline] } [2023-08-25T11:12:39.163Z] $ docker stop --time=1 f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 [2023-08-25T11:12:40.430Z] $ docker rm -f --volumes f81fdaf45f05c51806e11f3f11a5d3b1e2857cedf8badf3d394a22fe08e432b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:12:40.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:40.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:41.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:41.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:41.156Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:12:41.175Z] $ 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-08-25T11:12:41.493Z] $ docker top bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:41.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:41.589Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:41.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:41.681Z] $ docker exec bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 ssh-agent [2023-08-25T11:12:41.802Z] SSH_AUTH_SOCK=/tmp/ssh-WsVu6TLZtruW/agent.31 [2023-08-25T11:12:41.802Z] SSH_AGENT_PID=37 [2023-08-25T11:12:41.807Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:41.891Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9924441845517172133.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9924441845517172133.key) [2023-08-25T11:12:41.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:42.201Z] + git semver push [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,373 [run_push] DEBUG push [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,373 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,377 [execute] INFO git rev-list 8b6a267dcc2165334a49c4b092b9d0bf5e4be346 -- [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,377 [execute] DEBUG Popen(['git', 'rev-list', '8b6a267dcc2165334a49c4b092b9d0bf5e4be346', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,383 [execute] INFO git fetch -v origin [2023-08-25T11:12:42.459Z] 2023-08-25 11:12:42,384 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T11:12:43.025Z] 2023-08-25 11:12:42,856 [run_push] DEBUG no remote changes detected [2023-08-25T11:12:43.025Z] 2023-08-25 11:12:42,856 [execute] INFO git push origin semver [2023-08-25T11:12:43.025Z] 2023-08-25 11:12:42,857 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:43.963Z] 2023-08-25 11:12:43,590 [run_push] DEBUG push all version tags [2023-08-25T11:12:43.963Z] 2023-08-25 11:12:43,591 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T11:12:43.963Z] 2023-08-25 11:12:43,591 [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-08-25T11:12:44.530Z] 2023-08-25 11:12:44,311 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-08-25T11:12:44.530Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T11:12:44.526Z] $ docker exec --env ******** --env ******** bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 ssh-agent -k [2023-08-25T11:12:44.612Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:44.613Z] unset SSH_AGENT_PID; [2023-08-25T11:12:44.613Z] echo Agent pid 37 killed; [2023-08-25T11:12:44.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:44.958Z] + git semver [Pipeline] } [2023-08-25T11:12:45.217Z] $ docker stop --time=1 bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 [2023-08-25T11:12:46.511Z] $ docker rm -f --volumes bd948ec6be3d1348fe21f042a2ab1446a1417fc78087b7fb25be065ecf5f99d6 [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-08-25T11:12:47.059Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-08-25T11:12:47.059Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-25T11:12:47.059Z] total 16 [2023-08-25T11:12:47.059Z] drwxr-xr-x 3 root root 4096 Aug 25 10:59 . [2023-08-25T11:12:47.059Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:12:47.059Z] drwxr-xr-x 2 root root 4096 Aug 25 10:59 cost [2023-08-25T11:12:47.059Z] -rw-r--r-- 1 root root 91 Aug 25 10:59 cost.csv [2023-08-25T11:12:47.059Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-25T11:12:47.059Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-08-25T11:12:47.059Z] total 16 [2023-08-25T11:12:47.059Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:59 . [2023-08-25T11:12:47.059Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:12:47.059Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 10:59 cost [2023-08-25T11:12:47.059Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 25 10:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:47.346Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:48.239Z] ---> package-listing.sh [2023-08-25T11:12:48.239Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T11:12:48.239Z] ++ facter osfamily [2023-08-25T11:12:48.527Z] + OS_FAMILY=debian [2023-08-25T11:12:48.527Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-08-25T11:12:48.527Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T11:12:48.527Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T11:12:48.527Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T11:12:48.527Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T11:12:48.527Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-08-25T11:12:48.527Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T11:12:48.527Z] + case "${OS_FAMILY}" in [2023-08-25T11:12:48.527Z] + dpkg -l [2023-08-25T11:12:48.527Z] + grep '^ii' [2023-08-25T11:12:48.527Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T11:12:48.527Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T11:12:48.527Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T11:12:48.527Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-08-25T11:12:48.527Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-08-25T11:12:48.527Z] + 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-08-25T11:12:48.553Z] 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-08-25T11:12:48.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:49.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:12:49.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:49.254Z] prd-ubuntu20.04-docker-8c-8g-4556 does not seem to be running inside a container [2023-08-25T11:12:49.269Z] $ 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-08-25T11:12:49.494Z] $ docker top eaa1b72da539984d7d4d5bd23870463a87bb87f014e4c3db8eec2c4ccca33e60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:12:49.857Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T11:12:50.140Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T11:12:50.425Z] + ls /var/log/sa-host [2023-08-25T11:12:50.425Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:50.491Z] provisioning config files... [2023-08-25T11:12:50.499Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16083728995016585403tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:12:50.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:50.790Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T11:12:50.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:51.110Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T11:12:51.119Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:51.400Z] ---> sudo-logs.sh [2023-08-25T11:12:51.400Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T11:12:51.421Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:51.702Z] ---> job-cost.sh [2023-08-25T11:12:51.702Z] lf-activate-venv: SKIPPING [2023-08-25T11:12:51.702Z] DEBUG: total: 0.2199999988079071 [2023-08-25T11:12:51.702Z] INFO: Retrieving Stack Cost... [2023-08-25T11:12:51.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:12:52.528Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T11:12:52.539Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:52.821Z] ---> logs-deploy.sh [2023-08-25T11:12:52.821Z] lf-activate-venv: SKIPPING [2023-08-25T11:12:52.821Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/161 [2023-08-25T11:12:52.821Z] INFO: archiving workspace using pattern(s): [2023-08-25T11:12:53.756Z] Archives upload complete. [2023-08-25T11:12:53.756Z] INFO: archiving logs to Nexus