Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 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-ssh17827710360022902393.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-ssh2148679952974619505.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-ssh3149484619385635239.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-ssh879577933745437896.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-ssh7086900110431550998.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16227 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Avoid second fetch Checking out Revision b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 (main) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 Commit message: "Merge pull request #91 from ajcasagrande/async-checkstatus" > git rev-list --no-walk 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T14:00:41.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T14:00:41.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T14:00:41.287Z] ========================================================= [2022-06-28T14:00:41.287Z] EdgeX Global Pipelines Version Info [2022-06-28T14:00:41.287Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:00:42.061Z] ------------------- [2022-06-28T14:00:42.061Z] stable info: [2022-06-28T14:00:42.061Z] ------------------- [2022-06-28T14:00:42.061Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T14:00:42.061Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T14:00:42.061Z] Message: update stable to v1.0.234 [2022-06-28T14:00:42.640Z] ------------------- [2022-06-28T14:00:42.640Z] experimental info: [2022-06-28T14:00:42.640Z] ------------------- [2022-06-28T14:00:42.640Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T14:00:42.640Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T14:00:42.640Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T14:00:42.883Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T14:00:42.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T14:00:42.900Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T14:00:42.908Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T14:00:42.916Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T14:00:42.925Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T14:00:42.933Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T14:00:42.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T14:00:42.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T14:00:42.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T14:00:42.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T14:00:42.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T14:00:42.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T14:00:43.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T14:00:43.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T14:00:43.031Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T14:00:43.044Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T14:00:43.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T14:00:43.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T14:00:43.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T14:00:43.096Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T14:00:43.110Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T14:00:43.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T14:00:43.139Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T14:00:43.149Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T14:00:43.161Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T14:00:43.176Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T14:00:43.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-28T14:00:43.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-28T14:00:43.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-28T14:00:43.228Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] echo [2022-06-28T14:00:43.238Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5c5b90 [Pipeline] echo [2022-06-28T14:00:43.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T14:00:43.296Z] provisioning config files... [2022-06-28T14:00:43.308Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config243030964986972396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:00:43.614Z] ---> docker-login.sh [2022-06-28T14:00:43.614Z] nexus3.edgexfoundry.org:10001 [2022-06-28T14:00:43.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:44.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:44.138Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:44.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:44.138Z] [2022-06-28T14:00:44.138Z] Login Succeeded [2022-06-28T14:00:44.138Z] nexus3.edgexfoundry.org:10002 [2022-06-28T14:00:44.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:44.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:44.138Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:44.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:44.139Z] [2022-06-28T14:00:44.139Z] Login Succeeded [2022-06-28T14:00:44.403Z] nexus3.edgexfoundry.org:10003 [2022-06-28T14:00:44.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:44.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:44.403Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:44.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:44.403Z] [2022-06-28T14:00:44.403Z] Login Succeeded [2022-06-28T14:00:44.403Z] nexus3.edgexfoundry.org:10004 [2022-06-28T14:00:44.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:44.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:44.665Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:44.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:44.665Z] [2022-06-28T14:00:44.665Z] Login Succeeded [2022-06-28T14:00:44.665Z] docker.io [2022-06-28T14:00:44.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:44.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:44.927Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:44.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:44.927Z] [2022-06-28T14:00:44.927Z] Login Succeeded [2022-06-28T14:00:44.927Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T14:00:44.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T14:00:45.335Z] + git rev-list -1 --merges b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2~1..b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] echo [2022-06-28T14:00:45.364Z] -----------> git rev-list -1 --merges b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2~1..b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:00:45.364Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [false] [Pipeline] sh [2022-06-28T14:00:45.662Z] + git log --format=format:%s -1 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] echo [2022-06-28T14:00:45.679Z] ========================================================= [2022-06-28T14:00:45.679Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T14:00:45.679Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T14:00:46.030Z] + git log --format=format:%s -1 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] echo [2022-06-28T14:00:46.042Z] [semverPrep] GIT_COMMIT: b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2, Commit Message: Merge pull request #91 from ajcasagrande/async-checkstatus [Pipeline] echo [2022-06-28T14:00:46.050Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T14:00:46.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T14:00:46.426Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T14:00:46.426Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T14:00:46.426Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T14:00:46.426Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T14:00:46.426Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T14:00:46.426Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:00:46.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:00:46.853Z] [2022-06-28T14:00:46.853Z] 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-28T14:00:47.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:00:47.166Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T14:00:47.166Z] 42c077c10790: Pulling fs layer [2022-06-28T14:00:47.166Z] f63e77b7563a: Pulling fs layer [2022-06-28T14:00:47.166Z] bd5fdadae976: Pulling fs layer [2022-06-28T14:00:47.166Z] 205491f53016: Pulling fs layer [2022-06-28T14:00:47.166Z] df18705c85c3: Pulling fs layer [2022-06-28T14:00:47.166Z] bdb3f477010e: Pulling fs layer [2022-06-28T14:00:47.166Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T14:00:47.166Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T14:00:47.166Z] bdb8f0575790: Pulling fs layer [2022-06-28T14:00:47.166Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T14:00:47.166Z] 2343380bae48: Pulling fs layer [2022-06-28T14:00:47.166Z] 205491f53016: Waiting [2022-06-28T14:00:47.166Z] df18705c85c3: Waiting [2022-06-28T14:00:47.166Z] bdb3f477010e: Waiting [2022-06-28T14:00:47.166Z] 386e3cb2ff24: Waiting [2022-06-28T14:00:47.166Z] 2343380bae48: Waiting [2022-06-28T14:00:47.166Z] c8a8fc8e1c8f: Waiting [2022-06-28T14:00:47.166Z] 2c6e9b1d212d: Waiting [2022-06-28T14:00:47.166Z] bdb8f0575790: Waiting [2022-06-28T14:00:47.166Z] f63e77b7563a: Download complete [2022-06-28T14:00:47.166Z] 205491f53016: Verifying Checksum [2022-06-28T14:00:47.166Z] 205491f53016: Download complete [2022-06-28T14:00:47.429Z] df18705c85c3: Verifying Checksum [2022-06-28T14:00:47.429Z] df18705c85c3: Download complete [2022-06-28T14:00:47.429Z] bdb3f477010e: Verifying Checksum [2022-06-28T14:00:47.429Z] bd5fdadae976: Verifying Checksum [2022-06-28T14:00:47.429Z] bd5fdadae976: Download complete [2022-06-28T14:00:47.429Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T14:00:47.429Z] 2c6e9b1d212d: Download complete [2022-06-28T14:00:47.429Z] bdb8f0575790: Verifying Checksum [2022-06-28T14:00:47.429Z] bdb8f0575790: Download complete [2022-06-28T14:00:47.429Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T14:00:47.429Z] 386e3cb2ff24: Download complete [2022-06-28T14:00:47.429Z] 2343380bae48: Verifying Checksum [2022-06-28T14:00:47.429Z] 2343380bae48: Download complete [2022-06-28T14:00:47.429Z] 42c077c10790: Verifying Checksum [2022-06-28T14:00:47.429Z] 42c077c10790: Download complete [2022-06-28T14:00:47.692Z] c8a8fc8e1c8f: Download complete [2022-06-28T14:00:48.632Z] 42c077c10790: Pull complete [2022-06-28T14:00:48.893Z] f63e77b7563a: Pull complete [2022-06-28T14:00:49.463Z] bd5fdadae976: Pull complete [2022-06-28T14:00:49.463Z] 205491f53016: Pull complete [2022-06-28T14:00:49.723Z] df18705c85c3: Pull complete [2022-06-28T14:00:49.723Z] bdb3f477010e: Pull complete [2022-06-28T14:00:51.630Z] c8a8fc8e1c8f: Pull complete [2022-06-28T14:00:51.630Z] 2c6e9b1d212d: Pull complete [2022-06-28T14:00:51.630Z] bdb8f0575790: Pull complete [2022-06-28T14:00:51.630Z] 386e3cb2ff24: Pull complete [2022-06-28T14:00:51.891Z] 2343380bae48: Pull complete [2022-06-28T14:00:51.891Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T14:00:51.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:00:51.891Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:00:51.986Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:00:52.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T14:00:53.645Z] $ docker top c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf -eo pid,comm [2022-06-28T14:00:53.706Z] 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-28T14:00:53.706Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T14:00:53.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T14:00:53.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T14:00:53.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T14:00:53.865Z] $ docker exec c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf ssh-agent [2022-06-28T14:00:53.976Z] SSH_AUTH_SOCK=/tmp/ssh-lUGYxO9JpjRU/agent.32 [2022-06-28T14:00:53.976Z] SSH_AGENT_PID=39 [2022-06-28T14:00:53.982Z] Running ssh-add (command line suppressed) [2022-06-28T14:00:54.093Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5084906072476820738.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5084906072476820738.key) [2022-06-28T14:00:54.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T14:00:54.396Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T14:00:54.420Z] $ docker exec --env ******** --env ******** c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf ssh-agent -k [2022-06-28T14:00:54.526Z] unset SSH_AUTH_SOCK; [2022-06-28T14:00:54.527Z] unset SSH_AGENT_PID; [2022-06-28T14:00:54.527Z] echo Agent pid 39 killed; [2022-06-28T14:00:54.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T14:00:54.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T14:00:54.562Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T14:00:54.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T14:00:54.707Z] $ docker exec c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf ssh-agent [2022-06-28T14:00:54.817Z] SSH_AUTH_SOCK=/tmp/ssh-TZ4OWJo6HF7F/agent.71 [2022-06-28T14:00:54.817Z] SSH_AGENT_PID=77 [2022-06-28T14:00:54.823Z] Running ssh-add (command line suppressed) [2022-06-28T14:00:54.945Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2606366960273147323.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2606366960273147323.key) [2022-06-28T14:00:54.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T14:00:55.248Z] + git semver init [2022-06-28T14:00:55.508Z] 2022-06-28 14:00:55,447 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T14:00:55.508Z] 2022-06-28 14:00:55,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T14:00:55.508Z] 2022-06-28 14:00:55,448 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-28T14:00:55.508Z] 2022-06-28 14:00:55,448 [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-28T14:00:56.452Z] 2022-06-28 14:00:56,138 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-28T14:00:56.452Z] 2022-06-28 14:00:56,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-28T14:00:56.452Z] 2022-06-28 14:00:56,138 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:00:56.452Z] 2022-06-28 14:00:56,139 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:00:56.452Z] 0.0.1-dev.15 [Pipeline] } [2022-06-28T14:00:56.467Z] $ docker exec --env ******** --env ******** c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf ssh-agent -k [2022-06-28T14:00:56.572Z] unset SSH_AUTH_SOCK; [2022-06-28T14:00:56.573Z] unset SSH_AGENT_PID; [2022-06-28T14:00:56.573Z] echo Agent pid 77 killed; [2022-06-28T14:00:56.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T14:00:56.885Z] + git semver [Pipeline] } [2022-06-28T14:00:57.164Z] $ docker stop --time=1 c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf [2022-06-28T14:00:58.509Z] $ docker rm -f c5525b2711a364deaa596159801400d079da41970f01ab9fe99bc0637fa90edf [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T14:00:58.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T14:00:59.096Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T14:00:59.098Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.15 [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-28T14:00:59.236Z] provisioning config files... [2022-06-28T14:00:59.245Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2142371318057064172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:00:59.539Z] ---> docker-login.sh [2022-06-28T14:00:59.539Z] nexus3.edgexfoundry.org:10001 [2022-06-28T14:00:59.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:59.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:59.539Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:59.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:59.539Z] [2022-06-28T14:00:59.539Z] Login Succeeded [2022-06-28T14:00:59.539Z] nexus3.edgexfoundry.org:10002 [2022-06-28T14:00:59.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:59.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:59.539Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:59.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:59.539Z] [2022-06-28T14:00:59.539Z] Login Succeeded [2022-06-28T14:00:59.539Z] nexus3.edgexfoundry.org:10003 [2022-06-28T14:00:59.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:59.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:59.803Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:59.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:59.803Z] [2022-06-28T14:00:59.803Z] Login Succeeded [2022-06-28T14:00:59.803Z] nexus3.edgexfoundry.org:10004 [2022-06-28T14:00:59.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:00:59.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:00:59.803Z] Configure a credential helper to remove this warning. See [2022-06-28T14:00:59.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:00:59.803Z] [2022-06-28T14:00:59.803Z] Login Succeeded [2022-06-28T14:00:59.803Z] docker.io [2022-06-28T14:01:00.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:01:00.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:01:00.634Z] Configure a credential helper to remove this warning. See [2022-06-28T14:01:00.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:01:00.634Z] [2022-06-28T14:01:00.634Z] Login Succeeded [2022-06-28T14:01:00.634Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T14:01:00.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T14:01:00.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:01:00.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:01:00.732Z] ========================================================= [2022-06-28T14:01:00.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T14:01:00.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:01:01.054Z] + 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-28T14:01:01.054Z] Sending build context to Docker daemon 8.756MB [2022-06-28T14:01:01.054Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T14:01:01.054Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T14:01:01.054Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T14:01:01.054Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T14:01:01.054Z] 666ba61612fd: Pulling fs layer [2022-06-28T14:01:01.054Z] 8ed8ca486205: Pulling fs layer [2022-06-28T14:01:01.054Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T14:01:01.054Z] c516ae0d96e1: Pulling fs layer [2022-06-28T14:01:01.054Z] 684cea983483: Pulling fs layer [2022-06-28T14:01:01.054Z] dd3240ac7de5: Pulling fs layer [2022-06-28T14:01:01.054Z] b1e948a4e11c: Pulling fs layer [2022-06-28T14:01:01.054Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T14:01:01.054Z] 646ad004c059: Pulling fs layer [2022-06-28T14:01:01.054Z] dd3240ac7de5: Waiting [2022-06-28T14:01:01.054Z] b1e948a4e11c: Waiting [2022-06-28T14:01:01.054Z] 684cea983483: Waiting [2022-06-28T14:01:01.054Z] c516ae0d96e1: Waiting [2022-06-28T14:01:01.054Z] 646ad004c059: Waiting [2022-06-28T14:01:01.054Z] cc1cd167ecdc: Waiting [2022-06-28T14:01:01.054Z] a8fd76ee1af6: Waiting [2022-06-28T14:01:01.054Z] 8ed8ca486205: Verifying Checksum [2022-06-28T14:01:01.054Z] 8ed8ca486205: Download complete [2022-06-28T14:01:01.054Z] 666ba61612fd: Download complete [2022-06-28T14:01:01.313Z] c516ae0d96e1: Download complete [2022-06-28T14:01:01.313Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T14:01:01.313Z] 59bf1c3509f3: Download complete [2022-06-28T14:01:01.313Z] 684cea983483: Verifying Checksum [2022-06-28T14:01:01.313Z] 684cea983483: Download complete [2022-06-28T14:01:01.313Z] dd3240ac7de5: Download complete [2022-06-28T14:01:01.313Z] b1e948a4e11c: Verifying Checksum [2022-06-28T14:01:01.313Z] b1e948a4e11c: Download complete [2022-06-28T14:01:01.313Z] 59bf1c3509f3: Pull complete [2022-06-28T14:01:01.576Z] 666ba61612fd: Pull complete [2022-06-28T14:01:01.576Z] 8ed8ca486205: Pull complete [2022-06-28T14:01:01.576Z] 646ad004c059: Verifying Checksum [2022-06-28T14:01:01.576Z] 646ad004c059: Download complete [2022-06-28T14:01:01.837Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T14:01:01.837Z] a8fd76ee1af6: Download complete [2022-06-28T14:01:01.837Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T14:01:01.837Z] cc1cd167ecdc: Download complete [2022-06-28T14:01:06.039Z] cc1cd167ecdc: Pull complete [2022-06-28T14:01:06.039Z] c516ae0d96e1: Pull complete [2022-06-28T14:01:06.039Z] 684cea983483: Pull complete [2022-06-28T14:01:06.039Z] dd3240ac7de5: Pull complete [2022-06-28T14:01:06.039Z] b1e948a4e11c: Pull complete [2022-06-28T14:01:07.942Z] a8fd76ee1af6: Pull complete [2022-06-28T14:01:08.512Z] 646ad004c059: Pull complete [2022-06-28T14:01:08.512Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T14:01:08.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T14:01:08.512Z] ---> 8f69c11f6b0c [2022-06-28T14:01:08.512Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T14:01:10.428Z] ---> Running in 074f1a1b0a17 [2022-06-28T14:01:10.428Z] Removing intermediate container 074f1a1b0a17 [2022-06-28T14:01:10.428Z] ---> 4da5a1b5238f [2022-06-28T14:01:10.428Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T14:01:10.689Z] ---> Running in 3573615579ec [2022-06-28T14:01:10.689Z] Removing intermediate container 3573615579ec [2022-06-28T14:01:10.689Z] ---> 903ee6e98e8a [2022-06-28T14:01:10.689Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T14:01:10.689Z] ---> Running in dc7eb2b38b4d [2022-06-28T14:01:10.949Z] Removing intermediate container dc7eb2b38b4d [2022-06-28T14:01:10.949Z] ---> 90779851a7dc [2022-06-28T14:01:10.949Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T14:01:10.949Z] ---> Running in db12cc8d216d [2022-06-28T14:01:10.949Z] Removing intermediate container db12cc8d216d [2022-06-28T14:01:10.949Z] ---> 651c7db491c0 [2022-06-28T14:01:10.949Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T14:01:10.949Z] ---> Running in 6708a9d7c34d [2022-06-28T14:01:11.520Z] Removing intermediate container 6708a9d7c34d [2022-06-28T14:01:11.520Z] ---> c574f07a0d2e [2022-06-28T14:01:11.520Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T14:01:11.781Z] ---> Running in 4fe3bcea8504 [2022-06-28T14:01:12.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T14:01:12.981Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T14:01:13.241Z] OK: 221 MiB in 52 packages [2022-06-28T14:01:13.500Z] Removing intermediate container 4fe3bcea8504 [2022-06-28T14:01:13.500Z] ---> 196026a082b7 [2022-06-28T14:01:13.500Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T14:01:13.500Z] ---> Running in f0bfc85c0dcc [2022-06-28T14:01:13.500Z] Removing intermediate container f0bfc85c0dcc [2022-06-28T14:01:13.500Z] ---> 04d867fc26b6 [2022-06-28T14:01:13.500Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T14:01:13.761Z] ---> bae489f763ab [2022-06-28T14:01:13.761Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T14:01:13.761Z] ---> Running in 40c62e20300d [2022-06-28T14:01:14.193Z] Still waiting to schedule task [2022-06-28T14:01:14.193Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T14:01:28.677Z] Removing intermediate container 40c62e20300d [2022-06-28T14:01:28.677Z] ---> 8abe96fe7b8c [2022-06-28T14:01:28.677Z] Step 12/13 : COPY . . [2022-06-28T14:01:28.677Z] ---> 3ac6185caab1 [2022-06-28T14:01:28.677Z] Step 13/13 : RUN ${MAKE} [2022-06-28T14:01:28.677Z] ---> Running in 1f98c6bfec07 [2022-06-28T14:01:28.939Z] noop [2022-06-28T14:01:29.200Z] Removing intermediate container 1f98c6bfec07 [2022-06-28T14:01:29.200Z] ---> 3542417d1e6f [2022-06-28T14:01:29.200Z] Successfully built 3542417d1e6f [2022-06-28T14:01:29.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:01:29.784Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T14:01:29.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:01:29.869Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:01:29.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T14:01:30.299Z] $ docker top e3b6deba7cf0ed79e91f969a6b01801db379e0723441005d00aae7fcf4739300 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T14:01:30.659Z] + go version [2022-06-28T14:01:30.659Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T14:01:30.675Z] $ docker stop --time=1 e3b6deba7cf0ed79e91f969a6b01801db379e0723441005d00aae7fcf4739300 [2022-06-28T14:01:32.039Z] $ docker rm -f e3b6deba7cf0ed79e91f969a6b01801db379e0723441005d00aae7fcf4739300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:01:32.455Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T14:01:32.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:01:32.538Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:01:32.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T14:01:32.988Z] $ docker top f5aa11c4aec006b50b8406feaf594810fda456e9905e4dbe9f2886af33c96fec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T14:01:33.400Z] + make test [2022-06-28T14:01:33.400Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T14:01:33.658Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T14:01:43.644Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T14:01:43.644Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.2% of statements [2022-06-28T14:01:46.953Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.844s coverage: 13.8% of statements [2022-06-28T14:01:53.526Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T14:01:56.816Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T14:01:56.816Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T14:01:56.816Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T14:01:57.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T14:01:57.416Z] $ docker stop --time=1 f5aa11c4aec006b50b8406feaf594810fda456e9905e4dbe9f2886af33c96fec [2022-06-28T14:01:59.265Z] $ docker rm -f f5aa11c4aec006b50b8406feaf594810fda456e9905e4dbe9f2886af33c96fec [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T14:01:59.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T14:01:59.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T14:02:00.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T14:02:00.627Z] + ls -al . [2022-06-28T14:02:00.627Z] total 236 [2022-06-28T14:02:00.627Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 14:01 . [2022-06-28T14:02:00.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:00 .. [2022-06-28T14:02:00.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 14:00 .git [2022-06-28T14:02:00.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 14:00 .github [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 14:00 .gitignore [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 14:00 .golangci.yml [2022-06-28T14:02:00.627Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 14:00 .semver [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 14:00 Attribution.txt [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 14:00 CHANGELOG.md [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 14:00 Dockerfile [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 14:00 GOVERNANCE.md [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 14:00 Jenkinsfile [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 14:00 LICENSE [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 14:00 Makefile [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 14:00 OWNERS.md [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 28 14:00 README.md [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 14:00 VERSION [2022-06-28T14:02:00.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 14:00 bin [2022-06-28T14:02:00.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 14:00 cmd [2022-06-28T14:02:00.627Z] -rw-r--r-- 1 jenkins jenkins 59668 Jun 28 14:01 coverage.out [2022-06-28T14:02:00.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:00 doc [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 14:00 go.mod [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 14:00 go.sum [2022-06-28T14:02:00.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:00 internal [2022-06-28T14:02:00.627Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:00.940Z] + 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=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 --label arch=amd64 --label version=0.0.1-dev.15 . [2022-06-28T14:02:00.940Z] Sending build context to Docker daemon 8.816MB [2022-06-28T14:02:00.940Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T14:02:00.940Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T14:02:00.940Z] ---> 3542417d1e6f [2022-06-28T14:02:00.940Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T14:02:01.200Z] ---> Running in 97763994182f [2022-06-28T14:02:01.200Z] Removing intermediate container 97763994182f [2022-06-28T14:02:01.200Z] ---> 9dcc5606e1fd [2022-06-28T14:02:01.200Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T14:02:01.200Z] ---> Running in 6e1f923de810 [2022-06-28T14:02:01.200Z] Removing intermediate container 6e1f923de810 [2022-06-28T14:02:01.200Z] ---> 279fb9571b3d [2022-06-28T14:02:01.200Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T14:02:01.200Z] ---> Running in ae68c299d8d4 [2022-06-28T14:02:01.461Z] Removing intermediate container ae68c299d8d4 [2022-06-28T14:02:01.461Z] ---> 1ed243d11c60 [2022-06-28T14:02:01.461Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T14:02:01.461Z] ---> Running in 1da18085ca6a [2022-06-28T14:02:01.461Z] Removing intermediate container 1da18085ca6a [2022-06-28T14:02:01.461Z] ---> 5ef2dca87429 [2022-06-28T14:02:01.461Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T14:02:01.461Z] ---> Running in 5061a5982f0a [2022-06-28T14:02:02.036Z] Removing intermediate container 5061a5982f0a [2022-06-28T14:02:02.036Z] ---> 50ac26038a24 [2022-06-28T14:02:02.036Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T14:02:02.297Z] ---> Running in 4d8c247a4c0e [2022-06-28T14:02:02.561Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T14:02:03.500Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T14:02:03.762Z] OK: 221 MiB in 52 packages [2022-06-28T14:02:04.025Z] Removing intermediate container 4d8c247a4c0e [2022-06-28T14:02:04.025Z] ---> 6ddbceb64233 [2022-06-28T14:02:04.025Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T14:02:04.025Z] ---> Running in 145e8b2d4ff7 [2022-06-28T14:02:04.025Z] Removing intermediate container 145e8b2d4ff7 [2022-06-28T14:02:04.025Z] ---> 3ebfbbc4c294 [2022-06-28T14:02:04.025Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T14:02:04.295Z] ---> 9905b6f3b26c [2022-06-28T14:02:04.295Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T14:02:04.295Z] ---> Running in ee9ffc3dfd37 [2022-06-28T14:02:04.869Z] Removing intermediate container ee9ffc3dfd37 [2022-06-28T14:02:04.869Z] ---> 637a14f6b2b5 [2022-06-28T14:02:04.869Z] Step 12/26 : COPY . . [2022-06-28T14:02:05.443Z] ---> c84168174280 [2022-06-28T14:02:05.443Z] Step 13/26 : RUN ${MAKE} [2022-06-28T14:02:05.443Z] ---> Running in a854b460128e [2022-06-28T14:02:05.703Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.15 -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-28T14:02:27.662Z] Removing intermediate container a854b460128e [2022-06-28T14:02:27.662Z] ---> 0032071b8110 [2022-06-28T14:02:27.662Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T14:02:27.662Z] 3.15: Pulling from library/alpine [2022-06-28T14:02:27.662Z] df9b9388f04a: Pulling fs layer [2022-06-28T14:02:27.662Z] df9b9388f04a: Verifying Checksum [2022-06-28T14:02:27.662Z] df9b9388f04a: Download complete [2022-06-28T14:02:27.662Z] df9b9388f04a: Pull complete [2022-06-28T14:02:27.662Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T14:02:27.662Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T14:02:27.662Z] ---> 0ac33e5f5afa [2022-06-28T14:02:27.662Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T14:02:27.662Z] ---> Running in 6e73390b5a0f [2022-06-28T14:02:27.662Z] Removing intermediate container 6e73390b5a0f [2022-06-28T14:02:27.662Z] ---> 88f92db2553d [2022-06-28T14:02:27.662Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T14:02:27.662Z] ---> Running in 295e05ecb3cc [2022-06-28T14:02:27.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T14:02:27.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T14:02:27.663Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T14:02:27.663Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T14:02:27.663Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T14:02:27.663Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T14:02:27.663Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T14:02:27.663Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T14:02:27.663Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T14:02:27.663Z] OK: 8 MiB in 20 packages [2022-06-28T14:02:27.663Z] Removing intermediate container 295e05ecb3cc [2022-06-28T14:02:27.663Z] ---> fb6a6794aa33 [2022-06-28T14:02:27.663Z] Step 17/26 : WORKDIR / [2022-06-28T14:02:27.663Z] ---> Running in d0469ace3bde [2022-06-28T14:02:27.924Z] Removing intermediate container d0469ace3bde [2022-06-28T14:02:27.924Z] ---> 4f6a914138b7 [2022-06-28T14:02:27.924Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T14:02:28.495Z] ---> 24551f68b920 [2022-06-28T14:02:28.495Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T14:02:28.495Z] ---> c4ba078161c6 [2022-06-28T14:02:28.495Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T14:02:28.756Z] ---> 75eaf4841883 [2022-06-28T14:02:28.756Z] Step 21/26 : EXPOSE 59984 [2022-06-28T14:02:28.756Z] ---> Running in 1b61e1098114 [2022-06-28T14:02:29.017Z] Removing intermediate container 1b61e1098114 [2022-06-28T14:02:29.017Z] ---> ae7b37649001 [2022-06-28T14:02:29.017Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T14:02:29.017Z] ---> Running in 61d769548db7 [2022-06-28T14:02:29.017Z] Removing intermediate container 61d769548db7 [2022-06-28T14:02:29.017Z] ---> e7791e3e7fa9 [2022-06-28T14:02:29.017Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T14:02:29.017Z] ---> Running in c519cffc0318 [2022-06-28T14:02:29.277Z] Removing intermediate container c519cffc0318 [2022-06-28T14:02:29.277Z] ---> 86f0647f8f7f [2022-06-28T14:02:29.277Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T14:02:29.277Z] ---> Running in ef778cae36bd [2022-06-28T14:02:29.277Z] Removing intermediate container ef778cae36bd [2022-06-28T14:02:29.277Z] ---> 13b7a72e7a94 [2022-06-28T14:02:29.277Z] Step 25/26 : LABEL git_sha=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:02:29.277Z] ---> Running in 9e44b57510e1 [2022-06-28T14:02:29.539Z] Removing intermediate container 9e44b57510e1 [2022-06-28T14:02:29.539Z] ---> 084c6e54f858 [2022-06-28T14:02:29.539Z] Step 26/26 : LABEL version=0.0.1-dev.15 [2022-06-28T14:02:29.539Z] ---> Running in a2cee661c7e2 [2022-06-28T14:02:29.539Z] Removing intermediate container a2cee661c7e2 [2022-06-28T14:02:29.539Z] ---> d8fc4234c4be [2022-06-28T14:02:29.539Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T14:02:29.539Z] Successfully built d8fc4234c4be [2022-06-28T14:02:29.539Z] 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-28T14:02:29.622Z] provisioning config files... [2022-06-28T14:02:29.633Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2147881263170174708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:02:29.941Z] ---> docker-login.sh [2022-06-28T14:02:29.941Z] nexus3.edgexfoundry.org:10001 [2022-06-28T14:02:29.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:02:29.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:02:29.941Z] Configure a credential helper to remove this warning. See [2022-06-28T14:02:29.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:02:29.941Z] [2022-06-28T14:02:29.941Z] Login Succeeded [2022-06-28T14:02:29.941Z] nexus3.edgexfoundry.org:10002 [2022-06-28T14:02:29.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:02:30.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:02:30.202Z] Configure a credential helper to remove this warning. See [2022-06-28T14:02:30.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:02:30.202Z] [2022-06-28T14:02:30.202Z] Login Succeeded [2022-06-28T14:02:30.202Z] nexus3.edgexfoundry.org:10003 [2022-06-28T14:02:30.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:02:30.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:02:30.202Z] Configure a credential helper to remove this warning. See [2022-06-28T14:02:30.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:02:30.202Z] [2022-06-28T14:02:30.202Z] Login Succeeded [2022-06-28T14:02:30.202Z] nexus3.edgexfoundry.org:10004 [2022-06-28T14:02:30.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:02:30.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:02:30.462Z] Configure a credential helper to remove this warning. See [2022-06-28T14:02:30.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:02:30.462Z] [2022-06-28T14:02:30.462Z] Login Succeeded [2022-06-28T14:02:30.462Z] docker.io [2022-06-28T14:02:30.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:02:30.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:02:30.722Z] Configure a credential helper to remove this warning. See [2022-06-28T14:02:30.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:02:30.722Z] [2022-06-28T14:02:30.722Z] Login Succeeded [2022-06-28T14:02:30.722Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T14:02:30.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T14:02:30.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:02:30.793Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-28T14:02:30.793Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:02:30.793Z] latest [2022-06-28T14:02:30.793Z] 0.0.1-dev.15 [2022-06-28T14:02:30.793Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:02:30.793Z] main [2022-06-28T14:02:30.793Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:31.123Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:31.438Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:02:31.438Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T14:02:31.438Z] d589d4b48436: Preparing [2022-06-28T14:02:31.438Z] 45fd24865010: Preparing [2022-06-28T14:02:31.438Z] 216b2468fc58: Preparing [2022-06-28T14:02:31.438Z] d7048584c20a: Preparing [2022-06-28T14:02:31.438Z] 4fc242d58285: Preparing [2022-06-28T14:02:31.438Z] 4fc242d58285: Layer already exists [2022-06-28T14:02:31.438Z] d589d4b48436: Pushed [2022-06-28T14:02:31.438Z] 45fd24865010: Pushed [2022-06-28T14:02:31.699Z] d7048584c20a: Pushed [2022-06-28T14:02:34.238Z] 216b2468fc58: Pushed [2022-06-28T14:02:34.499Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2: digest: sha256:25d3d3b4753959bb57ead9b3c8eacff4367f7c0da221bf0d047f0373fcc3df8b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:34.815Z] + 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-28T14:02:35.127Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T14:02:35.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T14:02:35.127Z] d589d4b48436: Preparing [2022-06-28T14:02:35.127Z] 45fd24865010: Preparing [2022-06-28T14:02:35.127Z] 216b2468fc58: Preparing [2022-06-28T14:02:35.127Z] d7048584c20a: Preparing [2022-06-28T14:02:35.127Z] 4fc242d58285: Preparing [2022-06-28T14:02:35.127Z] d7048584c20a: Layer already exists [2022-06-28T14:02:35.127Z] d589d4b48436: Layer already exists [2022-06-28T14:02:35.127Z] 45fd24865010: Layer already exists [2022-06-28T14:02:35.127Z] 4fc242d58285: Layer already exists [2022-06-28T14:02:35.127Z] 216b2468fc58: Layer already exists [2022-06-28T14:02:35.127Z] latest: digest: sha256:25d3d3b4753959bb57ead9b3c8eacff4367f7c0da221bf0d047f0373fcc3df8b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:35.468Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:35.781Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.15 [2022-06-28T14:02:35.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T14:02:35.781Z] d589d4b48436: Preparing [2022-06-28T14:02:35.781Z] 45fd24865010: Preparing [2022-06-28T14:02:35.781Z] 216b2468fc58: Preparing [2022-06-28T14:02:35.781Z] d7048584c20a: Preparing [2022-06-28T14:02:35.781Z] 4fc242d58285: Preparing [2022-06-28T14:02:35.781Z] d7048584c20a: Layer already exists [2022-06-28T14:02:35.781Z] 4fc242d58285: Layer already exists [2022-06-28T14:02:35.781Z] 216b2468fc58: Layer already exists [2022-06-28T14:02:35.781Z] 45fd24865010: Layer already exists [2022-06-28T14:02:35.781Z] d589d4b48436: Layer already exists [2022-06-28T14:02:35.781Z] 0.0.1-dev.15: digest: sha256:25d3d3b4753959bb57ead9b3c8eacff4367f7c0da221bf0d047f0373fcc3df8b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:36.105Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:36.419Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:02:36.419Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T14:02:36.419Z] d589d4b48436: Preparing [2022-06-28T14:02:36.419Z] 45fd24865010: Preparing [2022-06-28T14:02:36.419Z] 216b2468fc58: Preparing [2022-06-28T14:02:36.419Z] d7048584c20a: Preparing [2022-06-28T14:02:36.419Z] 4fc242d58285: Preparing [2022-06-28T14:02:36.419Z] 45fd24865010: Layer already exists [2022-06-28T14:02:36.419Z] d7048584c20a: Layer already exists [2022-06-28T14:02:36.419Z] d589d4b48436: Layer already exists [2022-06-28T14:02:36.419Z] 4fc242d58285: Layer already exists [2022-06-28T14:02:36.419Z] 216b2468fc58: Layer already exists [2022-06-28T14:02:36.419Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15: digest: sha256:25d3d3b4753959bb57ead9b3c8eacff4367f7c0da221bf0d047f0373fcc3df8b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:36.739Z] + 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-28T14:02:37.048Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-28T14:02:37.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-28T14:02:37.048Z] d589d4b48436: Preparing [2022-06-28T14:02:37.048Z] 45fd24865010: Preparing [2022-06-28T14:02:37.048Z] 216b2468fc58: Preparing [2022-06-28T14:02:37.048Z] d7048584c20a: Preparing [2022-06-28T14:02:37.048Z] 4fc242d58285: Preparing [2022-06-28T14:02:37.048Z] 4fc242d58285: Layer already exists [2022-06-28T14:02:37.048Z] 216b2468fc58: Layer already exists [2022-06-28T14:02:37.048Z] d589d4b48436: Layer already exists [2022-06-28T14:02:37.048Z] d7048584c20a: Layer already exists [2022-06-28T14:02:37.048Z] 45fd24865010: Layer already exists [2022-06-28T14:02:37.048Z] main: digest: sha256:25d3d3b4753959bb57ead9b3c8eacff4367f7c0da221bf0d047f0373fcc3df8b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T14:02:37.090Z] ===================================================== [Pipeline] echo [2022-06-28T14:02:37.096Z] taggedImages: [2022-06-28T14:02:37.096Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:02:37.096Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-28T14:02:37.096Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.15 [2022-06-28T14:02:37.096Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:02:37.096Z] - 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-28T14:02:37.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T14:02:37.470Z] [2022-06-28T14:02:37.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:02:37.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T14:02:37.788Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T14:02:37.788Z] 5eb5b503b376: Pulling fs layer [2022-06-28T14:02:37.788Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T14:02:37.788Z] ec43610c2a17: Pulling fs layer [2022-06-28T14:02:37.788Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T14:02:37.788Z] 33b1e0a273af: Pulling fs layer [2022-06-28T14:02:37.788Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T14:02:37.788Z] 2f39f015ded8: Pulling fs layer [2022-06-28T14:02:37.788Z] 3a2ae6a8a46f: Waiting [2022-06-28T14:02:37.788Z] 33b1e0a273af: Waiting [2022-06-28T14:02:37.788Z] 5d3b04190fa2: Waiting [2022-06-28T14:02:37.788Z] 2f39f015ded8: Waiting [2022-06-28T14:02:37.788Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T14:02:37.788Z] 5c69ac0246d0: Download complete [2022-06-28T14:02:37.788Z] 3a2ae6a8a46f: Download complete [2022-06-28T14:02:37.788Z] 33b1e0a273af: Verifying Checksum [2022-06-28T14:02:37.788Z] 33b1e0a273af: Download complete [2022-06-28T14:02:37.788Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T14:02:37.788Z] 5d3b04190fa2: Download complete [2022-06-28T14:02:37.788Z] ec43610c2a17: Verifying Checksum [2022-06-28T14:02:37.788Z] ec43610c2a17: Download complete [2022-06-28T14:02:38.046Z] 5eb5b503b376: Verifying Checksum [2022-06-28T14:02:38.046Z] 5eb5b503b376: Download complete [2022-06-28T14:02:38.612Z] 2f39f015ded8: Verifying Checksum [2022-06-28T14:02:38.612Z] 2f39f015ded8: Download complete [2022-06-28T14:02:39.179Z] 5eb5b503b376: Pull complete [2022-06-28T14:02:39.179Z] 5c69ac0246d0: Pull complete [2022-06-28T14:02:39.746Z] ec43610c2a17: Pull complete [2022-06-28T14:02:39.746Z] 3a2ae6a8a46f: Pull complete [2022-06-28T14:02:40.006Z] 33b1e0a273af: Pull complete [2022-06-28T14:02:40.006Z] 5d3b04190fa2: Pull complete [2022-06-28T14:02:44.200Z] 2f39f015ded8: Pull complete [2022-06-28T14:02:44.200Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T14:02:44.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T14:02:44.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:02:44.310Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:02:44.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T14:02:46.224Z] $ docker top 25daa3a29e30ccae127708dbda8b8c0ec38676c9424993d4e241ea55b9740ed0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:02:46.631Z] ---> job-cost.sh [2022-06-28T14:02:46.631Z] lf-activate-venv: SKIPPING [2022-06-28T14:02:46.631Z] INFO: No Stack... [2022-06-28T14:02:46.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T14:02:47.464Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T14:02:47.757Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-28T14:02:47.757Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T14:02:47.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [2022-06-28T14:02:47.779Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] did not exist. Created. [2022-06-28T14:02:47.779Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T14:02:48.087Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T14:02:48.117Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T14:02:48.124Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T14:02:48.150Z] $ docker stop --time=1 25daa3a29e30ccae127708dbda8b8c0ec38676c9424993d4e241ea55b9740ed0 [2022-06-28T14:02:49.326Z] $ docker rm -f 25daa3a29e30ccae127708dbda8b8c0ec38676c9424993d4e241ea55b9740ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T14:02:50.178Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16228 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-28T14:02:50.193Z] Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout [2022-06-28T14:02:50.234Z] Selected Git installation does not exist. Using Default [2022-06-28T14:02:50.234Z] The recommended git tool is: NONE [2022-06-28T14:02:55.289Z] using credential edgex-jenkins-ssh [2022-06-28T14:02:55.307Z] Cloning the remote Git repository [2022-06-28T14:02:55.358Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T14:02:55.425Z] > git init /w/workspace/device-onvif-camera/17 # timeout=10 [2022-06-28T14:02:56.420Z] Avoid second fetch [2022-06-28T14:02:56.421Z] Checking out Revision b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 (main) [2022-06-28T14:02:55.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T14:02:55.518Z] > git --version # timeout=10 [2022-06-28T14:02:55.535Z] > git --version # 'git version 2.25.1' [2022-06-28T14:02:55.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T14:02:55.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T14:02:56.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T14:02:56.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T14:02:56.441Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T14:02:56.456Z] > git checkout -f b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 [2022-06-28T14:03:00.682Z] Commit message: "Merge pull request #91 from ajcasagrande/async-checkstatus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T14:03:01.805Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T14:03:01.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T14:03:01.805Z] Dload Upload Total Spent Left Speed [2022-06-28T14:03:01.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 79051 0 --:--:-- --:--:-- --:--:-- 79564 [Pipeline] sh [2022-06-28T14:03:02.441Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T14:03:02.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-06-28T14:03:02.783Z] sudo tee /etc/docker/daemon.new [2022-06-28T14:03:02.783Z] { [2022-06-28T14:03:02.783Z] "registry-mirrors": [ [2022-06-28T14:03:02.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T14:03:02.783Z] ], [2022-06-28T14:03:02.783Z] "bip": "10.250.0.254/24", [2022-06-28T14:03:02.783Z] "hosts": [ [2022-06-28T14:03:02.783Z] "tcp://0.0.0.0:5555", [2022-06-28T14:03:02.783Z] "unix:///var/run/docker.sock" [2022-06-28T14:03:02.783Z] ], [2022-06-28T14:03:02.783Z] "mtu": 1458, [2022-06-28T14:03:02.783Z] "selinux-enabled": true, [2022-06-28T14:03:02.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T14:03:02.783Z] } [Pipeline] sh [2022-06-28T14:03:03.147Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T14:03:03.498Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T14:03:21.835Z] provisioning config files... [2022-06-28T14:03:21.858Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config5720225761246814169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:03:22.419Z] ---> docker-login.sh [2022-06-28T14:03:22.419Z] nexus3.edgexfoundry.org:10001 [2022-06-28T14:03:23.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:03:23.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:03:23.332Z] Configure a credential helper to remove this warning. See [2022-06-28T14:03:23.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:03:23.332Z] [2022-06-28T14:03:23.332Z] Login Succeeded [2022-06-28T14:03:23.332Z] nexus3.edgexfoundry.org:10002 [2022-06-28T14:03:23.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:03:23.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:03:23.607Z] Configure a credential helper to remove this warning. See [2022-06-28T14:03:23.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:03:23.607Z] [2022-06-28T14:03:23.607Z] Login Succeeded [2022-06-28T14:03:23.607Z] nexus3.edgexfoundry.org:10003 [2022-06-28T14:03:24.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:03:24.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:03:24.208Z] Configure a credential helper to remove this warning. See [2022-06-28T14:03:24.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:03:24.208Z] [2022-06-28T14:03:24.208Z] Login Succeeded [2022-06-28T14:03:24.208Z] nexus3.edgexfoundry.org:10004 [2022-06-28T14:03:24.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:03:24.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:03:24.763Z] Configure a credential helper to remove this warning. See [2022-06-28T14:03:24.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:03:24.763Z] [2022-06-28T14:03:24.763Z] Login Succeeded [2022-06-28T14:03:24.763Z] docker.io [2022-06-28T14:03:25.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:03:25.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:03:25.313Z] Configure a credential helper to remove this warning. See [2022-06-28T14:03:25.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:03:25.313Z] [2022-06-28T14:03:25.313Z] Login Succeeded [2022-06-28T14:03:25.313Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T14:03:25.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T14:03:25.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:03:25.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:03:25.591Z] ========================================================= [2022-06-28T14:03:25.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T14:03:25.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:03:25.953Z] + 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-28T14:03:26.236Z] Sending build context to Docker daemon 5.968MB [2022-06-28T14:03:26.236Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T14:03:26.236Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T14:03:26.512Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T14:03:26.512Z] 9b3977197b4f: Pulling fs layer [2022-06-28T14:03:26.512Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T14:03:26.512Z] 94645a83ff95: Pulling fs layer [2022-06-28T14:03:26.512Z] e6fb740bc735: Pulling fs layer [2022-06-28T14:03:26.512Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T14:03:26.512Z] 355e64cbe906: Pulling fs layer [2022-06-28T14:03:26.512Z] 63ab81a10011: Pulling fs layer [2022-06-28T14:03:26.512Z] 555d1d1c4555: Pulling fs layer [2022-06-28T14:03:26.512Z] 7d9057610161: Pulling fs layer [2022-06-28T14:03:26.512Z] e6fb740bc735: Waiting [2022-06-28T14:03:26.512Z] 3a77bd46dcc9: Waiting [2022-06-28T14:03:26.512Z] 355e64cbe906: Waiting [2022-06-28T14:03:26.512Z] 63ab81a10011: Waiting [2022-06-28T14:03:26.512Z] 555d1d1c4555: Waiting [2022-06-28T14:03:26.512Z] 7d9057610161: Waiting [2022-06-28T14:03:26.512Z] 94645a83ff95: Download complete [2022-06-28T14:03:26.512Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T14:03:26.512Z] 1a89e8eeedd5: Download complete [2022-06-28T14:03:26.512Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T14:03:26.512Z] 3a77bd46dcc9: Download complete [2022-06-28T14:03:26.512Z] 355e64cbe906: Verifying Checksum [2022-06-28T14:03:26.512Z] 355e64cbe906: Download complete [2022-06-28T14:03:26.512Z] 9b3977197b4f: Download complete [2022-06-28T14:03:26.512Z] 63ab81a10011: Verifying Checksum [2022-06-28T14:03:26.512Z] 63ab81a10011: Download complete [2022-06-28T14:03:27.505Z] 9b3977197b4f: Pull complete [2022-06-28T14:03:27.505Z] 7d9057610161: Verifying Checksum [2022-06-28T14:03:27.505Z] 7d9057610161: Download complete [2022-06-28T14:03:28.113Z] 1a89e8eeedd5: Pull complete [2022-06-28T14:03:28.389Z] 94645a83ff95: Pull complete [2022-06-28T14:03:28.663Z] 555d1d1c4555: Verifying Checksum [2022-06-28T14:03:28.663Z] 555d1d1c4555: Download complete [2022-06-28T14:03:29.259Z] e6fb740bc735: Download complete [2022-06-28T14:03:41.668Z] e6fb740bc735: Pull complete [2022-06-28T14:03:41.668Z] 3a77bd46dcc9: Pull complete [2022-06-28T14:03:41.945Z] 355e64cbe906: Pull complete [2022-06-28T14:03:42.218Z] 63ab81a10011: Pull complete [2022-06-28T14:03:48.945Z] 555d1d1c4555: Pull complete [2022-06-28T14:03:50.950Z] 7d9057610161: Pull complete [2022-06-28T14:03:50.950Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T14:03:50.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T14:03:50.950Z] ---> 819e984ddca1 [2022-06-28T14:03:50.950Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T14:03:52.398Z] ---> Running in 760a6d33446c [2022-06-28T14:03:52.673Z] Removing intermediate container 760a6d33446c [2022-06-28T14:03:52.673Z] ---> f0fd4e7166c4 [2022-06-28T14:03:52.673Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T14:03:52.673Z] ---> Running in 6e8846ea45bf [2022-06-28T14:03:52.947Z] Removing intermediate container 6e8846ea45bf [2022-06-28T14:03:52.947Z] ---> fa41afe5f088 [2022-06-28T14:03:52.947Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T14:03:53.222Z] ---> Running in 66bb6f4dfab4 [2022-06-28T14:03:53.497Z] Removing intermediate container 66bb6f4dfab4 [2022-06-28T14:03:53.497Z] ---> 7ec11faab151 [2022-06-28T14:03:53.497Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T14:03:53.497Z] ---> Running in df93e4af5f26 [2022-06-28T14:03:53.778Z] Removing intermediate container df93e4af5f26 [2022-06-28T14:03:53.778Z] ---> d8f8b79b909e [2022-06-28T14:03:53.778Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T14:03:53.778Z] ---> Running in 05151de774f7 [2022-06-28T14:03:55.767Z] Removing intermediate container 05151de774f7 [2022-06-28T14:03:55.767Z] ---> fb42fd748f7e [2022-06-28T14:03:55.767Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T14:03:55.767Z] ---> Running in 080377b08b16 [2022-06-28T14:03:56.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T14:03:57.746Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T14:03:58.341Z] OK: 220 MiB in 52 packages [2022-06-28T14:03:59.328Z] Removing intermediate container 080377b08b16 [2022-06-28T14:03:59.328Z] ---> 68326cd21787 [2022-06-28T14:03:59.328Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T14:03:59.328Z] ---> Running in fdd09cba8a34 [2022-06-28T14:03:59.601Z] Removing intermediate container fdd09cba8a34 [2022-06-28T14:03:59.601Z] ---> 06f3c6da8c00 [2022-06-28T14:03:59.601Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T14:04:00.202Z] ---> f6ebc01d522d [2022-06-28T14:04:00.202Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T14:04:00.202Z] ---> Running in 686cb87735b1 [2022-06-28T14:04:56.783Z] Removing intermediate container 686cb87735b1 [2022-06-28T14:04:56.783Z] ---> 3c5f9ac07603 [2022-06-28T14:04:56.783Z] Step 12/13 : COPY . . [2022-06-28T14:04:56.783Z] ---> 97f606e506d4 [2022-06-28T14:04:56.783Z] Step 13/13 : RUN ${MAKE} [2022-06-28T14:04:56.783Z] ---> Running in 5926a73a4ea4 [2022-06-28T14:04:56.783Z] noop [2022-06-28T14:04:56.783Z] Removing intermediate container 5926a73a4ea4 [2022-06-28T14:04:56.783Z] ---> 53d3459b23ec [2022-06-28T14:04:56.783Z] Successfully built 53d3459b23ec [2022-06-28T14:04:56.783Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:04:57.153Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T14:04:57.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:04:57.411Z] prd-ubuntu20.04-docker-arm64-4c-16g-16228 does not seem to be running inside a container [2022-06-28T14:04:57.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-28T14:04:58.806Z] $ docker top cf81eac6caf2ee084e7c74b5a6ffb8a0085aa91300f9531925b88ecb2ac22a85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T14:04:59.735Z] + go version [2022-06-28T14:04:59.735Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T14:04:59.761Z] $ docker stop --time=1 cf81eac6caf2ee084e7c74b5a6ffb8a0085aa91300f9531925b88ecb2ac22a85 [2022-06-28T14:05:01.440Z] $ docker rm -f cf81eac6caf2ee084e7c74b5a6ffb8a0085aa91300f9531925b88ecb2ac22a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:05:02.045Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T14:05:02.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:05:02.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-16228 does not seem to be running inside a container [2022-06-28T14:05:02.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-28T14:05:03.726Z] $ docker top 691c2411d9b6d19396cc234723db43ef45092f3d5086d286fa62b1d5a1e00145 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T14:05:04.645Z] + make test [2022-06-28T14:05:04.645Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T14:05:06.629Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T14:06:43.533Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T14:06:43.533Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 1.2% of statements [2022-06-28T14:07:01.861Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 34.662s coverage: 13.8% of statements [2022-06-28T14:07:02.134Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T14:07:02.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T14:07:28.972Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T14:07:28.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T14:07:28.972Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T14:07:32.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T14:07:32.394Z] $ docker stop --time=1 691c2411d9b6d19396cc234723db43ef45092f3d5086d286fa62b1d5a1e00145 [2022-06-28T14:07:34.190Z] $ docker rm -f 691c2411d9b6d19396cc234723db43ef45092f3d5086d286fa62b1d5a1e00145 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T14:07:35.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T14:07:35.214Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T14:07:35.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T14:07:36.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T14:07:36.728Z] + ls -al . [2022-06-28T14:07:36.728Z] total 232 [2022-06-28T14:07:36.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 14:07 . [2022-06-28T14:07:36.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:02 .. [2022-06-28T14:07:36.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 14:03 .git [2022-06-28T14:07:36.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 14:02 .github [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 14:02 .gitignore [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 14:02 .golangci.yml [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 14:02 Attribution.txt [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 14:02 CHANGELOG.md [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 14:02 Dockerfile [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 14:02 GOVERNANCE.md [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 14:02 Jenkinsfile [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 14:02 LICENSE [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 14:02 Makefile [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 14:02 OWNERS.md [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 28 14:02 README.md [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 28 14:00 VERSION [2022-06-28T14:07:36.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 14:02 bin [2022-06-28T14:07:36.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 14:02 cmd [2022-06-28T14:07:36.728Z] -rw-r--r-- 1 jenkins jenkins 59668 Jun 28 14:07 coverage.out [2022-06-28T14:07:36.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:02 doc [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 14:02 go.mod [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 14:02 go.sum [2022-06-28T14:07:36.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 14:02 internal [2022-06-28T14:07:36.728Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 14:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:07:37.194Z] + 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=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 --label arch=arm64 --label version=0.0.1-dev.15 . [2022-06-28T14:07:37.836Z] Sending build context to Docker daemon 6.029MB [2022-06-28T14:07:37.836Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T14:07:37.836Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T14:07:37.836Z] ---> 53d3459b23ec [2022-06-28T14:07:37.836Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T14:07:37.836Z] ---> Running in 39a72682e564 [2022-06-28T14:07:38.111Z] Removing intermediate container 39a72682e564 [2022-06-28T14:07:38.111Z] ---> 9cc02af00f11 [2022-06-28T14:07:38.111Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T14:07:38.397Z] ---> Running in b7c8440598dc [2022-06-28T14:07:38.672Z] Removing intermediate container b7c8440598dc [2022-06-28T14:07:38.672Z] ---> 793c48a38906 [2022-06-28T14:07:38.672Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T14:07:38.672Z] ---> Running in bd8388ca7655 [2022-06-28T14:07:38.945Z] Removing intermediate container bd8388ca7655 [2022-06-28T14:07:38.945Z] ---> 811c039a2706 [2022-06-28T14:07:38.945Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T14:07:38.945Z] ---> Running in 7a1bb236cc6f [2022-06-28T14:07:39.221Z] Removing intermediate container 7a1bb236cc6f [2022-06-28T14:07:39.221Z] ---> 7068c36d5cfb [2022-06-28T14:07:39.221Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T14:07:39.499Z] ---> Running in 907e80afa8f3 [2022-06-28T14:07:40.963Z] Removing intermediate container 907e80afa8f3 [2022-06-28T14:07:40.963Z] ---> 900006a6a10b [2022-06-28T14:07:40.963Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T14:07:40.963Z] ---> Running in 4ae1aba9a291 [2022-06-28T14:07:41.949Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T14:07:42.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T14:07:43.910Z] OK: 220 MiB in 52 packages [2022-06-28T14:07:44.509Z] Removing intermediate container 4ae1aba9a291 [2022-06-28T14:07:44.509Z] ---> 701cf15ced52 [2022-06-28T14:07:44.509Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T14:07:44.782Z] ---> Running in 32f9fe1b3d86 [2022-06-28T14:07:45.057Z] Removing intermediate container 32f9fe1b3d86 [2022-06-28T14:07:45.057Z] ---> e36274467c2a [2022-06-28T14:07:45.057Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T14:07:45.653Z] ---> 2592f0503041 [2022-06-28T14:07:45.653Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T14:07:45.653Z] ---> Running in 5087391be033 [2022-06-28T14:07:47.634Z] Removing intermediate container 5087391be033 [2022-06-28T14:07:47.634Z] ---> bed55514b0a4 [2022-06-28T14:07:47.634Z] Step 12/26 : COPY . . [2022-06-28T14:07:48.623Z] ---> af2acaa3d0a3 [2022-06-28T14:07:48.623Z] Step 13/26 : RUN ${MAKE} [2022-06-28T14:07:48.623Z] ---> Running in 32d3258a638b [2022-06-28T14:07:49.608Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.15 -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-28T14:10:11.498Z] Removing intermediate container 32d3258a638b [2022-06-28T14:10:11.498Z] ---> 8a59cf2df7dc [2022-06-28T14:10:11.498Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T14:10:11.498Z] 3.15: Pulling from library/alpine [2022-06-28T14:10:11.498Z] 9981e73032c8: Pulling fs layer [2022-06-28T14:10:11.498Z] 9981e73032c8: Verifying Checksum [2022-06-28T14:10:11.498Z] 9981e73032c8: Download complete [2022-06-28T14:10:11.499Z] 9981e73032c8: Pull complete [2022-06-28T14:10:11.499Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T14:10:11.499Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T14:10:11.499Z] ---> 3fb3c9af89a9 [2022-06-28T14:10:11.499Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T14:10:11.499Z] ---> Running in 30d88c230fef [2022-06-28T14:10:11.499Z] Removing intermediate container 30d88c230fef [2022-06-28T14:10:11.499Z] ---> 3cb25f720c98 [2022-06-28T14:10:11.499Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T14:10:11.499Z] ---> Running in b68e3f1ad6b6 [2022-06-28T14:10:11.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T14:10:11.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T14:10:11.499Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T14:10:11.499Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T14:10:11.499Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T14:10:11.499Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T14:10:11.499Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T14:10:11.499Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T14:10:11.499Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T14:10:11.499Z] OK: 8 MiB in 20 packages [2022-06-28T14:10:11.499Z] Removing intermediate container b68e3f1ad6b6 [2022-06-28T14:10:11.499Z] ---> 18c5767136b5 [2022-06-28T14:10:11.499Z] Step 17/26 : WORKDIR / [2022-06-28T14:10:11.499Z] ---> Running in 75b2a9b62264 [2022-06-28T14:10:11.499Z] Removing intermediate container 75b2a9b62264 [2022-06-28T14:10:11.499Z] ---> 3f049fe6eddd [2022-06-28T14:10:11.499Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T14:10:11.499Z] ---> 40f39a3d2bab [2022-06-28T14:10:11.499Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T14:10:11.499Z] ---> 6a204876c059 [2022-06-28T14:10:11.499Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T14:10:11.499Z] ---> cbf53f9fde9a [2022-06-28T14:10:11.499Z] Step 21/26 : EXPOSE 59984 [2022-06-28T14:10:11.499Z] ---> Running in 56af55ea0a94 [2022-06-28T14:10:11.499Z] Removing intermediate container 56af55ea0a94 [2022-06-28T14:10:11.499Z] ---> 0882fa675292 [2022-06-28T14:10:11.499Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T14:10:11.499Z] ---> Running in 12e5576f60e7 [2022-06-28T14:10:11.499Z] Removing intermediate container 12e5576f60e7 [2022-06-28T14:10:11.499Z] ---> 19e60bfdca2e [2022-06-28T14:10:11.499Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T14:10:11.499Z] ---> Running in 4db6cee1b4c8 [2022-06-28T14:10:11.499Z] Removing intermediate container 4db6cee1b4c8 [2022-06-28T14:10:11.499Z] ---> 0fa45caef590 [2022-06-28T14:10:11.499Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T14:10:11.499Z] ---> Running in 90d918a68fa1 [2022-06-28T14:10:11.499Z] Removing intermediate container 90d918a68fa1 [2022-06-28T14:10:11.499Z] ---> 327dda37020d [2022-06-28T14:10:11.499Z] Step 25/26 : LABEL git_sha=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:10:11.499Z] ---> Running in 8cc5f25bab6a [2022-06-28T14:10:11.499Z] Removing intermediate container 8cc5f25bab6a [2022-06-28T14:10:11.499Z] ---> 9d2258c49675 [2022-06-28T14:10:11.499Z] Step 26/26 : LABEL version=0.0.1-dev.15 [2022-06-28T14:10:11.499Z] ---> Running in 0828f69149a2 [2022-06-28T14:10:11.499Z] Removing intermediate container 0828f69149a2 [2022-06-28T14:10:11.499Z] ---> 9ff12106bcb8 [2022-06-28T14:10:11.499Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T14:10:11.499Z] Successfully built 9ff12106bcb8 [2022-06-28T14:10:11.499Z] 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-28T14:10:11.597Z] provisioning config files... [2022-06-28T14:10:11.615Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config1423149123981539047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:10:11.962Z] ---> docker-login.sh [2022-06-28T14:10:11.962Z] nexus3.edgexfoundry.org:10001 [2022-06-28T14:10:12.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:10:12.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:10:12.236Z] Configure a credential helper to remove this warning. See [2022-06-28T14:10:12.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:10:12.236Z] [2022-06-28T14:10:12.236Z] Login Succeeded [2022-06-28T14:10:12.236Z] nexus3.edgexfoundry.org:10002 [2022-06-28T14:10:12.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:10:12.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:10:12.790Z] Configure a credential helper to remove this warning. See [2022-06-28T14:10:12.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:10:12.790Z] [2022-06-28T14:10:12.790Z] Login Succeeded [2022-06-28T14:10:12.790Z] nexus3.edgexfoundry.org:10003 [2022-06-28T14:10:13.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:10:13.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:10:13.061Z] Configure a credential helper to remove this warning. See [2022-06-28T14:10:13.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:10:13.061Z] [2022-06-28T14:10:13.061Z] Login Succeeded [2022-06-28T14:10:13.061Z] nexus3.edgexfoundry.org:10004 [2022-06-28T14:10:13.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:10:13.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:10:13.651Z] Configure a credential helper to remove this warning. See [2022-06-28T14:10:13.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:10:13.652Z] [2022-06-28T14:10:13.652Z] Login Succeeded [2022-06-28T14:10:13.652Z] docker.io [2022-06-28T14:10:13.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T14:10:14.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T14:10:14.191Z] Configure a credential helper to remove this warning. See [2022-06-28T14:10:14.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T14:10:14.191Z] [2022-06-28T14:10:14.191Z] Login Succeeded [2022-06-28T14:10:14.191Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T14:10:14.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T14:10:14.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T14:10:14.264Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-28T14:10:14.264Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:10:14.264Z] latest [2022-06-28T14:10:14.264Z] 0.0.1-dev.15 [2022-06-28T14:10:14.264Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:10:14.264Z] main [2022-06-28T14:10:14.264Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:14.615Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:14.966Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:10:14.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T14:10:14.966Z] 44d5a312391c: Preparing [2022-06-28T14:10:14.966Z] 39e12e0d9d71: Preparing [2022-06-28T14:10:14.966Z] b8e85f5ff77b: Preparing [2022-06-28T14:10:14.966Z] 4d3298b48cf1: Preparing [2022-06-28T14:10:14.966Z] 4f4ce317c6bb: Preparing [2022-06-28T14:10:15.241Z] 4f4ce317c6bb: Layer already exists [2022-06-28T14:10:15.241Z] 39e12e0d9d71: Pushed [2022-06-28T14:10:15.241Z] 44d5a312391c: Pushed [2022-06-28T14:10:15.836Z] 4d3298b48cf1: Pushed [2022-06-28T14:10:22.521Z] b8e85f5ff77b: Pushed [2022-06-28T14:10:22.521Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2: digest: sha256:7ca7072c63d13e4be65ec6169023517b4fee30fd42bce61c18168f5fff14fd78 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:22.884Z] + 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-28T14:10:23.244Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T14:10:23.244Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T14:10:23.244Z] 44d5a312391c: Preparing [2022-06-28T14:10:23.244Z] 39e12e0d9d71: Preparing [2022-06-28T14:10:23.244Z] b8e85f5ff77b: Preparing [2022-06-28T14:10:23.244Z] 4d3298b48cf1: Preparing [2022-06-28T14:10:23.244Z] 4f4ce317c6bb: Preparing [2022-06-28T14:10:23.244Z] 39e12e0d9d71: Layer already exists [2022-06-28T14:10:23.244Z] b8e85f5ff77b: Layer already exists [2022-06-28T14:10:23.244Z] 44d5a312391c: Layer already exists [2022-06-28T14:10:23.244Z] 4f4ce317c6bb: Layer already exists [2022-06-28T14:10:23.244Z] 4d3298b48cf1: Layer already exists [2022-06-28T14:10:23.517Z] latest: digest: sha256:7ca7072c63d13e4be65ec6169023517b4fee30fd42bce61c18168f5fff14fd78 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:23.886Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:24.241Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.15 [2022-06-28T14:10:24.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T14:10:24.241Z] 44d5a312391c: Preparing [2022-06-28T14:10:24.241Z] 39e12e0d9d71: Preparing [2022-06-28T14:10:24.241Z] b8e85f5ff77b: Preparing [2022-06-28T14:10:24.241Z] 4d3298b48cf1: Preparing [2022-06-28T14:10:24.241Z] 4f4ce317c6bb: Preparing [2022-06-28T14:10:24.241Z] 39e12e0d9d71: Layer already exists [2022-06-28T14:10:24.241Z] 44d5a312391c: Layer already exists [2022-06-28T14:10:24.241Z] b8e85f5ff77b: Layer already exists [2022-06-28T14:10:24.241Z] 4f4ce317c6bb: Layer already exists [2022-06-28T14:10:24.241Z] 4d3298b48cf1: Layer already exists [2022-06-28T14:10:24.512Z] 0.0.1-dev.15: digest: sha256:7ca7072c63d13e4be65ec6169023517b4fee30fd42bce61c18168f5fff14fd78 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:24.876Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:25.235Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:10:25.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T14:10:25.235Z] 44d5a312391c: Preparing [2022-06-28T14:10:25.235Z] 39e12e0d9d71: Preparing [2022-06-28T14:10:25.235Z] b8e85f5ff77b: Preparing [2022-06-28T14:10:25.235Z] 4d3298b48cf1: Preparing [2022-06-28T14:10:25.235Z] 4f4ce317c6bb: Preparing [2022-06-28T14:10:25.235Z] 4d3298b48cf1: Layer already exists [2022-06-28T14:10:25.235Z] b8e85f5ff77b: Layer already exists [2022-06-28T14:10:25.235Z] 4f4ce317c6bb: Layer already exists [2022-06-28T14:10:25.235Z] 39e12e0d9d71: Layer already exists [2022-06-28T14:10:25.235Z] 44d5a312391c: Layer already exists [2022-06-28T14:10:25.507Z] b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15: digest: sha256:7ca7072c63d13e4be65ec6169023517b4fee30fd42bce61c18168f5fff14fd78 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:25.873Z] + 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-28T14:10:26.234Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-28T14:10:26.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-28T14:10:26.234Z] 44d5a312391c: Preparing [2022-06-28T14:10:26.234Z] 39e12e0d9d71: Preparing [2022-06-28T14:10:26.234Z] b8e85f5ff77b: Preparing [2022-06-28T14:10:26.234Z] 4d3298b48cf1: Preparing [2022-06-28T14:10:26.234Z] 4f4ce317c6bb: Preparing [2022-06-28T14:10:26.234Z] 39e12e0d9d71: Layer already exists [2022-06-28T14:10:26.234Z] 4d3298b48cf1: Layer already exists [2022-06-28T14:10:26.234Z] b8e85f5ff77b: Layer already exists [2022-06-28T14:10:26.234Z] 4f4ce317c6bb: Layer already exists [2022-06-28T14:10:26.234Z] 44d5a312391c: Layer already exists [2022-06-28T14:10:26.504Z] main: digest: sha256:7ca7072c63d13e4be65ec6169023517b4fee30fd42bce61c18168f5fff14fd78 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-28T14:10:26.567Z] ===================================================== [Pipeline] echo [2022-06-28T14:10:26.575Z] taggedImages: [2022-06-28T14:10:26.575Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [2022-06-28T14:10:26.575Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-28T14:10:26.575Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.15 [2022-06-28T14:10:26.575Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2-0.0.1-dev.15 [2022-06-28T14:10:26.575Z] - 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-28T14:10:26.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T14:10:26.959Z] [2022-06-28T14:10:26.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:10:27.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T14:10:27.587Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T14:10:27.587Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T14:10:27.587Z] 04944245beec: Pulling fs layer [2022-06-28T14:10:27.587Z] 699f458cf7ca: Pulling fs layer [2022-06-28T14:10:27.587Z] 765212b225bb: Pulling fs layer [2022-06-28T14:10:27.587Z] f23df028b6ca: Pulling fs layer [2022-06-28T14:10:27.587Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T14:10:27.587Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T14:10:27.587Z] 765212b225bb: Waiting [2022-06-28T14:10:27.587Z] d65c8cfc05b1: Waiting [2022-06-28T14:10:27.587Z] f23df028b6ca: Waiting [2022-06-28T14:10:27.587Z] 04944245beec: Verifying Checksum [2022-06-28T14:10:27.587Z] 04944245beec: Download complete [2022-06-28T14:10:27.587Z] 765212b225bb: Download complete [2022-06-28T14:10:27.587Z] f23df028b6ca: Verifying Checksum [2022-06-28T14:10:27.587Z] f23df028b6ca: Download complete [2022-06-28T14:10:27.587Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T14:10:27.587Z] d65c8cfc05b1: Download complete [2022-06-28T14:10:27.865Z] 699f458cf7ca: Verifying Checksum [2022-06-28T14:10:27.865Z] 699f458cf7ca: Download complete [2022-06-28T14:10:28.138Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T14:10:28.138Z] 8998bd30e6a1: Download complete [2022-06-28T14:10:30.790Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T14:10:30.790Z] 2437ff75d9bd: Download complete [2022-06-28T14:10:32.984Z] 8998bd30e6a1: Pull complete [2022-06-28T14:10:33.257Z] 04944245beec: Pull complete [2022-06-28T14:10:34.696Z] 699f458cf7ca: Pull complete [2022-06-28T14:10:35.293Z] 765212b225bb: Pull complete [2022-06-28T14:10:35.889Z] f23df028b6ca: Pull complete [2022-06-28T14:10:36.163Z] d65c8cfc05b1: Pull complete [2022-06-28T14:10:51.259Z] 2437ff75d9bd: Pull complete [2022-06-28T14:10:51.259Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T14:10:51.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T14:10:51.259Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:10:51.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-16228 does not seem to be running inside a container [2022-06-28T14:10:51.597Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-28T14:10:54.048Z] $ docker top e34f9c3da2ca5f5d63573ceb47ce55057fdfcd57c1778736bc0163453fadde50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:10:54.977Z] ---> job-cost.sh [2022-06-28T14:10:54.977Z] lf-activate-venv: SKIPPING [2022-06-28T14:10:54.977Z] INFO: No Stack... [2022-06-28T14:10:55.248Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T14:10:56.223Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T14:10:56.888Z] + + cut -d,cat -f6 /w/workspace/device-onvif-camera/17/archives/cost.csv [2022-06-28T14:10:56.888Z] [Pipeline] lock [2022-06-28T14:10:56.951Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [2022-06-28T14:10:56.960Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] did not exist. Created. [2022-06-28T14:10:56.960Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T14:10:57.640Z] /w/workspace/device-onvif-camera/17@tmp/durable-d75f5049/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T14:10:58.315Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T14:10:58.344Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T14:10:58.389Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T14:10:58.396Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T14:10:58.416Z] $ docker stop --time=1 e34f9c3da2ca5f5d63573ceb47ce55057fdfcd57c1778736bc0163453fadde50 [2022-06-28T14:10:59.924Z] $ docker rm -f e34f9c3da2ca5f5d63573ceb47ce55057fdfcd57c1778736bc0163453fadde50 [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-28T14:11:00.389Z] provisioning config files... [2022-06-28T14:11:00.399Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5593825858124617683tmp [Pipeline] { [Pipeline] sh [2022-06-28T14:11:00.694Z] + set +x [2022-06-28T14:11:00.694Z] + + curl -s https://codecov.io/bash [2022-06-28T14:11:00.694Z] bash -s -- [2022-06-28T14:11:00.694Z] [2022-06-28T14:11:00.694Z] _____ _ [2022-06-28T14:11:00.694Z] / ____| | | [2022-06-28T14:11:00.694Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T14:11:00.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T14:11:00.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T14:11:00.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T14:11:00.694Z] Bash-1.0.6 [2022-06-28T14:11:00.694Z] [2022-06-28T14:11:00.694Z] [2022-06-28T14:11:00.694Z] ==> git version 2.25.1 found [2022-06-28T14:11:00.694Z] ==> 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-28T14:11:00.694Z] Release-Date: 2020-01-08 [2022-06-28T14:11:00.694Z] 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-28T14:11:00.694Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T14:11:00.694Z] ==> Jenkins CI detected. [2022-06-28T14:11:00.694Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-28T14:11:00.694Z] project root: . [2022-06-28T14:11:00.694Z] --> token set from env [2022-06-28T14:11:00.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T14:11:00.694Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T14:11:00.694Z] ==> Python coveragepy not found [2022-06-28T14:11:00.694Z] ==> Searching for coverage reports in: [2022-06-28T14:11:00.694Z] + . [2022-06-28T14:11:00.694Z] -> Found 1 reports [2022-06-28T14:11:00.694Z] ==> Detecting git/mercurial file structure [2022-06-28T14:11:00.694Z] ==> Reading reports [2022-06-28T14:11:00.694Z] + ./coverage.out bytes=59668 [2022-06-28T14:11:00.694Z] ==> Appending adjustments [2022-06-28T14:11:00.694Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T14:11:00.955Z] + Found adjustments [2022-06-28T14:11:00.955Z] ==> Gzipping contents [2022-06-28T14:11:00.955Z] 8.0K /tmp/codecov.alRR5e.gz [2022-06-28T14:11:00.955Z] ==> Uploading reports [2022-06-28T14:11:00.955Z] url: https://codecov.io [2022-06-28T14:11:00.955Z] query: branch=main&commit=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T14:11:00.955Z] -> Pinging Codecov [2022-06-28T14:11:00.955Z] 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=b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-28T14:11:01.215Z] -> Uploading to [2022-06-28T14:11:01.215Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2/936f8b90-4a09-42e6-b729-543d61467651.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T141101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=988d0eab4a5aef43b6e9c005ff48c9fe52fa43b1f9b3ea6491bfa7990bac1b3a [2022-06-28T14:11:01.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T14:11:01.215Z] Dload Upload Total Spent Left Speed [2022-06-28T14:11:01.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7587 0 0 100 7587 0 28630 --:--:-- --:--:-- --:--:-- 28630 [2022-06-28T14:11:01.481Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] } [2022-06-28T14:11:01.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-28T14:11:01.692Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-28T14:11:01.702Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:02.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T14:11:02.015Z] [2022-06-28T14:11:02.015Z] 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-28T14:11:02.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T14:11:02.333Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-28T14:11:02.333Z] df9b9388f04a: Already exists [2022-06-28T14:11:02.333Z] 52dc419b0ee2: Pulling fs layer [2022-06-28T14:11:02.333Z] 25bc292e5bac: Pulling fs layer [2022-06-28T14:11:02.333Z] 114826534d7a: Pulling fs layer [2022-06-28T14:11:02.333Z] 4657fd5d0bcf: Pulling fs layer [2022-06-28T14:11:02.333Z] 6ad1cebc031e: Pulling fs layer [2022-06-28T14:11:02.333Z] 8a3aa393b2d8: Pulling fs layer [2022-06-28T14:11:02.333Z] 4657fd5d0bcf: Waiting [2022-06-28T14:11:02.333Z] 6ad1cebc031e: Waiting [2022-06-28T14:11:02.333Z] 25bc292e5bac: Verifying Checksum [2022-06-28T14:11:02.333Z] 25bc292e5bac: Download complete [2022-06-28T14:11:02.333Z] 52dc419b0ee2: Download complete [2022-06-28T14:11:02.333Z] 4657fd5d0bcf: Verifying Checksum [2022-06-28T14:11:02.333Z] 4657fd5d0bcf: Download complete [2022-06-28T14:11:02.600Z] 52dc419b0ee2: Pull complete [2022-06-28T14:11:02.600Z] 6ad1cebc031e: Verifying Checksum [2022-06-28T14:11:02.600Z] 6ad1cebc031e: Download complete [2022-06-28T14:11:02.600Z] 25bc292e5bac: Pull complete [2022-06-28T14:11:03.177Z] 114826534d7a: Verifying Checksum [2022-06-28T14:11:03.177Z] 114826534d7a: Download complete [2022-06-28T14:11:03.177Z] 8a3aa393b2d8: Verifying Checksum [2022-06-28T14:11:03.177Z] 8a3aa393b2d8: Download complete [2022-06-28T14:11:07.408Z] 114826534d7a: Pull complete [2022-06-28T14:11:07.408Z] 4657fd5d0bcf: Pull complete [2022-06-28T14:11:07.408Z] 6ad1cebc031e: Pull complete [2022-06-28T14:11:09.950Z] 8a3aa393b2d8: Pull complete [2022-06-28T14:11:09.950Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-28T14:11:09.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-28T14:11:09.950Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:10.033Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:10.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-28T14:11:13.006Z] $ docker top 1b9e7ba76bc0a44a8d664032d482ec600148a2b19a700dbb081a672ef5fe1722 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-28T14:11:13.082Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-06-28T14:11:13.360Z] + set -o pipefail [2022-06-28T14:11:13.360Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-06-28T14:11:17.569Z] [2022-06-28T14:11:17.569Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-28T14:11:17.569Z] [2022-06-28T14:11:17.569Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/d1a88960-8f43-4b3c-89cf-649578db88e8 [2022-06-28T14:11:17.569Z] [2022-06-28T14:11:17.569Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-28T14:11:17.569Z] [2022-06-28T14:11:17.831Z] [2022-06-28T14:11:17.831Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-28T14:11:17.831Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-28T14:11:17.844Z] $ docker stop --time=1 1b9e7ba76bc0a44a8d664032d482ec600148a2b19a700dbb081a672ef5fe1722 [2022-06-28T14:11:20.562Z] $ docker rm -f 1b9e7ba76bc0a44a8d664032d482ec600148a2b19a700dbb081a672ef5fe1722 [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-28T14:11:21.283Z] + git log --format=format:%s -1 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 [Pipeline] sh [2022-06-28T14:11:21.580Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T14:11:21.580Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:21.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:11:21.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:21.982Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:22.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T14:11:22.513Z] $ docker top ea2fb942319796b894da1b7aec449a25c6f493771be0db81b1696c856c0bfa4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T14:11:22.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T14:11:22.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T14:11:22.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T14:11:22.762Z] $ docker exec ea2fb942319796b894da1b7aec449a25c6f493771be0db81b1696c856c0bfa4e ssh-agent [2022-06-28T14:11:22.876Z] SSH_AUTH_SOCK=/tmp/ssh-nb9rFkJdsXJ8/agent.33 [2022-06-28T14:11:22.876Z] SSH_AGENT_PID=40 [2022-06-28T14:11:22.881Z] Running ssh-add (command line suppressed) [2022-06-28T14:11:22.988Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1535409707078106993.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1535409707078106993.key) [2022-06-28T14:11:23.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T14:11:23.291Z] + git semver tag [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,615 [run_tag] DEBUG tag force:False [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,615 [check_head_tag] DEBUG check head tag [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,616 [execute] INFO git cat-file --batch-check [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,621 [execute] INFO git cat-file --batch [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,633 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,634 [execute] INFO git tag -a v0.0.1-dev.15 -m v0.0.1-dev.15 [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,634 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.15', '-m', 'v0.0.1-dev.15'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-28T14:11:23.862Z] 2022-06-28 14:11:23,640 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:23.862Z] 0.0.1-dev.15 [Pipeline] } [2022-06-28T14:11:23.875Z] $ docker exec --env ******** --env ******** ea2fb942319796b894da1b7aec449a25c6f493771be0db81b1696c856c0bfa4e ssh-agent -k [2022-06-28T14:11:23.984Z] unset SSH_AUTH_SOCK; [2022-06-28T14:11:23.984Z] unset SSH_AGENT_PID; [2022-06-28T14:11:23.984Z] echo Agent pid 40 killed; [2022-06-28T14:11:23.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T14:11:24.298Z] + git semver [Pipeline] } [2022-06-28T14:11:24.575Z] $ docker stop --time=1 ea2fb942319796b894da1b7aec449a25c6f493771be0db81b1696c856c0bfa4e [2022-06-28T14:11:25.843Z] $ docker rm -f ea2fb942319796b894da1b7aec449a25c6f493771be0db81b1696c856c0bfa4e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:26.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T14:11:26.241Z] [2022-06-28T14:11:26.241Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:26.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T14:11:26.544Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-28T14:11:26.544Z] ab5ef0e58194: Pulling fs layer [2022-06-28T14:11:26.544Z] 9712f1f96733: Pulling fs layer [2022-06-28T14:11:26.544Z] 63f879dbbcfc: Pulling fs layer [2022-06-28T14:11:26.544Z] 0d9ebad4ef96: Pulling fs layer [2022-06-28T14:11:26.544Z] e9a5061849ea: Pulling fs layer [2022-06-28T14:11:26.544Z] d747dcd14b5f: Pulling fs layer [2022-06-28T14:11:26.544Z] 2de7ff778b66: Pulling fs layer [2022-06-28T14:11:26.544Z] e9a5061849ea: Waiting [2022-06-28T14:11:26.544Z] d747dcd14b5f: Waiting [2022-06-28T14:11:26.544Z] 2de7ff778b66: Waiting [2022-06-28T14:11:26.544Z] 0d9ebad4ef96: Waiting [2022-06-28T14:11:26.544Z] 9712f1f96733: Download complete [2022-06-28T14:11:26.806Z] 63f879dbbcfc: Verifying Checksum [2022-06-28T14:11:26.806Z] 63f879dbbcfc: Download complete [2022-06-28T14:11:27.066Z] e9a5061849ea: Verifying Checksum [2022-06-28T14:11:27.066Z] e9a5061849ea: Download complete [2022-06-28T14:11:27.066Z] d747dcd14b5f: Download complete [2022-06-28T14:11:27.066Z] 0d9ebad4ef96: Verifying Checksum [2022-06-28T14:11:27.066Z] 0d9ebad4ef96: Download complete [2022-06-28T14:11:27.066Z] ab5ef0e58194: Download complete [2022-06-28T14:11:27.066Z] 2de7ff778b66: Verifying Checksum [2022-06-28T14:11:27.066Z] 2de7ff778b66: Download complete [2022-06-28T14:11:29.599Z] ab5ef0e58194: Pull complete [2022-06-28T14:11:29.858Z] 9712f1f96733: Pull complete [2022-06-28T14:11:30.424Z] 63f879dbbcfc: Pull complete [2022-06-28T14:11:34.634Z] 0d9ebad4ef96: Pull complete [2022-06-28T14:11:34.634Z] e9a5061849ea: Pull complete [2022-06-28T14:11:34.634Z] d747dcd14b5f: Pull complete [2022-06-28T14:11:35.203Z] 2de7ff778b66: Pull complete [2022-06-28T14:11:35.203Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-28T14:11:35.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-28T14:11:35.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:35.561Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:35.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-28T14:11:38.525Z] $ docker top 7c0f2414d8712df0e9f25e765a69b5b5fcc33be789be3a2561ffc885e7ee035c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-28T14:11:38.605Z] provisioning config files... [2022-06-28T14:11:38.612Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8274332639787318739tmp [2022-06-28T14:11:38.623Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4333824535106979966tmp [2022-06-28T14:11:38.635Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1044140593247349161tmp [Pipeline] { [Pipeline] echo [2022-06-28T14:11:38.649Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:38.934Z] ---> sigul-configuration.sh [2022-06-28T14:11:38.934Z] gpg: directory `/root/.gnupg' created [2022-06-28T14:11:38.934Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-28T14:11:38.934Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-28T14:11:38.934Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-28T14:11:38.934Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-28T14:11:38.934Z] gpg: CAST5 encrypted data [2022-06-28T14:11:38.934Z] gpg: encrypted with 1 passphrase [2022-06-28T14:11:38.934Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-28T14:11:39.220Z] + mkdir /home/jenkins [2022-06-28T14:11:39.220Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-28T14:11:39.503Z] + 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-28T14:11:39.510Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:39.792Z] ---> sigul-install.sh [2022-06-28T14:11:39.792Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-28T14:11:40.081Z] + git tag --list [2022-06-28T14:11:40.081Z] v0.0.0 [2022-06-28T14:11:40.081Z] v0.0.1-dev.1 [2022-06-28T14:11:40.081Z] v0.0.1-dev.10 [2022-06-28T14:11:40.081Z] v0.0.1-dev.11 [2022-06-28T14:11:40.081Z] v0.0.1-dev.12 [2022-06-28T14:11:40.081Z] v0.0.1-dev.13 [2022-06-28T14:11:40.081Z] v0.0.1-dev.14 [2022-06-28T14:11:40.081Z] v0.0.1-dev.15 [2022-06-28T14:11:40.081Z] v0.0.1-dev.2 [2022-06-28T14:11:40.081Z] v0.0.1-dev.3 [2022-06-28T14:11:40.081Z] v0.0.1-dev.4 [2022-06-28T14:11:40.081Z] v0.0.1-dev.5 [2022-06-28T14:11:40.081Z] v0.0.1-dev.6 [2022-06-28T14:11:40.081Z] v0.0.1-dev.7 [2022-06-28T14:11:40.081Z] v0.0.1-dev.8 [2022-06-28T14:11:40.081Z] v0.0.1-dev.9 [Pipeline] sh [2022-06-28T14:11:40.370Z] + lftools sign git-tag v0.0.1-dev.15 [2022-06-28T14:11:40.941Z] Signing Git tag with Sigul... [2022-06-28T14:11:40.941Z] Signing v0.0.1-dev.15 [Pipeline] echo [2022-06-28T14:11:41.522Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:41.805Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-28T14:11:41.814Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-28T14:11:41.845Z] $ docker stop --time=1 7c0f2414d8712df0e9f25e765a69b5b5fcc33be789be3a2561ffc885e7ee035c [2022-06-28T14:11:43.165Z] $ docker rm -f 7c0f2414d8712df0e9f25e765a69b5b5fcc33be789be3a2561ffc885e7ee035c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-28T14:11:43.600Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T14:11:43.600Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:43.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:11:43.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:43.985Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:44.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T14:11:44.386Z] $ docker top c7ceb9e776e758b65f4af3b3d76d88a068a663ce40cae269f9acc59f67aa6baf -eo pid,comm [2022-06-28T14:11:44.448Z] 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-28T14:11:44.448Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T14:11:44.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T14:11:44.470Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T14:11:44.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T14:11:44.596Z] $ docker exec c7ceb9e776e758b65f4af3b3d76d88a068a663ce40cae269f9acc59f67aa6baf ssh-agent [2022-06-28T14:11:44.725Z] SSH_AUTH_SOCK=/tmp/ssh-BiEEoxP5rper/agent.32 [2022-06-28T14:11:44.725Z] SSH_AGENT_PID=39 [2022-06-28T14:11:44.731Z] Running ssh-add (command line suppressed) [2022-06-28T14:11:44.876Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2471578223871065028.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2471578223871065028.key) [2022-06-28T14:11:44.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T14:11:45.178Z] + git semver bump pre [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,455 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,456 [bump_version] DEBUG bumping version:0.0.1-dev.15 on axis:pre with prefix:dev [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,456 [bump_version] DEBUG bumped version:0.0.1-dev.16 [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,456 [write_version] DEBUG write version:0.0.1-dev.16 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,456 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,456 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,458 [execute] INFO git cat-file --batch-check [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,458 [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-28T14:11:45.748Z] 2022-06-28 14:11:45,464 [execute] INFO git cat-file --batch [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T14:11:45.748Z] 2022-06-28 14:11:45,469 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:45.748Z] 0.0.1-dev.16 [Pipeline] } [2022-06-28T14:11:45.759Z] $ docker exec --env ******** --env ******** c7ceb9e776e758b65f4af3b3d76d88a068a663ce40cae269f9acc59f67aa6baf ssh-agent -k [2022-06-28T14:11:45.872Z] unset SSH_AUTH_SOCK; [2022-06-28T14:11:45.872Z] unset SSH_AGENT_PID; [2022-06-28T14:11:45.872Z] echo Agent pid 39 killed; [2022-06-28T14:11:45.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T14:11:46.189Z] + git semver [Pipeline] } [2022-06-28T14:11:46.463Z] $ docker stop --time=1 c7ceb9e776e758b65f4af3b3d76d88a068a663ce40cae269f9acc59f67aa6baf [2022-06-28T14:11:47.803Z] $ docker rm -f c7ceb9e776e758b65f4af3b3d76d88a068a663ce40cae269f9acc59f67aa6baf [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T14:11:48.169Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T14:11:48.169Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:48.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T14:11:48.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:48.566Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:48.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T14:11:49.013Z] $ docker top efd129428dcea47310d951384c22a8ec06b21f3677d15e3b3f4bc18d2642fe06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T14:11:49.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T14:11:49.107Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T14:11:49.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T14:11:49.254Z] $ docker exec efd129428dcea47310d951384c22a8ec06b21f3677d15e3b3f4bc18d2642fe06 ssh-agent [2022-06-28T14:11:49.395Z] SSH_AUTH_SOCK=/tmp/ssh-GLSyfmjrierg/agent.32 [2022-06-28T14:11:49.395Z] SSH_AGENT_PID=38 [2022-06-28T14:11:49.403Z] Running ssh-add (command line suppressed) [2022-06-28T14:11:49.529Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2541863483886923445.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2541863483886923445.key) [2022-06-28T14:11:49.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T14:11:49.835Z] + git semver push [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,136 [run_push] DEBUG push [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,137 [execute] INFO git cat-file --batch-check [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,137 [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-28T14:11:50.405Z] 2022-06-28 14:11:50,140 [execute] INFO git rev-list c94f5e0f85b222f9011b74e1676aff4f37548ada -- [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,141 [execute] DEBUG Popen(['git', 'rev-list', 'c94f5e0f85b222f9011b74e1676aff4f37548ada', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,144 [execute] INFO git fetch -v origin [2022-06-28T14:11:50.405Z] 2022-06-28 14:11:50,145 [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-28T14:11:50.666Z] 2022-06-28 14:11:50,633 [run_push] DEBUG no remote changes detected [2022-06-28T14:11:50.666Z] 2022-06-28 14:11:50,633 [execute] INFO git push origin semver [2022-06-28T14:11:50.666Z] 2022-06-28 14:11:50,633 [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-28T14:11:51.609Z] 2022-06-28 14:11:51,394 [run_push] DEBUG push all version tags [2022-06-28T14:11:51.609Z] 2022-06-28 14:11:51,394 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-28T14:11:51.609Z] 2022-06-28 14:11:51,395 [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-28T14:11:52.181Z] 2022-06-28 14:11:52,039 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-28T14:11:52.181Z] 0.0.1-dev.16 [Pipeline] } [2022-06-28T14:11:52.195Z] $ docker exec --env ******** --env ******** efd129428dcea47310d951384c22a8ec06b21f3677d15e3b3f4bc18d2642fe06 ssh-agent -k [2022-06-28T14:11:52.303Z] unset SSH_AUTH_SOCK; [2022-06-28T14:11:52.303Z] unset SSH_AGENT_PID; [2022-06-28T14:11:52.303Z] echo Agent pid 38 killed; [2022-06-28T14:11:52.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T14:11:52.620Z] + git semver [Pipeline] } [2022-06-28T14:11:52.895Z] $ docker stop --time=1 efd129428dcea47310d951384c22a8ec06b21f3677d15e3b3f4bc18d2642fe06 [2022-06-28T14:11:54.186Z] $ docker rm -f efd129428dcea47310d951384c22a8ec06b21f3677d15e3b3f4bc18d2642fe06 [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-28T14:11:54.797Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-28T14:11:54.798Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T14:11:54.798Z] total 16 [2022-06-28T14:11:54.798Z] drwxr-xr-x 3 root root 4096 Jun 28 14:02 . [2022-06-28T14:11:54.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 14:11 .. [2022-06-28T14:11:54.798Z] drwxr-xr-x 2 root root 4096 Jun 28 14:02 cost [2022-06-28T14:11:54.798Z] -rw-r--r-- 1 root root 89 Jun 28 14:02 cost.csv [2022-06-28T14:11:54.798Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T14:11:54.798Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-28T14:11:54.798Z] total 16 [2022-06-28T14:11:54.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 14:02 . [2022-06-28T14:11:54.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 14:11 .. [2022-06-28T14:11:54.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 14:02 cost [2022-06-28T14:11:54.798Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 28 14:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:55.092Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:55.953Z] ---> package-listing.sh [2022-06-28T14:11:55.954Z] ++ facter osfamily [2022-06-28T14:11:55.954Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T14:11:56.214Z] + OS_FAMILY=debian [2022-06-28T14:11:56.214Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-28T14:11:56.214Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T14:11:56.214Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T14:11:56.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T14:11:56.214Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T14:11:56.214Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T14:11:56.214Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T14:11:56.214Z] + case "${OS_FAMILY}" in [2022-06-28T14:11:56.214Z] + dpkg -l [2022-06-28T14:11:56.214Z] + grep '^ii' [2022-06-28T14:11:56.214Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T14:11:56.214Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T14:11:56.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T14:11:56.214Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-28T14:11:56.214Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-28T14:11:56.214Z] + 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-28T14:11:56.226Z] 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-28T14:11:56.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T14:11:57.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T14:11:57.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T14:11:57.152Z] prd-ubuntu20.04-docker-8c-8g-16227 does not seem to be running inside a container [2022-06-28T14:11:57.193Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T14:11:57.451Z] $ docker top 2bbd57202115311aeac97228d55065ef1d66aec2159d504f4de797f95dfd59c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T14:11:57.796Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T14:11:58.081Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T14:11:58.367Z] + ls /var/log/sa-host [2022-06-28T14:11:58.367Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T14:11:58.501Z] provisioning config files... [2022-06-28T14:11:58.511Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2871900722905325815tmp [Pipeline] { [Pipeline] echo [2022-06-28T14:11:58.525Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:58.804Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T14:11:58.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:59.139Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T14:11:59.147Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:59.430Z] ---> sudo-logs.sh [2022-06-28T14:11:59.430Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T14:11:59.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:11:59.752Z] ---> job-cost.sh [2022-06-28T14:11:59.752Z] lf-activate-venv: SKIPPING [2022-06-28T14:11:59.752Z] DEBUG: total: 0.2199999988079071 [2022-06-28T14:11:59.752Z] INFO: Retrieving Stack Cost... [2022-06-28T14:12:00.321Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T14:12:00.582Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T14:12:00.595Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T14:12:00.881Z] ---> logs-deploy.sh [2022-06-28T14:12:00.881Z] lf-activate-venv: SKIPPING [2022-06-28T14:12:00.882Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/17 [2022-06-28T14:12:00.882Z] INFO: archiving workspace using pattern(s): [2022-06-28T14:12:01.824Z] Archives upload complete. [2022-06-28T14:12:02.085Z] INFO: archiving logs to Nexus [2022-06-28T14:12:02.655Z] ---> uname -a: [2022-06-28T14:12:02.655Z] Linux prd-ubuntu20-04-docker-8c-8g-16227 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-06-28T14:12:02.655Z] [2022-06-28T14:12:02.655Z]