Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh15591420582282680172.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6220570759207940423.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5642924620342705432.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh5766884149102004026.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16438340177029702276.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116899 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 48aac476b513547f736cc1fa92662379694eca8e (main) Commit message: "fix: update command request and response topic (#186)" > git config core.sparsecheckout # timeout=10 > git checkout -f 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-list --no-walk 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T16:09:58.178Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T16:09:58.232Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T16:09:58.245Z] ========================================================= [2022-10-25T16:09:58.245Z] EdgeX Global Pipelines Version Info [2022-10-25T16:09:58.245Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:09:58.958Z] ------------------- [2022-10-25T16:09:58.958Z] stable info: [2022-10-25T16:09:58.958Z] ------------------- [2022-10-25T16:09:58.958Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T16:09:58.958Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T16:09:58.958Z] Message: update stable to v1.0.243 [2022-10-25T16:09:59.538Z] ------------------- [2022-10-25T16:09:59.538Z] experimental info: [2022-10-25T16:09:59.538Z] ------------------- [2022-10-25T16:09:59.538Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T16:09:59.538Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T16:09:59.538Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T16:09:59.688Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T16:09:59.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T16:09:59.711Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T16:09:59.722Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T16:09:59.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T16:09:59.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T16:09:59.758Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T16:09:59.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T16:09:59.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T16:09:59.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T16:09:59.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T16:09:59.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T16:09:59.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T16:09:59.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T16:09:59.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T16:09:59.855Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T16:09:59.863Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T16:09:59.871Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T16:09:59.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T16:09:59.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T16:09:59.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T16:09:59.915Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T16:09:59.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T16:09:59.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T16:09:59.955Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T16:09:59.966Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T16:09:59.977Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T16:09:59.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-25T16:09:59.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-25T16:10:00.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-25T16:10:00.022Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo [2022-10-25T16:10:00.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48aac47 [Pipeline] echo [2022-10-25T16:10:00.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T16:10:00.072Z] provisioning config files... [2022-10-25T16:10:00.094Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10797884186913180966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:10:00.403Z] ---> docker-login.sh [2022-10-25T16:10:00.403Z] nexus3.edgexfoundry.org:10001 [2022-10-25T16:10:00.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:00.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:00.664Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:00.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:00.664Z] [2022-10-25T16:10:00.664Z] Login Succeeded [2022-10-25T16:10:00.664Z] nexus3.edgexfoundry.org:10002 [2022-10-25T16:10:00.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:00.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:00.664Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:00.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:00.664Z] [2022-10-25T16:10:00.664Z] Login Succeeded [2022-10-25T16:10:00.664Z] nexus3.edgexfoundry.org:10003 [2022-10-25T16:10:00.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:00.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:00.926Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:00.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:00.926Z] [2022-10-25T16:10:00.926Z] Login Succeeded [2022-10-25T16:10:00.926Z] nexus3.edgexfoundry.org:10004 [2022-10-25T16:10:00.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:00.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:00.926Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:00.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:00.926Z] [2022-10-25T16:10:00.926Z] Login Succeeded [2022-10-25T16:10:00.926Z] docker.io [2022-10-25T16:10:01.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:01.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:01.447Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:01.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:01.447Z] [2022-10-25T16:10:01.447Z] Login Succeeded [2022-10-25T16:10:01.447Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T16:10:01.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T16:10:01.799Z] + git rev-list -1 --merges 48aac476b513547f736cc1fa92662379694eca8e~1..48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo [2022-10-25T16:10:01.839Z] -----------> git rev-list -1 --merges 48aac476b513547f736cc1fa92662379694eca8e~1..48aac476b513547f736cc1fa92662379694eca8e 48aac476b513547f736cc1fa92662379694eca8e [false] [Pipeline] sh [2022-10-25T16:10:02.132Z] + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo [2022-10-25T16:10:02.161Z] ========================================================= [2022-10-25T16:10:02.161Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T16:10:02.161Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T16:10:02.507Z] + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo [2022-10-25T16:10:02.520Z] [semverPrep] GIT_COMMIT: 48aac476b513547f736cc1fa92662379694eca8e, Commit Message: fix: update command request and response topic (#186) [Pipeline] echo [2022-10-25T16:10:02.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T16:10:02.874Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T16:10:02.874Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T16:10:02.874Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T16:10:02.874Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T16:10:02.874Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T16:10:02.874Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T16:10:02.874Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:10:03.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:10:03.234Z] [2022-10-25T16:10:03.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:10:03.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:10:03.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T16:10:03.531Z] b85a868b505f: Pulling fs layer [2022-10-25T16:10:03.531Z] e2be974225ed: Pulling fs layer [2022-10-25T16:10:03.531Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T16:10:03.531Z] 988bab9f4d93: Pulling fs layer [2022-10-25T16:10:03.531Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T16:10:03.531Z] eaf3925da568: Pulling fs layer [2022-10-25T16:10:03.531Z] bab4dde63d76: Pulling fs layer [2022-10-25T16:10:03.531Z] bde34c3a00c8: Pulling fs layer [2022-10-25T16:10:03.531Z] b352a97aabf1: Pulling fs layer [2022-10-25T16:10:03.531Z] 4872d77fe225: Pulling fs layer [2022-10-25T16:10:03.531Z] 5851b861e8e6: Pulling fs layer [2022-10-25T16:10:03.531Z] bab4dde63d76: Waiting [2022-10-25T16:10:03.531Z] bde34c3a00c8: Waiting [2022-10-25T16:10:03.531Z] eaf3925da568: Waiting [2022-10-25T16:10:03.531Z] 4872d77fe225: Waiting [2022-10-25T16:10:03.531Z] 988bab9f4d93: Waiting [2022-10-25T16:10:03.531Z] 1469e6f7b9e6: Waiting [2022-10-25T16:10:03.531Z] 5851b861e8e6: Waiting [2022-10-25T16:10:03.531Z] e2be974225ed: Download complete [2022-10-25T16:10:03.531Z] 988bab9f4d93: Verifying Checksum [2022-10-25T16:10:03.531Z] 988bab9f4d93: Download complete [2022-10-25T16:10:03.791Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T16:10:03.791Z] 1469e6f7b9e6: Download complete [2022-10-25T16:10:03.791Z] eaf3925da568: Download complete [2022-10-25T16:10:03.791Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T16:10:03.791Z] 339a4e72a1f5: Download complete [2022-10-25T16:10:03.791Z] bde34c3a00c8: Verifying Checksum [2022-10-25T16:10:03.791Z] bde34c3a00c8: Download complete [2022-10-25T16:10:03.791Z] b352a97aabf1: Download complete [2022-10-25T16:10:03.791Z] 4872d77fe225: Verifying Checksum [2022-10-25T16:10:03.791Z] 4872d77fe225: Download complete [2022-10-25T16:10:03.791Z] 5851b861e8e6: Verifying Checksum [2022-10-25T16:10:03.791Z] 5851b861e8e6: Download complete [2022-10-25T16:10:03.791Z] b85a868b505f: Verifying Checksum [2022-10-25T16:10:03.791Z] b85a868b505f: Download complete [2022-10-25T16:10:04.053Z] bab4dde63d76: Verifying Checksum [2022-10-25T16:10:04.053Z] bab4dde63d76: Download complete [2022-10-25T16:10:04.993Z] b85a868b505f: Pull complete [2022-10-25T16:10:05.251Z] e2be974225ed: Pull complete [2022-10-25T16:10:05.821Z] 339a4e72a1f5: Pull complete [2022-10-25T16:10:05.821Z] 988bab9f4d93: Pull complete [2022-10-25T16:10:06.080Z] 1469e6f7b9e6: Pull complete [2022-10-25T16:10:06.080Z] eaf3925da568: Pull complete [2022-10-25T16:10:07.983Z] bab4dde63d76: Pull complete [2022-10-25T16:10:07.983Z] bde34c3a00c8: Pull complete [2022-10-25T16:10:07.983Z] b352a97aabf1: Pull complete [2022-10-25T16:10:08.249Z] 4872d77fe225: Pull complete [2022-10-25T16:10:08.249Z] 5851b861e8e6: Pull complete [2022-10-25T16:10:08.249Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T16:10:08.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:10:08.249Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:10:08.338Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:10:08.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T16:10:10.814Z] $ docker top 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 -eo pid,comm [2022-10-25T16:10:10.869Z] 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-10-25T16:10:10.869Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T16:10:10.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T16:10:10.903Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T16:10:11.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T16:10:11.026Z] $ docker exec 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent [2022-10-25T16:10:11.134Z] SSH_AUTH_SOCK=/tmp/ssh-76Nq7e8AARuU/agent.31 [2022-10-25T16:10:11.134Z] SSH_AGENT_PID=37 [2022-10-25T16:10:11.141Z] Running ssh-add (command line suppressed) [2022-10-25T16:10:11.249Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13830031255289753020.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13830031255289753020.key) [2022-10-25T16:10:11.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T16:10:11.549Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T16:10:11.564Z] $ docker exec --env ******** --env ******** 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent -k [2022-10-25T16:10:11.666Z] unset SSH_AUTH_SOCK; [2022-10-25T16:10:11.667Z] unset SSH_AGENT_PID; [2022-10-25T16:10:11.667Z] echo Agent pid 37 killed; [2022-10-25T16:10:11.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T16:10:11.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T16:10:11.704Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T16:10:11.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T16:10:11.829Z] $ docker exec 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent [2022-10-25T16:10:11.948Z] SSH_AUTH_SOCK=/tmp/ssh-16G457WNXIEr/agent.69 [2022-10-25T16:10:11.948Z] SSH_AGENT_PID=75 [2022-10-25T16:10:11.954Z] Running ssh-add (command line suppressed) [2022-10-25T16:10:12.055Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13039134805202116808.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13039134805202116808.key) [2022-10-25T16:10:12.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T16:10:12.354Z] + git semver init [2022-10-25T16:10:12.613Z] 2022-10-25 16:10:12,560 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T16:10:12.613Z] 2022-10-25 16:10:12,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-10-25T16:10:12.613Z] 2022-10-25 16:10:12,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-10-25T16:10:12.613Z] 2022-10-25 16:10:12,562 [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-10-25T16:10:13.993Z] 2022-10-25 16:10:13,625 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-10-25T16:10:13.993Z] 2022-10-25 16:10:13,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-10-25T16:10:13.993Z] 2022-10-25 16:10:13,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:10:13.993Z] 2022-10-25 16:10:13,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:10:13.993Z] 2.3.0-dev.37 [Pipeline] } [2022-10-25T16:10:14.004Z] $ docker exec --env ******** --env ******** 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent -k [2022-10-25T16:10:14.106Z] unset SSH_AUTH_SOCK; [2022-10-25T16:10:14.106Z] unset SSH_AGENT_PID; [2022-10-25T16:10:14.106Z] echo Agent pid 75 killed; [2022-10-25T16:10:14.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T16:10:14.425Z] + git semver [Pipeline] } [2022-10-25T16:10:14.701Z] $ docker stop --time=1 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 [2022-10-25T16:10:15.973Z] $ docker rm -f 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T16:10:16.315Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T16:10:16.496Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T16:10:16.499Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.37 [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-10-25T16:10:16.605Z] provisioning config files... [2022-10-25T16:10:16.613Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3368912214460755001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:10:16.911Z] ---> docker-login.sh [2022-10-25T16:10:16.911Z] nexus3.edgexfoundry.org:10001 [2022-10-25T16:10:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:16.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:16.911Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:16.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:16.911Z] [2022-10-25T16:10:16.911Z] Login Succeeded [2022-10-25T16:10:16.912Z] nexus3.edgexfoundry.org:10002 [2022-10-25T16:10:16.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:16.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:16.912Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:16.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:16.912Z] [2022-10-25T16:10:16.912Z] Login Succeeded [2022-10-25T16:10:16.912Z] nexus3.edgexfoundry.org:10003 [2022-10-25T16:10:17.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:17.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:17.170Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:17.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:17.170Z] [2022-10-25T16:10:17.170Z] Login Succeeded [2022-10-25T16:10:17.170Z] nexus3.edgexfoundry.org:10004 [2022-10-25T16:10:17.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:17.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:17.170Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:17.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:17.170Z] [2022-10-25T16:10:17.170Z] Login Succeeded [2022-10-25T16:10:17.170Z] docker.io [2022-10-25T16:10:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:10:17.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:10:17.689Z] Configure a credential helper to remove this warning. See [2022-10-25T16:10:17.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:10:17.689Z] [2022-10-25T16:10:17.689Z] Login Succeeded [2022-10-25T16:10:17.689Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T16:10:17.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T16:10:17.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:10:17.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:10:17.770Z] ========================================================= [2022-10-25T16:10:17.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T16:10:17.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:10:18.088Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T16:10:18.088Z] Sending build context to Docker daemon 21.44MB [2022-10-25T16:10:18.088Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T16:10:18.089Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T16:10:18.348Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T16:10:18.348Z] 213ec9aee27d: Pulling fs layer [2022-10-25T16:10:18.348Z] 4583459ba037: Pulling fs layer [2022-10-25T16:10:18.348Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T16:10:18.348Z] 53926ce57604: Pulling fs layer [2022-10-25T16:10:18.348Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T16:10:18.348Z] 30f14e443154: Pulling fs layer [2022-10-25T16:10:18.348Z] 801331c1e519: Pulling fs layer [2022-10-25T16:10:18.348Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T16:10:18.348Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T16:10:18.348Z] 53926ce57604: Waiting [2022-10-25T16:10:18.348Z] 21b2b0c7a3f4: Waiting [2022-10-25T16:10:18.348Z] 30f14e443154: Waiting [2022-10-25T16:10:18.348Z] 801331c1e519: Waiting [2022-10-25T16:10:18.348Z] 99cc6dd402b0: Waiting [2022-10-25T16:10:18.348Z] 7d9ed39f4882: Waiting [2022-10-25T16:10:18.348Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T16:10:18.348Z] 93c1e223e6f2: Download complete [2022-10-25T16:10:18.348Z] 4583459ba037: Download complete [2022-10-25T16:10:18.348Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T16:10:18.348Z] 21b2b0c7a3f4: Download complete [2022-10-25T16:10:18.348Z] 30f14e443154: Verifying Checksum [2022-10-25T16:10:18.348Z] 30f14e443154: Download complete [2022-10-25T16:10:18.348Z] 213ec9aee27d: Verifying Checksum [2022-10-25T16:10:18.348Z] 801331c1e519: Verifying Checksum [2022-10-25T16:10:18.348Z] 801331c1e519: Download complete [2022-10-25T16:10:18.348Z] 213ec9aee27d: Pull complete [2022-10-25T16:10:18.609Z] 4583459ba037: Pull complete [2022-10-25T16:10:18.609Z] 93c1e223e6f2: Pull complete [2022-10-25T16:10:19.558Z] 53926ce57604: Verifying Checksum [2022-10-25T16:10:19.558Z] 53926ce57604: Download complete [2022-10-25T16:10:19.816Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T16:10:19.816Z] 7d9ed39f4882: Download complete [2022-10-25T16:10:19.816Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T16:10:19.816Z] 99cc6dd402b0: Download complete [2022-10-25T16:10:23.105Z] 53926ce57604: Pull complete [2022-10-25T16:10:23.105Z] 21b2b0c7a3f4: Pull complete [2022-10-25T16:10:23.364Z] 30f14e443154: Pull complete [2022-10-25T16:10:23.364Z] 801331c1e519: Pull complete [2022-10-25T16:10:25.892Z] 99cc6dd402b0: Pull complete [2022-10-25T16:10:26.150Z] 7d9ed39f4882: Pull complete [2022-10-25T16:10:26.150Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T16:10:26.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T16:10:26.150Z] ---> 1dedd983c030 [2022-10-25T16:10:26.150Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T16:10:29.445Z] ---> Running in d18790a84245 [2022-10-25T16:10:29.445Z] Removing intermediate container d18790a84245 [2022-10-25T16:10:29.445Z] ---> d9bbbb505e90 [2022-10-25T16:10:29.445Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T16:10:29.445Z] ---> Running in 0012d79b2970 [2022-10-25T16:10:29.445Z] Removing intermediate container 0012d79b2970 [2022-10-25T16:10:29.445Z] ---> fd7027747c77 [2022-10-25T16:10:29.445Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T16:10:29.711Z] ---> Running in 8c6db4a85059 [2022-10-25T16:10:29.972Z] Removing intermediate container 8c6db4a85059 [2022-10-25T16:10:29.972Z] ---> e0d28cfc8e87 [2022-10-25T16:10:29.972Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T16:10:29.972Z] ---> Running in 36ead3a686df [2022-10-25T16:10:29.972Z] Removing intermediate container 36ead3a686df [2022-10-25T16:10:29.972Z] ---> a600151e1f80 [2022-10-25T16:10:29.972Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T16:10:30.247Z] ---> Running in 8dd1f525fb40 [2022-10-25T16:10:30.247Z] Removing intermediate container 8dd1f525fb40 [2022-10-25T16:10:30.247Z] ---> 09e5635112da [2022-10-25T16:10:30.247Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T16:10:30.247Z] ---> Running in b88de89e733d [2022-10-25T16:10:30.817Z] Removing intermediate container b88de89e733d [2022-10-25T16:10:30.817Z] ---> 5a6698d3e4bf [2022-10-25T16:10:30.817Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T16:10:31.075Z] ---> Running in 36bd014f02ff [2022-10-25T16:10:31.333Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T16:10:31.578Z] Still waiting to schedule task [2022-10-25T16:10:31.579Z] ‘prd-ubuntu20.04-docker-8c-8g-116887’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-25T16:10:31.579Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116900’ is offline [2022-10-25T16:10:31.579Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116901’ is offline [2022-10-25T16:10:31.594Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T16:10:31.594Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T16:10:31.594Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T16:10:31.594Z] OK: 211 MiB in 51 packages [2022-10-25T16:10:32.158Z] Removing intermediate container 36bd014f02ff [2022-10-25T16:10:32.158Z] ---> dbd31f2e2128 [2022-10-25T16:10:32.158Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T16:10:32.158Z] ---> Running in d1200c75356e [2022-10-25T16:10:32.158Z] Removing intermediate container d1200c75356e [2022-10-25T16:10:32.158Z] ---> 5f5382d80f91 [2022-10-25T16:10:32.158Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T16:10:32.416Z] ---> b6f6b3181fd1 [2022-10-25T16:10:32.416Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T16:10:32.416Z] ---> Running in ee373067dfdc [2022-10-25T16:10:54.368Z] Removing intermediate container ee373067dfdc [2022-10-25T16:10:54.368Z] ---> f4a0f353a0db [2022-10-25T16:10:54.368Z] Step 13/14 : COPY . . [2022-10-25T16:10:54.368Z] ---> e6aeff9dd7ef [2022-10-25T16:10:54.368Z] Step 14/14 : RUN ${MAKE} [2022-10-25T16:10:54.368Z] ---> Running in 53ef4f8e6b19 [2022-10-25T16:10:54.368Z] noop [2022-10-25T16:10:54.368Z] Removing intermediate container 53ef4f8e6b19 [2022-10-25T16:10:54.368Z] ---> 257f4f03ac6f [2022-10-25T16:10:54.368Z] Successfully built 257f4f03ac6f [2022-10-25T16:10:54.368Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:10:54.679Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T16:10:54.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:10:54.739Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:10:54.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T16:10:55.128Z] $ docker top 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T16:10:55.460Z] + go version [2022-10-25T16:10:55.460Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T16:10:55.474Z] $ docker stop --time=1 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c [2022-10-25T16:10:56.738Z] $ docker rm -f 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:10:57.144Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T16:10:57.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:10:57.213Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:10:57.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T16:10:57.652Z] $ docker top abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T16:10:57.990Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-10-25T16:10:58.283Z] + make test [2022-10-25T16:10:58.283Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T16:10:58.541Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T16:11:10.753Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T16:11:11.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-25T16:11:11.012Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T16:11:11.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.589s coverage: 86.5% of statements [2022-10-25T16:11:19.119Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T16:11:19.119Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T16:11:22.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T16:11:22.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T16:11:22.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T16:11:22.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T16:11:22.687Z] $ docker stop --time=1 abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 [2022-10-25T16:11:24.647Z] $ docker rm -f abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T16:11:25.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T16:11:25.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T16:11:25.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T16:11:25.958Z] + ls -al . [2022-10-25T16:11:25.958Z] total 244 [2022-10-25T16:11:25.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 16:10 . [2022-10-25T16:11:25.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 .. [2022-10-25T16:11:25.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 16:11 .git [2022-10-25T16:11:25.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:09 .github [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 16:09 .gitignore [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 16:09 .golangci.yml [2022-10-25T16:11:25.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 16:10 .semver [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 16:09 Attribution.txt [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 16:09 CHANGELOG.md [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 16:09 Dockerfile [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 16:09 GOVERNANCE.md [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 16:09 Jenkinsfile [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 16:09 LICENSE [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 16:09 Makefile [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 16:09 OWNERS.md [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 16:09 README.md [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 16:10 VERSION [2022-10-25T16:11:25.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 16:09 bin [2022-10-25T16:11:25.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:09 cmd [2022-10-25T16:11:25.958Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 16:11 coverage.out [2022-10-25T16:11:25.958Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 16:09 doc [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 16:09 go.mod [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 16:09 go.sum [2022-10-25T16:11:25.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 internal [2022-10-25T16:11:25.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 snap [2022-10-25T16:11:25.958Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:11:26.318Z] + 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=48aac476b513547f736cc1fa92662379694eca8e --label arch=amd64 --label version=2.3.0-dev.37 . [2022-10-25T16:11:26.318Z] Sending build context to Docker daemon 21.52MB [2022-10-25T16:11:26.318Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T16:11:26.318Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T16:11:26.318Z] ---> 257f4f03ac6f [2022-10-25T16:11:26.318Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T16:11:26.578Z] ---> Running in f6b5c81c118d [2022-10-25T16:11:26.578Z] Removing intermediate container f6b5c81c118d [2022-10-25T16:11:26.578Z] ---> 4188ac8dfa30 [2022-10-25T16:11:26.578Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T16:11:26.578Z] ---> Running in 01c6b55a26d9 [2022-10-25T16:11:26.840Z] Removing intermediate container 01c6b55a26d9 [2022-10-25T16:11:26.840Z] ---> fe71be9fdbc4 [2022-10-25T16:11:26.840Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T16:11:26.840Z] ---> Running in 5b18c2a2aa37 [2022-10-25T16:11:26.840Z] Removing intermediate container 5b18c2a2aa37 [2022-10-25T16:11:26.840Z] ---> e1cf00878050 [2022-10-25T16:11:26.840Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T16:11:26.840Z] ---> Running in 117d0b72e7ba [2022-10-25T16:11:27.098Z] Removing intermediate container 117d0b72e7ba [2022-10-25T16:11:27.098Z] ---> badafe924fa6 [2022-10-25T16:11:27.098Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T16:11:27.098Z] ---> Running in d10c66d203d2 [2022-10-25T16:11:27.098Z] Removing intermediate container d10c66d203d2 [2022-10-25T16:11:27.098Z] ---> 8f8ccfbe8c9f [2022-10-25T16:11:27.098Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T16:11:27.098Z] ---> Running in 77bedf6a43dc [2022-10-25T16:11:27.665Z] Removing intermediate container 77bedf6a43dc [2022-10-25T16:11:27.665Z] ---> 8eece7d16995 [2022-10-25T16:11:27.665Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T16:11:27.665Z] ---> Running in fdb3096862d7 [2022-10-25T16:11:27.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T16:11:28.183Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T16:11:28.183Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T16:11:28.443Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T16:11:28.443Z] OK: 211 MiB in 51 packages [2022-10-25T16:11:29.013Z] Removing intermediate container fdb3096862d7 [2022-10-25T16:11:29.013Z] ---> 6e119272deb5 [2022-10-25T16:11:29.013Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T16:11:29.013Z] ---> Running in 7ea96537eed7 [2022-10-25T16:11:29.013Z] Removing intermediate container 7ea96537eed7 [2022-10-25T16:11:29.013Z] ---> 5bdc2468f158 [2022-10-25T16:11:29.013Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T16:11:29.013Z] ---> 7ea65b394f91 [2022-10-25T16:11:29.013Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T16:11:29.013Z] ---> Running in 1edb8049abab [2022-10-25T16:11:29.990Z] Removing intermediate container 1edb8049abab [2022-10-25T16:11:29.990Z] ---> c4ebe44233c6 [2022-10-25T16:11:29.990Z] Step 13/27 : COPY . . [2022-10-25T16:11:30.612Z] ---> e221813c74f6 [2022-10-25T16:11:30.612Z] Step 14/27 : RUN ${MAKE} [2022-10-25T16:11:30.612Z] ---> Running in b4d5d51ec795 [2022-10-25T16:11:30.889Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T16:11:52.857Z] Removing intermediate container b4d5d51ec795 [2022-10-25T16:11:52.858Z] ---> 785d82ed70ac [2022-10-25T16:11:52.858Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T16:11:52.858Z] 3.16: Pulling from library/alpine [2022-10-25T16:11:52.858Z] 213ec9aee27d: Already exists [2022-10-25T16:11:52.858Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T16:11:52.858Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T16:11:52.858Z] ---> 9c6f07244728 [2022-10-25T16:11:52.858Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T16:11:52.858Z] ---> Running in 6659cd520b41 [2022-10-25T16:11:52.858Z] Removing intermediate container 6659cd520b41 [2022-10-25T16:11:52.858Z] ---> 2b870a3ff3d6 [2022-10-25T16:11:52.858Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T16:11:52.858Z] ---> Running in 64533b89350f [2022-10-25T16:11:52.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T16:11:52.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T16:11:52.858Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T16:11:52.858Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T16:11:52.858Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T16:11:52.858Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T16:11:52.858Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T16:11:52.858Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T16:11:52.858Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T16:11:52.858Z] OK: 8 MiB in 20 packages [2022-10-25T16:11:52.858Z] Removing intermediate container 64533b89350f [2022-10-25T16:11:52.858Z] ---> a4481a990593 [2022-10-25T16:11:52.858Z] Step 18/27 : WORKDIR / [2022-10-25T16:11:52.858Z] ---> Running in b5a2d1b91420 [2022-10-25T16:11:52.858Z] Removing intermediate container b5a2d1b91420 [2022-10-25T16:11:52.858Z] ---> 532a17408459 [2022-10-25T16:11:52.858Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T16:11:53.429Z] ---> 53c4c46dd2a9 [2022-10-25T16:11:53.429Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T16:11:53.688Z] ---> e43ed821a2cd [2022-10-25T16:11:53.688Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T16:11:53.688Z] ---> b09574f83aa8 [2022-10-25T16:11:53.688Z] Step 22/27 : EXPOSE 59984 [2022-10-25T16:11:53.952Z] ---> Running in c11d85429b89 [2022-10-25T16:11:53.952Z] Removing intermediate container c11d85429b89 [2022-10-25T16:11:53.952Z] ---> e9193121b89d [2022-10-25T16:11:53.952Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T16:11:53.952Z] ---> Running in 76153b0049dd [2022-10-25T16:11:53.952Z] Removing intermediate container 76153b0049dd [2022-10-25T16:11:53.952Z] ---> d8629a8dc1a7 [2022-10-25T16:11:53.952Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T16:11:54.211Z] ---> Running in 0fa0e654d906 [2022-10-25T16:11:54.211Z] Removing intermediate container 0fa0e654d906 [2022-10-25T16:11:54.211Z] ---> 9a2ff10ee923 [2022-10-25T16:11:54.211Z] Step 25/27 : LABEL arch=amd64 [2022-10-25T16:11:54.211Z] ---> Running in b866baf1a623 [2022-10-25T16:11:54.211Z] Removing intermediate container b866baf1a623 [2022-10-25T16:11:54.211Z] ---> b7965961f52b [2022-10-25T16:11:54.211Z] Step 26/27 : LABEL git_sha=48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:11:54.470Z] ---> Running in ebdc57470acc [2022-10-25T16:11:54.470Z] Removing intermediate container ebdc57470acc [2022-10-25T16:11:54.470Z] ---> 7ae6b1bd8211 [2022-10-25T16:11:54.470Z] Step 27/27 : LABEL version=2.3.0-dev.37 [2022-10-25T16:11:54.470Z] ---> Running in 19797281e2f6 [2022-10-25T16:11:54.728Z] Removing intermediate container 19797281e2f6 [2022-10-25T16:11:54.728Z] ---> 53e37ce14d0e [2022-10-25T16:11:54.728Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T16:11:54.728Z] Successfully built 53e37ce14d0e [2022-10-25T16:11:54.728Z] 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-10-25T16:11:54.829Z] provisioning config files... [2022-10-25T16:11:54.851Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9146192891324098220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:11:55.138Z] ---> docker-login.sh [2022-10-25T16:11:55.138Z] nexus3.edgexfoundry.org:10001 [2022-10-25T16:11:55.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:11:55.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:11:55.138Z] Configure a credential helper to remove this warning. See [2022-10-25T16:11:55.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:11:55.138Z] [2022-10-25T16:11:55.138Z] Login Succeeded [2022-10-25T16:11:55.138Z] nexus3.edgexfoundry.org:10002 [2022-10-25T16:11:55.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:11:55.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:11:55.138Z] Configure a credential helper to remove this warning. See [2022-10-25T16:11:55.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:11:55.138Z] [2022-10-25T16:11:55.138Z] Login Succeeded [2022-10-25T16:11:55.138Z] nexus3.edgexfoundry.org:10003 [2022-10-25T16:11:55.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:11:55.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:11:55.399Z] Configure a credential helper to remove this warning. See [2022-10-25T16:11:55.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:11:55.399Z] [2022-10-25T16:11:55.399Z] Login Succeeded [2022-10-25T16:11:55.399Z] nexus3.edgexfoundry.org:10004 [2022-10-25T16:11:55.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:11:55.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:11:55.399Z] Configure a credential helper to remove this warning. See [2022-10-25T16:11:55.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:11:55.399Z] [2022-10-25T16:11:55.399Z] Login Succeeded [2022-10-25T16:11:55.399Z] docker.io [2022-10-25T16:11:55.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:11:55.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:11:55.968Z] Configure a credential helper to remove this warning. See [2022-10-25T16:11:55.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:11:55.968Z] [2022-10-25T16:11:55.968Z] Login Succeeded [2022-10-25T16:11:55.968Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T16:11:55.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T16:11:55.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:11:56.012Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-10-25T16:11:56.012Z] 48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:11:56.012Z] latest [2022-10-25T16:11:56.012Z] 2.3.0-dev.37 [2022-10-25T16:11:56.012Z] 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:11:56.012Z] main [2022-10-25T16:11:56.012Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:11:56.315Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:11:56.619Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:11:56.619Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-25T16:11:56.619Z] 3e8b7e8fdbc2: Preparing [2022-10-25T16:11:56.619Z] b78fbc774860: Preparing [2022-10-25T16:11:56.619Z] c7df232a424e: Preparing [2022-10-25T16:11:56.619Z] b48fa8ed9aa2: Preparing [2022-10-25T16:11:56.619Z] 994393dc58e7: Preparing [2022-10-25T16:11:56.619Z] 994393dc58e7: Layer already exists [2022-10-25T16:11:56.619Z] 3e8b7e8fdbc2: Pushed [2022-10-25T16:11:56.619Z] b78fbc774860: Pushed [2022-10-25T16:11:56.881Z] b48fa8ed9aa2: Pushed [2022-10-25T16:12:00.171Z] c7df232a424e: Pushed [2022-10-25T16:12:00.171Z] 48aac476b513547f736cc1fa92662379694eca8e: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:00.484Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:00.784Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-10-25T16:12:00.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-25T16:12:00.784Z] 3e8b7e8fdbc2: Preparing [2022-10-25T16:12:00.784Z] b78fbc774860: Preparing [2022-10-25T16:12:00.784Z] c7df232a424e: Preparing [2022-10-25T16:12:00.784Z] b48fa8ed9aa2: Preparing [2022-10-25T16:12:00.784Z] 994393dc58e7: Preparing [2022-10-25T16:12:00.784Z] 3e8b7e8fdbc2: Layer already exists [2022-10-25T16:12:00.784Z] b78fbc774860: Layer already exists [2022-10-25T16:12:00.784Z] 994393dc58e7: Layer already exists [2022-10-25T16:12:00.784Z] c7df232a424e: Layer already exists [2022-10-25T16:12:00.784Z] b48fa8ed9aa2: Layer already exists [2022-10-25T16:12:00.784Z] latest: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:01.090Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:01.391Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 [2022-10-25T16:12:01.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-25T16:12:01.391Z] 3e8b7e8fdbc2: Preparing [2022-10-25T16:12:01.391Z] b78fbc774860: Preparing [2022-10-25T16:12:01.391Z] c7df232a424e: Preparing [2022-10-25T16:12:01.391Z] b48fa8ed9aa2: Preparing [2022-10-25T16:12:01.391Z] 994393dc58e7: Preparing [2022-10-25T16:12:01.391Z] b48fa8ed9aa2: Layer already exists [2022-10-25T16:12:01.391Z] c7df232a424e: Layer already exists [2022-10-25T16:12:01.391Z] 994393dc58e7: Layer already exists [2022-10-25T16:12:01.391Z] b78fbc774860: Layer already exists [2022-10-25T16:12:01.391Z] 3e8b7e8fdbc2: Layer already exists [2022-10-25T16:12:01.391Z] 2.3.0-dev.37: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:01.732Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:02.047Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:12:02.047Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-25T16:12:02.047Z] 3e8b7e8fdbc2: Preparing [2022-10-25T16:12:02.047Z] b78fbc774860: Preparing [2022-10-25T16:12:02.047Z] c7df232a424e: Preparing [2022-10-25T16:12:02.047Z] b48fa8ed9aa2: Preparing [2022-10-25T16:12:02.047Z] 994393dc58e7: Preparing [2022-10-25T16:12:02.047Z] c7df232a424e: Layer already exists [2022-10-25T16:12:02.047Z] 3e8b7e8fdbc2: Layer already exists [2022-10-25T16:12:02.047Z] b48fa8ed9aa2: Layer already exists [2022-10-25T16:12:02.047Z] 994393dc58e7: Layer already exists [2022-10-25T16:12:02.047Z] b78fbc774860: Layer already exists [2022-10-25T16:12:02.047Z] 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:02.351Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:02.654Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-10-25T16:12:02.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-25T16:12:02.654Z] 3e8b7e8fdbc2: Preparing [2022-10-25T16:12:02.654Z] b78fbc774860: Preparing [2022-10-25T16:12:02.654Z] c7df232a424e: Preparing [2022-10-25T16:12:02.654Z] b48fa8ed9aa2: Preparing [2022-10-25T16:12:02.654Z] 994393dc58e7: Preparing [2022-10-25T16:12:02.654Z] 3e8b7e8fdbc2: Layer already exists [2022-10-25T16:12:02.654Z] 994393dc58e7: Layer already exists [2022-10-25T16:12:02.654Z] b78fbc774860: Layer already exists [2022-10-25T16:12:02.654Z] c7df232a424e: Layer already exists [2022-10-25T16:12:02.654Z] b48fa8ed9aa2: Layer already exists [2022-10-25T16:12:02.654Z] main: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T16:12:02.692Z] ===================================================== [Pipeline] echo [2022-10-25T16:12:02.699Z] taggedImages: [2022-10-25T16:12:02.699Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:12:02.699Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-10-25T16:12:02.699Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 [2022-10-25T16:12:02.699Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:12:02.699Z] - 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-10-25T16:12:03.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T16:12:03.072Z] [2022-10-25T16:12:03.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:12:03.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T16:12:03.368Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T16:12:03.368Z] 5eb5b503b376: Pulling fs layer [2022-10-25T16:12:03.368Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T16:12:03.368Z] ec43610c2a17: Pulling fs layer [2022-10-25T16:12:03.368Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T16:12:03.368Z] 33b1e0a273af: Pulling fs layer [2022-10-25T16:12:03.368Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T16:12:03.368Z] 2f39f015ded8: Pulling fs layer [2022-10-25T16:12:03.368Z] 33b1e0a273af: Waiting [2022-10-25T16:12:03.368Z] 5d3b04190fa2: Waiting [2022-10-25T16:12:03.368Z] 2f39f015ded8: Waiting [2022-10-25T16:12:03.368Z] 3a2ae6a8a46f: Waiting [2022-10-25T16:12:03.368Z] 5c69ac0246d0: Download complete [2022-10-25T16:12:03.368Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T16:12:03.368Z] 3a2ae6a8a46f: Download complete [2022-10-25T16:12:03.368Z] ec43610c2a17: Verifying Checksum [2022-10-25T16:12:03.368Z] ec43610c2a17: Download complete [2022-10-25T16:12:03.368Z] 33b1e0a273af: Download complete [2022-10-25T16:12:03.368Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T16:12:03.368Z] 5d3b04190fa2: Download complete [2022-10-25T16:12:03.628Z] 5eb5b503b376: Verifying Checksum [2022-10-25T16:12:03.628Z] 5eb5b503b376: Download complete [2022-10-25T16:12:04.197Z] 2f39f015ded8: Download complete [2022-10-25T16:12:04.763Z] 5eb5b503b376: Pull complete [2022-10-25T16:12:04.763Z] 5c69ac0246d0: Pull complete [2022-10-25T16:12:05.330Z] ec43610c2a17: Pull complete [2022-10-25T16:12:05.330Z] 3a2ae6a8a46f: Pull complete [2022-10-25T16:12:05.589Z] 33b1e0a273af: Pull complete [2022-10-25T16:12:05.589Z] 5d3b04190fa2: Pull complete [2022-10-25T16:12:09.779Z] 2f39f015ded8: Pull complete [2022-10-25T16:12:09.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T16:12:09.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T16:12:09.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:12:09.857Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:12:09.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T16:12:12.133Z] $ docker top 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:12:12.504Z] ---> job-cost.sh [2022-10-25T16:12:12.504Z] lf-activate-venv: SKIPPING [2022-10-25T16:12:12.504Z] INFO: No Stack... [2022-10-25T16:12:12.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T16:12:13.331Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T16:12:13.621Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-10-25T16:12:13.621Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T16:12:13.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [2022-10-25T16:12:13.643Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] did not exist. Created. [2022-10-25T16:12:13.643Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T16:12:13.943Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T16:12:13.974Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T16:12:13.983Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T16:12:14.001Z] $ docker stop --time=1 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 [2022-10-25T16:12:15.169Z] $ docker rm -f 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T16:20:44.705Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116906 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-10-25T16:20:44.715Z] Running in /w/workspace/device-onvif-camera/76 [Pipeline] { [Pipeline] checkout [2022-10-25T16:20:44.748Z] The recommended git tool is: git [2022-10-25T16:20:50.211Z] using credential edgex-jenkins-ssh [2022-10-25T16:20:50.225Z] Cloning the remote Git repository [2022-10-25T16:20:50.272Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T16:20:50.345Z] > git init /w/workspace/device-onvif-camera/76 # timeout=10 [2022-10-25T16:20:50.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T16:20:50.522Z] > git --version # timeout=10 [2022-10-25T16:20:50.541Z] > git --version # 'git version 2.25.1' [2022-10-25T16:20:50.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T16:20:50.593Z] Verifying host key using known hosts file [2022-10-25T16:20:50.784Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T16:20:50.798Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T16:20:53.165Z] Avoid second fetch [2022-10-25T16:20:53.165Z] Checking out Revision 48aac476b513547f736cc1fa92662379694eca8e (main) [2022-10-25T16:20:52.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T16:20:52.239Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T16:20:53.184Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T16:20:53.202Z] > git checkout -f 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-25T16:20:53.869Z] Commit message: "fix: update command request and response topic (#186)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T16:20:54.721Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T16:20:54.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T16:20:54.721Z] Dload Upload Total Spent Left Speed [2022-10-25T16:20:54.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-10-25T16:20:55.305Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T16:20:55.628Z] + sudo tee /etc/docker/daemon.new [2022-10-25T16:20:55.628Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T16:20:55.628Z] { [2022-10-25T16:20:55.628Z] "registry-mirrors": [ [2022-10-25T16:20:55.628Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T16:20:55.628Z] ], [2022-10-25T16:20:55.628Z] "bip": "10.250.0.254/24", [2022-10-25T16:20:55.628Z] "hosts": [ [2022-10-25T16:20:55.628Z] "tcp://0.0.0.0:5555", [2022-10-25T16:20:55.628Z] "unix:///var/run/docker.sock" [2022-10-25T16:20:55.628Z] ], [2022-10-25T16:20:55.628Z] "mtu": 1458, [2022-10-25T16:20:55.628Z] "selinux-enabled": true, [2022-10-25T16:20:55.628Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T16:20:55.628Z] } [Pipeline] sh [2022-10-25T16:20:55.957Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T16:20:56.281Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T16:21:14.560Z] provisioning config files... [2022-10-25T16:21:14.584Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/76@tmp/config9183073460106130443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:21:14.939Z] ---> docker-login.sh [2022-10-25T16:21:14.939Z] nexus3.edgexfoundry.org:10001 [2022-10-25T16:21:15.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:21:15.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:21:15.534Z] Configure a credential helper to remove this warning. See [2022-10-25T16:21:15.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:21:15.534Z] [2022-10-25T16:21:15.534Z] Login Succeeded [2022-10-25T16:21:15.534Z] nexus3.edgexfoundry.org:10002 [2022-10-25T16:21:15.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:21:16.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:21:16.080Z] Configure a credential helper to remove this warning. See [2022-10-25T16:21:16.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:21:16.080Z] [2022-10-25T16:21:16.080Z] Login Succeeded [2022-10-25T16:21:16.080Z] nexus3.edgexfoundry.org:10003 [2022-10-25T16:21:16.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:21:16.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:21:16.354Z] Configure a credential helper to remove this warning. See [2022-10-25T16:21:16.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:21:16.354Z] [2022-10-25T16:21:16.354Z] Login Succeeded [2022-10-25T16:21:16.354Z] nexus3.edgexfoundry.org:10004 [2022-10-25T16:21:16.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:21:16.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:21:16.907Z] Configure a credential helper to remove this warning. See [2022-10-25T16:21:16.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:21:16.907Z] [2022-10-25T16:21:16.907Z] Login Succeeded [2022-10-25T16:21:16.907Z] docker.io [2022-10-25T16:21:17.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:21:17.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:21:17.446Z] Configure a credential helper to remove this warning. See [2022-10-25T16:21:17.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:21:17.446Z] [2022-10-25T16:21:17.446Z] Login Succeeded [2022-10-25T16:21:17.446Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T16:21:17.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T16:21:17.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:21:17.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:21:17.636Z] ========================================================= [2022-10-25T16:21:17.636Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T16:21:17.636Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:21:17.975Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T16:21:18.569Z] Sending build context to Docker daemon 14.75MB [2022-10-25T16:21:18.569Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T16:21:18.569Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T16:21:18.569Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T16:21:18.569Z] 9b18e9b68314: Pulling fs layer [2022-10-25T16:21:18.569Z] d32db5db7311: Pulling fs layer [2022-10-25T16:21:18.569Z] d0c4b47475fc: Pulling fs layer [2022-10-25T16:21:18.569Z] 5831b945b038: Pulling fs layer [2022-10-25T16:21:18.569Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T16:21:18.569Z] e10730c5d714: Pulling fs layer [2022-10-25T16:21:18.569Z] 5dd5c2283517: Pulling fs layer [2022-10-25T16:21:18.569Z] d5ac0230b979: Pulling fs layer [2022-10-25T16:21:18.569Z] 5831b945b038: Waiting [2022-10-25T16:21:18.569Z] 86bbec2aaacd: Waiting [2022-10-25T16:21:18.569Z] e10730c5d714: Waiting [2022-10-25T16:21:18.569Z] d5ac0230b979: Waiting [2022-10-25T16:21:18.569Z] 5dd5c2283517: Waiting [2022-10-25T16:21:18.569Z] d0c4b47475fc: Verifying Checksum [2022-10-25T16:21:18.569Z] d0c4b47475fc: Download complete [2022-10-25T16:21:18.850Z] d32db5db7311: Verifying Checksum [2022-10-25T16:21:18.850Z] d32db5db7311: Download complete [2022-10-25T16:21:18.850Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T16:21:18.850Z] 86bbec2aaacd: Download complete [2022-10-25T16:21:18.850Z] e10730c5d714: Verifying Checksum [2022-10-25T16:21:18.850Z] e10730c5d714: Download complete [2022-10-25T16:21:18.850Z] 9b18e9b68314: Verifying Checksum [2022-10-25T16:21:18.850Z] 9b18e9b68314: Download complete [2022-10-25T16:21:19.446Z] 9b18e9b68314: Pull complete [2022-10-25T16:21:20.047Z] d32db5db7311: Pull complete [2022-10-25T16:21:20.322Z] d5ac0230b979: Verifying Checksum [2022-10-25T16:21:20.322Z] d5ac0230b979: Download complete [2022-10-25T16:21:20.322Z] d0c4b47475fc: Pull complete [2022-10-25T16:21:21.289Z] 5dd5c2283517: Verifying Checksum [2022-10-25T16:21:21.289Z] 5dd5c2283517: Download complete [2022-10-25T16:21:21.877Z] 5831b945b038: Verifying Checksum [2022-10-25T16:21:21.877Z] 5831b945b038: Download complete [2022-10-25T16:21:34.240Z] 5831b945b038: Pull complete [2022-10-25T16:21:34.240Z] 86bbec2aaacd: Pull complete [2022-10-25T16:21:34.240Z] e10730c5d714: Pull complete [2022-10-25T16:21:40.909Z] 5dd5c2283517: Pull complete [2022-10-25T16:21:42.326Z] d5ac0230b979: Pull complete [2022-10-25T16:21:42.326Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T16:21:42.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T16:21:42.326Z] ---> 59b3b1a385d4 [2022-10-25T16:21:42.326Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T16:21:45.683Z] ---> Running in d3129e59a852 [2022-10-25T16:21:45.683Z] Removing intermediate container d3129e59a852 [2022-10-25T16:21:45.683Z] ---> bab06608d64b [2022-10-25T16:21:45.683Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T16:21:45.683Z] ---> Running in 14a2ccdfd679 [2022-10-25T16:21:45.952Z] Removing intermediate container 14a2ccdfd679 [2022-10-25T16:21:45.952Z] ---> 73370de0a5d6 [2022-10-25T16:21:45.952Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T16:21:46.221Z] ---> Running in 1814c84fb90a [2022-10-25T16:21:46.488Z] Removing intermediate container 1814c84fb90a [2022-10-25T16:21:46.488Z] ---> 607f1a268f14 [2022-10-25T16:21:46.488Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T16:21:46.488Z] ---> Running in 41bd39423dcb [2022-10-25T16:21:46.757Z] Removing intermediate container 41bd39423dcb [2022-10-25T16:21:46.757Z] ---> ccbd7cd228e0 [2022-10-25T16:21:46.757Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T16:21:47.033Z] ---> Running in cb56deb971c5 [2022-10-25T16:21:47.303Z] Removing intermediate container cb56deb971c5 [2022-10-25T16:21:47.303Z] ---> 756059053c90 [2022-10-25T16:21:47.303Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T16:21:47.303Z] ---> Running in a77144f470ae [2022-10-25T16:21:49.260Z] Removing intermediate container a77144f470ae [2022-10-25T16:21:49.260Z] ---> 9401d25b5be5 [2022-10-25T16:21:49.260Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T16:21:49.260Z] ---> Running in f279b4144213 [2022-10-25T16:21:50.235Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T16:21:50.504Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T16:21:50.504Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T16:21:50.775Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T16:21:50.775Z] OK: 221 MiB in 51 packages [2022-10-25T16:21:51.740Z] Removing intermediate container f279b4144213 [2022-10-25T16:21:51.740Z] ---> c4424b691c6e [2022-10-25T16:21:51.740Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T16:21:51.740Z] ---> Running in 96105a142150 [2022-10-25T16:21:52.009Z] Removing intermediate container 96105a142150 [2022-10-25T16:21:52.009Z] ---> 3f017275a390 [2022-10-25T16:21:52.009Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T16:21:52.600Z] ---> 7ca0902df9e0 [2022-10-25T16:21:52.600Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T16:21:52.600Z] ---> Running in 885fa017a7cf [2022-10-25T16:22:49.170Z] Removing intermediate container 885fa017a7cf [2022-10-25T16:22:49.170Z] ---> bca672b1bcf9 [2022-10-25T16:22:49.170Z] Step 13/14 : COPY . . [2022-10-25T16:22:49.170Z] ---> 95753dd347c8 [2022-10-25T16:22:49.170Z] Step 14/14 : RUN ${MAKE} [2022-10-25T16:22:49.170Z] ---> Running in ea78a9787f81 [2022-10-25T16:22:49.170Z] noop [2022-10-25T16:22:49.752Z] Removing intermediate container ea78a9787f81 [2022-10-25T16:22:49.752Z] ---> 66f5190cc818 [2022-10-25T16:22:49.752Z] Successfully built 66f5190cc818 [2022-10-25T16:22:49.752Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:22:50.105Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T16:22:50.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:22:50.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container [2022-10-25T16:22:50.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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-10-25T16:22:51.473Z] $ docker top f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T16:22:52.293Z] + go version [2022-10-25T16:22:52.293Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T16:22:52.315Z] $ docker stop --time=1 f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 [2022-10-25T16:22:53.924Z] $ docker rm -f f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:22:54.487Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T16:22:54.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:22:54.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container [2022-10-25T16:22:54.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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-10-25T16:22:55.828Z] $ docker top 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T16:22:56.318Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/76 [Pipeline] fileExists [Pipeline] sh [2022-10-25T16:22:56.964Z] + make test [2022-10-25T16:22:56.964Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T16:22:58.908Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T16:24:35.547Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T16:24:35.547Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.182s coverage: 28.2% of statements [2022-10-25T16:24:35.547Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T16:24:53.766Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.496s coverage: 86.5% of statements [2022-10-25T16:24:53.766Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T16:24:53.766Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T16:25:20.459Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T16:25:20.459Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T16:25:20.459Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T16:25:20.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T16:25:20.500Z] $ docker stop --time=1 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 [2022-10-25T16:25:22.449Z] $ docker rm -f 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T16:25:23.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T16:25:23.598Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T16:25:24.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T16:25:24.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T16:25:24.817Z] + ls -al . [2022-10-25T16:25:24.817Z] total 240 [2022-10-25T16:25:24.817Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 16:22 . [2022-10-25T16:25:24.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 .. [2022-10-25T16:25:24.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 16:20 .git [2022-10-25T16:25:24.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:20 .github [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 16:20 .gitignore [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 16:20 .golangci.yml [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 16:20 Attribution.txt [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 16:20 CHANGELOG.md [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 16:20 Dockerfile [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 16:20 GOVERNANCE.md [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 16:20 Jenkinsfile [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 16:20 LICENSE [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 16:20 Makefile [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 16:20 OWNERS.md [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 16:20 README.md [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 16:10 VERSION [2022-10-25T16:25:24.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 16:20 bin [2022-10-25T16:25:24.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:20 cmd [2022-10-25T16:25:24.817Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 16:24 coverage.out [2022-10-25T16:25:24.817Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 16:20 doc [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 16:20 go.mod [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 16:20 go.sum [2022-10-25T16:25:24.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 internal [2022-10-25T16:25:24.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 snap [2022-10-25T16:25:24.817Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:25:25.153Z] + 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=48aac476b513547f736cc1fa92662379694eca8e --label arch=arm64 --label version=2.3.0-dev.37 . [2022-10-25T16:25:25.746Z] Sending build context to Docker daemon 14.83MB [2022-10-25T16:25:25.746Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T16:25:25.746Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T16:25:25.746Z] ---> 66f5190cc818 [2022-10-25T16:25:25.746Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T16:25:26.014Z] ---> Running in 9acbddca981d [2022-10-25T16:25:26.282Z] Removing intermediate container 9acbddca981d [2022-10-25T16:25:26.282Z] ---> ba89238c13f6 [2022-10-25T16:25:26.282Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T16:25:26.282Z] ---> Running in 868735f5124d [2022-10-25T16:25:26.548Z] Removing intermediate container 868735f5124d [2022-10-25T16:25:26.548Z] ---> 58e5f364065d [2022-10-25T16:25:26.548Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T16:25:26.548Z] ---> Running in 87d37b768235 [2022-10-25T16:25:26.813Z] Removing intermediate container 87d37b768235 [2022-10-25T16:25:26.813Z] ---> ed7442a81af0 [2022-10-25T16:25:26.813Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T16:25:27.082Z] ---> Running in 7b39c203e14d [2022-10-25T16:25:27.347Z] Removing intermediate container 7b39c203e14d [2022-10-25T16:25:27.347Z] ---> 330d5c9513b9 [2022-10-25T16:25:27.347Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T16:25:27.347Z] ---> Running in 3d3c2701b609 [2022-10-25T16:25:27.942Z] Removing intermediate container 3d3c2701b609 [2022-10-25T16:25:27.942Z] ---> 3196e1879d44 [2022-10-25T16:25:27.942Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T16:25:27.942Z] ---> Running in 5488967eb2f2 [2022-10-25T16:25:29.893Z] Removing intermediate container 5488967eb2f2 [2022-10-25T16:25:29.893Z] ---> 1a6c785f9de3 [2022-10-25T16:25:29.893Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T16:25:30.162Z] ---> Running in 74c7a3f4901b [2022-10-25T16:25:31.129Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T16:25:31.395Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T16:25:31.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T16:25:31.663Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T16:25:31.663Z] OK: 221 MiB in 51 packages [2022-10-25T16:25:32.624Z] Removing intermediate container 74c7a3f4901b [2022-10-25T16:25:32.624Z] ---> 7e420ebc6a95 [2022-10-25T16:25:32.624Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T16:25:32.624Z] ---> Running in 68549edaa240 [2022-10-25T16:25:32.893Z] Removing intermediate container 68549edaa240 [2022-10-25T16:25:32.893Z] ---> 8737c85254fe [2022-10-25T16:25:32.893Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T16:25:33.478Z] ---> 0d81f0b81961 [2022-10-25T16:25:33.478Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T16:25:33.478Z] ---> Running in ba4d9d250322 [2022-10-25T16:25:36.068Z] Removing intermediate container ba4d9d250322 [2022-10-25T16:25:36.068Z] ---> dc7f1e381e31 [2022-10-25T16:25:36.068Z] Step 13/27 : COPY . . [2022-10-25T16:25:38.651Z] ---> a6aafd2e9ad5 [2022-10-25T16:25:38.651Z] Step 14/27 : RUN ${MAKE} [2022-10-25T16:25:38.651Z] ---> Running in c39cd07c8f3e [2022-10-25T16:25:39.613Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T16:28:16.328Z] Removing intermediate container c39cd07c8f3e [2022-10-25T16:28:16.328Z] ---> 5b1ad148f8f1 [2022-10-25T16:28:16.328Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T16:28:16.328Z] 3.16: Pulling from library/alpine [2022-10-25T16:28:16.328Z] 9b18e9b68314: Already exists [2022-10-25T16:28:16.328Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T16:28:16.328Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T16:28:16.328Z] ---> a6215f271958 [2022-10-25T16:28:16.328Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T16:28:16.328Z] ---> Running in 73fb116a2959 [2022-10-25T16:28:16.328Z] Removing intermediate container 73fb116a2959 [2022-10-25T16:28:16.328Z] ---> 398f647d97f2 [2022-10-25T16:28:16.328Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T16:28:16.328Z] ---> Running in ff9c4b516ddb [2022-10-25T16:28:16.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T16:28:16.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T16:28:16.328Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T16:28:16.328Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T16:28:16.328Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T16:28:16.328Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T16:28:16.328Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T16:28:16.328Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T16:28:16.328Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T16:28:16.328Z] OK: 8 MiB in 20 packages [2022-10-25T16:28:16.328Z] Removing intermediate container ff9c4b516ddb [2022-10-25T16:28:16.328Z] ---> 3772834ea805 [2022-10-25T16:28:16.328Z] Step 18/27 : WORKDIR / [2022-10-25T16:28:16.328Z] ---> Running in ff8b82acc989 [2022-10-25T16:28:16.328Z] Removing intermediate container ff8b82acc989 [2022-10-25T16:28:16.328Z] ---> 376a347ad174 [2022-10-25T16:28:16.328Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T16:28:16.328Z] ---> 65eb37153c7c [2022-10-25T16:28:16.328Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T16:28:16.328Z] ---> d4b45d34f16f [2022-10-25T16:28:16.328Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T16:28:16.328Z] ---> d55fefdd4122 [2022-10-25T16:28:16.328Z] Step 22/27 : EXPOSE 59984 [2022-10-25T16:28:16.328Z] ---> Running in b33ea723306f [2022-10-25T16:28:16.328Z] Removing intermediate container b33ea723306f [2022-10-25T16:28:16.328Z] ---> 88079de0acfb [2022-10-25T16:28:16.328Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T16:28:16.328Z] ---> Running in 72240908ad74 [2022-10-25T16:28:16.328Z] Removing intermediate container 72240908ad74 [2022-10-25T16:28:16.328Z] ---> 0561e64d7ff9 [2022-10-25T16:28:16.328Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T16:28:16.328Z] ---> Running in 85bd3df8c95a [2022-10-25T16:28:16.328Z] Removing intermediate container 85bd3df8c95a [2022-10-25T16:28:16.328Z] ---> 9f81f2e34703 [2022-10-25T16:28:16.328Z] Step 25/27 : LABEL arch=arm64 [2022-10-25T16:28:16.328Z] ---> Running in 2067374c5b07 [2022-10-25T16:28:16.328Z] Removing intermediate container 2067374c5b07 [2022-10-25T16:28:16.328Z] ---> 2fcda2cbb990 [2022-10-25T16:28:16.328Z] Step 26/27 : LABEL git_sha=48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:28:16.328Z] ---> Running in d7498d4f3dc7 [2022-10-25T16:28:16.328Z] Removing intermediate container d7498d4f3dc7 [2022-10-25T16:28:16.328Z] ---> f1adc23d0ff9 [2022-10-25T16:28:16.328Z] Step 27/27 : LABEL version=2.3.0-dev.37 [2022-10-25T16:28:16.328Z] ---> Running in af929c4a48d0 [2022-10-25T16:28:16.328Z] Removing intermediate container af929c4a48d0 [2022-10-25T16:28:16.328Z] ---> 94b0ffbec7e7 [2022-10-25T16:28:16.328Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T16:28:16.328Z] Successfully built 94b0ffbec7e7 [2022-10-25T16:28:16.328Z] 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-10-25T16:28:16.439Z] provisioning config files... [2022-10-25T16:28:16.453Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/76@tmp/config14225819616581808175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:28:16.788Z] ---> docker-login.sh [2022-10-25T16:28:16.788Z] nexus3.edgexfoundry.org:10001 [2022-10-25T16:28:16.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:28:17.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:28:17.057Z] Configure a credential helper to remove this warning. See [2022-10-25T16:28:17.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:28:17.057Z] [2022-10-25T16:28:17.057Z] Login Succeeded [2022-10-25T16:28:17.057Z] nexus3.edgexfoundry.org:10002 [2022-10-25T16:28:17.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:28:17.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:28:17.323Z] Configure a credential helper to remove this warning. See [2022-10-25T16:28:17.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:28:17.323Z] [2022-10-25T16:28:17.323Z] Login Succeeded [2022-10-25T16:28:17.323Z] nexus3.edgexfoundry.org:10003 [2022-10-25T16:28:17.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:28:17.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:28:17.859Z] Configure a credential helper to remove this warning. See [2022-10-25T16:28:17.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:28:17.859Z] [2022-10-25T16:28:17.859Z] Login Succeeded [2022-10-25T16:28:17.859Z] nexus3.edgexfoundry.org:10004 [2022-10-25T16:28:17.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:28:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:28:18.126Z] Configure a credential helper to remove this warning. See [2022-10-25T16:28:18.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:28:18.126Z] [2022-10-25T16:28:18.126Z] Login Succeeded [2022-10-25T16:28:18.126Z] docker.io [2022-10-25T16:28:18.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T16:28:18.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T16:28:18.656Z] Configure a credential helper to remove this warning. See [2022-10-25T16:28:18.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T16:28:18.656Z] [2022-10-25T16:28:18.656Z] Login Succeeded [2022-10-25T16:28:18.656Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T16:28:18.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T16:28:18.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T16:28:18.709Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-10-25T16:28:18.709Z] 48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:28:18.709Z] latest [2022-10-25T16:28:18.709Z] 2.3.0-dev.37 [2022-10-25T16:28:18.709Z] 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:28:18.709Z] main [2022-10-25T16:28:18.709Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:19.041Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:19.373Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:28:19.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-25T16:28:19.373Z] b4d81ce2becf: Preparing [2022-10-25T16:28:19.373Z] 625466ff07d7: Preparing [2022-10-25T16:28:19.373Z] 462c832e64db: Preparing [2022-10-25T16:28:19.373Z] 3a7f36f66044: Preparing [2022-10-25T16:28:19.373Z] 5d3e392a13a0: Preparing [2022-10-25T16:28:19.373Z] 5d3e392a13a0: Layer already exists [2022-10-25T16:28:19.640Z] b4d81ce2becf: Pushed [2022-10-25T16:28:19.640Z] 625466ff07d7: Pushed [2022-10-25T16:28:20.223Z] 3a7f36f66044: Pushed [2022-10-25T16:28:25.559Z] 462c832e64db: Pushed [2022-10-25T16:28:25.559Z] 48aac476b513547f736cc1fa92662379694eca8e: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:25.908Z] + 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-10-25T16:28:26.300Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-10-25T16:28:26.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-25T16:28:26.300Z] b4d81ce2becf: Preparing [2022-10-25T16:28:26.300Z] 625466ff07d7: Preparing [2022-10-25T16:28:26.300Z] 462c832e64db: Preparing [2022-10-25T16:28:26.300Z] 3a7f36f66044: Preparing [2022-10-25T16:28:26.300Z] 5d3e392a13a0: Preparing [2022-10-25T16:28:26.300Z] 462c832e64db: Layer already exists [2022-10-25T16:28:26.300Z] 625466ff07d7: Layer already exists [2022-10-25T16:28:26.300Z] b4d81ce2becf: Layer already exists [2022-10-25T16:28:26.300Z] 3a7f36f66044: Layer already exists [2022-10-25T16:28:26.300Z] 5d3e392a13a0: Layer already exists [2022-10-25T16:28:26.568Z] latest: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:26.920Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:27.259Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 [2022-10-25T16:28:27.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-25T16:28:27.259Z] b4d81ce2becf: Preparing [2022-10-25T16:28:27.259Z] 625466ff07d7: Preparing [2022-10-25T16:28:27.259Z] 462c832e64db: Preparing [2022-10-25T16:28:27.259Z] 3a7f36f66044: Preparing [2022-10-25T16:28:27.259Z] 5d3e392a13a0: Preparing [2022-10-25T16:28:27.259Z] 5d3e392a13a0: Layer already exists [2022-10-25T16:28:27.259Z] 462c832e64db: Layer already exists [2022-10-25T16:28:27.259Z] 625466ff07d7: Layer already exists [2022-10-25T16:28:27.259Z] 3a7f36f66044: Layer already exists [2022-10-25T16:28:27.259Z] b4d81ce2becf: Layer already exists [2022-10-25T16:28:27.259Z] 2.3.0-dev.37: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:27.605Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:27.948Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:28:27.948Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-25T16:28:27.948Z] b4d81ce2becf: Preparing [2022-10-25T16:28:27.948Z] 625466ff07d7: Preparing [2022-10-25T16:28:27.948Z] 462c832e64db: Preparing [2022-10-25T16:28:27.948Z] 3a7f36f66044: Preparing [2022-10-25T16:28:27.948Z] 5d3e392a13a0: Preparing [2022-10-25T16:28:27.948Z] 5d3e392a13a0: Layer already exists [2022-10-25T16:28:27.948Z] 625466ff07d7: Layer already exists [2022-10-25T16:28:27.948Z] 3a7f36f66044: Layer already exists [2022-10-25T16:28:27.948Z] 462c832e64db: Layer already exists [2022-10-25T16:28:27.948Z] b4d81ce2becf: Layer already exists [2022-10-25T16:28:27.948Z] 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:28.279Z] + 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-10-25T16:28:28.612Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-10-25T16:28:28.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-25T16:28:28.612Z] b4d81ce2becf: Preparing [2022-10-25T16:28:28.612Z] 625466ff07d7: Preparing [2022-10-25T16:28:28.612Z] 462c832e64db: Preparing [2022-10-25T16:28:28.612Z] 3a7f36f66044: Preparing [2022-10-25T16:28:28.612Z] 5d3e392a13a0: Preparing [2022-10-25T16:28:28.612Z] b4d81ce2becf: Layer already exists [2022-10-25T16:28:28.612Z] 5d3e392a13a0: Layer already exists [2022-10-25T16:28:28.612Z] 625466ff07d7: Layer already exists [2022-10-25T16:28:28.612Z] 3a7f36f66044: Layer already exists [2022-10-25T16:28:28.612Z] 462c832e64db: Layer already exists [2022-10-25T16:28:28.612Z] main: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T16:28:28.654Z] ===================================================== [Pipeline] echo [2022-10-25T16:28:28.660Z] taggedImages: [2022-10-25T16:28:28.660Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e [2022-10-25T16:28:28.660Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-10-25T16:28:28.660Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 [2022-10-25T16:28:28.660Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [2022-10-25T16:28:28.660Z] - 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-10-25T16:28:29.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T16:28:29.018Z] [2022-10-25T16:28:29.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:28:29.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T16:28:29.346Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T16:28:29.346Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T16:28:29.346Z] 04944245beec: Pulling fs layer [2022-10-25T16:28:29.346Z] 699f458cf7ca: Pulling fs layer [2022-10-25T16:28:29.346Z] 765212b225bb: Pulling fs layer [2022-10-25T16:28:29.346Z] f23df028b6ca: Pulling fs layer [2022-10-25T16:28:29.346Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T16:28:29.346Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T16:28:29.346Z] 765212b225bb: Waiting [2022-10-25T16:28:29.346Z] f23df028b6ca: Waiting [2022-10-25T16:28:29.346Z] d65c8cfc05b1: Waiting [2022-10-25T16:28:29.346Z] 2437ff75d9bd: Waiting [2022-10-25T16:28:29.612Z] 04944245beec: Verifying Checksum [2022-10-25T16:28:29.612Z] 04944245beec: Download complete [2022-10-25T16:28:29.613Z] 765212b225bb: Verifying Checksum [2022-10-25T16:28:29.613Z] 765212b225bb: Download complete [2022-10-25T16:28:29.613Z] f23df028b6ca: Download complete [2022-10-25T16:28:29.613Z] d65c8cfc05b1: Download complete [2022-10-25T16:28:29.613Z] 699f458cf7ca: Verifying Checksum [2022-10-25T16:28:29.613Z] 699f458cf7ca: Download complete [2022-10-25T16:28:30.197Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T16:28:30.197Z] 8998bd30e6a1: Download complete [2022-10-25T16:28:32.139Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T16:28:32.139Z] 2437ff75d9bd: Download complete [2022-10-25T16:28:34.080Z] 8998bd30e6a1: Pull complete [2022-10-25T16:28:34.080Z] 04944245beec: Pull complete [2022-10-25T16:28:35.484Z] 699f458cf7ca: Pull complete [2022-10-25T16:28:35.750Z] 765212b225bb: Pull complete [2022-10-25T16:28:36.334Z] f23df028b6ca: Pull complete [2022-10-25T16:28:36.600Z] d65c8cfc05b1: Pull complete [2022-10-25T16:28:51.578Z] 2437ff75d9bd: Pull complete [2022-10-25T16:28:51.578Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T16:28:51.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T16:28:51.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:28:51.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container [2022-10-25T16:28:51.797Z] $ 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/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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-10-25T16:28:54.167Z] $ docker top 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:28:54.665Z] ---> job-cost.sh [2022-10-25T16:28:54.930Z] lf-activate-venv: SKIPPING [2022-10-25T16:28:54.930Z] INFO: No Stack... [2022-10-25T16:28:55.510Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T16:28:56.467Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T16:28:56.778Z] + cat /w/workspace/device-onvif-camera/76/archives/cost.csv [2022-10-25T16:28:56.778Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T16:28:56.831Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [2022-10-25T16:28:56.846Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] did not exist. Created. [2022-10-25T16:28:56.846Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T16:28:57.175Z] /w/workspace/device-onvif-camera/76@tmp/durable-371d6830/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T16:28:57.511Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T16:28:57.545Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T16:28:57.601Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T16:28:57.607Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T16:28:57.628Z] $ docker stop --time=1 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab [2022-10-25T16:28:59.075Z] $ docker rm -f 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab [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-10-25T16:28:59.437Z] provisioning config files... [2022-10-25T16:28:59.446Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12423028462384300163tmp [Pipeline] { [Pipeline] sh [2022-10-25T16:28:59.739Z] + set +x [2022-10-25T16:28:59.739Z] + bash -s -- [2022-10-25T16:28:59.739Z] + curl -s https://codecov.io/bash [2022-10-25T16:28:59.739Z] [2022-10-25T16:28:59.739Z] _____ _ [2022-10-25T16:28:59.739Z] / ____| | | [2022-10-25T16:28:59.740Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T16:28:59.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T16:28:59.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T16:28:59.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T16:28:59.740Z] Bash-1.0.6 [2022-10-25T16:28:59.740Z] [2022-10-25T16:28:59.740Z] [2022-10-25T16:28:59.740Z] ==> git version 2.25.1 found [2022-10-25T16:28:59.740Z] ==> 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-10-25T16:28:59.740Z] Release-Date: 2020-01-08 [2022-10-25T16:28:59.740Z] 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-10-25T16:28:59.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T16:28:59.740Z] ==> Jenkins CI detected. [2022-10-25T16:28:59.740Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-10-25T16:28:59.740Z] project root: . [2022-10-25T16:28:59.740Z] --> token set from env [2022-10-25T16:28:59.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T16:28:59.740Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T16:28:59.740Z] ==> Python coveragepy not found [2022-10-25T16:28:59.740Z] ==> Searching for coverage reports in: [2022-10-25T16:28:59.740Z] + . [2022-10-25T16:28:59.740Z] -> Found 1 reports [2022-10-25T16:28:59.740Z] ==> Detecting git/mercurial file structure [2022-10-25T16:28:59.740Z] ==> Reading reports [2022-10-25T16:28:59.740Z] + ./coverage.out bytes=78636 [2022-10-25T16:28:59.999Z] ==> Appending adjustments [2022-10-25T16:28:59.999Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T16:28:59.999Z] + Found adjustments [2022-10-25T16:28:59.999Z] ==> Gzipping contents [2022-10-25T16:29:00.000Z] 12K /tmp/codecov.dKuh5M.gz [2022-10-25T16:29:00.000Z] ==> Uploading reports [2022-10-25T16:29:00.000Z] url: https://codecov.io [2022-10-25T16:29:00.000Z] query: branch=main&commit=48aac476b513547f736cc1fa92662379694eca8e&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-25T16:29:00.000Z] -> Pinging Codecov [2022-10-25T16:29:00.000Z] 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=48aac476b513547f736cc1fa92662379694eca8e&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-25T16:29:00.566Z] -> Uploading to [2022-10-25T16:29:00.566Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/48aac476b513547f736cc1fa92662379694eca8e/c593aa4b-efcc-4cd7-9243-a73f8598c52c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T162900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d06da64eeaf0e126914fa1089f0e89cd82205a9ff1a2842752bcb9d09c144349 [2022-10-25T16:29:00.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T16:29:00.566Z] Dload Upload Total Spent Left Speed [2022-10-25T16:29:00.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10749 0 0 100 10749 0 45163 --:--:-- --:--:-- --:--:-- 45163 [2022-10-25T16:29:00.566Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } [2022-10-25T16:29:00.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-25T16:29:00.761Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-25T16:29:00.769Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:01.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T16:29:01.067Z] [2022-10-25T16:29:01.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:01.367Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T16:29:01.367Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-25T16:29:01.367Z] df9b9388f04a: Pulling fs layer [2022-10-25T16:29:01.367Z] 52dc419b0ee2: Pulling fs layer [2022-10-25T16:29:01.367Z] 25bc292e5bac: Pulling fs layer [2022-10-25T16:29:01.367Z] 114826534d7a: Pulling fs layer [2022-10-25T16:29:01.367Z] 4657fd5d0bcf: Pulling fs layer [2022-10-25T16:29:01.367Z] 6ad1cebc031e: Pulling fs layer [2022-10-25T16:29:01.367Z] 8a3aa393b2d8: Pulling fs layer [2022-10-25T16:29:01.367Z] 6ad1cebc031e: Waiting [2022-10-25T16:29:01.367Z] 114826534d7a: Waiting [2022-10-25T16:29:01.367Z] 8a3aa393b2d8: Waiting [2022-10-25T16:29:01.367Z] 25bc292e5bac: Verifying Checksum [2022-10-25T16:29:01.367Z] 25bc292e5bac: Download complete [2022-10-25T16:29:01.367Z] 52dc419b0ee2: Verifying Checksum [2022-10-25T16:29:01.367Z] 52dc419b0ee2: Download complete [2022-10-25T16:29:01.367Z] 4657fd5d0bcf: Verifying Checksum [2022-10-25T16:29:01.367Z] df9b9388f04a: Download complete [2022-10-25T16:29:01.626Z] 6ad1cebc031e: Verifying Checksum [2022-10-25T16:29:01.626Z] 6ad1cebc031e: Download complete [2022-10-25T16:29:01.626Z] df9b9388f04a: Pull complete [2022-10-25T16:29:01.626Z] 52dc419b0ee2: Pull complete [2022-10-25T16:29:01.626Z] 25bc292e5bac: Pull complete [2022-10-25T16:29:02.199Z] 114826534d7a: Verifying Checksum [2022-10-25T16:29:02.199Z] 114826534d7a: Download complete [2022-10-25T16:29:02.457Z] 8a3aa393b2d8: Verifying Checksum [2022-10-25T16:29:02.457Z] 8a3aa393b2d8: Download complete [2022-10-25T16:29:05.738Z] 114826534d7a: Pull complete [2022-10-25T16:29:05.738Z] 4657fd5d0bcf: Pull complete [2022-10-25T16:29:05.738Z] 6ad1cebc031e: Pull complete [2022-10-25T16:29:08.263Z] 8a3aa393b2d8: Pull complete [2022-10-25T16:29:08.263Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-25T16:29:08.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T16:29:08.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:08.334Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:08.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-10-25T16:29:10.606Z] $ docker top de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-25T16:29:10.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-10-25T16:29:10.941Z] + set -o pipefail [2022-10-25T16:29:10.941Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3cf1785b-38bc-4f9d-a915-775199886601 [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] [2022-10-25T16:29:16.206Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-25T16:29:16.206Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-25T16:29:16.206Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-25T16:29:16.218Z] $ docker stop --time=1 de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 [2022-10-25T16:29:18.554Z] $ docker rm -f de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-10-25T16:29:18.930Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T16:29:18.941Z] provisioning config files... [2022-10-25T16:29:18.948Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5636312331834893226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:19.241Z] --> edgex-publish-swagger.sh [2022-10-25T16:29:19.241Z] === Publish doc/openapi/v2 API === [2022-10-25T16:29:19.241Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2022-10-25T16:29:19.241Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2022-10-25T16:29:19.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T16:29:19.241Z] Dload Upload Total Spent Left Speed [2022-10-25T16:29:20.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 406k 0 0 100 406k 0 436k --:--:-- --:--:-- --:--:-- 435k [2022-10-25T16:29:20.180Z] [2022-10-25T16:29:20.180Z] [Pipeline] } [2022-10-25T16:29:20.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T16:29:20.583Z] + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] sh [2022-10-25T16:29:20.874Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T16:29:20.874Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:21.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:29:21.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:21.244Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:21.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T16:29:21.660Z] $ docker top da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b -eo pid,comm [2022-10-25T16:29:21.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-10-25T16:29:21.706Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T16:29:21.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T16:29:21.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T16:29:21.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T16:29:21.843Z] $ docker exec da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b ssh-agent [2022-10-25T16:29:21.939Z] SSH_AUTH_SOCK=/tmp/ssh-iHlqDrn2FN1A/agent.32 [2022-10-25T16:29:21.939Z] SSH_AGENT_PID=38 [2022-10-25T16:29:21.944Z] Running ssh-add (command line suppressed) [2022-10-25T16:29:22.040Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6611882638544334517.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6611882638544334517.key) [2022-10-25T16:29:22.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T16:29:22.334Z] + git semver tag [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,517 [run_tag] DEBUG tag force:False [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,517 [check_head_tag] DEBUG check head tag [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,518 [execute] INFO git cat-file --batch-check [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,522 [execute] INFO git cat-file --batch [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,546 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,546 [execute] INFO git tag -a v2.3.0-dev.37 -m v2.3.0-dev.37 [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,547 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.37', '-m', 'v2.3.0-dev.37'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-10-25T16:29:22.593Z] 2022-10-25 16:29:22,551 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:22.593Z] 2.3.0-dev.37 [Pipeline] } [2022-10-25T16:29:22.603Z] $ docker exec --env ******** --env ******** da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b ssh-agent -k [2022-10-25T16:29:22.702Z] unset SSH_AUTH_SOCK; [2022-10-25T16:29:22.703Z] unset SSH_AGENT_PID; [2022-10-25T16:29:22.703Z] echo Agent pid 38 killed; [2022-10-25T16:29:22.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T16:29:23.022Z] + git semver [Pipeline] } [2022-10-25T16:29:23.296Z] $ docker stop --time=1 da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b [2022-10-25T16:29:24.622Z] $ docker rm -f da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:25.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T16:29:25.003Z] [2022-10-25T16:29:25.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:25.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T16:29:25.309Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-25T16:29:25.309Z] ab5ef0e58194: Pulling fs layer [2022-10-25T16:29:25.309Z] 9712f1f96733: Pulling fs layer [2022-10-25T16:29:25.309Z] 63f879dbbcfc: Pulling fs layer [2022-10-25T16:29:25.309Z] 0d9ebad4ef96: Pulling fs layer [2022-10-25T16:29:25.309Z] e9a5061849ea: Pulling fs layer [2022-10-25T16:29:25.309Z] d747dcd14b5f: Pulling fs layer [2022-10-25T16:29:25.309Z] 2de7ff778b66: Pulling fs layer [2022-10-25T16:29:25.309Z] e9a5061849ea: Waiting [2022-10-25T16:29:25.309Z] d747dcd14b5f: Waiting [2022-10-25T16:29:25.309Z] 2de7ff778b66: Waiting [2022-10-25T16:29:25.309Z] 0d9ebad4ef96: Waiting [2022-10-25T16:29:25.309Z] 9712f1f96733: Verifying Checksum [2022-10-25T16:29:25.309Z] 9712f1f96733: Download complete [2022-10-25T16:29:25.886Z] 63f879dbbcfc: Verifying Checksum [2022-10-25T16:29:25.886Z] 63f879dbbcfc: Download complete [2022-10-25T16:29:25.886Z] 0d9ebad4ef96: Verifying Checksum [2022-10-25T16:29:25.886Z] 0d9ebad4ef96: Download complete [2022-10-25T16:29:25.886Z] d747dcd14b5f: Verifying Checksum [2022-10-25T16:29:25.886Z] d747dcd14b5f: Download complete [2022-10-25T16:29:25.886Z] e9a5061849ea: Verifying Checksum [2022-10-25T16:29:25.886Z] e9a5061849ea: Download complete [2022-10-25T16:29:25.886Z] ab5ef0e58194: Download complete [2022-10-25T16:29:25.886Z] 2de7ff778b66: Verifying Checksum [2022-10-25T16:29:25.886Z] 2de7ff778b66: Download complete [2022-10-25T16:29:28.410Z] ab5ef0e58194: Pull complete [2022-10-25T16:29:28.410Z] 9712f1f96733: Pull complete [2022-10-25T16:29:28.976Z] 63f879dbbcfc: Pull complete [2022-10-25T16:29:32.257Z] 0d9ebad4ef96: Pull complete [2022-10-25T16:29:32.514Z] e9a5061849ea: Pull complete [2022-10-25T16:29:32.514Z] d747dcd14b5f: Pull complete [2022-10-25T16:29:33.445Z] 2de7ff778b66: Pull complete [2022-10-25T16:29:33.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-25T16:29:33.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T16:29:33.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:33.516Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:33.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-10-25T16:29:35.930Z] $ docker top 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-25T16:29:35.993Z] provisioning config files... [2022-10-25T16:29:35.999Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7467473996518713234tmp [2022-10-25T16:29:36.009Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3086827532753876239tmp [2022-10-25T16:29:36.018Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4277194316887451436tmp [Pipeline] { [Pipeline] echo [2022-10-25T16:29:36.033Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:36.313Z] ---> sigul-configuration.sh [2022-10-25T16:29:36.313Z] gpg: directory `/root/.gnupg' created [2022-10-25T16:29:36.313Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-25T16:29:36.313Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-25T16:29:36.313Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-25T16:29:36.313Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-25T16:29:36.313Z] gpg: CAST5 encrypted data [2022-10-25T16:29:36.313Z] gpg: encrypted with 1 passphrase [2022-10-25T16:29:36.313Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-25T16:29:36.596Z] + mkdir /home/jenkins [2022-10-25T16:29:36.596Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-25T16:29:36.879Z] + 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-10-25T16:29:36.885Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:37.166Z] ---> sigul-install.sh [2022-10-25T16:29:37.166Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-25T16:29:37.453Z] + git tag --list [2022-10-25T16:29:37.453Z] v0.0.0 [2022-10-25T16:29:37.453Z] v0.0.1-dev.1 [2022-10-25T16:29:37.453Z] v0.0.1-dev.10 [2022-10-25T16:29:37.453Z] v0.0.1-dev.11 [2022-10-25T16:29:37.453Z] v0.0.1-dev.12 [2022-10-25T16:29:37.453Z] v0.0.1-dev.13 [2022-10-25T16:29:37.453Z] v0.0.1-dev.14 [2022-10-25T16:29:37.453Z] v0.0.1-dev.15 [2022-10-25T16:29:37.453Z] v0.0.1-dev.16 [2022-10-25T16:29:37.453Z] v0.0.1-dev.17 [2022-10-25T16:29:37.453Z] v0.0.1-dev.18 [2022-10-25T16:29:37.453Z] v0.0.1-dev.19 [2022-10-25T16:29:37.453Z] v0.0.1-dev.2 [2022-10-25T16:29:37.453Z] v0.0.1-dev.20 [2022-10-25T16:29:37.453Z] v0.0.1-dev.21 [2022-10-25T16:29:37.453Z] v0.0.1-dev.22 [2022-10-25T16:29:37.453Z] v0.0.1-dev.23 [2022-10-25T16:29:37.453Z] v0.0.1-dev.24 [2022-10-25T16:29:37.453Z] v0.0.1-dev.25 [2022-10-25T16:29:37.453Z] v0.0.1-dev.26 [2022-10-25T16:29:37.453Z] v0.0.1-dev.27 [2022-10-25T16:29:37.453Z] v0.0.1-dev.28 [2022-10-25T16:29:37.453Z] v0.0.1-dev.3 [2022-10-25T16:29:37.453Z] v0.0.1-dev.4 [2022-10-25T16:29:37.453Z] v0.0.1-dev.5 [2022-10-25T16:29:37.453Z] v0.0.1-dev.6 [2022-10-25T16:29:37.454Z] v0.0.1-dev.7 [2022-10-25T16:29:37.454Z] v0.0.1-dev.8 [2022-10-25T16:29:37.454Z] v0.0.1-dev.9 [2022-10-25T16:29:37.454Z] v2.2.0 [2022-10-25T16:29:37.454Z] v2.2.0-dev.29 [2022-10-25T16:29:37.454Z] v2.2.0-dev.30 [2022-10-25T16:29:37.454Z] v2.2.0-dev.31 [2022-10-25T16:29:37.454Z] v2.2.0-dev.32 [2022-10-25T16:29:37.454Z] v2.2.0-dev.33 [2022-10-25T16:29:37.454Z] v2.2.0-dev.34 [2022-10-25T16:29:37.454Z] v2.2.0-dev.35 [2022-10-25T16:29:37.454Z] v2.3.0-dev.1 [2022-10-25T16:29:37.454Z] v2.3.0-dev.10 [2022-10-25T16:29:37.454Z] v2.3.0-dev.11 [2022-10-25T16:29:37.454Z] v2.3.0-dev.12 [2022-10-25T16:29:37.454Z] v2.3.0-dev.13 [2022-10-25T16:29:37.454Z] v2.3.0-dev.14 [2022-10-25T16:29:37.454Z] v2.3.0-dev.15 [2022-10-25T16:29:37.454Z] v2.3.0-dev.16 [2022-10-25T16:29:37.454Z] v2.3.0-dev.17 [2022-10-25T16:29:37.454Z] v2.3.0-dev.18 [2022-10-25T16:29:37.454Z] v2.3.0-dev.19 [2022-10-25T16:29:37.454Z] v2.3.0-dev.2 [2022-10-25T16:29:37.454Z] v2.3.0-dev.20 [2022-10-25T16:29:37.454Z] v2.3.0-dev.21 [2022-10-25T16:29:37.454Z] v2.3.0-dev.22 [2022-10-25T16:29:37.454Z] v2.3.0-dev.23 [2022-10-25T16:29:37.454Z] v2.3.0-dev.24 [2022-10-25T16:29:37.454Z] v2.3.0-dev.25 [2022-10-25T16:29:37.454Z] v2.3.0-dev.26 [2022-10-25T16:29:37.454Z] v2.3.0-dev.27 [2022-10-25T16:29:37.454Z] v2.3.0-dev.28 [2022-10-25T16:29:37.454Z] v2.3.0-dev.29 [2022-10-25T16:29:37.454Z] v2.3.0-dev.3 [2022-10-25T16:29:37.454Z] v2.3.0-dev.30 [2022-10-25T16:29:37.454Z] v2.3.0-dev.31 [2022-10-25T16:29:37.454Z] v2.3.0-dev.32 [2022-10-25T16:29:37.454Z] v2.3.0-dev.33 [2022-10-25T16:29:37.454Z] v2.3.0-dev.34 [2022-10-25T16:29:37.454Z] v2.3.0-dev.35 [2022-10-25T16:29:37.454Z] v2.3.0-dev.36 [2022-10-25T16:29:37.454Z] v2.3.0-dev.37 [2022-10-25T16:29:37.454Z] v2.3.0-dev.4 [2022-10-25T16:29:37.454Z] v2.3.0-dev.5 [2022-10-25T16:29:37.454Z] v2.3.0-dev.6 [2022-10-25T16:29:37.454Z] v2.3.0-dev.7 [2022-10-25T16:29:37.454Z] v2.3.0-dev.8 [2022-10-25T16:29:37.454Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-25T16:29:37.743Z] + lftools sign git-tag v2.3.0-dev.37 [2022-10-25T16:29:38.310Z] Signing Git tag with Sigul... [2022-10-25T16:29:38.310Z] Signing v2.3.0-dev.37 [Pipeline] echo [2022-10-25T16:29:38.578Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:38.860Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-25T16:29:38.867Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-25T16:29:38.884Z] $ docker stop --time=1 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c [2022-10-25T16:29:40.207Z] $ docker rm -f 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-25T16:29:40.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T16:29:40.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:40.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:29:40.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:40.969Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:40.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T16:29:41.334Z] $ docker top a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T16:29:41.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T16:29:41.421Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T16:29:41.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T16:29:41.537Z] $ docker exec a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 ssh-agent [2022-10-25T16:29:41.645Z] SSH_AUTH_SOCK=/tmp/ssh-CiKTWm95BOD2/agent.32 [2022-10-25T16:29:41.645Z] SSH_AGENT_PID=38 [2022-10-25T16:29:41.650Z] Running ssh-add (command line suppressed) [2022-10-25T16:29:41.739Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6925915238912594295.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6925915238912594295.key) [2022-10-25T16:29:41.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T16:29:42.033Z] + git semver bump pre [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [bump_version] DEBUG bumping version:2.3.0-dev.37 on axis:pre with prefix:dev [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [bump_version] DEBUG bumped version:2.3.0-dev.38 [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [write_version] DEBUG write version:2.3.0-dev.38 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,210 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,212 [execute] INFO git cat-file --batch-check [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,217 [execute] INFO git cat-file --batch [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T16:29:42.293Z] 2022-10-25 16:29:42,223 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:42.293Z] 2.3.0-dev.38 [Pipeline] } [2022-10-25T16:29:42.304Z] $ docker exec --env ******** --env ******** a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 ssh-agent -k [2022-10-25T16:29:42.405Z] unset SSH_AUTH_SOCK; [2022-10-25T16:29:42.405Z] unset SSH_AGENT_PID; [2022-10-25T16:29:42.405Z] echo Agent pid 38 killed; [2022-10-25T16:29:42.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T16:29:42.719Z] + git semver [Pipeline] } [2022-10-25T16:29:42.992Z] $ docker stop --time=1 a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 [2022-10-25T16:29:44.292Z] $ docker rm -f a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T16:29:44.627Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T16:29:44.627Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:44.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T16:29:44.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:44.987Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:45.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T16:29:45.382Z] $ docker top efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 -eo pid,comm [2022-10-25T16:29:45.429Z] 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-10-25T16:29:45.429Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T16:29:45.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T16:29:45.461Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T16:29:45.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T16:29:45.572Z] $ docker exec efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 ssh-agent [2022-10-25T16:29:45.687Z] SSH_AUTH_SOCK=/tmp/ssh-7NFCeDKn60OH/agent.32 [2022-10-25T16:29:45.688Z] SSH_AGENT_PID=38 [2022-10-25T16:29:45.693Z] Running ssh-add (command line suppressed) [2022-10-25T16:29:45.798Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309621817299300347.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309621817299300347.key) [2022-10-25T16:29:45.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T16:29:46.099Z] + git semver push [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,269 [run_push] DEBUG push [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,269 [execute] INFO git cat-file --batch-check [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,273 [execute] INFO git rev-list e34da6221593128e46f2ac881ebc81f62249fa17 -- [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,273 [execute] DEBUG Popen(['git', 'rev-list', 'e34da6221593128e46f2ac881ebc81f62249fa17', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,280 [execute] INFO git fetch -v origin [2022-10-25T16:29:46.358Z] 2022-10-25 16:29:46,280 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-25T16:29:46.925Z] 2022-10-25 16:29:46,877 [run_push] DEBUG no remote changes detected [2022-10-25T16:29:46.925Z] 2022-10-25 16:29:46,877 [execute] INFO git push origin semver [2022-10-25T16:29:46.925Z] 2022-10-25 16:29:46,878 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-25T16:29:47.926Z] 2022-10-25 16:29:47,658 [run_push] DEBUG push all version tags [2022-10-25T16:29:47.926Z] 2022-10-25 16:29:47,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-25T16:29:47.926Z] 2022-10-25 16:29:47,659 [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-10-25T16:29:48.908Z] 2022-10-25 16:29:48,569 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-25T16:29:48.908Z] 2.3.0-dev.38 [Pipeline] } [2022-10-25T16:29:48.935Z] $ docker exec --env ******** --env ******** efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 ssh-agent -k [2022-10-25T16:29:49.024Z] unset SSH_AUTH_SOCK; [2022-10-25T16:29:49.024Z] unset SSH_AGENT_PID; [2022-10-25T16:29:49.025Z] echo Agent pid 38 killed; [2022-10-25T16:29:49.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T16:29:49.346Z] + git semver [Pipeline] } [2022-10-25T16:29:49.618Z] $ docker stop --time=1 efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 [2022-10-25T16:29:50.898Z] $ docker rm -f efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 [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-10-25T16:29:51.466Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-10-25T16:29:51.466Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-25T16:29:51.466Z] total 16 [2022-10-25T16:29:51.466Z] drwxr-xr-x 3 root root 4096 Oct 25 16:12 . [2022-10-25T16:29:51.466Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 16:29 .. [2022-10-25T16:29:51.466Z] drwxr-xr-x 2 root root 4096 Oct 25 16:12 cost [2022-10-25T16:29:51.466Z] -rw-r--r-- 1 root root 90 Oct 25 16:12 cost.csv [2022-10-25T16:29:51.466Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-25T16:29:51.466Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-25T16:29:51.466Z] total 16 [2022-10-25T16:29:51.466Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 16:12 . [2022-10-25T16:29:51.466Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 16:29 .. [2022-10-25T16:29:51.466Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 16:12 cost [2022-10-25T16:29:51.466Z] -rw-r--r-- 1 jenkins jenkins 90 Oct 25 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:51.753Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:52.607Z] ---> package-listing.sh [2022-10-25T16:29:52.607Z] ++ facter osfamily [2022-10-25T16:29:52.607Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T16:29:52.866Z] + OS_FAMILY=debian [2022-10-25T16:29:52.866Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-10-25T16:29:52.866Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T16:29:52.866Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T16:29:52.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T16:29:52.866Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T16:29:52.866Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-10-25T16:29:52.866Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T16:29:52.866Z] + case "${OS_FAMILY}" in [2022-10-25T16:29:52.866Z] + dpkg -l [2022-10-25T16:29:52.866Z] + grep '^ii' [2022-10-25T16:29:52.866Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T16:29:52.866Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T16:29:52.866Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T16:29:52.866Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-10-25T16:29:52.866Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-10-25T16:29:52.866Z] + 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-10-25T16:29:52.877Z] 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-10-25T16:29:53.152Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T16:29:53.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T16:29:53.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T16:29:53.783Z] prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container [2022-10-25T16:29:53.808Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T16:29:54.037Z] $ docker top a01dca89fc7b1adb9412708c5ab75a840d15f2c841a39e0816cec27afd54ae0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T16:29:54.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T16:29:54.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T16:29:54.957Z] + ls /var/log/sa-host [2022-10-25T16:29:54.957Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T16:29:55.140Z] provisioning config files... [2022-10-25T16:29:55.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1094669802725134255tmp [Pipeline] { [Pipeline] echo [2022-10-25T16:29:55.162Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:55.442Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T16:29:55.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:55.778Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T16:29:55.786Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:56.066Z] ---> sudo-logs.sh [2022-10-25T16:29:56.066Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T16:29:56.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:56.363Z] ---> job-cost.sh [2022-10-25T16:29:56.363Z] lf-activate-venv: SKIPPING [2022-10-25T16:29:56.363Z] DEBUG: total: 0.2199999988079071 [2022-10-25T16:29:56.363Z] INFO: Retrieving Stack Cost... [2022-10-25T16:29:56.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T16:29:57.189Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T16:29:57.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T16:29:57.482Z] ---> logs-deploy.sh [2022-10-25T16:29:57.482Z] lf-activate-venv: SKIPPING [2022-10-25T16:29:57.482Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/76 [2022-10-25T16:29:57.482Z] INFO: archiving workspace using pattern(s): [2022-10-25T16:29:58.415Z] Archives upload complete. [2022-10-25T16:29:58.415Z] INFO: archiving logs to Nexus