Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9478df4cdc04d049d841cdc052e68a29fb7955c6 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-ssh17495860499336752085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1494366521724341204.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6191048081633198353.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4947670890627939607.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-ssh7104978387826991998.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6961 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9478df4cdc04d049d841cdc052e68a29fb7955c6 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9478df4cdc04d049d841cdc052e68a29fb7955c6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#386)" > git rev-list --no-walk 184940f7f2fbcd4bd957e0d4d72b6e93a91e2c49 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:37:18.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:37:18.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:37:18.387Z] ========================================================= [2023-09-20T17:37:18.387Z] EdgeX Global Pipelines Version Info [2023-09-20T17:37:18.387Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:37:19.113Z] ------------------- [2023-09-20T17:37:19.113Z] stable info: [2023-09-20T17:37:19.113Z] ------------------- [2023-09-20T17:37:19.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:37:19.113Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:37:19.113Z] Message: update stable to v1.0.254 [2023-09-20T17:37:19.682Z] ------------------- [2023-09-20T17:37:19.683Z] experimental info: [2023-09-20T17:37:19.683Z] ------------------- [2023-09-20T17:37:19.683Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:37:19.683Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:37:19.683Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:37:19.848Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-09-20T17:37:19.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-09-20T17:37:19.875Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:37:19.887Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:37:19.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:37:19.916Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:37:19.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:37:19.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:37:19.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:37:19.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:37:19.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:37:19.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-09-20T17:37:20.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:37:20.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:37:20.031Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:37:20.040Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:37:20.050Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:37:20.059Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:37:20.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:37:20.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:37:20.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T17:37:20.095Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-09-20T17:37:20.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:37:20.130Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:37:20.149Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:37:20.168Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:37:20.187Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:37:20.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T17:37:20.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T17:37:20.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T17:37:20.243Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] echo [2023-09-20T17:37:20.252Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9478df4 [Pipeline] echo [2023-09-20T17:37:20.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:37:20.305Z] provisioning config files... [2023-09-20T17:37:20.319Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5279195141907256463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:37:20.621Z] ---> docker-login.sh [2023-09-20T17:37:20.622Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:37:20.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:20.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:20.882Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:20.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:20.882Z] [2023-09-20T17:37:20.882Z] Login Succeeded [2023-09-20T17:37:20.882Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:37:20.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:21.165Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:21.165Z] [2023-09-20T17:37:21.165Z] Login Succeeded [2023-09-20T17:37:21.165Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:37:21.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:21.165Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:21.165Z] [2023-09-20T17:37:21.165Z] Login Succeeded [2023-09-20T17:37:21.165Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:37:21.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:21.165Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:21.165Z] [2023-09-20T17:37:21.165Z] Login Succeeded [2023-09-20T17:37:21.165Z] docker.io [2023-09-20T17:37:21.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:21.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:21.687Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:21.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:21.687Z] [2023-09-20T17:37:21.687Z] Login Succeeded [2023-09-20T17:37:21.687Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:37:21.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:37:22.112Z] + git rev-list -1 --merges 9478df4cdc04d049d841cdc052e68a29fb7955c6~1..9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] echo [2023-09-20T17:37:22.164Z] -----------> git rev-list -1 --merges 9478df4cdc04d049d841cdc052e68a29fb7955c6~1..9478df4cdc04d049d841cdc052e68a29fb7955c6 9478df4cdc04d049d841cdc052e68a29fb7955c6 [false] [Pipeline] sh [2023-09-20T17:37:22.457Z] + git log --format=format:%s -1 9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] echo [2023-09-20T17:37:22.471Z] ========================================================= [2023-09-20T17:37:22.471Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:37:22.471Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:37:22.807Z] + git log --format=format:%s -1 9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] echo [2023-09-20T17:37:22.815Z] [semverPrep] GIT_COMMIT: 9478df4cdc04d049d841cdc052e68a29fb7955c6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#386) [Pipeline] echo [2023-09-20T17:37:22.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:37:23.169Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:37:23.169Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:37:23.169Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:37:23.169Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:37:23.169Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:37:23.169Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:37:23.169Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:37:23.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:37:23.517Z] [2023-09-20T17:37:23.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:37:23.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:37:23.823Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:37:23.823Z] b85a868b505f: Pulling fs layer [2023-09-20T17:37:23.823Z] e2be974225ed: Pulling fs layer [2023-09-20T17:37:23.823Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:37:23.823Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:37:23.823Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:37:23.823Z] eaf3925da568: Pulling fs layer [2023-09-20T17:37:23.823Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:37:23.823Z] eaf3925da568: Waiting [2023-09-20T17:37:23.823Z] 1469e6f7b9e6: Waiting [2023-09-20T17:37:23.823Z] 988bab9f4d93: Waiting [2023-09-20T17:37:23.823Z] bab4dde63d76: Waiting [2023-09-20T17:37:23.823Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:37:23.823Z] bde34c3a00c8: Waiting [2023-09-20T17:37:23.823Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:37:23.823Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:37:23.823Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:37:23.823Z] b352a97aabf1: Waiting [2023-09-20T17:37:23.823Z] 4872d77fe225: Waiting [2023-09-20T17:37:23.823Z] 5851b861e8e6: Waiting [2023-09-20T17:37:23.823Z] e2be974225ed: Verifying Checksum [2023-09-20T17:37:23.823Z] e2be974225ed: Download complete [2023-09-20T17:37:23.823Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:37:23.823Z] 988bab9f4d93: Download complete [2023-09-20T17:37:23.823Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:37:23.823Z] 1469e6f7b9e6: Download complete [2023-09-20T17:37:24.081Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:37:24.081Z] 339a4e72a1f5: Download complete [2023-09-20T17:37:24.081Z] eaf3925da568: Download complete [2023-09-20T17:37:24.081Z] bde34c3a00c8: Verifying Checksum [2023-09-20T17:37:24.081Z] bde34c3a00c8: Download complete [2023-09-20T17:37:24.081Z] b352a97aabf1: Verifying Checksum [2023-09-20T17:37:24.081Z] b352a97aabf1: Download complete [2023-09-20T17:37:24.081Z] 4872d77fe225: Verifying Checksum [2023-09-20T17:37:24.081Z] 4872d77fe225: Download complete [2023-09-20T17:37:24.081Z] 5851b861e8e6: Verifying Checksum [2023-09-20T17:37:24.081Z] 5851b861e8e6: Download complete [2023-09-20T17:37:24.081Z] b85a868b505f: Verifying Checksum [2023-09-20T17:37:24.081Z] b85a868b505f: Download complete [2023-09-20T17:37:24.341Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:37:24.341Z] bab4dde63d76: Download complete [2023-09-20T17:37:25.275Z] b85a868b505f: Pull complete [2023-09-20T17:37:25.533Z] e2be974225ed: Pull complete [2023-09-20T17:37:25.793Z] 339a4e72a1f5: Pull complete [2023-09-20T17:37:26.053Z] 988bab9f4d93: Pull complete [2023-09-20T17:37:26.315Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:37:26.315Z] eaf3925da568: Pull complete [2023-09-20T17:37:28.218Z] bab4dde63d76: Pull complete [2023-09-20T17:37:28.218Z] bde34c3a00c8: Pull complete [2023-09-20T17:37:28.218Z] b352a97aabf1: Pull complete [2023-09-20T17:37:28.481Z] 4872d77fe225: Pull complete [2023-09-20T17:37:28.481Z] 5851b861e8e6: Pull complete [2023-09-20T17:37:28.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:37:28.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:37:28.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:37:28.572Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:37:28.603Z] $ 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-09-20T17:37:33.710Z] $ docker top 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf -eo pid,comm [2023-09-20T17:37:33.761Z] 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-09-20T17:37:33.761Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:37:33.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:37:33.798Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:37:33.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:37:33.909Z] $ docker exec 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf ssh-agent [2023-09-20T17:37:34.007Z] SSH_AUTH_SOCK=/tmp/ssh-8UafK4CTbK8K/agent.32 [2023-09-20T17:37:34.007Z] SSH_AGENT_PID=38 [2023-09-20T17:37:34.013Z] Running ssh-add (command line suppressed) [2023-09-20T17:37:34.111Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3575538888010705184.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3575538888010705184.key) [2023-09-20T17:37:34.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:37:34.404Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:37:34.424Z] $ docker exec --env ******** --env ******** 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf ssh-agent -k [2023-09-20T17:37:34.531Z] unset SSH_AUTH_SOCK; [2023-09-20T17:37:34.532Z] unset SSH_AGENT_PID; [2023-09-20T17:37:34.532Z] echo Agent pid 38 killed; [2023-09-20T17:37:34.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:37:34.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:37:34.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:37:34.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:37:34.682Z] $ docker exec 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf ssh-agent [2023-09-20T17:37:34.785Z] SSH_AUTH_SOCK=/tmp/ssh-zJDnobSr8KwC/agent.70 [2023-09-20T17:37:34.785Z] SSH_AGENT_PID=76 [2023-09-20T17:37:34.789Z] Running ssh-add (command line suppressed) [2023-09-20T17:37:34.898Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13302991918378025978.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13302991918378025978.key) [2023-09-20T17:37:34.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:37:35.197Z] + git semver init [2023-09-20T17:37:35.456Z] 2023-09-20 17:37:35,387 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:37:35.456Z] 2023-09-20 17:37:35,388 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-09-20T17:37:35.456Z] 2023-09-20 17:37:35,388 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-09-20T17:37:35.456Z] 2023-09-20 17:37:35,389 [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-09-20T17:37:36.393Z] 2023-09-20 17:37:36,391 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-09-20T17:37:36.393Z] 2023-09-20 17:37:36,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-09-20T17:37:36.393Z] 2023-09-20 17:37:36,392 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:37:36.393Z] 2023-09-20 17:37:36,392 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:37:36.393Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:37:36.664Z] $ docker exec --env ******** --env ******** 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf ssh-agent -k [2023-09-20T17:37:36.766Z] unset SSH_AUTH_SOCK; [2023-09-20T17:37:36.766Z] unset SSH_AGENT_PID; [2023-09-20T17:37:36.767Z] echo Agent pid 76 killed; [2023-09-20T17:37:36.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:37:37.077Z] + git semver [Pipeline] } [2023-09-20T17:37:37.349Z] $ docker stop --time=1 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf [2023-09-20T17:37:38.690Z] $ docker rm -f --volumes 32d27d97ae2aefe1d9d3b907638f65b5ece9f7f151bc73a63857d3d5ca039fbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:37:39.031Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:37:39.231Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:37:39.234Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [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-09-20T17:37:39.419Z] provisioning config files... [2023-09-20T17:37:39.430Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7925531570730188940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:37:39.736Z] ---> docker-login.sh [2023-09-20T17:37:39.736Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:37:39.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:39.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:39.736Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:39.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:39.736Z] [2023-09-20T17:37:39.736Z] Login Succeeded [2023-09-20T17:37:39.736Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:37:39.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:39.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:39.736Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:39.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:39.736Z] [2023-09-20T17:37:39.736Z] Login Succeeded [2023-09-20T17:37:39.736Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:37:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:39.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:39.995Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:39.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:39.995Z] [2023-09-20T17:37:39.995Z] Login Succeeded [2023-09-20T17:37:39.995Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:37:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:39.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:39.995Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:39.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:39.995Z] [2023-09-20T17:37:39.995Z] Login Succeeded [2023-09-20T17:37:39.995Z] docker.io [2023-09-20T17:37:40.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:37:40.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:37:40.254Z] Configure a credential helper to remove this warning. See [2023-09-20T17:37:40.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:37:40.254Z] [2023-09-20T17:37:40.254Z] Login Succeeded [2023-09-20T17:37:40.513Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:37:40.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:37:40.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:37:40.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:37:40.599Z] ========================================================= [2023-09-20T17:37:40.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:37:40.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:37:40.910Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:37:40.910Z] Sending build context to Docker daemon 21.51MB [2023-09-20T17:37:40.910Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:37:40.910Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-20T17:37:41.170Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:37:41.171Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:37:41.171Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:37:41.171Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:37:41.171Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:37:41.171Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:37:41.171Z] c68163c4e522: Pulling fs layer [2023-09-20T17:37:41.171Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:37:41.171Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:37:41.171Z] 33e27b845d1e: Waiting [2023-09-20T17:37:41.171Z] 50da416c3ac9: Waiting [2023-09-20T17:37:41.171Z] ad3a456e5733: Waiting [2023-09-20T17:37:41.171Z] 23d2d4c4bb30: Waiting [2023-09-20T17:37:41.171Z] c68163c4e522: Waiting [2023-09-20T17:37:41.171Z] c4d48a809fc2: Verifying Checksum [2023-09-20T17:37:41.171Z] c4d48a809fc2: Download complete [2023-09-20T17:37:41.171Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:37:41.171Z] ad3a456e5733: Download complete [2023-09-20T17:37:41.171Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:37:41.171Z] 33e27b845d1e: Download complete [2023-09-20T17:37:41.171Z] 7264a8db6415: Verifying Checksum [2023-09-20T17:37:41.171Z] 7264a8db6415: Download complete [2023-09-20T17:37:41.171Z] c68163c4e522: Verifying Checksum [2023-09-20T17:37:41.171Z] c68163c4e522: Download complete [2023-09-20T17:37:41.452Z] 7264a8db6415: Pull complete [2023-09-20T17:37:41.452Z] 23d2d4c4bb30: Download complete [2023-09-20T17:37:41.452Z] c4d48a809fc2: Pull complete [2023-09-20T17:37:41.713Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:37:41.714Z] 4f1c88b9dad5: Download complete [2023-09-20T17:37:41.972Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:37:41.972Z] 50da416c3ac9: Download complete [2023-09-20T17:37:45.254Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:37:45.254Z] ad3a456e5733: Pull complete [2023-09-20T17:37:45.254Z] 33e27b845d1e: Pull complete [2023-09-20T17:37:45.512Z] c68163c4e522: Pull complete [2023-09-20T17:37:48.049Z] 50da416c3ac9: Pull complete [2023-09-20T17:37:48.312Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:37:48.312Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:37:48.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:37:48.312Z] ---> 0786185ac409 [2023-09-20T17:37:48.312Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:37:54.358Z] Still waiting to schedule task [2023-09-20T17:37:54.358Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:37:58.337Z] ---> Running in 264594bdd350 [2023-09-20T17:37:58.337Z] Removing intermediate container 264594bdd350 [2023-09-20T17:37:58.337Z] ---> 34e79a3e33a1 [2023-09-20T17:37:58.337Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:37:58.337Z] ---> Running in e6398ba74f6b [2023-09-20T17:37:58.337Z] Removing intermediate container e6398ba74f6b [2023-09-20T17:37:58.337Z] ---> bdd1dffcd243 [2023-09-20T17:37:58.337Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:37:58.337Z] ---> Running in 51cea3b06c5e [2023-09-20T17:37:58.337Z] Removing intermediate container 51cea3b06c5e [2023-09-20T17:37:58.337Z] ---> 2400c6d6da05 [2023-09-20T17:37:58.337Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:37:58.337Z] ---> Running in cdc9a3d84a05 [2023-09-20T17:37:58.337Z] Removing intermediate container cdc9a3d84a05 [2023-09-20T17:37:58.337Z] ---> 752fd5f997ab [2023-09-20T17:37:58.337Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-20T17:37:58.337Z] ---> Running in b6f8dd0e4381 [2023-09-20T17:37:58.337Z] Removing intermediate container b6f8dd0e4381 [2023-09-20T17:37:58.337Z] ---> 32ab9c08a6a3 [2023-09-20T17:37:58.337Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:37:58.337Z] ---> Running in a72e068218d4 [2023-09-20T17:37:58.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:37:58.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:37:58.622Z] OK: 264 MiB in 52 packages [2023-09-20T17:37:58.881Z] Removing intermediate container a72e068218d4 [2023-09-20T17:37:58.881Z] ---> d986d7939e99 [2023-09-20T17:37:58.881Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-20T17:37:58.881Z] ---> Running in b0339b20a22e [2023-09-20T17:37:58.881Z] Removing intermediate container b0339b20a22e [2023-09-20T17:37:58.881Z] ---> 1b8110052c80 [2023-09-20T17:37:58.881Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-20T17:37:58.881Z] ---> c09d4f13e30a [2023-09-20T17:37:58.881Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:37:59.140Z] ---> Running in 285fbec607ed [2023-09-20T17:38:45.867Z] Removing intermediate container 285fbec607ed [2023-09-20T17:38:45.867Z] ---> 9031505020d9 [2023-09-20T17:38:45.867Z] Step 12/13 : COPY . . [2023-09-20T17:38:45.867Z] ---> b1731fbc9def [2023-09-20T17:38:45.867Z] Step 13/13 : RUN ${MAKE} [2023-09-20T17:38:45.867Z] ---> Running in d813f0097af8 [2023-09-20T17:38:45.867Z] noop [2023-09-20T17:38:45.867Z] Removing intermediate container d813f0097af8 [2023-09-20T17:38:45.867Z] ---> 764368a68c4d [2023-09-20T17:38:45.867Z] Successfully built 764368a68c4d [2023-09-20T17:38:45.867Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:46.195Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:38:46.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:38:46.275Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:38:46.309Z] $ 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-09-20T17:38:46.668Z] $ docker top 2169e6e25305c5261294e281bb692a60898573ddbca2eb1783fffccf2ca7124b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:38:47.003Z] + go version [2023-09-20T17:38:47.003Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:38:47.015Z] $ docker stop --time=1 2169e6e25305c5261294e281bb692a60898573ddbca2eb1783fffccf2ca7124b [2023-09-20T17:38:48.307Z] $ docker rm -f --volumes 2169e6e25305c5261294e281bb692a60898573ddbca2eb1783fffccf2ca7124b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:48.712Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:38:48.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:38:48.783Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:38:48.820Z] $ 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-09-20T17:38:49.145Z] $ docker top e8b84bb2df0dc65e57553ab96a91afb7c8240b7b2950fa9d7640d9af91af0901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:38:49.474Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:38:49.760Z] + make test [2023-09-20T17:38:49.760Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:38:51.657Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-20T17:39:03.854Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-20T17:39:03.854Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-20T17:39:04.420Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.5% of statements [2023-09-20T17:39:04.420Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.081s coverage: 86.5% of statements [2023-09-20T17:39:12.538Z] go vet ./... [2023-09-20T17:39:15.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:39:15.822Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:39:15.822Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:39:15.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:39:15.848Z] $ docker stop --time=1 e8b84bb2df0dc65e57553ab96a91afb7c8240b7b2950fa9d7640d9af91af0901 [2023-09-20T17:39:20.450Z] $ docker rm -f --volumes e8b84bb2df0dc65e57553ab96a91afb7c8240b7b2950fa9d7640d9af91af0901 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:39:21.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:39:21.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:39:21.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:39:21.831Z] + ls -al . [2023-09-20T17:39:21.832Z] total 244 [2023-09-20T17:39:21.832Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:38 . [2023-09-20T17:39:21.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 .. [2023-09-20T17:39:21.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:39 .git [2023-09-20T17:39:21.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 .github [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 20 17:37 .gitignore [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:37 .golangci.yml [2023-09-20T17:39:21.832Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:37 .semver [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 20 17:37 Attribution.txt [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 20 17:37 CHANGELOG.md [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 20 17:37 Dockerfile [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:37 GOVERNANCE.md [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 20 17:37 Jenkinsfile [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 17:37 LICENSE [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 20 17:37 Makefile [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 17:37 OWNERS.md [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 20 17:37 README.md [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:37 VERSION [2023-09-20T17:39:21.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:37 bin [2023-09-20T17:39:21.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:37 cmd [2023-09-20T17:39:21.832Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 20 17:39 coverage.out [2023-09-20T17:39:21.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 doc [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 20 17:37 go.mod [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 20 17:37 go.sum [2023-09-20T17:39:21.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 internal [2023-09-20T17:39:21.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:37 snap [2023-09-20T17:39:21.832Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 17:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:22.134Z] + 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=9478df4cdc04d049d841cdc052e68a29fb7955c6 --label arch=amd64 --label version=3.1.0-dev.11 . [2023-09-20T17:39:22.134Z] Sending build context to Docker daemon 21.59MB [2023-09-20T17:39:22.134Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:39:22.134Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-20T17:39:22.134Z] ---> 764368a68c4d [2023-09-20T17:39:22.134Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:39:23.511Z] ---> Running in d97d90c0bcd0 [2023-09-20T17:39:23.511Z] Removing intermediate container d97d90c0bcd0 [2023-09-20T17:39:23.511Z] ---> 96770bd7d96c [2023-09-20T17:39:23.511Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:39:23.511Z] ---> Running in 3ee19aa23bdc [2023-09-20T17:39:24.076Z] Removing intermediate container 3ee19aa23bdc [2023-09-20T17:39:24.076Z] ---> ef8a4abaa6a8 [2023-09-20T17:39:24.076Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:39:24.076Z] ---> Running in 8a52a7826a16 [2023-09-20T17:39:24.334Z] Removing intermediate container 8a52a7826a16 [2023-09-20T17:39:24.335Z] ---> 6d4640c533c6 [2023-09-20T17:39:24.335Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:39:24.335Z] ---> Running in fd09a6a625ff [2023-09-20T17:39:24.335Z] Removing intermediate container fd09a6a625ff [2023-09-20T17:39:24.335Z] ---> 896c499fc9c4 [2023-09-20T17:39:24.335Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-20T17:39:24.592Z] ---> Running in 85cc07376310 [2023-09-20T17:39:24.592Z] Removing intermediate container 85cc07376310 [2023-09-20T17:39:24.592Z] ---> bd45c6ea3b36 [2023-09-20T17:39:24.592Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:39:24.592Z] ---> Running in 28f275c66063 [2023-09-20T17:39:24.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:24.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:25.109Z] OK: 264 MiB in 52 packages [2023-09-20T17:39:25.367Z] Removing intermediate container 28f275c66063 [2023-09-20T17:39:25.367Z] ---> 7814cfe497d1 [2023-09-20T17:39:25.367Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-20T17:39:25.627Z] ---> Running in b88ffdab61bd [2023-09-20T17:39:25.627Z] Removing intermediate container b88ffdab61bd [2023-09-20T17:39:25.627Z] ---> e6048426c303 [2023-09-20T17:39:25.627Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-20T17:39:25.627Z] ---> 907e010d2641 [2023-09-20T17:39:25.627Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:39:25.627Z] ---> Running in 19197509d43d [2023-09-20T17:39:26.570Z] Removing intermediate container 19197509d43d [2023-09-20T17:39:26.570Z] ---> 70873d967388 [2023-09-20T17:39:26.570Z] Step 12/26 : COPY . . [2023-09-20T17:39:27.944Z] ---> 569a0a7b1961 [2023-09-20T17:39:27.944Z] Step 13/26 : RUN ${MAKE} [2023-09-20T17:39:27.944Z] ---> Running in d6e8f86aacf1 [2023-09-20T17:39:28.202Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-20T17:39:54.799Z] Removing intermediate container d6e8f86aacf1 [2023-09-20T17:39:54.799Z] ---> 0388e5aaf5b3 [2023-09-20T17:39:54.799Z] Step 14/26 : FROM alpine:3.18 [2023-09-20T17:39:54.799Z] 3.18: Pulling from library/alpine [2023-09-20T17:39:54.799Z] 7264a8db6415: Already exists [2023-09-20T17:39:54.799Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:39:54.799Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:39:54.799Z] ---> 7e01a0d0a1dc [2023-09-20T17:39:54.799Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-20T17:39:54.799Z] ---> Running in cc99a14d1f56 [2023-09-20T17:39:54.799Z] Removing intermediate container cc99a14d1f56 [2023-09-20T17:39:54.799Z] ---> 9ceb8c4b708b [2023-09-20T17:39:54.799Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:39:54.799Z] ---> Running in a6e02eae3f52 [2023-09-20T17:39:54.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:54.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:54.799Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:39:54.799Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:39:54.799Z] OK: 7 MiB in 16 packages [2023-09-20T17:39:54.799Z] Removing intermediate container a6e02eae3f52 [2023-09-20T17:39:54.799Z] ---> b9cee26e34a2 [2023-09-20T17:39:54.799Z] Step 17/26 : WORKDIR / [2023-09-20T17:39:54.799Z] ---> Running in 1f6665a76939 [2023-09-20T17:39:54.799Z] Removing intermediate container 1f6665a76939 [2023-09-20T17:39:54.799Z] ---> 809c6e659812 [2023-09-20T17:39:54.799Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-20T17:39:55.365Z] ---> 263c2f6691cd [2023-09-20T17:39:55.365Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-20T17:39:55.624Z] ---> df15e6f8d4ca [2023-09-20T17:39:55.624Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-20T17:39:55.624Z] ---> 08adec8d0653 [2023-09-20T17:39:55.624Z] Step 21/26 : EXPOSE 59984 [2023-09-20T17:39:55.882Z] ---> Running in d912f97d2ef6 [2023-09-20T17:39:55.882Z] Removing intermediate container d912f97d2ef6 [2023-09-20T17:39:55.882Z] ---> 0cbb9212ba37 [2023-09-20T17:39:55.882Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-20T17:39:55.882Z] ---> Running in 9a9c22a5400a [2023-09-20T17:39:55.882Z] Removing intermediate container 9a9c22a5400a [2023-09-20T17:39:55.882Z] ---> d30afc05c654 [2023-09-20T17:39:55.882Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:39:55.882Z] ---> Running in 804de15c9dc1 [2023-09-20T17:39:56.140Z] Removing intermediate container 804de15c9dc1 [2023-09-20T17:39:56.140Z] ---> d73299019010 [2023-09-20T17:39:56.140Z] Step 24/26 : LABEL arch=amd64 [2023-09-20T17:39:56.140Z] ---> Running in b9ba173402f7 [2023-09-20T17:39:56.140Z] Removing intermediate container b9ba173402f7 [2023-09-20T17:39:56.140Z] ---> ff23bc62b831 [2023-09-20T17:39:56.140Z] Step 25/26 : LABEL git_sha=9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:39:56.140Z] ---> Running in 13b3c0928550 [2023-09-20T17:39:56.140Z] Removing intermediate container 13b3c0928550 [2023-09-20T17:39:56.140Z] ---> 06dd42fac63a [2023-09-20T17:39:56.140Z] Step 26/26 : LABEL version=3.1.0-dev.11 [2023-09-20T17:39:56.400Z] ---> Running in 658359dbe371 [2023-09-20T17:39:56.400Z] Removing intermediate container 658359dbe371 [2023-09-20T17:39:56.400Z] ---> a7db76ae09da [2023-09-20T17:39:56.400Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:39:56.400Z] Successfully built a7db76ae09da [2023-09-20T17:39:56.400Z] 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-09-20T17:39:56.481Z] provisioning config files... [2023-09-20T17:39:56.491Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18335422498257519610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:56.791Z] ---> docker-login.sh [2023-09-20T17:39:56.791Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:39:56.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:56.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:56.791Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:56.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:56.791Z] [2023-09-20T17:39:56.791Z] Login Succeeded [2023-09-20T17:39:56.791Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:39:56.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:56.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:56.791Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:56.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:56.791Z] [2023-09-20T17:39:56.791Z] Login Succeeded [2023-09-20T17:39:56.791Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:39:57.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:57.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:57.050Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:57.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:57.050Z] [2023-09-20T17:39:57.050Z] Login Succeeded [2023-09-20T17:39:57.050Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:39:57.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:57.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:57.050Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:57.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:57.050Z] [2023-09-20T17:39:57.050Z] Login Succeeded [2023-09-20T17:39:57.050Z] docker.io [2023-09-20T17:39:57.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:57.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:57.308Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:57.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:57.308Z] [2023-09-20T17:39:57.308Z] Login Succeeded [2023-09-20T17:39:57.308Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:39:57.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:39:57.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:39:57.355Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-09-20T17:39:57.356Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:39:57.356Z] latest [2023-09-20T17:39:57.356Z] 3.1.0-dev.11 [2023-09-20T17:39:57.356Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:39:57.356Z] main [2023-09-20T17:39:57.356Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:57.674Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:57.986Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:39:57.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-20T17:39:57.986Z] 47708dfef8e1: Preparing [2023-09-20T17:39:57.986Z] 8f005b06b52a: Preparing [2023-09-20T17:39:57.986Z] c1d9db79e0e7: Preparing [2023-09-20T17:39:57.986Z] 35e6be1adb73: Preparing [2023-09-20T17:39:57.986Z] 4693057ce236: Preparing [2023-09-20T17:39:57.986Z] 4693057ce236: Layer already exists [2023-09-20T17:39:57.986Z] 47708dfef8e1: Pushed [2023-09-20T17:39:57.986Z] 35e6be1adb73: Pushed [2023-09-20T17:39:57.986Z] 8f005b06b52a: Pushed [2023-09-20T17:40:01.270Z] c1d9db79e0e7: Pushed [2023-09-20T17:40:01.270Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6: digest: sha256:2a6164e27def8ada37a6edd0c0ac57f6522116cfcc2611f01cee2d24f57b82b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:01.584Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:01.887Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-09-20T17:40:01.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-20T17:40:01.887Z] 47708dfef8e1: Preparing [2023-09-20T17:40:01.887Z] 8f005b06b52a: Preparing [2023-09-20T17:40:01.887Z] c1d9db79e0e7: Preparing [2023-09-20T17:40:01.887Z] 35e6be1adb73: Preparing [2023-09-20T17:40:01.887Z] 4693057ce236: Preparing [2023-09-20T17:40:01.887Z] c1d9db79e0e7: Layer already exists [2023-09-20T17:40:01.887Z] 4693057ce236: Layer already exists [2023-09-20T17:40:01.887Z] 35e6be1adb73: Layer already exists [2023-09-20T17:40:01.887Z] 47708dfef8e1: Layer already exists [2023-09-20T17:40:01.887Z] 8f005b06b52a: Layer already exists [2023-09-20T17:40:01.887Z] latest: digest: sha256:2a6164e27def8ada37a6edd0c0ac57f6522116cfcc2611f01cee2d24f57b82b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:02.204Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:02.506Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.11 [2023-09-20T17:40:02.506Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-20T17:40:02.506Z] 47708dfef8e1: Preparing [2023-09-20T17:40:02.506Z] 8f005b06b52a: Preparing [2023-09-20T17:40:02.506Z] c1d9db79e0e7: Preparing [2023-09-20T17:40:02.506Z] 35e6be1adb73: Preparing [2023-09-20T17:40:02.506Z] 4693057ce236: Preparing [2023-09-20T17:40:02.506Z] 8f005b06b52a: Layer already exists [2023-09-20T17:40:02.506Z] c1d9db79e0e7: Layer already exists [2023-09-20T17:40:02.506Z] 47708dfef8e1: Layer already exists [2023-09-20T17:40:02.506Z] 4693057ce236: Layer already exists [2023-09-20T17:40:02.506Z] 35e6be1adb73: Layer already exists [2023-09-20T17:40:02.506Z] 3.1.0-dev.11: digest: sha256:2a6164e27def8ada37a6edd0c0ac57f6522116cfcc2611f01cee2d24f57b82b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:02.827Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:03.139Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:40:03.139Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-20T17:40:03.139Z] 47708dfef8e1: Preparing [2023-09-20T17:40:03.139Z] 8f005b06b52a: Preparing [2023-09-20T17:40:03.139Z] c1d9db79e0e7: Preparing [2023-09-20T17:40:03.139Z] 35e6be1adb73: Preparing [2023-09-20T17:40:03.139Z] 4693057ce236: Preparing [2023-09-20T17:40:03.139Z] c1d9db79e0e7: Layer already exists [2023-09-20T17:40:03.139Z] 4693057ce236: Layer already exists [2023-09-20T17:40:03.139Z] 35e6be1adb73: Layer already exists [2023-09-20T17:40:03.139Z] 8f005b06b52a: Layer already exists [2023-09-20T17:40:03.139Z] 47708dfef8e1: Layer already exists [2023-09-20T17:40:03.139Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11: digest: sha256:2a6164e27def8ada37a6edd0c0ac57f6522116cfcc2611f01cee2d24f57b82b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:03.448Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:03.754Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-09-20T17:40:03.754Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-09-20T17:40:03.754Z] 47708dfef8e1: Preparing [2023-09-20T17:40:03.754Z] 8f005b06b52a: Preparing [2023-09-20T17:40:03.754Z] c1d9db79e0e7: Preparing [2023-09-20T17:40:03.754Z] 35e6be1adb73: Preparing [2023-09-20T17:40:03.754Z] 4693057ce236: Preparing [2023-09-20T17:40:03.754Z] 47708dfef8e1: Layer already exists [2023-09-20T17:40:03.754Z] 35e6be1adb73: Layer already exists [2023-09-20T17:40:03.754Z] 8f005b06b52a: Layer already exists [2023-09-20T17:40:03.754Z] c1d9db79e0e7: Layer already exists [2023-09-20T17:40:03.754Z] 4693057ce236: Layer already exists [2023-09-20T17:40:03.754Z] main: digest: sha256:2a6164e27def8ada37a6edd0c0ac57f6522116cfcc2611f01cee2d24f57b82b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:40:03.806Z] ===================================================== [Pipeline] echo [2023-09-20T17:40:03.816Z] taggedImages: [2023-09-20T17:40:03.816Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:40:03.816Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-09-20T17:40:03.816Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.11 [2023-09-20T17:40:03.816Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:40:03.816Z] - 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-09-20T17:40:04.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:04.196Z] [2023-09-20T17:40:04.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:04.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:04.503Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:40:04.503Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:40:04.503Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:40:04.503Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:40:04.503Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:40:04.503Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:40:04.503Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:40:04.503Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:40:04.503Z] 33b1e0a273af: Waiting [2023-09-20T17:40:04.503Z] 5d3b04190fa2: Waiting [2023-09-20T17:40:04.503Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:40:04.503Z] 5c69ac0246d0: Download complete [2023-09-20T17:40:04.503Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:40:04.503Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:40:04.503Z] 33b1e0a273af: Download complete [2023-09-20T17:40:04.503Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:40:04.503Z] ec43610c2a17: Download complete [2023-09-20T17:40:04.503Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:40:04.503Z] 5d3b04190fa2: Download complete [2023-09-20T17:40:04.761Z] 5eb5b503b376: Download complete [2023-09-20T17:40:05.330Z] 2f39f015ded8: Download complete [2023-09-20T17:40:05.895Z] 5eb5b503b376: Pull complete [2023-09-20T17:40:05.895Z] 5c69ac0246d0: Pull complete [2023-09-20T17:40:06.461Z] ec43610c2a17: Pull complete [2023-09-20T17:40:06.461Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:40:06.723Z] 33b1e0a273af: Pull complete [2023-09-20T17:40:06.723Z] 5d3b04190fa2: Pull complete [2023-09-20T17:40:10.908Z] 2f39f015ded8: Pull complete [2023-09-20T17:40:10.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:40:10.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:10.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:10.983Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:40:11.024Z] $ 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-09-20T17:40:17.899Z] $ docker top 9385976dd7568ba88faff7bf2ded09535912ba95118bcdb3036105d4389a416f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:40:18.264Z] ---> job-cost.sh [2023-09-20T17:40:18.264Z] lf-activate-venv: SKIPPING [2023-09-20T17:40:18.264Z] INFO: No Stack... [2023-09-20T17:40:18.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:40:19.090Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:40:19.374Z] + cut -d, -f6 [2023-09-20T17:40:19.374Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock [2023-09-20T17:40:19.385Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [2023-09-20T17:40:19.390Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] did not exist. Created. [2023-09-20T17:40:19.390Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:40:19.703Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:40:19.733Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:40:19.739Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:40:19.757Z] $ docker stop --time=1 9385976dd7568ba88faff7bf2ded09535912ba95118bcdb3036105d4389a416f [2023-09-20T17:40:20.915Z] $ docker rm -f --volumes 9385976dd7568ba88faff7bf2ded09535912ba95118bcdb3036105d4389a416f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:48:31.003Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7173 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-09-20T17:48:31.017Z] Running in /w/workspace/device-onvif-camera/168 [Pipeline] { [Pipeline] checkout [2023-09-20T17:48:31.060Z] The recommended git tool is: git [2023-09-20T17:48:38.438Z] using credential edgex-jenkins-ssh [2023-09-20T17:48:38.457Z] Cloning the remote Git repository [2023-09-20T17:48:38.513Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-20T17:48:38.629Z] > git init /w/workspace/device-onvif-camera/168 # timeout=10 [2023-09-20T17:48:38.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-20T17:48:38.822Z] > git --version # timeout=10 [2023-09-20T17:48:38.845Z] > git --version # 'git version 2.25.1' [2023-09-20T17:48:38.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:39.031Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:41.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-20T17:48:41.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:42.106Z] Avoid second fetch [2023-09-20T17:48:42.107Z] Checking out Revision 9478df4cdc04d049d841cdc052e68a29fb7955c6 (main) [2023-09-20T17:48:42.933Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#386)" [2023-09-20T17:48:42.129Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:48:42.215Z] > git checkout -f 9478df4cdc04d049d841cdc052e68a29fb7955c6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:48:43.890Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:48:43.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:48:43.890Z] Dload Upload Total Spent Left Speed [2023-09-20T17:48:43.890Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-09-20T17:48:44.519Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:48:44.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:48:44.858Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:48:44.858Z] { [2023-09-20T17:48:44.858Z] "registry-mirrors": [ [2023-09-20T17:48:44.858Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:48:44.858Z] ], [2023-09-20T17:48:44.858Z] "bip": "10.250.0.254/24", [2023-09-20T17:48:44.858Z] "hosts": [ [2023-09-20T17:48:44.858Z] "tcp://0.0.0.0:5555", [2023-09-20T17:48:44.858Z] "unix:///var/run/docker.sock" [2023-09-20T17:48:44.858Z] ], [2023-09-20T17:48:44.858Z] "mtu": 1458, [2023-09-20T17:48:44.858Z] "selinux-enabled": true, [2023-09-20T17:48:44.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:48:44.858Z] } [Pipeline] sh [2023-09-20T17:48:45.196Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:48:45.552Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:49:03.868Z] provisioning config files... [2023-09-20T17:49:03.900Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/168@tmp/config6805719064171200107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:49:04.263Z] ---> docker-login.sh [2023-09-20T17:49:04.263Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:49:05.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:05.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:05.244Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:05.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:05.244Z] [2023-09-20T17:49:05.244Z] Login Succeeded [2023-09-20T17:49:05.244Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:49:05.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:05.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:05.797Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:05.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:05.797Z] [2023-09-20T17:49:05.797Z] Login Succeeded [2023-09-20T17:49:05.797Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:49:06.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:06.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:06.075Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:06.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:06.075Z] [2023-09-20T17:49:06.075Z] Login Succeeded [2023-09-20T17:49:06.075Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:49:06.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:06.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:06.639Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:06.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:06.639Z] [2023-09-20T17:49:06.639Z] Login Succeeded [2023-09-20T17:49:06.639Z] docker.io [2023-09-20T17:49:06.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:08.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:08.372Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:08.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:08.372Z] [2023-09-20T17:49:08.372Z] Login Succeeded [2023-09-20T17:49:08.372Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:49:08.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:49:08.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:08.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:08.808Z] ========================================================= [2023-09-20T17:49:08.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:49:08.808Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:49:09.187Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:49:09.816Z] Sending build context to Docker daemon 14.12MB [2023-09-20T17:49:10.102Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:49:10.102Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-20T17:49:10.102Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:49:10.102Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:49:10.102Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:49:10.102Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:49:10.102Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:49:10.102Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:49:10.102Z] 17808c966233: Pulling fs layer [2023-09-20T17:49:10.102Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:49:10.102Z] f0e02332f6b5: Waiting [2023-09-20T17:49:10.102Z] 17808c966233: Waiting [2023-09-20T17:49:10.102Z] cefa15bbcfad: Waiting [2023-09-20T17:49:10.102Z] f4c1fc716caa: Waiting [2023-09-20T17:49:10.102Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:49:10.102Z] 5d54e960e981: Download complete [2023-09-20T17:49:10.102Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:49:10.377Z] f0e02332f6b5: Download complete [2023-09-20T17:49:10.377Z] cefa15bbcfad: Download complete [2023-09-20T17:49:10.377Z] 9fda8d8052c6: Download complete [2023-09-20T17:49:10.974Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:49:10.974Z] f4c1fc716caa: Download complete [2023-09-20T17:49:11.263Z] 9fda8d8052c6: Pull complete [2023-09-20T17:49:12.265Z] 5d54e960e981: Pull complete [2023-09-20T17:49:12.543Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T17:49:12.543Z] c4a7e357bf2a: Download complete [2023-09-20T17:49:13.549Z] 17808c966233: Verifying Checksum [2023-09-20T17:49:13.549Z] 17808c966233: Download complete [2023-09-20T17:49:26.123Z] c4a7e357bf2a: Pull complete [2023-09-20T17:49:26.123Z] f0e02332f6b5: Pull complete [2023-09-20T17:49:26.123Z] cefa15bbcfad: Pull complete [2023-09-20T17:49:34.410Z] 17808c966233: Pull complete [2023-09-20T17:49:35.008Z] f4c1fc716caa: Pull complete [2023-09-20T17:49:35.008Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:49:35.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:49:35.008Z] ---> ea914061e18c [2023-09-20T17:49:35.008Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:49:37.615Z] ---> Running in ee117e6e8918 [2023-09-20T17:49:37.890Z] Removing intermediate container ee117e6e8918 [2023-09-20T17:49:37.890Z] ---> f8bd1f9f9a92 [2023-09-20T17:49:37.890Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:49:37.890Z] ---> Running in 1561105fdc67 [2023-09-20T17:49:38.483Z] Removing intermediate container 1561105fdc67 [2023-09-20T17:49:38.483Z] ---> a8aa43152119 [2023-09-20T17:49:38.483Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:49:38.483Z] ---> Running in 92da55078def [2023-09-20T17:49:39.072Z] Removing intermediate container 92da55078def [2023-09-20T17:49:39.072Z] ---> 7daccbf3b2ce [2023-09-20T17:49:39.072Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:49:39.072Z] ---> Running in 691f77b9ac2b [2023-09-20T17:49:39.341Z] Removing intermediate container 691f77b9ac2b [2023-09-20T17:49:39.341Z] ---> ed04f2144f10 [2023-09-20T17:49:39.341Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-20T17:49:39.626Z] ---> Running in da0eb6d94e6f [2023-09-20T17:49:39.903Z] Removing intermediate container da0eb6d94e6f [2023-09-20T17:49:39.903Z] ---> fe42615b8ed3 [2023-09-20T17:49:39.903Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:49:40.174Z] ---> Running in 048cb97f15d4 [2023-09-20T17:49:41.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:41.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:43.302Z] OK: 266 MiB in 52 packages [2023-09-20T17:49:44.274Z] Removing intermediate container 048cb97f15d4 [2023-09-20T17:49:44.274Z] ---> 2ee0c9db3178 [2023-09-20T17:49:44.274Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-20T17:49:44.274Z] ---> Running in 10f1afcd3375 [2023-09-20T17:49:44.543Z] Removing intermediate container 10f1afcd3375 [2023-09-20T17:49:44.543Z] ---> da9b7d363a6b [2023-09-20T17:49:44.543Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-20T17:49:45.157Z] ---> e4a5992faf40 [2023-09-20T17:49:45.157Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:49:45.157Z] ---> Running in cbc6e34c0225 [2023-09-20T17:51:07.129Z] Removing intermediate container cbc6e34c0225 [2023-09-20T17:51:07.130Z] ---> 8bf4790f91cd [2023-09-20T17:51:07.130Z] Step 12/13 : COPY . . [2023-09-20T17:51:07.130Z] ---> 58985435a6e8 [2023-09-20T17:51:07.130Z] Step 13/13 : RUN ${MAKE} [2023-09-20T17:51:07.130Z] ---> Running in ddca31049a01 [2023-09-20T17:51:07.130Z] noop [2023-09-20T17:51:07.721Z] Removing intermediate container ddca31049a01 [2023-09-20T17:51:07.721Z] ---> 75b503e73dc5 [2023-09-20T17:51:07.721Z] Successfully built 75b503e73dc5 [2023-09-20T17:51:07.721Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:08.095Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:08.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:08.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-09-20T17:51:08.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/168 -v /w/workspace/device-onvif-camera/168:/w/workspace/device-onvif-camera/168:rw,z -v /w/workspace/device-onvif-camera/168@tmp:/w/workspace/device-onvif-camera/168@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-09-20T17:51:09.742Z] $ docker top 6c91a9e259cbefa407d667c49d7d4cf124d269d23b774e1f7d078d60785473a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:10.626Z] + go version [2023-09-20T17:51:10.626Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:51:10.644Z] $ docker stop --time=1 6c91a9e259cbefa407d667c49d7d4cf124d269d23b774e1f7d078d60785473a6 [2023-09-20T17:51:12.376Z] $ docker rm -f --volumes 6c91a9e259cbefa407d667c49d7d4cf124d269d23b774e1f7d078d60785473a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:12.968Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:12.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:13.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-09-20T17:51:13.261Z] $ 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/168 -v /w/workspace/device-onvif-camera/168:/w/workspace/device-onvif-camera/168:rw,z -v /w/workspace/device-onvif-camera/168@tmp:/w/workspace/device-onvif-camera/168@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-09-20T17:51:14.602Z] $ docker top 7ab631e4870d2dca769fa7abbc4b6647af238a645f87b0210dfeab515dc2527d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:15.487Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/168 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:51:16.161Z] + make test [2023-09-20T17:51:16.161Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:51:21.539Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-20T17:53:58.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-20T17:53:58.681Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-20T17:53:58.681Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.408s coverage: 31.5% of statements [2023-09-20T17:54:25.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.105s coverage: 86.5% of statements [2023-09-20T17:54:25.729Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:54:25.729Z] go vet ./... [2023-09-20T17:54:58.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:54:58.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:54:58.002Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:54:58.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:54:58.035Z] $ docker stop --time=1 7ab631e4870d2dca769fa7abbc4b6647af238a645f87b0210dfeab515dc2527d [2023-09-20T17:55:00.013Z] $ docker rm -f --volumes 7ab631e4870d2dca769fa7abbc4b6647af238a645f87b0210dfeab515dc2527d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:55:01.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:55:01.690Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:55:02.515Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:55:02.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:55:03.268Z] + ls -al . [2023-09-20T17:55:03.268Z] total 240 [2023-09-20T17:55:03.268Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:51 . [2023-09-20T17:55:03.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 .. [2023-09-20T17:55:03.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:48 .git [2023-09-20T17:55:03.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 .github [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 20 17:48 .gitignore [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:48 .golangci.yml [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 20 17:48 Attribution.txt [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 20 17:48 CHANGELOG.md [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 20 17:48 Dockerfile [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:48 GOVERNANCE.md [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 20 17:48 Jenkinsfile [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 17:48 LICENSE [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 20 17:48 Makefile [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 17:48 OWNERS.md [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 20 17:48 README.md [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:37 VERSION [2023-09-20T17:55:03.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 bin [2023-09-20T17:55:03.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 cmd [2023-09-20T17:55:03.268Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 20 17:54 coverage.out [2023-09-20T17:55:03.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 doc [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 4086 Sep 20 17:48 go.mod [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 37524 Sep 20 17:48 go.sum [2023-09-20T17:55:03.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 internal [2023-09-20T17:55:03.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 snap [2023-09-20T17:55:03.268Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:55:03.630Z] + 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=9478df4cdc04d049d841cdc052e68a29fb7955c6 --label arch=arm64 --label version=3.1.0-dev.11 . [2023-09-20T17:55:04.225Z] Sending build context to Docker daemon 14.2MB [2023-09-20T17:55:04.225Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:55:04.225Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-20T17:55:04.225Z] ---> 75b503e73dc5 [2023-09-20T17:55:04.225Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:55:04.225Z] ---> Running in 6e4ea209800a [2023-09-20T17:55:04.818Z] Removing intermediate container 6e4ea209800a [2023-09-20T17:55:04.818Z] ---> a521a4d6de3e [2023-09-20T17:55:04.818Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:55:04.818Z] ---> Running in b57a5df7c94d [2023-09-20T17:55:05.088Z] Removing intermediate container b57a5df7c94d [2023-09-20T17:55:05.088Z] ---> 3f6f43c4506d [2023-09-20T17:55:05.088Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T17:55:05.088Z] ---> Running in b71e9ffeffbf [2023-09-20T17:55:05.794Z] Removing intermediate container b71e9ffeffbf [2023-09-20T17:55:05.794Z] ---> ea129135d115 [2023-09-20T17:55:05.794Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:55:05.794Z] ---> Running in c7c561910f66 [2023-09-20T17:55:05.794Z] Removing intermediate container c7c561910f66 [2023-09-20T17:55:05.794Z] ---> c50d6c28e967 [2023-09-20T17:55:05.794Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-20T17:55:06.065Z] ---> Running in 1fa9495877f7 [2023-09-20T17:55:06.342Z] Removing intermediate container 1fa9495877f7 [2023-09-20T17:55:06.342Z] ---> 20475f788949 [2023-09-20T17:55:06.342Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:55:06.342Z] ---> Running in 3ceb8af4c34a [2023-09-20T17:55:07.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:55:08.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:55:09.469Z] OK: 266 MiB in 52 packages [2023-09-20T17:55:10.444Z] Removing intermediate container 3ceb8af4c34a [2023-09-20T17:55:10.444Z] ---> c121039f0b98 [2023-09-20T17:55:10.444Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-20T17:55:10.444Z] ---> Running in ea1ff56485f3 [2023-09-20T17:55:11.038Z] Removing intermediate container ea1ff56485f3 [2023-09-20T17:55:11.038Z] ---> 381a02b1220d [2023-09-20T17:55:11.038Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-20T17:55:11.308Z] ---> 40ef2220e754 [2023-09-20T17:55:11.308Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:55:11.584Z] ---> Running in 346e2c9f9cb9 [2023-09-20T17:55:16.977Z] Removing intermediate container 346e2c9f9cb9 [2023-09-20T17:55:16.977Z] ---> 75566e6c7264 [2023-09-20T17:55:16.977Z] Step 12/26 : COPY . . [2023-09-20T17:55:18.402Z] ---> f60701309cd1 [2023-09-20T17:55:18.402Z] Step 13/26 : RUN ${MAKE} [2023-09-20T17:55:18.402Z] ---> Running in f56fae75c7ae [2023-09-20T17:55:19.383Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-20T17:57:56.185Z] Removing intermediate container f56fae75c7ae [2023-09-20T17:57:56.185Z] ---> a88aa9b11e7a [2023-09-20T17:57:56.185Z] Step 14/26 : FROM alpine:3.18 [2023-09-20T17:57:56.185Z] 3.18: Pulling from library/alpine [2023-09-20T17:57:56.185Z] 9fda8d8052c6: Already exists [2023-09-20T17:57:56.185Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:57:56.185Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:57:56.185Z] ---> f6648c04cd6c [2023-09-20T17:57:56.185Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-20T17:57:56.185Z] ---> Running in cbe9fb89eeea [2023-09-20T17:57:56.185Z] Removing intermediate container cbe9fb89eeea [2023-09-20T17:57:56.185Z] ---> ca17f6daadd0 [2023-09-20T17:57:56.185Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:57:56.185Z] ---> Running in 78f083fa33c0 [2023-09-20T17:57:56.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:56.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:56.185Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:57:56.185Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:57:56.185Z] OK: 8 MiB in 16 packages [2023-09-20T17:57:56.185Z] Removing intermediate container 78f083fa33c0 [2023-09-20T17:57:56.185Z] ---> f3142e185d63 [2023-09-20T17:57:56.185Z] Step 17/26 : WORKDIR / [2023-09-20T17:57:56.185Z] ---> Running in bf14356375b1 [2023-09-20T17:57:56.186Z] Removing intermediate container bf14356375b1 [2023-09-20T17:57:56.186Z] ---> f6f1b430b726 [2023-09-20T17:57:56.186Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-20T17:57:56.186Z] ---> 62b4bb24efd2 [2023-09-20T17:57:56.186Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-20T17:57:56.186Z] ---> 9c41e75df239 [2023-09-20T17:57:56.186Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-20T17:57:56.186Z] ---> cf16ba88856e [2023-09-20T17:57:56.186Z] Step 21/26 : EXPOSE 59984 [2023-09-20T17:57:56.186Z] ---> Running in 897223a1303c [2023-09-20T17:57:56.186Z] Removing intermediate container 897223a1303c [2023-09-20T17:57:56.186Z] ---> 4a44cba98486 [2023-09-20T17:57:56.186Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-20T17:57:56.186Z] ---> Running in 48d2426e52aa [2023-09-20T17:57:56.186Z] Removing intermediate container 48d2426e52aa [2023-09-20T17:57:56.186Z] ---> 86cef7e36521 [2023-09-20T17:57:56.186Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:57:56.186Z] ---> Running in 7a55ef10ee5a [2023-09-20T17:57:56.186Z] Removing intermediate container 7a55ef10ee5a [2023-09-20T17:57:56.186Z] ---> 3a516dff03bd [2023-09-20T17:57:56.186Z] Step 24/26 : LABEL arch=arm64 [2023-09-20T17:57:56.186Z] ---> Running in 0bf58ee9bf84 [2023-09-20T17:57:56.186Z] Removing intermediate container 0bf58ee9bf84 [2023-09-20T17:57:56.186Z] ---> d39b0bfd12ec [2023-09-20T17:57:56.186Z] Step 25/26 : LABEL git_sha=9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:57:56.186Z] ---> Running in 1667976516c4 [2023-09-20T17:57:56.186Z] Removing intermediate container 1667976516c4 [2023-09-20T17:57:56.186Z] ---> 52fadc3acecc [2023-09-20T17:57:56.186Z] Step 26/26 : LABEL version=3.1.0-dev.11 [2023-09-20T17:57:56.186Z] ---> Running in 817f7c6aba60 [2023-09-20T17:57:56.186Z] Removing intermediate container 817f7c6aba60 [2023-09-20T17:57:56.186Z] ---> b749f6c053b9 [2023-09-20T17:57:56.186Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:57:56.186Z] Successfully built b749f6c053b9 [2023-09-20T17:57:56.186Z] 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-09-20T17:57:56.295Z] provisioning config files... [2023-09-20T17:57:56.312Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/168@tmp/config1860281378219183500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:57:56.650Z] ---> docker-login.sh [2023-09-20T17:57:56.650Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:57:56.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:56.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:56.917Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:56.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:56.917Z] [2023-09-20T17:57:56.917Z] Login Succeeded [2023-09-20T17:57:56.917Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:57:57.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:57.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:57.187Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:57.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:57.187Z] [2023-09-20T17:57:57.187Z] Login Succeeded [2023-09-20T17:57:57.187Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:57:57.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:57.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:57.721Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:57.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:57.721Z] [2023-09-20T17:57:57.721Z] Login Succeeded [2023-09-20T17:57:57.721Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:57:57.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:57.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:57.989Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:57.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:57.989Z] [2023-09-20T17:57:57.989Z] Login Succeeded [2023-09-20T17:57:57.989Z] docker.io [2023-09-20T17:57:58.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:58.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:58.839Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:58.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:58.839Z] [2023-09-20T17:57:58.839Z] Login Succeeded [2023-09-20T17:57:58.839Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:57:58.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:57:58.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:57:58.916Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-09-20T17:57:58.916Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:57:58.916Z] latest [2023-09-20T17:57:58.916Z] 3.1.0-dev.11 [2023-09-20T17:57:58.916Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:57:58.916Z] main [2023-09-20T17:57:58.916Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:59.276Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:59.697Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:57:59.697Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-20T17:57:59.697Z] 9f5a39866d3e: Preparing [2023-09-20T17:57:59.697Z] a4c02b98dace: Preparing [2023-09-20T17:57:59.697Z] 38aeaf247e62: Preparing [2023-09-20T17:57:59.697Z] d5224c94c9d4: Preparing [2023-09-20T17:57:59.697Z] b2191e2be29d: Preparing [2023-09-20T17:57:59.697Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:59.976Z] a4c02b98dace: Pushed [2023-09-20T17:57:59.976Z] 9f5a39866d3e: Pushed [2023-09-20T17:57:59.976Z] d5224c94c9d4: Pushed [2023-09-20T17:58:05.401Z] 38aeaf247e62: Pushed [2023-09-20T17:58:05.401Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6: digest: sha256:6923d138e19085f0a91ae315e25f1a44bfd8a027e7866bd644c2249bef9c130f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:05.755Z] + 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-09-20T17:58:06.102Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-09-20T17:58:06.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-20T17:58:06.102Z] 9f5a39866d3e: Preparing [2023-09-20T17:58:06.102Z] a4c02b98dace: Preparing [2023-09-20T17:58:06.102Z] 38aeaf247e62: Preparing [2023-09-20T17:58:06.102Z] d5224c94c9d4: Preparing [2023-09-20T17:58:06.102Z] b2191e2be29d: Preparing [2023-09-20T17:58:06.102Z] a4c02b98dace: Layer already exists [2023-09-20T17:58:06.102Z] b2191e2be29d: Layer already exists [2023-09-20T17:58:06.102Z] 9f5a39866d3e: Layer already exists [2023-09-20T17:58:06.102Z] d5224c94c9d4: Layer already exists [2023-09-20T17:58:06.102Z] 38aeaf247e62: Layer already exists [2023-09-20T17:58:06.369Z] latest: digest: sha256:6923d138e19085f0a91ae315e25f1a44bfd8a027e7866bd644c2249bef9c130f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:06.728Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:07.070Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.11 [2023-09-20T17:58:07.070Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-20T17:58:07.070Z] 9f5a39866d3e: Preparing [2023-09-20T17:58:07.070Z] a4c02b98dace: Preparing [2023-09-20T17:58:07.070Z] 38aeaf247e62: Preparing [2023-09-20T17:58:07.070Z] d5224c94c9d4: Preparing [2023-09-20T17:58:07.070Z] b2191e2be29d: Preparing [2023-09-20T17:58:07.070Z] b2191e2be29d: Layer already exists [2023-09-20T17:58:07.070Z] a4c02b98dace: Layer already exists [2023-09-20T17:58:07.070Z] 9f5a39866d3e: Layer already exists [2023-09-20T17:58:07.070Z] d5224c94c9d4: Layer already exists [2023-09-20T17:58:07.070Z] 38aeaf247e62: Layer already exists [2023-09-20T17:58:07.070Z] 3.1.0-dev.11: digest: sha256:6923d138e19085f0a91ae315e25f1a44bfd8a027e7866bd644c2249bef9c130f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:07.422Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:07.784Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:58:07.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-20T17:58:07.784Z] 9f5a39866d3e: Preparing [2023-09-20T17:58:07.784Z] a4c02b98dace: Preparing [2023-09-20T17:58:07.784Z] 38aeaf247e62: Preparing [2023-09-20T17:58:07.784Z] d5224c94c9d4: Preparing [2023-09-20T17:58:07.784Z] b2191e2be29d: Preparing [2023-09-20T17:58:07.784Z] a4c02b98dace: Layer already exists [2023-09-20T17:58:07.784Z] 38aeaf247e62: Layer already exists [2023-09-20T17:58:07.784Z] b2191e2be29d: Layer already exists [2023-09-20T17:58:07.784Z] 9f5a39866d3e: Layer already exists [2023-09-20T17:58:07.784Z] d5224c94c9d4: Layer already exists [2023-09-20T17:58:08.051Z] 9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11: digest: sha256:6923d138e19085f0a91ae315e25f1a44bfd8a027e7866bd644c2249bef9c130f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:08.399Z] + 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-09-20T17:58:08.743Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-09-20T17:58:08.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-09-20T17:58:08.743Z] 9f5a39866d3e: Preparing [2023-09-20T17:58:08.743Z] a4c02b98dace: Preparing [2023-09-20T17:58:08.743Z] 38aeaf247e62: Preparing [2023-09-20T17:58:08.743Z] d5224c94c9d4: Preparing [2023-09-20T17:58:08.743Z] b2191e2be29d: Preparing [2023-09-20T17:58:08.743Z] 38aeaf247e62: Layer already exists [2023-09-20T17:58:08.743Z] d5224c94c9d4: Layer already exists [2023-09-20T17:58:08.743Z] 9f5a39866d3e: Layer already exists [2023-09-20T17:58:08.743Z] a4c02b98dace: Layer already exists [2023-09-20T17:58:08.743Z] b2191e2be29d: Layer already exists [2023-09-20T17:58:08.743Z] main: digest: sha256:6923d138e19085f0a91ae315e25f1a44bfd8a027e7866bd644c2249bef9c130f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:58:09.062Z] ===================================================== [Pipeline] echo [2023-09-20T17:58:09.073Z] taggedImages: [2023-09-20T17:58:09.073Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6 [2023-09-20T17:58:09.073Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-09-20T17:58:09.073Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.11 [2023-09-20T17:58:09.073Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9478df4cdc04d049d841cdc052e68a29fb7955c6-3.1.0-dev.11 [2023-09-20T17:58:09.073Z] - 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-09-20T17:58:09.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:58:09.452Z] [2023-09-20T17:58:09.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:09.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:58:09.802Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:58:09.802Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:58:09.802Z] 04944245beec: Pulling fs layer [2023-09-20T17:58:09.802Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:58:09.802Z] 765212b225bb: Pulling fs layer [2023-09-20T17:58:09.802Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:58:09.802Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:58:09.802Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:58:09.802Z] f23df028b6ca: Waiting [2023-09-20T17:58:09.802Z] 2437ff75d9bd: Waiting [2023-09-20T17:58:09.802Z] d65c8cfc05b1: Waiting [2023-09-20T17:58:09.802Z] 765212b225bb: Waiting [2023-09-20T17:58:10.068Z] 04944245beec: Verifying Checksum [2023-09-20T17:58:10.068Z] 04944245beec: Download complete [2023-09-20T17:58:10.068Z] 765212b225bb: Verifying Checksum [2023-09-20T17:58:10.068Z] 765212b225bb: Download complete [2023-09-20T17:58:10.068Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:58:10.068Z] f23df028b6ca: Download complete [2023-09-20T17:58:10.068Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:58:10.068Z] d65c8cfc05b1: Download complete [2023-09-20T17:58:10.338Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:58:10.338Z] 699f458cf7ca: Download complete [2023-09-20T17:58:10.605Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:58:10.605Z] 8998bd30e6a1: Download complete [2023-09-20T17:58:13.193Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:58:13.193Z] 2437ff75d9bd: Download complete [2023-09-20T17:58:16.555Z] 8998bd30e6a1: Pull complete [2023-09-20T17:58:16.555Z] 04944245beec: Pull complete [2023-09-20T17:58:17.972Z] 699f458cf7ca: Pull complete [2023-09-20T17:58:18.239Z] 765212b225bb: Pull complete [2023-09-20T17:58:18.828Z] f23df028b6ca: Pull complete [2023-09-20T17:58:19.095Z] d65c8cfc05b1: Pull complete [2023-09-20T17:58:31.404Z] 2437ff75d9bd: Pull complete [2023-09-20T17:58:31.404Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:58:31.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:58:31.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:31.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-09-20T17:58:31.669Z] $ 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/168 -v /w/workspace/device-onvif-camera/168:/w/workspace/device-onvif-camera/168:rw,z -v /w/workspace/device-onvif-camera/168@tmp:/w/workspace/device-onvif-camera/168@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-09-20T17:58:34.526Z] $ docker top 3609f34c22be23bbc3e47e4cfd03fabd328d58fca1dd1a1165deac5b57e9eba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:35.379Z] ---> job-cost.sh [2023-09-20T17:58:35.379Z] lf-activate-venv: SKIPPING [2023-09-20T17:58:35.379Z] INFO: No Stack... [2023-09-20T17:58:35.645Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:58:36.604Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:58:36.926Z] + cat /w/workspace/device-onvif-camera/168/archives/cost.csv [2023-09-20T17:58:36.926Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:58:36.994Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [2023-09-20T17:58:37.002Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] did not exist. Created. [2023-09-20T17:58:37.003Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:58:37.337Z] /w/workspace/device-onvif-camera/168@tmp/durable-e5da3ba1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:58:37.675Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:58:37.697Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:58:37.768Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:58:37.775Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-168-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:58:37.791Z] $ docker stop --time=1 3609f34c22be23bbc3e47e4cfd03fabd328d58fca1dd1a1165deac5b57e9eba9 [2023-09-20T17:58:39.289Z] $ docker rm -f --volumes 3609f34c22be23bbc3e47e4cfd03fabd328d58fca1dd1a1165deac5b57e9eba9 [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-09-20T17:58:39.658Z] provisioning config files... [2023-09-20T17:58:39.664Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13771138301099900948tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:58:39.956Z] + set +x [2023-09-20T17:58:39.956Z] + curl -s https://codecov.io/bash [2023-09-20T17:58:39.956Z] + bash -s -- [2023-09-20T17:58:39.956Z] [2023-09-20T17:58:39.956Z] _____ _ [2023-09-20T17:58:39.956Z] / ____| | | [2023-09-20T17:58:39.956Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:58:39.956Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:58:39.956Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:58:39.956Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:58:39.956Z] Bash-1.0.6 [2023-09-20T17:58:39.956Z] [2023-09-20T17:58:39.956Z] [2023-09-20T17:58:39.956Z] ==> git version 2.25.1 found [2023-09-20T17:58:39.956Z] ==> 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-09-20T17:58:39.956Z] Release-Date: 2020-01-08 [2023-09-20T17:58:39.956Z] 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-09-20T17:58:39.956Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:58:39.956Z] ==> Jenkins CI detected. [2023-09-20T17:58:39.956Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-09-20T17:58:39.956Z] project root: . [2023-09-20T17:58:39.956Z] --> token set from env [2023-09-20T17:58:39.956Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:58:39.956Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:58:39.956Z] ==> Python coveragepy not found [2023-09-20T17:58:39.956Z] ==> Searching for coverage reports in: [2023-09-20T17:58:39.956Z] + . [2023-09-20T17:58:39.956Z] -> Found 1 reports [2023-09-20T17:58:39.956Z] ==> Detecting git/mercurial file structure [2023-09-20T17:58:39.956Z] ==> Reading reports [2023-09-20T17:58:39.956Z] + ./coverage.out bytes=78456 [2023-09-20T17:58:39.956Z] ==> Appending adjustments [2023-09-20T17:58:39.956Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:58:40.215Z] + Found adjustments [2023-09-20T17:58:40.215Z] ==> Gzipping contents [2023-09-20T17:58:40.215Z] 12K /tmp/codecov.WxB9Yf.gz [2023-09-20T17:58:40.215Z] ==> Uploading reports [2023-09-20T17:58:40.215Z] url: https://codecov.io [2023-09-20T17:58:40.215Z] query: branch=main&commit=9478df4cdc04d049d841cdc052e68a29fb7955c6&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:40.215Z] -> Pinging Codecov [2023-09-20T17:58:40.215Z] 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=9478df4cdc04d049d841cdc052e68a29fb7955c6&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:40.473Z] -> Uploading to [2023-09-20T17:58:40.474Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/F29A59C45E3A92E06B3E522C9905F8EF/9478df4cdc04d049d841cdc052e68a29fb7955c6/b19e2744-6809-4a65-b3f0-632b75f3a72c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T175840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57154146d2e243196418ae30969b5558a4ddbfe9b8917afeedf28a43dc0d260 [2023-09-20T17:58:40.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:58:40.474Z] Dload Upload Total Spent Left Speed [2023-09-20T17:58:40.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 56175 --:--:-- --:--:-- --:--:-- 55878 100 10561 0 0 100 10561 0 56175 --:--:-- --:--:-- --:--:-- 55878 [2023-09-20T17:58:40.733Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] } [2023-09-20T17:58:40.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T17:58:40.854Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T17:58:40.866Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:41.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:41.169Z] [2023-09-20T17:58:41.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:41.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:41.476Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T17:58:41.476Z] df9b9388f04a: Pulling fs layer [2023-09-20T17:58:41.476Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T17:58:41.476Z] 25bc292e5bac: Pulling fs layer [2023-09-20T17:58:41.476Z] 114826534d7a: Pulling fs layer [2023-09-20T17:58:41.476Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T17:58:41.476Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T17:58:41.476Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T17:58:41.476Z] 114826534d7a: Waiting [2023-09-20T17:58:41.476Z] 8a3aa393b2d8: Waiting [2023-09-20T17:58:41.476Z] 4657fd5d0bcf: Waiting [2023-09-20T17:58:41.476Z] 25bc292e5bac: Verifying Checksum [2023-09-20T17:58:41.476Z] 25bc292e5bac: Download complete [2023-09-20T17:58:41.476Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T17:58:41.476Z] 52dc419b0ee2: Download complete [2023-09-20T17:58:41.476Z] df9b9388f04a: Download complete [2023-09-20T17:58:41.758Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T17:58:41.758Z] 6ad1cebc031e: Download complete [2023-09-20T17:58:41.758Z] df9b9388f04a: Pull complete [2023-09-20T17:58:42.324Z] 52dc419b0ee2: Pull complete [2023-09-20T17:58:42.324Z] 114826534d7a: Verifying Checksum [2023-09-20T17:58:42.324Z] 114826534d7a: Download complete [2023-09-20T17:58:42.324Z] 25bc292e5bac: Pull complete [2023-09-20T17:58:42.582Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T17:58:42.582Z] 8a3aa393b2d8: Download complete [2023-09-20T17:58:45.856Z] 114826534d7a: Pull complete [2023-09-20T17:58:45.856Z] 4657fd5d0bcf: Pull complete [2023-09-20T17:58:45.856Z] 6ad1cebc031e: Pull complete [2023-09-20T17:58:48.386Z] 8a3aa393b2d8: Pull complete [2023-09-20T17:58:48.386Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T17:58:48.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:48.386Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:48.470Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:58:48.497Z] $ 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-09-20T17:58:55.041Z] $ docker top ccea6bf96ce99b3118f13363fdd43729db05df0c0474ecad9180d267412058f9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T17:58:55.112Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-09-20T17:58:55.399Z] + set -o pipefail [2023-09-20T17:58:55.399Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1ed502ad-171d-4476-a181-1a86b702621e [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] [2023-09-20T17:59:00.667Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T17:59:00.667Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T17:59:00.667Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T17:59:00.680Z] $ docker stop --time=1 ccea6bf96ce99b3118f13363fdd43729db05df0c0474ecad9180d267412058f9 [2023-09-20T17:59:05.733Z] $ docker rm -f --volumes ccea6bf96ce99b3118f13363fdd43729db05df0c0474ecad9180d267412058f9 [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-09-20T17:59:06.131Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:59:06.145Z] provisioning config files... [2023-09-20T17:59:06.150Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2550263254139772253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:06.441Z] --> edgex-publish-swagger.sh [2023-09-20T17:59:06.441Z] === Publish doc/openapi/v3 API === [2023-09-20T17:59:06.441Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-09-20T17:59:06.441Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-09-20T17:59:06.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:59:06.441Z] Dload Upload Total Spent Left Speed [2023-09-20T17:59:07.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 92 485k 0 0 92 448k 0 3089k --:--:-- --:--:-- --:--:-- 3068k 100 485k 0 0 100 485k 0 393k 0:00:01 0:00:01 --:--:-- 392k 100 485k 0 0 100 485k 0 389k 0:00:01 0:00:01 --:--:-- 389k [2023-09-20T17:59:07.812Z] [2023-09-20T17:59:07.812Z] [Pipeline] } [2023-09-20T17:59:07.818Z] 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-09-20T17:59:08.215Z] + git log --format=format:%s -1 9478df4cdc04d049d841cdc052e68a29fb7955c6 [Pipeline] sh [2023-09-20T17:59:08.515Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:59:08.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:08.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:59:08.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:08.890Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:59:08.918Z] $ 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-09-20T17:59:09.539Z] $ docker top 9f7a021c3a2b3e2b172e2dea6c1a398984bb38619c9d082b8bf16f736a6b09f5 -eo pid,comm [2023-09-20T17:59:09.584Z] 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-09-20T17:59:09.584Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:59:09.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:59:09.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:59:09.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:59:09.729Z] $ docker exec 9f7a021c3a2b3e2b172e2dea6c1a398984bb38619c9d082b8bf16f736a6b09f5 ssh-agent [2023-09-20T17:59:09.838Z] SSH_AUTH_SOCK=/tmp/ssh-nPet9xCDCDu5/agent.14 [2023-09-20T17:59:09.838Z] SSH_AGENT_PID=20 [2023-09-20T17:59:09.841Z] Running ssh-add (command line suppressed) [2023-09-20T17:59:09.978Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5378187064285615319.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5378187064285615319.key) [2023-09-20T17:59:09.990Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:59:10.275Z] + git semver tag [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,453 [run_tag] DEBUG tag force:False [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,453 [check_head_tag] DEBUG check head tag [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,454 [execute] INFO git cat-file --batch-check [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,458 [execute] INFO git cat-file --batch [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,467 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,467 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,467 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:59:10.534Z] 2023-09-20 17:59:10,473 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:10.534Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:59:10.543Z] $ docker exec --env ******** --env ******** 9f7a021c3a2b3e2b172e2dea6c1a398984bb38619c9d082b8bf16f736a6b09f5 ssh-agent -k [2023-09-20T17:59:10.632Z] unset SSH_AUTH_SOCK; [2023-09-20T17:59:10.632Z] unset SSH_AGENT_PID; [2023-09-20T17:59:10.632Z] echo Agent pid 20 killed; [2023-09-20T17:59:10.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:59:10.934Z] + git semver [Pipeline] } [2023-09-20T17:59:11.204Z] $ docker stop --time=1 9f7a021c3a2b3e2b172e2dea6c1a398984bb38619c9d082b8bf16f736a6b09f5 [2023-09-20T17:59:12.470Z] $ docker rm -f --volumes 9f7a021c3a2b3e2b172e2dea6c1a398984bb38619c9d082b8bf16f736a6b09f5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:12.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:59:12.843Z] [2023-09-20T17:59:12.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:13.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:59:13.143Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T17:59:13.143Z] ab5ef0e58194: Pulling fs layer [2023-09-20T17:59:13.143Z] 9712f1f96733: Pulling fs layer [2023-09-20T17:59:13.143Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T17:59:13.143Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T17:59:13.143Z] e9a5061849ea: Pulling fs layer [2023-09-20T17:59:13.143Z] d747dcd14b5f: Pulling fs layer [2023-09-20T17:59:13.143Z] 2de7ff778b66: Pulling fs layer [2023-09-20T17:59:13.143Z] 0d9ebad4ef96: Waiting [2023-09-20T17:59:13.143Z] e9a5061849ea: Waiting [2023-09-20T17:59:13.143Z] d747dcd14b5f: Waiting [2023-09-20T17:59:13.143Z] 2de7ff778b66: Waiting [2023-09-20T17:59:13.143Z] 9712f1f96733: Verifying Checksum [2023-09-20T17:59:13.143Z] 9712f1f96733: Download complete [2023-09-20T17:59:13.401Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T17:59:13.401Z] 63f879dbbcfc: Download complete [2023-09-20T17:59:13.659Z] e9a5061849ea: Verifying Checksum [2023-09-20T17:59:13.659Z] e9a5061849ea: Download complete [2023-09-20T17:59:13.659Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T17:59:13.659Z] 0d9ebad4ef96: Download complete [2023-09-20T17:59:13.659Z] d747dcd14b5f: Download complete [2023-09-20T17:59:13.659Z] ab5ef0e58194: Verifying Checksum [2023-09-20T17:59:13.659Z] ab5ef0e58194: Download complete [2023-09-20T17:59:13.659Z] 2de7ff778b66: Verifying Checksum [2023-09-20T17:59:13.659Z] 2de7ff778b66: Download complete [2023-09-20T17:59:16.181Z] ab5ef0e58194: Pull complete [2023-09-20T17:59:16.181Z] 9712f1f96733: Pull complete [2023-09-20T17:59:16.748Z] 63f879dbbcfc: Pull complete [2023-09-20T17:59:20.978Z] 0d9ebad4ef96: Pull complete [2023-09-20T17:59:20.978Z] e9a5061849ea: Pull complete [2023-09-20T17:59:20.978Z] d747dcd14b5f: Pull complete [2023-09-20T17:59:21.910Z] 2de7ff778b66: Pull complete [2023-09-20T17:59:21.910Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T17:59:21.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:59:21.910Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:21.988Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:59:22.018Z] $ 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-09-20T17:59:30.246Z] $ docker top a8caca55319b9d386d74ab700b74ef83d76a6440bd2f5f9fe5c16165575ad69b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:59:30.319Z] provisioning config files... [2023-09-20T17:59:30.325Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12299730783072433142tmp [2023-09-20T17:59:30.335Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17066256306110086429tmp [2023-09-20T17:59:30.346Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5547393682289199836tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:59:30.362Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:30.642Z] ---> sigul-configuration.sh [2023-09-20T17:59:30.642Z] gpg: directory `/root/.gnupg' created [2023-09-20T17:59:30.642Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T17:59:30.642Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T17:59:30.642Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T17:59:30.642Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T17:59:30.642Z] gpg: CAST5 encrypted data [2023-09-20T17:59:30.642Z] gpg: encrypted with 1 passphrase [2023-09-20T17:59:30.642Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T17:59:30.931Z] + mkdir /home/jenkins [2023-09-20T17:59:30.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T17:59:31.217Z] + 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-09-20T17:59:31.226Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:31.512Z] ---> sigul-install.sh [2023-09-20T17:59:31.512Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T17:59:31.796Z] + git tag --list [2023-09-20T17:59:31.796Z] v0.0.0 [2023-09-20T17:59:31.796Z] v2.2.0 [2023-09-20T17:59:31.796Z] v2.3.0 [2023-09-20T17:59:31.796Z] v2.3.1 [2023-09-20T17:59:31.796Z] v3.0 [2023-09-20T17:59:31.796Z] v3.0.0 [2023-09-20T17:59:31.796Z] v3.1.0-dev.1 [2023-09-20T17:59:31.796Z] v3.1.0-dev.10 [2023-09-20T17:59:31.796Z] v3.1.0-dev.11 [2023-09-20T17:59:31.796Z] v3.1.0-dev.2 [2023-09-20T17:59:31.796Z] v3.1.0-dev.3 [2023-09-20T17:59:31.796Z] v3.1.0-dev.4 [2023-09-20T17:59:31.796Z] v3.1.0-dev.5 [2023-09-20T17:59:31.796Z] v3.1.0-dev.6 [2023-09-20T17:59:31.796Z] v3.1.0-dev.7 [2023-09-20T17:59:31.796Z] v3.1.0-dev.8 [2023-09-20T17:59:31.796Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T17:59:32.084Z] + lftools sign git-tag v3.1.0-dev.11 [2023-09-20T17:59:32.650Z] Signing Git tag with Sigul... [2023-09-20T17:59:32.650Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-09-20T17:59:32.917Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:33.202Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T17:59:33.210Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T17:59:33.231Z] $ docker stop --time=1 a8caca55319b9d386d74ab700b74ef83d76a6440bd2f5f9fe5c16165575ad69b [2023-09-20T17:59:34.532Z] $ docker rm -f --volumes a8caca55319b9d386d74ab700b74ef83d76a6440bd2f5f9fe5c16165575ad69b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T17:59:34.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:59:34.938Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:35.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:59:35.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:35.297Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:59:35.327Z] $ 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-09-20T17:59:35.689Z] $ docker top 253fc4695f043ec8f37b8456f5ba67add9a923312820f139d23cdf48ff8d7da1 -eo pid,comm [2023-09-20T17:59:35.738Z] 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-09-20T17:59:35.738Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:59:35.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:59:35.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:59:35.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:59:35.900Z] $ docker exec 253fc4695f043ec8f37b8456f5ba67add9a923312820f139d23cdf48ff8d7da1 ssh-agent [2023-09-20T17:59:36.012Z] SSH_AUTH_SOCK=/tmp/ssh-NyhQg6hGqPAR/agent.31 [2023-09-20T17:59:36.012Z] SSH_AGENT_PID=37 [2023-09-20T17:59:36.016Z] Running ssh-add (command line suppressed) [2023-09-20T17:59:36.109Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14466067817215116626.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14466067817215116626.key) [2023-09-20T17:59:36.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:59:36.410Z] + git semver bump pre [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,573 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,575 [execute] INFO git cat-file --batch-check [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,580 [execute] INFO git cat-file --batch [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:59:36.668Z] 2023-09-20 17:59:36,585 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:36.668Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T17:59:36.677Z] $ docker exec --env ******** --env ******** 253fc4695f043ec8f37b8456f5ba67add9a923312820f139d23cdf48ff8d7da1 ssh-agent -k [2023-09-20T17:59:36.774Z] unset SSH_AUTH_SOCK; [2023-09-20T17:59:36.774Z] unset SSH_AGENT_PID; [2023-09-20T17:59:36.774Z] echo Agent pid 37 killed; [2023-09-20T17:59:36.784Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:59:37.085Z] + git semver [Pipeline] } [2023-09-20T17:59:37.357Z] $ docker stop --time=1 253fc4695f043ec8f37b8456f5ba67add9a923312820f139d23cdf48ff8d7da1 [2023-09-20T17:59:38.624Z] $ docker rm -f --volumes 253fc4695f043ec8f37b8456f5ba67add9a923312820f139d23cdf48ff8d7da1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:59:38.964Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:59:38.964Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:39.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:59:39.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:39.319Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:59:39.348Z] $ 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-09-20T17:59:39.671Z] $ docker top 93593dc67d65dcc232fda7dd281ebd395ae75d2da7c223aa82dd1aeb0a16d6c1 -eo pid,comm [2023-09-20T17:59:39.714Z] 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-09-20T17:59:39.714Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:59:39.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:59:39.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:59:39.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:59:39.853Z] $ docker exec 93593dc67d65dcc232fda7dd281ebd395ae75d2da7c223aa82dd1aeb0a16d6c1 ssh-agent [2023-09-20T17:59:39.967Z] SSH_AUTH_SOCK=/tmp/ssh-QFwCN7111pM3/agent.32 [2023-09-20T17:59:39.967Z] SSH_AGENT_PID=38 [2023-09-20T17:59:39.971Z] Running ssh-add (command line suppressed) [2023-09-20T17:59:40.047Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9254062189859024567.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9254062189859024567.key) [2023-09-20T17:59:40.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:59:40.343Z] + git semver push [2023-09-20T17:59:40.601Z] 2023-09-20 17:59:40,509 [run_push] DEBUG push [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,510 [execute] INFO git cat-file --batch-check [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,513 [execute] INFO git rev-list 823f1fafca7ee399e932015b4cd5e4f6fb7f3462 -- [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,513 [execute] DEBUG Popen(['git', 'rev-list', '823f1fafca7ee399e932015b4cd5e4f6fb7f3462', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,521 [execute] INFO git fetch -v origin [2023-09-20T17:59:40.602Z] 2023-09-20 17:59:40,521 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T17:59:41.169Z] 2023-09-20 17:59:40,985 [run_push] DEBUG no remote changes detected [2023-09-20T17:59:41.169Z] 2023-09-20 17:59:40,985 [execute] INFO git push origin semver [2023-09-20T17:59:41.169Z] 2023-09-20 17:59:40,986 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:59:42.107Z] 2023-09-20 17:59:41,794 [run_push] DEBUG push all version tags [2023-09-20T17:59:42.107Z] 2023-09-20 17:59:41,794 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T17:59:42.107Z] 2023-09-20 17:59:41,795 [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-09-20T17:59:42.676Z] 2023-09-20 17:59:42,664 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-09-20T17:59:42.676Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T17:59:42.943Z] $ docker exec --env ******** --env ******** 93593dc67d65dcc232fda7dd281ebd395ae75d2da7c223aa82dd1aeb0a16d6c1 ssh-agent -k [2023-09-20T17:59:43.039Z] unset SSH_AUTH_SOCK; [2023-09-20T17:59:43.039Z] unset SSH_AGENT_PID; [2023-09-20T17:59:43.040Z] echo Agent pid 38 killed; [2023-09-20T17:59:43.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:59:43.418Z] + git semver [Pipeline] } [2023-09-20T17:59:43.703Z] $ docker stop --time=1 93593dc67d65dcc232fda7dd281ebd395ae75d2da7c223aa82dd1aeb0a16d6c1 [2023-09-20T17:59:44.985Z] $ docker rm -f --volumes 93593dc67d65dcc232fda7dd281ebd395ae75d2da7c223aa82dd1aeb0a16d6c1 [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-09-20T17:59:45.543Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-09-20T17:59:45.543Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-20T17:59:45.543Z] total 16 [2023-09-20T17:59:45.543Z] drwxr-xr-x 3 root root 4096 Sep 20 17:40 . [2023-09-20T17:59:45.543Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:59 .. [2023-09-20T17:59:45.543Z] drwxr-xr-x 2 root root 4096 Sep 20 17:40 cost [2023-09-20T17:59:45.543Z] -rw-r--r-- 1 root root 91 Sep 20 17:40 cost.csv [2023-09-20T17:59:45.543Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-20T17:59:45.543Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-09-20T17:59:45.543Z] total 16 [2023-09-20T17:59:45.543Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:40 . [2023-09-20T17:59:45.543Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:59 .. [2023-09-20T17:59:45.543Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:40 cost [2023-09-20T17:59:45.543Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 20 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:45.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:46.687Z] ---> package-listing.sh [2023-09-20T17:59:46.687Z] ++ facter osfamily [2023-09-20T17:59:46.687Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:59:46.946Z] + OS_FAMILY=debian [2023-09-20T17:59:46.946Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-09-20T17:59:46.946Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:46.946Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:46.946Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:59:46.946Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:46.946Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-09-20T17:59:46.946Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:46.946Z] + case "${OS_FAMILY}" in [2023-09-20T17:59:46.946Z] + dpkg -l [2023-09-20T17:59:46.946Z] + grep '^ii' [2023-09-20T17:59:46.946Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:59:46.946Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:59:46.946Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:59:46.946Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-09-20T17:59:46.946Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-09-20T17:59:46.946Z] + 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-09-20T17:59:46.954Z] 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-09-20T17:59:47.230Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:47.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:59:47.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:47.846Z] prd-ubuntu20.04-docker-8c-8g-6961 does not seem to be running inside a container [2023-09-20T17:59:47.872Z] $ 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-09-20T17:59:48.090Z] $ docker top 0cb82198cbcac5693aafcfd29e26d51b9a6e7e1dda2c8c09f9301db0172426c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:59:48.429Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:59:48.713Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:59:48.996Z] + ls /var/log/sa-host [2023-09-20T17:59:48.996Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:59:49.073Z] provisioning config files... [2023-09-20T17:59:49.082Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7359495735609489140tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:59:49.095Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:49.378Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:59:49.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:49.699Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:59:49.707Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:49.987Z] ---> sudo-logs.sh [2023-09-20T17:59:49.987Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:59:50.012Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:50.296Z] ---> job-cost.sh [2023-09-20T17:59:50.296Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:50.296Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:59:50.296Z] INFO: Retrieving Stack Cost... [2023-09-20T17:59:50.555Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:59:51.124Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:59:51.137Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:51.419Z] ---> logs-deploy.sh [2023-09-20T17:59:51.419Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:51.419Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/168 [2023-09-20T17:59:51.420Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:59:52.354Z] Archives upload complete. [2023-09-20T17:59:52.354Z] INFO: archiving logs to Nexus