Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 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-ssh5579700321095211485.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16940260463376254540.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14953496228805970993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh8670993572831876208.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh16038396830284690888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16274’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16276 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/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 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 (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 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 Commit message: "feat: mac credential storage (#90)" > git rev-list --no-walk f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T22:22:21.647Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T22:22:21.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T22:22:21.773Z] ========================================================= [2022-06-28T22:22:21.774Z] EdgeX Global Pipelines Version Info [2022-06-28T22:22:21.774Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:22:22.537Z] ------------------- [2022-06-28T22:22:22.537Z] stable info: [2022-06-28T22:22:22.537Z] ------------------- [2022-06-28T22:22:22.537Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T22:22:22.537Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:22:22.537Z] Message: update stable to v1.0.234 [2022-06-28T22:22:23.113Z] ------------------- [2022-06-28T22:22:23.113Z] experimental info: [2022-06-28T22:22:23.113Z] ------------------- [2022-06-28T22:22:23.113Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T22:22:23.113Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T22:22:23.113Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T22:22:23.357Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T22:22:23.371Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T22:22:23.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T22:22:23.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T22:22:23.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T22:22:23.420Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T22:22:23.433Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T22:22:23.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T22:22:23.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T22:22:23.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T22:22:23.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T22:22:23.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T22:22:23.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T22:22:23.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T22:22:23.533Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:22:23.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T22:22:23.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:22:23.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T22:22:23.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T22:22:23.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T22:22:23.605Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T22:22:23.621Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T22:22:23.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T22:22:23.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T22:22:23.654Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T22:22:23.665Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T22:22:23.675Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T22:22:23.688Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T22:22:23.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T22:22:23.710Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T22:22:23.721Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] echo [2022-06-28T22:22:23.733Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6991e21 [Pipeline] echo [2022-06-28T22:22:23.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:22:23.780Z] provisioning config files... [2022-06-28T22:22:23.796Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4859371025731550032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:22:24.109Z] ---> docker-login.sh [2022-06-28T22:22:24.109Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:22:24.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:24.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:24.372Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:24.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:24.372Z] [2022-06-28T22:22:24.372Z] Login Succeeded [2022-06-28T22:22:24.372Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:22:24.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:24.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:24.633Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:24.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:24.633Z] [2022-06-28T22:22:24.633Z] Login Succeeded [2022-06-28T22:22:24.633Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:22:24.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:24.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:24.633Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:24.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:24.633Z] [2022-06-28T22:22:24.633Z] Login Succeeded [2022-06-28T22:22:24.633Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:22:24.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:24.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:24.895Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:24.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:24.895Z] [2022-06-28T22:22:24.895Z] Login Succeeded [2022-06-28T22:22:24.895Z] docker.io [2022-06-28T22:22:24.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:25.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:25.467Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:25.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:25.467Z] [2022-06-28T22:22:25.467Z] Login Succeeded [2022-06-28T22:22:25.467Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:22:25.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T22:22:25.864Z] + git rev-list -1 --merges 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175~1..6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] echo [2022-06-28T22:22:25.898Z] -----------> git rev-list -1 --merges 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175~1..6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [false] [Pipeline] sh [2022-06-28T22:22:26.192Z] + git log --format=format:%s -1 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] echo [2022-06-28T22:22:26.209Z] ========================================================= [2022-06-28T22:22:26.209Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T22:22:26.209Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:22:26.555Z] + git log --format=format:%s -1 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] echo [2022-06-28T22:22:26.566Z] [semverPrep] GIT_COMMIT: 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175, Commit Message: feat: mac credential storage (#90) [Pipeline] echo [2022-06-28T22:22:26.576Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T22:22:26.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:22:26.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T22:22:26.935Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T22:22:26.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T22:22:26.936Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T22:22:26.936Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T22:22:26.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:22:27.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:22:27.362Z] [2022-06-28T22:22:27.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:22:27.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:22:27.672Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T22:22:27.672Z] 42c077c10790: Pulling fs layer [2022-06-28T22:22:27.672Z] f63e77b7563a: Pulling fs layer [2022-06-28T22:22:27.672Z] bd5fdadae976: Pulling fs layer [2022-06-28T22:22:27.672Z] 205491f53016: Pulling fs layer [2022-06-28T22:22:27.672Z] df18705c85c3: Pulling fs layer [2022-06-28T22:22:27.672Z] bdb3f477010e: Pulling fs layer [2022-06-28T22:22:27.672Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T22:22:27.672Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T22:22:27.672Z] bdb8f0575790: Pulling fs layer [2022-06-28T22:22:27.672Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T22:22:27.672Z] 2343380bae48: Pulling fs layer [2022-06-28T22:22:27.672Z] df18705c85c3: Waiting [2022-06-28T22:22:27.672Z] bdb3f477010e: Waiting [2022-06-28T22:22:27.672Z] c8a8fc8e1c8f: Waiting [2022-06-28T22:22:27.672Z] 2343380bae48: Waiting [2022-06-28T22:22:27.672Z] 2c6e9b1d212d: Waiting [2022-06-28T22:22:27.672Z] bdb8f0575790: Waiting [2022-06-28T22:22:27.672Z] 386e3cb2ff24: Waiting [2022-06-28T22:22:27.672Z] 205491f53016: Waiting [2022-06-28T22:22:27.672Z] f63e77b7563a: Download complete [2022-06-28T22:22:27.672Z] 205491f53016: Verifying Checksum [2022-06-28T22:22:27.672Z] 205491f53016: Download complete [2022-06-28T22:22:27.938Z] bd5fdadae976: Verifying Checksum [2022-06-28T22:22:27.938Z] bd5fdadae976: Download complete [2022-06-28T22:22:27.938Z] df18705c85c3: Verifying Checksum [2022-06-28T22:22:27.938Z] df18705c85c3: Download complete [2022-06-28T22:22:27.938Z] bdb3f477010e: Verifying Checksum [2022-06-28T22:22:27.938Z] bdb3f477010e: Download complete [2022-06-28T22:22:27.938Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T22:22:27.938Z] 2c6e9b1d212d: Download complete [2022-06-28T22:22:27.938Z] bdb8f0575790: Download complete [2022-06-28T22:22:27.938Z] 386e3cb2ff24: Download complete [2022-06-28T22:22:27.938Z] 2343380bae48: Verifying Checksum [2022-06-28T22:22:27.938Z] 2343380bae48: Download complete [2022-06-28T22:22:27.938Z] 42c077c10790: Verifying Checksum [2022-06-28T22:22:27.938Z] 42c077c10790: Download complete [2022-06-28T22:22:28.198Z] c8a8fc8e1c8f: Download complete [2022-06-28T22:22:29.584Z] 42c077c10790: Pull complete [2022-06-28T22:22:29.585Z] f63e77b7563a: Pull complete [2022-06-28T22:22:30.165Z] bd5fdadae976: Pull complete [2022-06-28T22:22:30.165Z] 205491f53016: Pull complete [2022-06-28T22:22:30.426Z] df18705c85c3: Pull complete [2022-06-28T22:22:30.426Z] bdb3f477010e: Pull complete [2022-06-28T22:22:32.339Z] c8a8fc8e1c8f: Pull complete [2022-06-28T22:22:32.339Z] 2c6e9b1d212d: Pull complete [2022-06-28T22:22:32.601Z] bdb8f0575790: Pull complete [2022-06-28T22:22:32.601Z] 386e3cb2ff24: Pull complete [2022-06-28T22:22:32.601Z] 2343380bae48: Pull complete [2022-06-28T22:22:32.601Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T22:22:32.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:22:32.601Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:22:32.702Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:22:32.746Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:22:34.050Z] $ docker top a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 -eo pid,comm [2022-06-28T22:22:34.121Z] 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). [2022-06-28T22:22:34.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:22:34.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:22:34.150Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:22:34.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:22:34.296Z] $ docker exec a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 ssh-agent [2022-06-28T22:22:34.419Z] SSH_AUTH_SOCK=/tmp/ssh-AwHEcm1F3yYQ/agent.34 [2022-06-28T22:22:34.419Z] SSH_AGENT_PID=40 [2022-06-28T22:22:34.426Z] Running ssh-add (command line suppressed) [2022-06-28T22:22:34.555Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4806239375230736479.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4806239375230736479.key) [2022-06-28T22:22:34.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:22:34.858Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T22:22:34.875Z] $ docker exec --env ******** --env ******** a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 ssh-agent -k [2022-06-28T22:22:34.997Z] unset SSH_AUTH_SOCK; [2022-06-28T22:22:34.997Z] unset SSH_AGENT_PID; [2022-06-28T22:22:34.997Z] echo Agent pid 40 killed; [2022-06-28T22:22:35.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T22:22:35.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:22:35.032Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:22:35.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:22:35.161Z] $ docker exec a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 ssh-agent [2022-06-28T22:22:35.287Z] SSH_AUTH_SOCK=/tmp/ssh-igMfIGhrVSUb/agent.72 [2022-06-28T22:22:35.287Z] SSH_AGENT_PID=78 [2022-06-28T22:22:35.292Z] Running ssh-add (command line suppressed) [2022-06-28T22:22:35.410Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6330276084756855261.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6330276084756855261.key) [2022-06-28T22:22:35.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:22:35.709Z] + git semver init [2022-06-28T22:22:35.970Z] 2022-06-28 22:22:35,942 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T22:22:35.970Z] 2022-06-28 22:22:35,942 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T22:22:35.970Z] 2022-06-28 22:22:35,943 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T22:22:35.970Z] 2022-06-28 22:22:35,943 [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) [2022-06-28T22:22:36.914Z] 2022-06-28 22:22:36,647 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-28T22:22:36.914Z] 2022-06-28 22:22:36,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-28T22:22:36.914Z] 2022-06-28 22:22:36,649 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:22:36.914Z] 2022-06-28 22:22:36,649 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:22:36.914Z] 0.0.1-dev.17 [Pipeline] } [2022-06-28T22:22:36.930Z] $ docker exec --env ******** --env ******** a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 ssh-agent -k [2022-06-28T22:22:37.044Z] unset SSH_AUTH_SOCK; [2022-06-28T22:22:37.044Z] unset SSH_AGENT_PID; [2022-06-28T22:22:37.045Z] echo Agent pid 78 killed; [2022-06-28T22:22:37.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:22:37.373Z] + git semver [Pipeline] } [2022-06-28T22:22:37.654Z] $ docker stop --time=1 a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 [2022-06-28T22:22:38.942Z] $ docker rm -f a857bc9b1f0e63b6a73079dd4064f5d5c1038e90ff6be2e43ca13c12dd7d5e89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:22:39.295Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T22:22:39.540Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T22:22:39.542Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:22:39.683Z] provisioning config files... [2022-06-28T22:22:39.695Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6746503809458484896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:22:39.995Z] ---> docker-login.sh [2022-06-28T22:22:39.995Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:22:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:39.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:39.995Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:39.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:39.995Z] [2022-06-28T22:22:39.995Z] Login Succeeded [2022-06-28T22:22:39.995Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:22:39.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:40.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:40.257Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:40.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:40.257Z] [2022-06-28T22:22:40.257Z] Login Succeeded [2022-06-28T22:22:40.257Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:22:40.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:40.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:40.257Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:40.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:40.257Z] [2022-06-28T22:22:40.257Z] Login Succeeded [2022-06-28T22:22:40.257Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:22:40.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:40.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:40.519Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:40.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:40.519Z] [2022-06-28T22:22:40.519Z] Login Succeeded [2022-06-28T22:22:40.519Z] docker.io [2022-06-28T22:22:40.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:22:40.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:22:40.778Z] Configure a credential helper to remove this warning. See [2022-06-28T22:22:40.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:22:40.778Z] [2022-06-28T22:22:40.778Z] Login Succeeded [2022-06-28T22:22:40.778Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:22:40.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:22:40.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:22:40.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:22:40.879Z] ========================================================= [2022-06-28T22:22:40.879Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T22:22:40.879Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:22:41.204Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T22:22:41.205Z] Sending build context to Docker daemon 8.953MB [2022-06-28T22:22:41.205Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:22:41.205Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:22:41.205Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T22:22:41.205Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T22:22:41.205Z] 666ba61612fd: Pulling fs layer [2022-06-28T22:22:41.205Z] 8ed8ca486205: Pulling fs layer [2022-06-28T22:22:41.205Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T22:22:41.205Z] c516ae0d96e1: Pulling fs layer [2022-06-28T22:22:41.205Z] 684cea983483: Pulling fs layer [2022-06-28T22:22:41.205Z] dd3240ac7de5: Pulling fs layer [2022-06-28T22:22:41.205Z] b1e948a4e11c: Pulling fs layer [2022-06-28T22:22:41.205Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T22:22:41.205Z] 684cea983483: Waiting [2022-06-28T22:22:41.205Z] b1e948a4e11c: Waiting [2022-06-28T22:22:41.205Z] dd3240ac7de5: Waiting [2022-06-28T22:22:41.205Z] a8fd76ee1af6: Waiting [2022-06-28T22:22:41.205Z] cc1cd167ecdc: Waiting [2022-06-28T22:22:41.205Z] 646ad004c059: Pulling fs layer [2022-06-28T22:22:41.205Z] 646ad004c059: Waiting [2022-06-28T22:22:41.205Z] 8ed8ca486205: Verifying Checksum [2022-06-28T22:22:41.205Z] 8ed8ca486205: Download complete [2022-06-28T22:22:41.205Z] 666ba61612fd: Download complete [2022-06-28T22:22:41.467Z] c516ae0d96e1: Download complete [2022-06-28T22:22:41.467Z] 684cea983483: Verifying Checksum [2022-06-28T22:22:41.467Z] 684cea983483: Download complete [2022-06-28T22:22:41.467Z] dd3240ac7de5: Verifying Checksum [2022-06-28T22:22:41.467Z] dd3240ac7de5: Download complete [2022-06-28T22:22:41.467Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T22:22:41.467Z] b1e948a4e11c: Verifying Checksum [2022-06-28T22:22:41.467Z] b1e948a4e11c: Download complete [2022-06-28T22:22:41.467Z] 59bf1c3509f3: Pull complete [2022-06-28T22:22:41.729Z] 666ba61612fd: Pull complete [2022-06-28T22:22:41.729Z] 8ed8ca486205: Pull complete [2022-06-28T22:22:41.729Z] 646ad004c059: Verifying Checksum [2022-06-28T22:22:41.729Z] 646ad004c059: Download complete [2022-06-28T22:22:41.989Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T22:22:41.989Z] a8fd76ee1af6: Download complete [2022-06-28T22:22:41.989Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T22:22:41.989Z] cc1cd167ecdc: Download complete [2022-06-28T22:22:46.195Z] cc1cd167ecdc: Pull complete [2022-06-28T22:22:46.195Z] c516ae0d96e1: Pull complete [2022-06-28T22:22:46.195Z] 684cea983483: Pull complete [2022-06-28T22:22:46.195Z] dd3240ac7de5: Pull complete [2022-06-28T22:22:46.195Z] b1e948a4e11c: Pull complete [2022-06-28T22:22:48.731Z] a8fd76ee1af6: Pull complete [2022-06-28T22:22:48.992Z] 646ad004c059: Pull complete [2022-06-28T22:22:48.992Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T22:22:48.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T22:22:48.992Z] ---> 8f69c11f6b0c [2022-06-28T22:22:48.992Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:22:50.919Z] ---> Running in badfe77e96e4 [2022-06-28T22:22:50.919Z] Removing intermediate container badfe77e96e4 [2022-06-28T22:22:50.919Z] ---> 840a99b4a8fc [2022-06-28T22:22:50.919Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:22:50.919Z] ---> Running in 32ade0665ad8 [2022-06-28T22:22:50.919Z] Removing intermediate container 32ade0665ad8 [2022-06-28T22:22:50.919Z] ---> a915922b4cd5 [2022-06-28T22:22:50.919Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:22:50.919Z] ---> Running in 1f3ef8e5a0bd [2022-06-28T22:22:51.181Z] Removing intermediate container 1f3ef8e5a0bd [2022-06-28T22:22:51.181Z] ---> 31a89b880812 [2022-06-28T22:22:51.181Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:22:51.181Z] ---> Running in 3364a3a42c61 [2022-06-28T22:22:51.181Z] Removing intermediate container 3364a3a42c61 [2022-06-28T22:22:51.181Z] ---> 0d9b3d274630 [2022-06-28T22:22:51.181Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:22:51.181Z] ---> Running in 30f2ae4987c5 [2022-06-28T22:22:51.752Z] Removing intermediate container 30f2ae4987c5 [2022-06-28T22:22:51.752Z] ---> 11a9470b9ed0 [2022-06-28T22:22:51.752Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:22:51.752Z] ---> Running in 311a928e0ae3 [2022-06-28T22:22:52.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:22:53.267Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:22:53.267Z] OK: 221 MiB in 52 packages [2022-06-28T22:22:53.841Z] Removing intermediate container 311a928e0ae3 [2022-06-28T22:22:53.841Z] ---> d10b8954b043 [2022-06-28T22:22:53.841Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:22:53.841Z] ---> Running in 9e31dae62977 [2022-06-28T22:22:53.841Z] Removing intermediate container 9e31dae62977 [2022-06-28T22:22:53.841Z] ---> af73f6f719d4 [2022-06-28T22:22:53.841Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:22:54.103Z] ---> f0d119008fef [2022-06-28T22:22:54.103Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:22:54.103Z] ---> Running in 7aa9a9e3f07a [2022-06-28T22:22:54.644Z] Still waiting to schedule task [2022-06-28T22:22:54.644Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T22:23:09.018Z] Removing intermediate container 7aa9a9e3f07a [2022-06-28T22:23:09.018Z] ---> 3740d16585ae [2022-06-28T22:23:09.018Z] Step 12/13 : COPY . . [2022-06-28T22:23:09.018Z] ---> be76f7069d8b [2022-06-28T22:23:09.018Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:23:09.018Z] ---> Running in 0b33a2998766 [2022-06-28T22:23:09.280Z] noop [2022-06-28T22:23:09.852Z] Removing intermediate container 0b33a2998766 [2022-06-28T22:23:09.852Z] ---> f9008e2e5453 [2022-06-28T22:23:09.852Z] Successfully built f9008e2e5453 [2022-06-28T22:23:09.852Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:23:10.172Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:23:10.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:23:10.259Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:23:10.298Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T22:23:10.691Z] $ docker top b5c44000c6b9810c8f58edd450c83dafe7f12ff84986966521058950d9d72e16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:23:11.049Z] + go version [2022-06-28T22:23:11.049Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T22:23:11.063Z] $ docker stop --time=1 b5c44000c6b9810c8f58edd450c83dafe7f12ff84986966521058950d9d72e16 [2022-06-28T22:23:12.357Z] $ docker rm -f b5c44000c6b9810c8f58edd450c83dafe7f12ff84986966521058950d9d72e16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:23:12.772Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T22:23:12.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:23:12.855Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:23:12.924Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-28T22:23:13.325Z] $ docker top 8435c802b1f0b78b51f3f9522f69faa052b443dcdaba3c6ece07c64bd9576224 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:23:13.721Z] + make test [2022-06-28T22:23:13.721Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:23:13.981Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:23:23.968Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:23:24.229Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 5.6% of statements [2022-06-28T22:23:29.514Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.964s coverage: 13.8% of statements [2022-06-28T22:23:37.641Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T22:23:40.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T22:23:40.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T22:23:40.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T22:23:41.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T22:23:41.542Z] $ docker stop --time=1 8435c802b1f0b78b51f3f9522f69faa052b443dcdaba3c6ece07c64bd9576224 [2022-06-28T22:23:43.321Z] $ docker rm -f 8435c802b1f0b78b51f3f9522f69faa052b443dcdaba3c6ece07c64bd9576224 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:23:43.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T22:23:43.848Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T22:23:44.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T22:23:44.642Z] + ls -al . [2022-06-28T22:23:44.642Z] total 248 [2022-06-28T22:23:44.642Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 22:23 . [2022-06-28T22:23:44.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:22 .. [2022-06-28T22:23:44.642Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:22 .git [2022-06-28T22:23:44.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:22 .github [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:22 .gitignore [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:22 .golangci.yml [2022-06-28T22:23:44.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:22 .semver [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 22:22 Attribution.txt [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:22 CHANGELOG.md [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:22 Dockerfile [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:22 GOVERNANCE.md [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:22 Jenkinsfile [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:22 LICENSE [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:22 Makefile [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:22 OWNERS.md [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:22 README.md [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 22:22 VERSION [2022-06-28T22:23:44.642Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:22 bin [2022-06-28T22:23:44.642Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:22 cmd [2022-06-28T22:23:44.642Z] -rw-r--r-- 1 jenkins jenkins 70091 Jun 28 22:23 coverage.out [2022-06-28T22:23:44.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:22 doc [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 22:22 go.mod [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:22 go.sum [2022-06-28T22:23:44.642Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:22 internal [2022-06-28T22:23:44.642Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:23:44.947Z] + 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=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 --label arch=amd64 --label version=0.0.1-dev.17 . [2022-06-28T22:23:44.947Z] Sending build context to Docker daemon 9.023MB [2022-06-28T22:23:44.947Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:23:44.947Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T22:23:44.947Z] ---> f9008e2e5453 [2022-06-28T22:23:44.947Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T22:23:45.207Z] ---> Running in 9a5311cfb0e1 [2022-06-28T22:23:45.207Z] Removing intermediate container 9a5311cfb0e1 [2022-06-28T22:23:45.207Z] ---> d09090223fc6 [2022-06-28T22:23:45.207Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:23:45.207Z] ---> Running in 0202b6542abb [2022-06-28T22:23:45.207Z] Removing intermediate container 0202b6542abb [2022-06-28T22:23:45.207Z] ---> bf73816c5177 [2022-06-28T22:23:45.207Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:23:45.207Z] ---> Running in 8f448ca16a9f [2022-06-28T22:23:45.466Z] Removing intermediate container 8f448ca16a9f [2022-06-28T22:23:45.466Z] ---> a767843b3e03 [2022-06-28T22:23:45.466Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:23:45.466Z] ---> Running in a3565847d7d2 [2022-06-28T22:23:45.466Z] Removing intermediate container a3565847d7d2 [2022-06-28T22:23:45.466Z] ---> 180d2be8a236 [2022-06-28T22:23:45.466Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:23:45.466Z] ---> Running in 28746ec89737 [2022-06-28T22:23:46.037Z] Removing intermediate container 28746ec89737 [2022-06-28T22:23:46.037Z] ---> 570a0dcd8339 [2022-06-28T22:23:46.037Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:23:46.298Z] ---> Running in 09e0333873a2 [2022-06-28T22:23:46.558Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:23:47.129Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:23:47.700Z] OK: 221 MiB in 52 packages [2022-06-28T22:23:47.959Z] Removing intermediate container 09e0333873a2 [2022-06-28T22:23:47.959Z] ---> 9dfd0ef0575c [2022-06-28T22:23:47.959Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T22:23:47.959Z] ---> Running in 861b4d0a7517 [2022-06-28T22:23:47.959Z] Removing intermediate container 861b4d0a7517 [2022-06-28T22:23:47.959Z] ---> 05a0f8eaced0 [2022-06-28T22:23:47.959Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T22:23:48.220Z] ---> 34ea9abccfd4 [2022-06-28T22:23:48.220Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:23:48.220Z] ---> Running in 1883e632bca0 [2022-06-28T22:23:48.789Z] Removing intermediate container 1883e632bca0 [2022-06-28T22:23:48.789Z] ---> 1d8f4a78a8ff [2022-06-28T22:23:48.789Z] Step 12/26 : COPY . . [2022-06-28T22:23:49.360Z] ---> bb50eb2f0f71 [2022-06-28T22:23:49.361Z] Step 13/26 : RUN ${MAKE} [2022-06-28T22:23:49.361Z] ---> Running in b2202c2fad1c [2022-06-28T22:23:49.621Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T22:24:11.573Z] Removing intermediate container b2202c2fad1c [2022-06-28T22:24:11.573Z] ---> 9b3383ece7df [2022-06-28T22:24:11.573Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T22:24:11.573Z] 3.15: Pulling from library/alpine [2022-06-28T22:24:11.573Z] df9b9388f04a: Pulling fs layer [2022-06-28T22:24:11.573Z] df9b9388f04a: Verifying Checksum [2022-06-28T22:24:11.573Z] df9b9388f04a: Download complete [2022-06-28T22:24:11.573Z] df9b9388f04a: Pull complete [2022-06-28T22:24:11.573Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T22:24:11.573Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T22:24:11.573Z] ---> 0ac33e5f5afa [2022-06-28T22:24:11.573Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T22:24:11.573Z] ---> Running in a0e89d79dd90 [2022-06-28T22:24:11.573Z] Removing intermediate container a0e89d79dd90 [2022-06-28T22:24:11.573Z] ---> 40672be239e2 [2022-06-28T22:24:11.573Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T22:24:11.573Z] ---> Running in 8f8afef71e05 [2022-06-28T22:24:11.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T22:24:11.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T22:24:11.573Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T22:24:11.573Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T22:24:11.573Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T22:24:11.573Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T22:24:11.573Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T22:24:11.573Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T22:24:11.573Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T22:24:11.573Z] OK: 8 MiB in 20 packages [2022-06-28T22:24:11.573Z] Removing intermediate container 8f8afef71e05 [2022-06-28T22:24:11.573Z] ---> 4324cfdeece9 [2022-06-28T22:24:11.573Z] Step 17/26 : WORKDIR / [2022-06-28T22:24:11.573Z] ---> Running in 98f58845b127 [2022-06-28T22:24:11.573Z] Removing intermediate container 98f58845b127 [2022-06-28T22:24:11.573Z] ---> 757b6876d49d [2022-06-28T22:24:11.573Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T22:24:12.143Z] ---> 9727d39e493f [2022-06-28T22:24:12.143Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T22:24:12.143Z] ---> 8334b7c1bac7 [2022-06-28T22:24:12.143Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T22:24:12.403Z] ---> 0a13f5e3003c [2022-06-28T22:24:12.403Z] Step 21/26 : EXPOSE 59984 [2022-06-28T22:24:12.403Z] ---> Running in df45f1248f63 [2022-06-28T22:24:12.403Z] Removing intermediate container df45f1248f63 [2022-06-28T22:24:12.403Z] ---> 945226bce660 [2022-06-28T22:24:12.403Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T22:24:12.403Z] ---> Running in df30841cb316 [2022-06-28T22:24:12.664Z] Removing intermediate container df30841cb316 [2022-06-28T22:24:12.664Z] ---> 991111527c26 [2022-06-28T22:24:12.664Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T22:24:12.664Z] ---> Running in a900ab0d1da7 [2022-06-28T22:24:12.664Z] Removing intermediate container a900ab0d1da7 [2022-06-28T22:24:12.664Z] ---> cf3e009982f3 [2022-06-28T22:24:12.664Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T22:24:12.664Z] ---> Running in dd4464ac326c [2022-06-28T22:24:12.664Z] Removing intermediate container dd4464ac326c [2022-06-28T22:24:12.664Z] ---> ce603b38e8d8 [2022-06-28T22:24:12.664Z] Step 25/26 : LABEL git_sha=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:24:12.925Z] ---> Running in d6b2cd446a35 [2022-06-28T22:24:12.925Z] Removing intermediate container d6b2cd446a35 [2022-06-28T22:24:12.925Z] ---> 3798368d019c [2022-06-28T22:24:12.925Z] Step 26/26 : LABEL version=0.0.1-dev.17 [2022-06-28T22:24:12.925Z] ---> Running in ef074fad36bb [2022-06-28T22:24:12.925Z] Removing intermediate container ef074fad36bb [2022-06-28T22:24:12.925Z] ---> c81faf115673 [2022-06-28T22:24:12.925Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T22:24:12.925Z] Successfully built c81faf115673 [2022-06-28T22:24:12.925Z] 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 [2022-06-28T22:24:13.009Z] provisioning config files... [2022-06-28T22:24:13.016Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config399793241963183178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:24:13.320Z] ---> docker-login.sh [2022-06-28T22:24:13.320Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:24:13.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:24:13.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:24:13.320Z] Configure a credential helper to remove this warning. See [2022-06-28T22:24:13.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:24:13.320Z] [2022-06-28T22:24:13.320Z] Login Succeeded [2022-06-28T22:24:13.320Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:24:13.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:24:13.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:24:13.580Z] Configure a credential helper to remove this warning. See [2022-06-28T22:24:13.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:24:13.580Z] [2022-06-28T22:24:13.580Z] Login Succeeded [2022-06-28T22:24:13.580Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:24:13.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:24:13.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:24:13.580Z] Configure a credential helper to remove this warning. See [2022-06-28T22:24:13.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:24:13.580Z] [2022-06-28T22:24:13.580Z] Login Succeeded [2022-06-28T22:24:13.580Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:24:13.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:24:13.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:24:13.841Z] Configure a credential helper to remove this warning. See [2022-06-28T22:24:13.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:24:13.841Z] [2022-06-28T22:24:13.841Z] Login Succeeded [2022-06-28T22:24:13.841Z] docker.io [2022-06-28T22:24:13.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:24:14.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:24:14.102Z] Configure a credential helper to remove this warning. See [2022-06-28T22:24:14.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:24:14.102Z] [2022-06-28T22:24:14.102Z] Login Succeeded [2022-06-28T22:24:14.102Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:24:14.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T22:24:14.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:24:14.162Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-28T22:24:14.162Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:24:14.162Z] latest [2022-06-28T22:24:14.162Z] 0.0.1-dev.17 [2022-06-28T22:24:14.162Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:24:14.162Z] main [2022-06-28T22:24:14.162Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:14.490Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:14.791Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:24:14.791Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T22:24:14.791Z] c1e52e7daaa2: Preparing [2022-06-28T22:24:14.791Z] 52a793084879: Preparing [2022-06-28T22:24:14.791Z] e0ca139523bf: Preparing [2022-06-28T22:24:14.791Z] 0e1349ca217a: Preparing [2022-06-28T22:24:14.791Z] 4fc242d58285: Preparing [2022-06-28T22:24:14.791Z] 4fc242d58285: Layer already exists [2022-06-28T22:24:14.791Z] 52a793084879: Pushed [2022-06-28T22:24:14.791Z] c1e52e7daaa2: Pushed [2022-06-28T22:24:15.051Z] 0e1349ca217a: Pushed [2022-06-28T22:24:17.586Z] e0ca139523bf: Pushed [2022-06-28T22:24:17.586Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175: digest: sha256:9f200a07ada731a058fe773bb2fe260a2a08ac1c4d39ddb64b7d2f385cfed3c3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:17.907Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:18.219Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T22:24:18.219Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T22:24:18.219Z] c1e52e7daaa2: Preparing [2022-06-28T22:24:18.219Z] 52a793084879: Preparing [2022-06-28T22:24:18.219Z] e0ca139523bf: Preparing [2022-06-28T22:24:18.219Z] 0e1349ca217a: Preparing [2022-06-28T22:24:18.219Z] 4fc242d58285: Preparing [2022-06-28T22:24:18.219Z] e0ca139523bf: Layer already exists [2022-06-28T22:24:18.219Z] c1e52e7daaa2: Layer already exists [2022-06-28T22:24:18.219Z] 4fc242d58285: Layer already exists [2022-06-28T22:24:18.219Z] 0e1349ca217a: Layer already exists [2022-06-28T22:24:18.219Z] 52a793084879: Layer already exists [2022-06-28T22:24:18.219Z] latest: digest: sha256:9f200a07ada731a058fe773bb2fe260a2a08ac1c4d39ddb64b7d2f385cfed3c3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:18.535Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:18.849Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.17 [2022-06-28T22:24:18.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T22:24:18.849Z] c1e52e7daaa2: Preparing [2022-06-28T22:24:18.849Z] 52a793084879: Preparing [2022-06-28T22:24:18.849Z] e0ca139523bf: Preparing [2022-06-28T22:24:18.849Z] 0e1349ca217a: Preparing [2022-06-28T22:24:18.849Z] 4fc242d58285: Preparing [2022-06-28T22:24:18.849Z] 52a793084879: Layer already exists [2022-06-28T22:24:18.849Z] 0e1349ca217a: Layer already exists [2022-06-28T22:24:18.849Z] e0ca139523bf: Layer already exists [2022-06-28T22:24:18.849Z] c1e52e7daaa2: Layer already exists [2022-06-28T22:24:18.849Z] 4fc242d58285: Layer already exists [2022-06-28T22:24:18.849Z] 0.0.1-dev.17: digest: sha256:9f200a07ada731a058fe773bb2fe260a2a08ac1c4d39ddb64b7d2f385cfed3c3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:19.168Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:19.478Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:24:19.479Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T22:24:19.479Z] c1e52e7daaa2: Preparing [2022-06-28T22:24:19.479Z] 52a793084879: Preparing [2022-06-28T22:24:19.479Z] e0ca139523bf: Preparing [2022-06-28T22:24:19.479Z] 0e1349ca217a: Preparing [2022-06-28T22:24:19.479Z] 4fc242d58285: Preparing [2022-06-28T22:24:19.479Z] c1e52e7daaa2: Layer already exists [2022-06-28T22:24:19.479Z] 52a793084879: Layer already exists [2022-06-28T22:24:19.479Z] 0e1349ca217a: Layer already exists [2022-06-28T22:24:19.479Z] 4fc242d58285: Layer already exists [2022-06-28T22:24:19.479Z] e0ca139523bf: Layer already exists [2022-06-28T22:24:19.479Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17: digest: sha256:9f200a07ada731a058fe773bb2fe260a2a08ac1c4d39ddb64b7d2f385cfed3c3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:19.791Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:20.101Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-28T22:24:20.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T22:24:20.101Z] c1e52e7daaa2: Preparing [2022-06-28T22:24:20.101Z] 52a793084879: Preparing [2022-06-28T22:24:20.101Z] e0ca139523bf: Preparing [2022-06-28T22:24:20.101Z] 0e1349ca217a: Preparing [2022-06-28T22:24:20.101Z] 4fc242d58285: Preparing [2022-06-28T22:24:20.101Z] e0ca139523bf: Layer already exists [2022-06-28T22:24:20.101Z] 4fc242d58285: Layer already exists [2022-06-28T22:24:20.101Z] c1e52e7daaa2: Layer already exists [2022-06-28T22:24:20.101Z] 52a793084879: Layer already exists [2022-06-28T22:24:20.101Z] 0e1349ca217a: Layer already exists [2022-06-28T22:24:20.101Z] main: digest: sha256:9f200a07ada731a058fe773bb2fe260a2a08ac1c4d39ddb64b7d2f385cfed3c3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T22:24:20.152Z] ===================================================== [Pipeline] echo [2022-06-28T22:24:20.158Z] taggedImages: [2022-06-28T22:24:20.158Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:24:20.158Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T22:24:20.158Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.17 [2022-06-28T22:24:20.158Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:24:20.158Z] - 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 [2022-06-28T22:24:20.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:24:20.537Z] [2022-06-28T22:24:20.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:24:20.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:24:20.842Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T22:24:20.842Z] 5eb5b503b376: Pulling fs layer [2022-06-28T22:24:20.842Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T22:24:20.842Z] ec43610c2a17: Pulling fs layer [2022-06-28T22:24:20.842Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T22:24:20.842Z] 33b1e0a273af: Pulling fs layer [2022-06-28T22:24:20.842Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T22:24:20.842Z] 2f39f015ded8: Pulling fs layer [2022-06-28T22:24:20.842Z] 3a2ae6a8a46f: Waiting [2022-06-28T22:24:20.842Z] 33b1e0a273af: Waiting [2022-06-28T22:24:20.842Z] 2f39f015ded8: Waiting [2022-06-28T22:24:20.842Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T22:24:20.842Z] 5c69ac0246d0: Download complete [2022-06-28T22:24:20.842Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T22:24:20.842Z] 3a2ae6a8a46f: Download complete [2022-06-28T22:24:21.103Z] 33b1e0a273af: Verifying Checksum [2022-06-28T22:24:21.103Z] 33b1e0a273af: Download complete [2022-06-28T22:24:21.103Z] 5d3b04190fa2: Download complete [2022-06-28T22:24:21.103Z] ec43610c2a17: Download complete [2022-06-28T22:24:21.103Z] 5eb5b503b376: Verifying Checksum [2022-06-28T22:24:21.103Z] 5eb5b503b376: Download complete [2022-06-28T22:24:21.672Z] 2f39f015ded8: Download complete [2022-06-28T22:24:22.609Z] 5eb5b503b376: Pull complete [2022-06-28T22:24:22.609Z] 5c69ac0246d0: Pull complete [2022-06-28T22:24:22.868Z] ec43610c2a17: Pull complete [2022-06-28T22:24:23.127Z] 3a2ae6a8a46f: Pull complete [2022-06-28T22:24:23.127Z] 33b1e0a273af: Pull complete [2022-06-28T22:24:23.385Z] 5d3b04190fa2: Pull complete [2022-06-28T22:24:27.577Z] 2f39f015ded8: Pull complete [2022-06-28T22:24:27.577Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T22:24:27.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:24:27.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:24:27.732Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:24:27.778Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T22:24:29.288Z] $ docker top 42a62e5bfba946b36433dea514412e8f354f705c33957b894bd673a566515a39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:24:29.538Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16277 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-28T22:24:29.551Z] Running in /w/workspace/device-onvif-camera/19 [Pipeline] { [Pipeline] checkout [2022-06-28T22:24:29.582Z] Selected Git installation does not exist. Using Default [2022-06-28T22:24:29.582Z] The recommended git tool is: NONE [2022-06-28T22:24:29.709Z] ---> job-cost.sh [2022-06-28T22:24:29.709Z] lf-activate-venv: SKIPPING [2022-06-28T22:24:29.709Z] INFO: No Stack... [2022-06-28T22:24:29.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T22:24:30.540Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T22:24:30.834Z] + + catcut /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv -d, [2022-06-28T22:24:30.834Z] -f6 [Pipeline] lock [2022-06-28T22:24:30.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [2022-06-28T22:24:30.854Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] did not exist. Created. [2022-06-28T22:24:30.854Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:24:31.155Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T22:24:31.179Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T22:24:31.185Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T22:24:31.208Z] $ docker stop --time=1 42a62e5bfba946b36433dea514412e8f354f705c33957b894bd673a566515a39 [2022-06-28T22:24:32.369Z] $ docker rm -f 42a62e5bfba946b36433dea514412e8f354f705c33957b894bd673a566515a39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T22:24:35.412Z] using credential edgex-jenkins-ssh [2022-06-28T22:24:35.432Z] Cloning the remote Git repository [2022-06-28T22:24:35.481Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:24:35.623Z] > git init /w/workspace/device-onvif-camera/19 # timeout=10 [2022-06-28T22:24:36.778Z] Avoid second fetch [2022-06-28T22:24:36.779Z] Checking out Revision 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 (main) [2022-06-28T22:24:35.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T22:24:35.819Z] > git --version # timeout=10 [2022-06-28T22:24:35.879Z] > git --version # 'git version 2.25.1' [2022-06-28T22:24:35.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T22:24:35.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:24:36.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T22:24:36.761Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T22:24:36.799Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T22:24:36.820Z] > git checkout -f 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 # timeout=10 [2022-06-28T22:24:40.975Z] Commit message: "feat: mac credential storage (#90)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:24:41.830Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T22:24:41.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T22:24:41.830Z] Dload Upload Total Spent Left Speed [2022-06-28T22:24:41.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 92127 [Pipeline] sh [2022-06-28T22:24:42.615Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T22:24:42.957Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T22:24:42.957Z] + sudo tee /etc/docker/daemon.new [2022-06-28T22:24:42.957Z] { [2022-06-28T22:24:42.957Z] "registry-mirrors": [ [2022-06-28T22:24:42.957Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T22:24:42.957Z] ], [2022-06-28T22:24:42.957Z] "bip": "10.250.0.254/24", [2022-06-28T22:24:42.957Z] "hosts": [ [2022-06-28T22:24:42.957Z] "tcp://0.0.0.0:5555", [2022-06-28T22:24:42.957Z] "unix:///var/run/docker.sock" [2022-06-28T22:24:42.957Z] ], [2022-06-28T22:24:42.957Z] "mtu": 1458, [2022-06-28T22:24:42.957Z] "selinux-enabled": true, [2022-06-28T22:24:42.957Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T22:24:42.957Z] } [Pipeline] sh [2022-06-28T22:24:43.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T22:24:43.655Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:25:01.992Z] provisioning config files... [2022-06-28T22:25:02.014Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/19@tmp/config5124562425326542338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:25:02.372Z] ---> docker-login.sh [2022-06-28T22:25:02.372Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:25:02.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:25:03.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:25:03.244Z] Configure a credential helper to remove this warning. See [2022-06-28T22:25:03.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:25:03.244Z] [2022-06-28T22:25:03.244Z] Login Succeeded [2022-06-28T22:25:03.244Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:25:03.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:25:03.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:25:03.520Z] Configure a credential helper to remove this warning. See [2022-06-28T22:25:03.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:25:03.520Z] [2022-06-28T22:25:03.520Z] Login Succeeded [2022-06-28T22:25:03.795Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:25:04.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:25:04.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:25:04.070Z] Configure a credential helper to remove this warning. See [2022-06-28T22:25:04.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:25:04.070Z] [2022-06-28T22:25:04.070Z] Login Succeeded [2022-06-28T22:25:04.070Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:25:04.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:25:04.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:25:04.671Z] Configure a credential helper to remove this warning. See [2022-06-28T22:25:04.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:25:04.671Z] [2022-06-28T22:25:04.671Z] Login Succeeded [2022-06-28T22:25:04.671Z] docker.io [2022-06-28T22:25:04.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:25:05.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:25:05.216Z] Configure a credential helper to remove this warning. See [2022-06-28T22:25:05.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:25:05.216Z] [2022-06-28T22:25:05.216Z] Login Succeeded [2022-06-28T22:25:05.216Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:25:05.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T22:25:05.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:25:05.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:25:05.790Z] ========================================================= [2022-06-28T22:25:05.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T22:25:05.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:25:06.176Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T22:25:06.450Z] Sending build context to Docker daemon 6.085MB [2022-06-28T22:25:06.727Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:25:06.727Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T22:25:06.727Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T22:25:06.727Z] 9b3977197b4f: Pulling fs layer [2022-06-28T22:25:06.727Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T22:25:06.727Z] 94645a83ff95: Pulling fs layer [2022-06-28T22:25:06.727Z] e6fb740bc735: Pulling fs layer [2022-06-28T22:25:06.727Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T22:25:06.727Z] 355e64cbe906: Pulling fs layer [2022-06-28T22:25:06.727Z] 63ab81a10011: Pulling fs layer [2022-06-28T22:25:06.727Z] 555d1d1c4555: Pulling fs layer [2022-06-28T22:25:06.727Z] 7d9057610161: Pulling fs layer [2022-06-28T22:25:06.727Z] e6fb740bc735: Waiting [2022-06-28T22:25:06.727Z] 3a77bd46dcc9: Waiting [2022-06-28T22:25:06.727Z] 63ab81a10011: Waiting [2022-06-28T22:25:06.727Z] 555d1d1c4555: Waiting [2022-06-28T22:25:06.727Z] 7d9057610161: Waiting [2022-06-28T22:25:06.727Z] 355e64cbe906: Waiting [2022-06-28T22:25:06.727Z] 94645a83ff95: Verifying Checksum [2022-06-28T22:25:06.727Z] 94645a83ff95: Download complete [2022-06-28T22:25:06.727Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T22:25:06.727Z] 1a89e8eeedd5: Download complete [2022-06-28T22:25:06.727Z] 3a77bd46dcc9: Download complete [2022-06-28T22:25:06.727Z] 355e64cbe906: Verifying Checksum [2022-06-28T22:25:06.727Z] 355e64cbe906: Download complete [2022-06-28T22:25:07.004Z] 63ab81a10011: Download complete [2022-06-28T22:25:07.004Z] 9b3977197b4f: Verifying Checksum [2022-06-28T22:25:07.004Z] 9b3977197b4f: Download complete [2022-06-28T22:25:08.001Z] 9b3977197b4f: Pull complete [2022-06-28T22:25:08.001Z] 7d9057610161: Verifying Checksum [2022-06-28T22:25:08.001Z] 7d9057610161: Download complete [2022-06-28T22:25:08.606Z] 1a89e8eeedd5: Pull complete [2022-06-28T22:25:08.883Z] 94645a83ff95: Pull complete [2022-06-28T22:25:09.158Z] 555d1d1c4555: Verifying Checksum [2022-06-28T22:25:09.158Z] 555d1d1c4555: Download complete [2022-06-28T22:25:09.762Z] e6fb740bc735: Verifying Checksum [2022-06-28T22:25:09.762Z] e6fb740bc735: Download complete [2022-06-28T22:25:22.205Z] e6fb740bc735: Pull complete [2022-06-28T22:25:22.205Z] 3a77bd46dcc9: Pull complete [2022-06-28T22:25:22.205Z] 355e64cbe906: Pull complete [2022-06-28T22:25:22.205Z] 63ab81a10011: Pull complete [2022-06-28T22:25:28.940Z] 555d1d1c4555: Pull complete [2022-06-28T22:25:30.406Z] 7d9057610161: Pull complete [2022-06-28T22:25:30.406Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T22:25:30.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T22:25:30.406Z] ---> 819e984ddca1 [2022-06-28T22:25:30.406Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T22:25:32.410Z] ---> Running in 57822edb3268 [2022-06-28T22:25:32.410Z] Removing intermediate container 57822edb3268 [2022-06-28T22:25:32.410Z] ---> 5a52642f9fae [2022-06-28T22:25:32.410Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:25:32.410Z] ---> Running in 07a556696e18 [2022-06-28T22:25:32.687Z] Removing intermediate container 07a556696e18 [2022-06-28T22:25:32.687Z] ---> 312917ab4403 [2022-06-28T22:25:32.687Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:25:32.961Z] ---> Running in 1c11f6125113 [2022-06-28T22:25:33.234Z] Removing intermediate container 1c11f6125113 [2022-06-28T22:25:33.234Z] ---> a6b6680fa473 [2022-06-28T22:25:33.234Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:25:33.234Z] ---> Running in a15627082c59 [2022-06-28T22:25:33.512Z] Removing intermediate container a15627082c59 [2022-06-28T22:25:33.512Z] ---> ffd3d9870913 [2022-06-28T22:25:33.512Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:25:33.512Z] ---> Running in a0bc14e6cfd9 [2022-06-28T22:25:36.186Z] Removing intermediate container a0bc14e6cfd9 [2022-06-28T22:25:36.186Z] ---> e07e1c31fd87 [2022-06-28T22:25:36.186Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:25:36.186Z] ---> Running in 36d21d78745b [2022-06-28T22:25:37.171Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:25:38.152Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:25:39.135Z] OK: 220 MiB in 52 packages [2022-06-28T22:25:39.734Z] Removing intermediate container 36d21d78745b [2022-06-28T22:25:39.734Z] ---> 4c4b7c250d48 [2022-06-28T22:25:39.734Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T22:25:39.734Z] ---> Running in 1868563fdbcc [2022-06-28T22:25:40.008Z] Removing intermediate container 1868563fdbcc [2022-06-28T22:25:40.008Z] ---> cef6941c805d [2022-06-28T22:25:40.008Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T22:25:40.606Z] ---> 6ecf7e79fb3e [2022-06-28T22:25:40.606Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:25:40.606Z] ---> Running in b5018bd58a0b [2022-06-28T22:26:27.602Z] Removing intermediate container b5018bd58a0b [2022-06-28T22:26:27.602Z] ---> 4bfea7d3a920 [2022-06-28T22:26:27.602Z] Step 12/13 : COPY . . [2022-06-28T22:26:27.602Z] ---> a50f096b9a4d [2022-06-28T22:26:27.602Z] Step 13/13 : RUN ${MAKE} [2022-06-28T22:26:27.602Z] ---> Running in 7dd15326fd0c [2022-06-28T22:26:28.197Z] noop [2022-06-28T22:26:28.793Z] Removing intermediate container 7dd15326fd0c [2022-06-28T22:26:28.793Z] ---> a0c80ac8dc78 [2022-06-28T22:26:28.793Z] Successfully built a0c80ac8dc78 [2022-06-28T22:26:28.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:26:29.165Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:26:29.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:26:29.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-16277 does not seem to be running inside a container [2022-06-28T22:26:29.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@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 [2022-06-28T22:26:30.820Z] $ docker top b8332da5322d148de01eec53029c6e7b098be0de8eacd523af51f2dbb508902d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:26:31.735Z] + go version [2022-06-28T22:26:31.735Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T22:26:31.772Z] $ docker stop --time=1 b8332da5322d148de01eec53029c6e7b098be0de8eacd523af51f2dbb508902d [2022-06-28T22:26:33.419Z] $ docker rm -f b8332da5322d148de01eec53029c6e7b098be0de8eacd523af51f2dbb508902d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:26:34.015Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T22:26:34.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:26:34.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-16277 does not seem to be running inside a container [2022-06-28T22:26:34.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@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 [2022-06-28T22:26:35.615Z] $ docker top 1842c0fa72c26101941a4df314878e3e0aa58b0d0f482288064b0d36e6ef3809 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T22:26:36.526Z] + make test [2022-06-28T22:26:36.527Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T22:26:38.510Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T22:28:15.384Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T22:28:15.384Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.102s coverage: 5.6% of statements [2022-06-28T22:28:37.564Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.272s coverage: 13.8% of statements [2022-06-28T22:28:37.564Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T22:28:37.564Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T22:29:04.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T22:29:04.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T22:29:04.378Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T22:29:04.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T22:29:04.422Z] $ docker stop --time=1 1842c0fa72c26101941a4df314878e3e0aa58b0d0f482288064b0d36e6ef3809 [2022-06-28T22:29:06.229Z] $ docker rm -f 1842c0fa72c26101941a4df314878e3e0aa58b0d0f482288064b0d36e6ef3809 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:29:07.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T22:29:07.215Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T22:29:07.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T22:29:08.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T22:29:08.441Z] + ls -al . [2022-06-28T22:29:08.441Z] total 244 [2022-06-28T22:29:08.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:29 . [2022-06-28T22:29:08.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:24 .. [2022-06-28T22:29:08.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 22:24 .git [2022-06-28T22:29:08.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:24 .github [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 22:24 .gitignore [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 22:24 .golangci.yml [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 22:24 Attribution.txt [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 22:24 CHANGELOG.md [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 22:24 Dockerfile [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 22:24 GOVERNANCE.md [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 22:24 Jenkinsfile [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 22:24 LICENSE [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 22:24 Makefile [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 22:24 OWNERS.md [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 22:24 README.md [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 22:22 VERSION [2022-06-28T22:29:08.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 22:24 bin [2022-06-28T22:29:08.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 22:24 cmd [2022-06-28T22:29:08.441Z] -rw-r--r-- 1 jenkins jenkins 70091 Jun 28 22:28 coverage.out [2022-06-28T22:29:08.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:24 doc [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 22:24 go.mod [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 22:24 go.sum [2022-06-28T22:29:08.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 22:24 internal [2022-06-28T22:29:08.441Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:29:08.801Z] + 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=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 --label arch=arm64 --label version=0.0.1-dev.17 . [2022-06-28T22:29:09.075Z] Sending build context to Docker daemon 6.156MB [2022-06-28T22:29:09.075Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T22:29:09.075Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T22:29:09.075Z] ---> a0c80ac8dc78 [2022-06-28T22:29:09.075Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T22:29:09.350Z] ---> Running in e7ce05492ee3 [2022-06-28T22:29:09.624Z] Removing intermediate container e7ce05492ee3 [2022-06-28T22:29:09.624Z] ---> 4e252bededfd [2022-06-28T22:29:09.624Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T22:29:09.624Z] ---> Running in 7d2ff0426133 [2022-06-28T22:29:09.904Z] Removing intermediate container 7d2ff0426133 [2022-06-28T22:29:09.904Z] ---> fabaef94df38 [2022-06-28T22:29:09.904Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T22:29:09.904Z] ---> Running in 602f45947388 [2022-06-28T22:29:10.179Z] Removing intermediate container 602f45947388 [2022-06-28T22:29:10.179Z] ---> a165b7891c22 [2022-06-28T22:29:10.179Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T22:29:10.459Z] ---> Running in 0fc7edcc0a6f [2022-06-28T22:29:10.733Z] Removing intermediate container 0fc7edcc0a6f [2022-06-28T22:29:10.733Z] ---> 0fa737ae1a22 [2022-06-28T22:29:10.733Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T22:29:10.733Z] ---> Running in 4bd0d5228079 [2022-06-28T22:29:12.711Z] Removing intermediate container 4bd0d5228079 [2022-06-28T22:29:12.711Z] ---> c98f5f41b3a1 [2022-06-28T22:29:12.711Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T22:29:12.711Z] ---> Running in 1f7a3eb89b88 [2022-06-28T22:29:13.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:29:14.301Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:29:15.285Z] OK: 220 MiB in 52 packages [2022-06-28T22:29:15.887Z] Removing intermediate container 1f7a3eb89b88 [2022-06-28T22:29:15.887Z] ---> 3e36f7572618 [2022-06-28T22:29:15.887Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T22:29:15.887Z] ---> Running in 835c16414b10 [2022-06-28T22:29:16.162Z] Removing intermediate container 835c16414b10 [2022-06-28T22:29:16.162Z] ---> 71595c6d1b9c [2022-06-28T22:29:16.162Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T22:29:16.764Z] ---> fddee763c285 [2022-06-28T22:29:16.764Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T22:29:16.764Z] ---> Running in ed8230f4f028 [2022-06-28T22:29:18.745Z] Removing intermediate container ed8230f4f028 [2022-06-28T22:29:18.745Z] ---> e6536bb08f6a [2022-06-28T22:29:18.745Z] Step 12/26 : COPY . . [2022-06-28T22:29:19.719Z] ---> 8276389f8674 [2022-06-28T22:29:19.719Z] Step 13/26 : RUN ${MAKE} [2022-06-28T22:29:19.719Z] ---> Running in 2dac17633344 [2022-06-28T22:29:20.699Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T22:31:27.577Z] Removing intermediate container 2dac17633344 [2022-06-28T22:31:27.577Z] ---> 4a146eb38bbe [2022-06-28T22:31:27.577Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T22:31:27.577Z] 3.15: Pulling from library/alpine [2022-06-28T22:31:27.577Z] 9981e73032c8: Pulling fs layer [2022-06-28T22:31:27.577Z] 9981e73032c8: Verifying Checksum [2022-06-28T22:31:27.577Z] 9981e73032c8: Download complete [2022-06-28T22:31:27.577Z] 9981e73032c8: Pull complete [2022-06-28T22:31:27.577Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T22:31:27.577Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T22:31:27.577Z] ---> 3fb3c9af89a9 [2022-06-28T22:31:27.577Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T22:31:27.577Z] ---> Running in c6b75676cba1 [2022-06-28T22:31:27.577Z] Removing intermediate container c6b75676cba1 [2022-06-28T22:31:27.577Z] ---> 8add4341912e [2022-06-28T22:31:27.577Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T22:31:27.577Z] ---> Running in e1299de12802 [2022-06-28T22:31:27.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T22:31:27.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T22:31:27.577Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T22:31:27.577Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T22:31:27.577Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T22:31:27.577Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T22:31:27.577Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T22:31:27.577Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T22:31:27.577Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T22:31:27.577Z] OK: 8 MiB in 20 packages [2022-06-28T22:31:27.577Z] Removing intermediate container e1299de12802 [2022-06-28T22:31:27.577Z] ---> 5b84c3bfe685 [2022-06-28T22:31:27.577Z] Step 17/26 : WORKDIR / [2022-06-28T22:31:27.577Z] ---> Running in fee4add0f701 [2022-06-28T22:31:27.577Z] Removing intermediate container fee4add0f701 [2022-06-28T22:31:27.577Z] ---> fbe54bbafaea [2022-06-28T22:31:27.577Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T22:31:28.557Z] ---> 96096ae2cbbb [2022-06-28T22:31:28.557Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T22:31:28.834Z] ---> 3f05f775b25a [2022-06-28T22:31:28.834Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T22:31:29.428Z] ---> ed27d014e47f [2022-06-28T22:31:29.428Z] Step 21/26 : EXPOSE 59984 [2022-06-28T22:31:29.428Z] ---> Running in 2b9609a9382d [2022-06-28T22:31:29.702Z] Removing intermediate container 2b9609a9382d [2022-06-28T22:31:29.702Z] ---> dd9ba85e6c21 [2022-06-28T22:31:29.702Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T22:31:29.983Z] ---> Running in a4a44bd722da [2022-06-28T22:31:30.258Z] Removing intermediate container a4a44bd722da [2022-06-28T22:31:30.258Z] ---> a88b875fadf0 [2022-06-28T22:31:30.258Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T22:31:30.258Z] ---> Running in cff23a532498 [2022-06-28T22:31:30.534Z] Removing intermediate container cff23a532498 [2022-06-28T22:31:30.534Z] ---> d367217a7070 [2022-06-28T22:31:30.534Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T22:31:30.534Z] ---> Running in 22d0c7392aae [2022-06-28T22:31:31.138Z] Removing intermediate container 22d0c7392aae [2022-06-28T22:31:31.138Z] ---> b960a59cf6fd [2022-06-28T22:31:31.138Z] Step 25/26 : LABEL git_sha=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:31:31.138Z] ---> Running in 5d8829200f2f [2022-06-28T22:31:31.413Z] Removing intermediate container 5d8829200f2f [2022-06-28T22:31:31.413Z] ---> 682b49d4003d [2022-06-28T22:31:31.413Z] Step 26/26 : LABEL version=0.0.1-dev.17 [2022-06-28T22:31:31.413Z] ---> Running in dd5f8cce23f5 [2022-06-28T22:31:31.688Z] Removing intermediate container dd5f8cce23f5 [2022-06-28T22:31:31.688Z] ---> 29e68916f2fc [2022-06-28T22:31:31.688Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T22:31:31.688Z] Successfully built 29e68916f2fc [2022-06-28T22:31:31.688Z] 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 [2022-06-28T22:31:31.805Z] provisioning config files... [2022-06-28T22:31:31.826Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/19@tmp/config7996789225325015027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:31:32.178Z] ---> docker-login.sh [2022-06-28T22:31:32.178Z] nexus3.edgexfoundry.org:10001 [2022-06-28T22:31:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:31:32.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:31:32.453Z] Configure a credential helper to remove this warning. See [2022-06-28T22:31:32.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:31:32.453Z] [2022-06-28T22:31:32.453Z] Login Succeeded [2022-06-28T22:31:32.453Z] nexus3.edgexfoundry.org:10002 [2022-06-28T22:31:33.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:31:33.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:31:33.050Z] Configure a credential helper to remove this warning. See [2022-06-28T22:31:33.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:31:33.050Z] [2022-06-28T22:31:33.050Z] Login Succeeded [2022-06-28T22:31:33.050Z] nexus3.edgexfoundry.org:10003 [2022-06-28T22:31:33.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:31:33.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:31:33.596Z] Configure a credential helper to remove this warning. See [2022-06-28T22:31:33.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:31:33.596Z] [2022-06-28T22:31:33.596Z] Login Succeeded [2022-06-28T22:31:33.596Z] nexus3.edgexfoundry.org:10004 [2022-06-28T22:31:33.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:31:33.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:31:33.870Z] Configure a credential helper to remove this warning. See [2022-06-28T22:31:33.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:31:33.870Z] [2022-06-28T22:31:33.870Z] Login Succeeded [2022-06-28T22:31:33.870Z] docker.io [2022-06-28T22:31:34.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T22:31:34.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T22:31:34.739Z] Configure a credential helper to remove this warning. See [2022-06-28T22:31:34.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T22:31:34.739Z] [2022-06-28T22:31:34.739Z] Login Succeeded [2022-06-28T22:31:34.739Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T22:31:34.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T22:31:34.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T22:31:34.822Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-28T22:31:34.822Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:31:34.822Z] latest [2022-06-28T22:31:34.822Z] 0.0.1-dev.17 [2022-06-28T22:31:34.822Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:31:34.822Z] main [2022-06-28T22:31:34.822Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:35.194Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:35.569Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:31:35.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T22:31:35.569Z] ba6d3d349781: Preparing [2022-06-28T22:31:35.569Z] bd1380709e26: Preparing [2022-06-28T22:31:35.569Z] 3fc41201ef76: Preparing [2022-06-28T22:31:35.569Z] 89808160e9cc: Preparing [2022-06-28T22:31:35.569Z] 4f4ce317c6bb: Preparing [2022-06-28T22:31:35.569Z] 4f4ce317c6bb: Layer already exists [2022-06-28T22:31:35.847Z] ba6d3d349781: Pushed [2022-06-28T22:31:35.847Z] bd1380709e26: Pushed [2022-06-28T22:31:36.441Z] 89808160e9cc: Pushed [2022-06-28T22:31:43.148Z] 3fc41201ef76: Pushed [2022-06-28T22:31:43.149Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175: digest: sha256:22e6cefd10aeb325afdabe5ba5a6d0ddb83f581834011684005762b3db31d397 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:43.520Z] + 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 [2022-06-28T22:31:43.885Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T22:31:43.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T22:31:43.885Z] ba6d3d349781: Preparing [2022-06-28T22:31:43.885Z] bd1380709e26: Preparing [2022-06-28T22:31:43.885Z] 3fc41201ef76: Preparing [2022-06-28T22:31:43.885Z] 89808160e9cc: Preparing [2022-06-28T22:31:43.885Z] 4f4ce317c6bb: Preparing [2022-06-28T22:31:43.885Z] 4f4ce317c6bb: Layer already exists [2022-06-28T22:31:43.885Z] 89808160e9cc: Layer already exists [2022-06-28T22:31:43.885Z] ba6d3d349781: Layer already exists [2022-06-28T22:31:43.885Z] bd1380709e26: Layer already exists [2022-06-28T22:31:43.885Z] 3fc41201ef76: Layer already exists [2022-06-28T22:31:44.158Z] latest: digest: sha256:22e6cefd10aeb325afdabe5ba5a6d0ddb83f581834011684005762b3db31d397 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:44.530Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:44.887Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.17 [2022-06-28T22:31:44.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T22:31:44.887Z] ba6d3d349781: Preparing [2022-06-28T22:31:44.887Z] bd1380709e26: Preparing [2022-06-28T22:31:44.887Z] 3fc41201ef76: Preparing [2022-06-28T22:31:44.887Z] 89808160e9cc: Preparing [2022-06-28T22:31:44.887Z] 4f4ce317c6bb: Preparing [2022-06-28T22:31:44.887Z] 3fc41201ef76: Layer already exists [2022-06-28T22:31:44.887Z] bd1380709e26: Layer already exists [2022-06-28T22:31:44.887Z] ba6d3d349781: Layer already exists [2022-06-28T22:31:44.887Z] 89808160e9cc: Layer already exists [2022-06-28T22:31:44.887Z] 4f4ce317c6bb: Layer already exists [2022-06-28T22:31:45.159Z] 0.0.1-dev.17: digest: sha256:22e6cefd10aeb325afdabe5ba5a6d0ddb83f581834011684005762b3db31d397 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:45.527Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:45.885Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:31:45.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T22:31:45.885Z] ba6d3d349781: Preparing [2022-06-28T22:31:45.885Z] bd1380709e26: Preparing [2022-06-28T22:31:45.885Z] 3fc41201ef76: Preparing [2022-06-28T22:31:45.885Z] 89808160e9cc: Preparing [2022-06-28T22:31:45.885Z] 4f4ce317c6bb: Preparing [2022-06-28T22:31:45.885Z] ba6d3d349781: Layer already exists [2022-06-28T22:31:45.885Z] 89808160e9cc: Layer already exists [2022-06-28T22:31:45.885Z] 4f4ce317c6bb: Layer already exists [2022-06-28T22:31:45.885Z] bd1380709e26: Layer already exists [2022-06-28T22:31:45.885Z] 3fc41201ef76: Layer already exists [2022-06-28T22:31:46.157Z] 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17: digest: sha256:22e6cefd10aeb325afdabe5ba5a6d0ddb83f581834011684005762b3db31d397 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:46.523Z] + 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 [2022-06-28T22:31:46.885Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-28T22:31:46.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T22:31:46.885Z] ba6d3d349781: Preparing [2022-06-28T22:31:46.885Z] bd1380709e26: Preparing [2022-06-28T22:31:46.885Z] 3fc41201ef76: Preparing [2022-06-28T22:31:46.885Z] 89808160e9cc: Preparing [2022-06-28T22:31:46.885Z] 4f4ce317c6bb: Preparing [2022-06-28T22:31:46.885Z] bd1380709e26: Layer already exists [2022-06-28T22:31:46.885Z] 4f4ce317c6bb: Layer already exists [2022-06-28T22:31:46.885Z] 89808160e9cc: Layer already exists [2022-06-28T22:31:46.885Z] ba6d3d349781: Layer already exists [2022-06-28T22:31:46.885Z] 3fc41201ef76: Layer already exists [2022-06-28T22:31:47.159Z] main: digest: sha256:22e6cefd10aeb325afdabe5ba5a6d0ddb83f581834011684005762b3db31d397 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T22:31:47.220Z] ===================================================== [Pipeline] echo [2022-06-28T22:31:47.230Z] taggedImages: [2022-06-28T22:31:47.230Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [2022-06-28T22:31:47.230Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T22:31:47.230Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.17 [2022-06-28T22:31:47.231Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175-0.0.1-dev.17 [2022-06-28T22:31:47.231Z] - 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 [2022-06-28T22:31:47.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:31:47.603Z] [2022-06-28T22:31:47.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:31:47.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:31:48.229Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T22:31:48.229Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T22:31:48.229Z] 04944245beec: Pulling fs layer [2022-06-28T22:31:48.229Z] 699f458cf7ca: Pulling fs layer [2022-06-28T22:31:48.229Z] 765212b225bb: Pulling fs layer [2022-06-28T22:31:48.229Z] f23df028b6ca: Pulling fs layer [2022-06-28T22:31:48.229Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T22:31:48.229Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T22:31:48.229Z] 765212b225bb: Waiting [2022-06-28T22:31:48.229Z] d65c8cfc05b1: Waiting [2022-06-28T22:31:48.229Z] f23df028b6ca: Waiting [2022-06-28T22:31:48.229Z] 2437ff75d9bd: Waiting [2022-06-28T22:31:48.229Z] 04944245beec: Verifying Checksum [2022-06-28T22:31:48.229Z] 04944245beec: Download complete [2022-06-28T22:31:48.229Z] 765212b225bb: Verifying Checksum [2022-06-28T22:31:48.229Z] 765212b225bb: Download complete [2022-06-28T22:31:48.229Z] f23df028b6ca: Download complete [2022-06-28T22:31:48.229Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T22:31:48.229Z] d65c8cfc05b1: Download complete [2022-06-28T22:31:48.507Z] 699f458cf7ca: Verifying Checksum [2022-06-28T22:31:48.507Z] 699f458cf7ca: Download complete [2022-06-28T22:31:48.782Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T22:31:48.782Z] 8998bd30e6a1: Download complete [2022-06-28T22:31:51.417Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T22:31:51.417Z] 2437ff75d9bd: Download complete [2022-06-28T22:31:52.868Z] 8998bd30e6a1: Pull complete [2022-06-28T22:31:53.472Z] 04944245beec: Pull complete [2022-06-28T22:31:54.916Z] 699f458cf7ca: Pull complete [2022-06-28T22:31:55.191Z] 765212b225bb: Pull complete [2022-06-28T22:31:56.177Z] f23df028b6ca: Pull complete [2022-06-28T22:31:56.177Z] d65c8cfc05b1: Pull complete [2022-06-28T22:32:11.299Z] 2437ff75d9bd: Pull complete [2022-06-28T22:32:11.299Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T22:32:11.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T22:32:11.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:32:11.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-16277 does not seem to be running inside a container [2022-06-28T22:32:11.633Z] $ 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/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@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 [2022-06-28T22:32:14.020Z] $ docker top f2775fe3df77706afc35d9aae44053d07283e475f0305e082460cdee883e9aef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:32:14.921Z] ---> job-cost.sh [2022-06-28T22:32:14.921Z] lf-activate-venv: SKIPPING [2022-06-28T22:32:14.921Z] INFO: No Stack... [2022-06-28T22:32:15.193Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T22:32:16.169Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T22:32:16.829Z] + cut -d, -f6 [2022-06-28T22:32:16.829Z] + cat /w/workspace/device-onvif-camera/19/archives/cost.csv [Pipeline] lock [2022-06-28T22:32:16.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [2022-06-28T22:32:16.904Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] did not exist. Created. [2022-06-28T22:32:16.904Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:32:17.641Z] /w/workspace/device-onvif-camera/19@tmp/durable-9dd27ea3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T22:32:18.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T22:32:18.391Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T22:32:18.448Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T22:32:18.456Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T22:32:18.490Z] $ docker stop --time=1 f2775fe3df77706afc35d9aae44053d07283e475f0305e082460cdee883e9aef [2022-06-28T22:32:20.068Z] $ docker rm -f f2775fe3df77706afc35d9aae44053d07283e475f0305e082460cdee883e9aef [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 [2022-06-28T22:32:20.592Z] provisioning config files... [2022-06-28T22:32:20.600Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config240827295814477610tmp [Pipeline] { [Pipeline] sh [2022-06-28T22:32:20.899Z] + set +x [2022-06-28T22:32:20.899Z] + curl -s https://codecov.io/bash+ [2022-06-28T22:32:20.899Z] bash -s -- [2022-06-28T22:32:20.899Z] [2022-06-28T22:32:20.899Z] _____ _ [2022-06-28T22:32:20.899Z] / ____| | | [2022-06-28T22:32:20.899Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T22:32:20.899Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T22:32:20.899Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T22:32:20.899Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T22:32:20.899Z] Bash-1.0.6 [2022-06-28T22:32:20.899Z] [2022-06-28T22:32:20.899Z] [2022-06-28T22:32:20.899Z] ==> git version 2.25.1 found [2022-06-28T22:32:20.899Z] ==> 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 [2022-06-28T22:32:20.899Z] Release-Date: 2020-01-08 [2022-06-28T22:32:20.899Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-28T22:32:20.899Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T22:32:20.899Z] ==> Jenkins CI detected. [2022-06-28T22:32:20.899Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-28T22:32:20.899Z] project root: . [2022-06-28T22:32:20.899Z] --> token set from env [2022-06-28T22:32:20.899Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T22:32:20.899Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T22:32:20.899Z] ==> Python coveragepy not found [2022-06-28T22:32:20.899Z] ==> Searching for coverage reports in: [2022-06-28T22:32:20.899Z] + . [2022-06-28T22:32:20.899Z] -> Found 1 reports [2022-06-28T22:32:20.899Z] ==> Detecting git/mercurial file structure [2022-06-28T22:32:21.159Z] ==> Reading reports [2022-06-28T22:32:21.159Z] + ./coverage.out bytes=70091 [2022-06-28T22:32:21.159Z] ==> Appending adjustments [2022-06-28T22:32:21.159Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T22:32:21.159Z] + Found adjustments [2022-06-28T22:32:21.159Z] ==> Gzipping contents [2022-06-28T22:32:21.159Z] 12K /tmp/codecov.uUJ1YQ.gz [2022-06-28T22:32:21.159Z] ==> Uploading reports [2022-06-28T22:32:21.159Z] url: https://codecov.io [2022-06-28T22:32:21.160Z] query: branch=main&commit=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T22:32:21.160Z] -> Pinging Codecov [2022-06-28T22:32:21.160Z] 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=6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T22:32:21.419Z] -> Uploading to [2022-06-28T22:32:21.419Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175/cc9d9136-4eae-403c-bbe2-66e376ee33c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T223221Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd63bdbde867a9eb6d8fdeac3bc5255b095d995b924d3712b8dd8d8c68c66464 [2022-06-28T22:32:21.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T22:32:21.419Z] Dload Upload Total Spent Left Speed [2022-06-28T22:32:21.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8851 0 0 100 8851 0 35689 --:--:-- --:--:-- --:--:-- 35689 [2022-06-28T22:32:21.678Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] } [2022-06-28T22:32:21.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T22:32:21.866Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T22:32:21.876Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:32:22.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T22:32:22.168Z] [2022-06-28T22:32:22.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:32:22.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T22:32:22.473Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T22:32:22.473Z] df9b9388f04a: Already exists [2022-06-28T22:32:22.473Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T22:32:22.473Z] 25bc292e5bac: Pulling fs layer [2022-06-28T22:32:22.473Z] 114826534d7a: Pulling fs layer [2022-06-28T22:32:22.473Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T22:32:22.473Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T22:32:22.473Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T22:32:22.473Z] 6ad1cebc031e: Waiting [2022-06-28T22:32:22.473Z] 8a3aa393b2d8: Waiting [2022-06-28T22:32:22.473Z] 4657fd5d0bcf: Waiting [2022-06-28T22:32:22.473Z] 25bc292e5bac: Verifying Checksum [2022-06-28T22:32:22.473Z] 25bc292e5bac: Download complete [2022-06-28T22:32:22.473Z] 52dc419b0ee2: Download complete [2022-06-28T22:32:22.473Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T22:32:22.473Z] 4657fd5d0bcf: Download complete [2022-06-28T22:32:22.473Z] 52dc419b0ee2: Pull complete [2022-06-28T22:32:22.735Z] 25bc292e5bac: Pull complete [2022-06-28T22:32:22.735Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T22:32:22.735Z] 6ad1cebc031e: Download complete [2022-06-28T22:32:23.319Z] 114826534d7a: Verifying Checksum [2022-06-28T22:32:23.319Z] 114826534d7a: Download complete [2022-06-28T22:32:23.580Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T22:32:23.580Z] 8a3aa393b2d8: Download complete [2022-06-28T22:32:26.861Z] 114826534d7a: Pull complete [2022-06-28T22:32:26.861Z] 4657fd5d0bcf: Pull complete [2022-06-28T22:32:27.120Z] 6ad1cebc031e: Pull complete [2022-06-28T22:32:29.654Z] 8a3aa393b2d8: Pull complete [2022-06-28T22:32:29.654Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T22:32:29.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T22:32:29.654Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:32:29.745Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:32:29.785Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-28T22:32:31.590Z] $ docker top aad96fbaddbad4afe5ecc54980ff7996b065c9d561cf7cceeb69c74eec2b8805 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T22:32:31.666Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-28T22:32:31.949Z] + set -o pipefail [2022-06-28T22:32:31.949Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-28T22:32:37.235Z] [2022-06-28T22:32:37.235Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-28T22:32:37.235Z] [2022-06-28T22:32:37.235Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c833d8ff-d8c8-4297-8a64-2f8d8249afa2 [2022-06-28T22:32:37.235Z] [2022-06-28T22:32:37.235Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T22:32:37.235Z] [2022-06-28T22:32:37.235Z] [2022-06-28T22:32:37.235Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T22:32:37.235Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T22:32:37.248Z] $ docker stop --time=1 aad96fbaddbad4afe5ecc54980ff7996b065c9d561cf7cceeb69c74eec2b8805 [2022-06-28T22:32:39.460Z] $ docker rm -f aad96fbaddbad4afe5ecc54980ff7996b065c9d561cf7cceeb69c74eec2b8805 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T22:32:40.184Z] + git log --format=format:%s -1 6991e2147bbcd4efa8e0b1f5278a4cc93c3e0175 [Pipeline] sh [2022-06-28T22:32:40.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:32:40.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:32:40.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:32:40.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:32:40.858Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:32:40.891Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:32:41.322Z] $ docker top 692476fc97573d50173f0ccd20123a9bbdc8f29d93d082ff23fba846eb42da65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:32:41.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:32:41.415Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:32:41.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:32:41.555Z] $ docker exec 692476fc97573d50173f0ccd20123a9bbdc8f29d93d082ff23fba846eb42da65 ssh-agent [2022-06-28T22:32:41.666Z] SSH_AUTH_SOCK=/tmp/ssh-R3xBX7qERUqq/agent.33 [2022-06-28T22:32:41.666Z] SSH_AGENT_PID=39 [2022-06-28T22:32:41.672Z] Running ssh-add (command line suppressed) [2022-06-28T22:32:41.786Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1954812250959349792.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1954812250959349792.key) [2022-06-28T22:32:41.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:32:42.140Z] + git semver tag [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,295 [run_tag] DEBUG tag force:False [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,296 [check_head_tag] DEBUG check head tag [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,296 [execute] INFO git cat-file --batch-check [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,300 [execute] INFO git cat-file --batch [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,308 [execute] INFO git tag -a v0.0.1-dev.17 -m v0.0.1-dev.17 [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,308 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.17', '-m', 'v0.0.1-dev.17'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-28T22:32:42.413Z] 2022-06-28 22:32:42,313 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:32:42.413Z] 0.0.1-dev.17 [Pipeline] } [2022-06-28T22:32:42.423Z] $ docker exec --env ******** --env ******** 692476fc97573d50173f0ccd20123a9bbdc8f29d93d082ff23fba846eb42da65 ssh-agent -k [2022-06-28T22:32:42.525Z] unset SSH_AUTH_SOCK; [2022-06-28T22:32:42.525Z] unset SSH_AGENT_PID; [2022-06-28T22:32:42.525Z] echo Agent pid 39 killed; [2022-06-28T22:32:42.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:32:42.843Z] + git semver [Pipeline] } [2022-06-28T22:32:43.119Z] $ docker stop --time=1 692476fc97573d50173f0ccd20123a9bbdc8f29d93d082ff23fba846eb42da65 [2022-06-28T22:32:44.459Z] $ docker rm -f 692476fc97573d50173f0ccd20123a9bbdc8f29d93d082ff23fba846eb42da65 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:32:44.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T22:32:44.852Z] [2022-06-28T22:32:44.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:32:45.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T22:32:45.153Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-28T22:32:45.153Z] ab5ef0e58194: Pulling fs layer [2022-06-28T22:32:45.153Z] 9712f1f96733: Pulling fs layer [2022-06-28T22:32:45.153Z] 63f879dbbcfc: Pulling fs layer [2022-06-28T22:32:45.153Z] 0d9ebad4ef96: Pulling fs layer [2022-06-28T22:32:45.153Z] e9a5061849ea: Pulling fs layer [2022-06-28T22:32:45.153Z] d747dcd14b5f: Pulling fs layer [2022-06-28T22:32:45.153Z] 2de7ff778b66: Pulling fs layer [2022-06-28T22:32:45.153Z] 0d9ebad4ef96: Waiting [2022-06-28T22:32:45.153Z] e9a5061849ea: Waiting [2022-06-28T22:32:45.153Z] d747dcd14b5f: Waiting [2022-06-28T22:32:45.153Z] 2de7ff778b66: Waiting [2022-06-28T22:32:45.153Z] 9712f1f96733: Verifying Checksum [2022-06-28T22:32:45.153Z] 9712f1f96733: Download complete [2022-06-28T22:32:45.733Z] 63f879dbbcfc: Verifying Checksum [2022-06-28T22:32:45.733Z] 63f879dbbcfc: Download complete [2022-06-28T22:32:45.733Z] ab5ef0e58194: Verifying Checksum [2022-06-28T22:32:45.733Z] ab5ef0e58194: Download complete [2022-06-28T22:32:45.733Z] d747dcd14b5f: Verifying Checksum [2022-06-28T22:32:45.733Z] d747dcd14b5f: Download complete [2022-06-28T22:32:45.733Z] e9a5061849ea: Verifying Checksum [2022-06-28T22:32:45.733Z] e9a5061849ea: Download complete [2022-06-28T22:32:45.733Z] 0d9ebad4ef96: Verifying Checksum [2022-06-28T22:32:45.733Z] 0d9ebad4ef96: Download complete [2022-06-28T22:32:45.992Z] 2de7ff778b66: Verifying Checksum [2022-06-28T22:32:45.992Z] 2de7ff778b66: Download complete [2022-06-28T22:32:48.523Z] ab5ef0e58194: Pull complete [2022-06-28T22:32:48.523Z] 9712f1f96733: Pull complete [2022-06-28T22:32:49.089Z] 63f879dbbcfc: Pull complete [2022-06-28T22:32:52.375Z] 0d9ebad4ef96: Pull complete [2022-06-28T22:32:52.635Z] e9a5061849ea: Pull complete [2022-06-28T22:32:52.895Z] d747dcd14b5f: Pull complete [2022-06-28T22:32:53.832Z] 2de7ff778b66: Pull complete [2022-06-28T22:32:53.832Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-28T22:32:53.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T22:32:53.832Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:32:53.932Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:32:53.963Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-28T22:32:56.108Z] $ docker top 699b6c95c124a960775eb5df9716b2b0c61cc9fc3c2ba903e56b7c68e938b040 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:32:56.193Z] provisioning config files... [2022-06-28T22:32:56.202Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config851867263913131973tmp [2022-06-28T22:32:56.213Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3497503934185634350tmp [2022-06-28T22:32:56.224Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6190613366184755606tmp [Pipeline] { [Pipeline] echo [2022-06-28T22:32:56.240Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:32:56.523Z] ---> sigul-configuration.sh [2022-06-28T22:32:56.523Z] gpg: directory `/root/.gnupg' created [2022-06-28T22:32:56.523Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-28T22:32:56.523Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-28T22:32:56.523Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-28T22:32:56.523Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-28T22:32:56.523Z] gpg: CAST5 encrypted data [2022-06-28T22:32:56.523Z] gpg: encrypted with 1 passphrase [2022-06-28T22:32:56.523Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-28T22:32:56.807Z] + mkdir /home/jenkins [2022-06-28T22:32:56.807Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-28T22:32:57.096Z] + 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 [2022-06-28T22:32:57.106Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:32:57.395Z] ---> sigul-install.sh [2022-06-28T22:32:57.395Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-28T22:32:57.686Z] + git tag --list [2022-06-28T22:32:57.686Z] v0.0.0 [2022-06-28T22:32:57.686Z] v0.0.1-dev.1 [2022-06-28T22:32:57.686Z] v0.0.1-dev.10 [2022-06-28T22:32:57.686Z] v0.0.1-dev.11 [2022-06-28T22:32:57.686Z] v0.0.1-dev.12 [2022-06-28T22:32:57.686Z] v0.0.1-dev.13 [2022-06-28T22:32:57.686Z] v0.0.1-dev.14 [2022-06-28T22:32:57.686Z] v0.0.1-dev.15 [2022-06-28T22:32:57.686Z] v0.0.1-dev.16 [2022-06-28T22:32:57.686Z] v0.0.1-dev.17 [2022-06-28T22:32:57.686Z] v0.0.1-dev.2 [2022-06-28T22:32:57.686Z] v0.0.1-dev.3 [2022-06-28T22:32:57.686Z] v0.0.1-dev.4 [2022-06-28T22:32:57.686Z] v0.0.1-dev.5 [2022-06-28T22:32:57.686Z] v0.0.1-dev.6 [2022-06-28T22:32:57.686Z] v0.0.1-dev.7 [2022-06-28T22:32:57.686Z] v0.0.1-dev.8 [2022-06-28T22:32:57.686Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-28T22:32:57.979Z] + lftools sign git-tag v0.0.1-dev.17 [2022-06-28T22:32:58.550Z] Signing Git tag with Sigul... [2022-06-28T22:32:58.550Z] Signing v0.0.1-dev.17 [Pipeline] echo [2022-06-28T22:32:59.132Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:32:59.418Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-28T22:32:59.426Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-28T22:32:59.450Z] $ docker stop --time=1 699b6c95c124a960775eb5df9716b2b0c61cc9fc3c2ba903e56b7c68e938b040 [2022-06-28T22:33:00.738Z] $ docker rm -f 699b6c95c124a960775eb5df9716b2b0c61cc9fc3c2ba903e56b7c68e938b040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-28T22:33:01.170Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:33:01.170Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:33:01.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:33:01.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:33:01.547Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:33:01.581Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:33:01.983Z] $ docker top 1c9ef661c0fbd7aa1f5171b6637d138aba63dcb8e0bfd483a8852f591f5c37fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:33:02.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:33:02.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:33:02.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:33:02.208Z] $ docker exec 1c9ef661c0fbd7aa1f5171b6637d138aba63dcb8e0bfd483a8852f591f5c37fc ssh-agent [2022-06-28T22:33:02.345Z] SSH_AUTH_SOCK=/tmp/ssh-8K5aythGp0if/agent.32 [2022-06-28T22:33:02.345Z] SSH_AGENT_PID=38 [2022-06-28T22:33:02.351Z] Running ssh-add (command line suppressed) [2022-06-28T22:33:02.463Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7607959443543759605.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7607959443543759605.key) [2022-06-28T22:33:02.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:33:02.762Z] + git semver bump pre [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [bump_version] DEBUG bumping version:0.0.1-dev.17 on axis:pre with prefix:dev [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [bump_version] DEBUG bumped version:0.0.1-dev.18 [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [write_version] DEBUG write version:0.0.1-dev.18 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,936 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,938 [execute] INFO git cat-file --batch-check [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,942 [execute] INFO git cat-file --batch [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:33:03.022Z] 2022-06-28 22:33:02,947 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:33:03.022Z] 0.0.1-dev.18 [Pipeline] } [2022-06-28T22:33:03.034Z] $ docker exec --env ******** --env ******** 1c9ef661c0fbd7aa1f5171b6637d138aba63dcb8e0bfd483a8852f591f5c37fc ssh-agent -k [2022-06-28T22:33:03.144Z] unset SSH_AUTH_SOCK; [2022-06-28T22:33:03.144Z] unset SSH_AGENT_PID; [2022-06-28T22:33:03.144Z] echo Agent pid 38 killed; [2022-06-28T22:33:03.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:33:03.458Z] + git semver [Pipeline] } [2022-06-28T22:33:03.731Z] $ docker stop --time=1 1c9ef661c0fbd7aa1f5171b6637d138aba63dcb8e0bfd483a8852f591f5c37fc [2022-06-28T22:33:05.005Z] $ docker rm -f 1c9ef661c0fbd7aa1f5171b6637d138aba63dcb8e0bfd483a8852f591f5c37fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T22:33:05.356Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T22:33:05.356Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:33:05.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T22:33:05.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:33:05.744Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:33:05.778Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T22:33:06.112Z] $ docker top 95130c6c3335059adbb50e0ffb0e7d4307f5829ce0922ec0efe304c8c7ac6981 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T22:33:06.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T22:33:06.221Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T22:33:06.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T22:33:06.348Z] $ docker exec 95130c6c3335059adbb50e0ffb0e7d4307f5829ce0922ec0efe304c8c7ac6981 ssh-agent [2022-06-28T22:33:06.476Z] SSH_AUTH_SOCK=/tmp/ssh-qCQ2bv4amMHy/agent.35 [2022-06-28T22:33:06.476Z] SSH_AGENT_PID=41 [2022-06-28T22:33:06.482Z] Running ssh-add (command line suppressed) [2022-06-28T22:33:06.600Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7371378000106553672.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7371378000106553672.key) [2022-06-28T22:33:06.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T22:33:06.899Z] + git semver push [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,093 [run_push] DEBUG push [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,094 [execute] INFO git cat-file --batch-check [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,098 [execute] INFO git rev-list 95cb2a3437caeca675374ad42c1393f29512ea9e -- [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,099 [execute] DEBUG Popen(['git', 'rev-list', '95cb2a3437caeca675374ad42c1393f29512ea9e', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,104 [execute] INFO git fetch -v origin [2022-06-28T22:33:07.159Z] 2022-06-28 22:33:07,104 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-28T22:33:07.729Z] 2022-06-28 22:33:07,588 [run_push] DEBUG no remote changes detected [2022-06-28T22:33:07.729Z] 2022-06-28 22:33:07,588 [execute] INFO git push origin semver [2022-06-28T22:33:07.729Z] 2022-06-28 22:33:07,589 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T22:33:08.301Z] 2022-06-28 22:33:08,261 [run_push] DEBUG push all version tags [2022-06-28T22:33:08.301Z] 2022-06-28 22:33:08,262 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-28T22:33:08.301Z] 2022-06-28 22:33:08,262 [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) [2022-06-28T22:33:09.341Z] 2022-06-28 22:33:09,096 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T22:33:09.341Z] 0.0.1-dev.18 [Pipeline] } [2022-06-28T22:33:09.352Z] $ docker exec --env ******** --env ******** 95130c6c3335059adbb50e0ffb0e7d4307f5829ce0922ec0efe304c8c7ac6981 ssh-agent -k [2022-06-28T22:33:09.460Z] unset SSH_AUTH_SOCK; [2022-06-28T22:33:09.460Z] unset SSH_AGENT_PID; [2022-06-28T22:33:09.460Z] echo Agent pid 41 killed; [2022-06-28T22:33:09.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T22:33:09.784Z] + git semver [Pipeline] } [2022-06-28T22:33:10.060Z] $ docker stop --time=1 95130c6c3335059adbb50e0ffb0e7d4307f5829ce0922ec0efe304c8c7ac6981 [2022-06-28T22:33:11.356Z] $ docker rm -f 95130c6c3335059adbb50e0ffb0e7d4307f5829ce0922ec0efe304c8c7ac6981 [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 [2022-06-28T22:33:11.919Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-28T22:33:11.919Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T22:33:11.919Z] total 16 [2022-06-28T22:33:11.919Z] drwxr-xr-x 3 root root 4096 Jun 28 22:24 . [2022-06-28T22:33:11.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:32 .. [2022-06-28T22:33:11.919Z] drwxr-xr-x 2 root root 4096 Jun 28 22:24 cost [2022-06-28T22:33:11.919Z] -rw-r--r-- 1 root root 89 Jun 28 22:24 cost.csv [2022-06-28T22:33:11.919Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T22:33:11.919Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T22:33:11.919Z] total 16 [2022-06-28T22:33:11.919Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 22:24 . [2022-06-28T22:33:11.919Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 22:32 .. [2022-06-28T22:33:11.919Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 22:24 cost [2022-06-28T22:33:11.919Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 28 22:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:12.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:13.078Z] ---> package-listing.sh [2022-06-28T22:33:13.079Z] ++ facter osfamily [2022-06-28T22:33:13.079Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T22:33:13.339Z] + OS_FAMILY=debian [2022-06-28T22:33:13.339Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-28T22:33:13.339Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T22:33:13.339Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T22:33:13.339Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T22:33:13.339Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T22:33:13.339Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T22:33:13.339Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T22:33:13.339Z] + case "${OS_FAMILY}" in [2022-06-28T22:33:13.339Z] + dpkg -l [2022-06-28T22:33:13.339Z] + grep '^ii' [2022-06-28T22:33:13.339Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T22:33:13.339Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T22:33:13.339Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T22:33:13.339Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T22:33:13.339Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-28T22:33:13.339Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-06-28T22:33:13.350Z] 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 [2022-06-28T22:33:13.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T22:33:14.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T22:33:14.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T22:33:14.272Z] prd-ubuntu20.04-docker-8c-8g-16276 does not seem to be running inside a container [2022-06-28T22:33:14.308Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T22:33:14.557Z] $ docker top 9172c1a775a87a69f30039ee6558f648a9a35c73a4cc2ff7f34b0bb5a0246bd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T22:33:14.912Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T22:33:15.202Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T22:33:15.490Z] + ls /var/log/sa-host [2022-06-28T22:33:15.490Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T22:33:15.617Z] provisioning config files... [2022-06-28T22:33:15.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7295907334997187470tmp [Pipeline] { [Pipeline] echo [2022-06-28T22:33:15.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:15.928Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T22:33:15.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:16.270Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T22:33:16.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:16.564Z] ---> sudo-logs.sh [2022-06-28T22:33:16.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T22:33:16.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:16.870Z] ---> job-cost.sh [2022-06-28T22:33:16.870Z] lf-activate-venv: SKIPPING [2022-06-28T22:33:16.870Z] DEBUG: total: 0.2199999988079071 [2022-06-28T22:33:16.870Z] INFO: Retrieving Stack Cost... [2022-06-28T22:33:17.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T22:33:18.010Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T22:33:18.020Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T22:33:18.304Z] ---> logs-deploy.sh [2022-06-28T22:33:18.304Z] lf-activate-venv: SKIPPING [2022-06-28T22:33:18.304Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/19 [2022-06-28T22:33:18.304Z] INFO: archiving workspace using pattern(s): [2022-06-28T22:33:19.247Z] Archives upload complete. [2022-06-28T22:33:19.247Z] INFO: archiving logs to Nexus