Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c606ad227c7573c7ba828fdfaccb601fc033aacf 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-ssh8697939325976807110.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-ssh12493813191016450318.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-ssh16117603854755043416.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-ssh2293371080094045220.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-ssh91292378743835813.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-117320 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 c606ad227c7573c7ba828fdfaccb601fc033aacf (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#187)" > git config core.sparsecheckout # timeout=10 > git checkout -f c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 > git rev-list --no-walk 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:40:22.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:40:22.413Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:40:22.426Z] ========================================================= [2022-10-26T20:40:22.426Z] EdgeX Global Pipelines Version Info [2022-10-26T20:40:22.426Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:40:23.507Z] ------------------- [2022-10-26T20:40:23.507Z] stable info: [2022-10-26T20:40:23.507Z] ------------------- [2022-10-26T20:40:23.507Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:40:23.507Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:40:23.507Z] Message: update stable to v1.0.243 [2022-10-26T20:40:23.767Z] ------------------- [2022-10-26T20:40:23.767Z] experimental info: [2022-10-26T20:40:23.767Z] ------------------- [2022-10-26T20:40:23.767Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:40:23.767Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:40:23.767Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:40:23.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T20:40:23.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T20:40:23.965Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:40:23.980Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:40:23.994Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:40:24.007Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:40:24.026Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:40:24.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:40:24.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:40:24.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:40:24.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:40:24.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T20:40:24.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:40:24.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:40:24.179Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:40:24.193Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:40:24.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:40:24.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:40:24.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:40:24.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:40:24.255Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T20:40:24.267Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T20:40:24.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:40:24.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:40:24.301Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:40:24.312Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:40:24.323Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:40:24.338Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-26T20:40:24.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-26T20:40:24.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-26T20:40:24.373Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo [2022-10-26T20:40:24.384Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c606ad2 [Pipeline] echo [2022-10-26T20:40:24.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:40:24.435Z] provisioning config files... [2022-10-26T20:40:24.473Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3122681684594719105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:40:24.781Z] ---> docker-login.sh [2022-10-26T20:40:24.781Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:40:25.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:25.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:25.039Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:25.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:25.039Z] [2022-10-26T20:40:25.039Z] Login Succeeded [2022-10-26T20:40:25.039Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:40:25.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:25.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:25.300Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:25.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:25.300Z] [2022-10-26T20:40:25.300Z] Login Succeeded [2022-10-26T20:40:25.300Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:40:25.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:25.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:25.300Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:25.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:25.300Z] [2022-10-26T20:40:25.300Z] Login Succeeded [2022-10-26T20:40:25.300Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:40:25.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:25.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:25.578Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:25.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:25.578Z] [2022-10-26T20:40:25.578Z] Login Succeeded [2022-10-26T20:40:25.578Z] docker.io [2022-10-26T20:40:25.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:25.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:25.839Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:25.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:25.839Z] [2022-10-26T20:40:25.839Z] Login Succeeded [2022-10-26T20:40:25.839Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:40:25.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:40:26.207Z] + git rev-list -1 --merges c606ad227c7573c7ba828fdfaccb601fc033aacf~1..c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo [2022-10-26T20:40:26.249Z] -----------> git rev-list -1 --merges c606ad227c7573c7ba828fdfaccb601fc033aacf~1..c606ad227c7573c7ba828fdfaccb601fc033aacf c606ad227c7573c7ba828fdfaccb601fc033aacf [false] [Pipeline] sh [2022-10-26T20:40:26.542Z] + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo [2022-10-26T20:40:26.574Z] ========================================================= [2022-10-26T20:40:26.574Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:40:26.574Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:40:26.890Z] + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo [2022-10-26T20:40:26.900Z] [semverPrep] GIT_COMMIT: c606ad227c7573c7ba828fdfaccb601fc033aacf, Commit Message: build: Latest go-mods, config and Dockerfile fix (#187) [Pipeline] echo [2022-10-26T20:40:26.911Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:40:27.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:40:27.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:40:27.258Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:40:27.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:40:27.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:40:27.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:40:27.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:40:27.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:40:27.607Z] [2022-10-26T20:40:27.607Z] 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-26T20:40:27.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:40:27.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:40:27.907Z] b85a868b505f: Pulling fs layer [2022-10-26T20:40:27.907Z] e2be974225ed: Pulling fs layer [2022-10-26T20:40:27.907Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:40:27.907Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:40:27.907Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:40:27.907Z] eaf3925da568: Pulling fs layer [2022-10-26T20:40:27.907Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:40:27.907Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:40:27.907Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:40:27.907Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:40:27.907Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:40:27.907Z] 1469e6f7b9e6: Waiting [2022-10-26T20:40:27.907Z] eaf3925da568: Waiting [2022-10-26T20:40:27.907Z] 988bab9f4d93: Waiting [2022-10-26T20:40:27.907Z] b352a97aabf1: Waiting [2022-10-26T20:40:27.907Z] bde34c3a00c8: Waiting [2022-10-26T20:40:27.907Z] bab4dde63d76: Waiting [2022-10-26T20:40:27.907Z] e2be974225ed: Download complete [2022-10-26T20:40:27.907Z] 988bab9f4d93: Download complete [2022-10-26T20:40:28.168Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:40:28.168Z] 1469e6f7b9e6: Download complete [2022-10-26T20:40:28.168Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:40:28.168Z] 339a4e72a1f5: Download complete [2022-10-26T20:40:28.168Z] eaf3925da568: Download complete [2022-10-26T20:40:28.168Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:40:28.168Z] bde34c3a00c8: Download complete [2022-10-26T20:40:28.168Z] b352a97aabf1: Download complete [2022-10-26T20:40:28.168Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:40:28.168Z] 4872d77fe225: Download complete [2022-10-26T20:40:28.168Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:40:28.168Z] 5851b861e8e6: Download complete [2022-10-26T20:40:28.168Z] b85a868b505f: Verifying Checksum [2022-10-26T20:40:28.168Z] b85a868b505f: Download complete [2022-10-26T20:40:28.425Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:40:28.425Z] bab4dde63d76: Download complete [2022-10-26T20:40:29.366Z] b85a868b505f: Pull complete [2022-10-26T20:40:29.624Z] e2be974225ed: Pull complete [2022-10-26T20:40:30.192Z] 339a4e72a1f5: Pull complete [2022-10-26T20:40:30.192Z] 988bab9f4d93: Pull complete [2022-10-26T20:40:30.453Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:40:30.713Z] eaf3925da568: Pull complete [2022-10-26T20:40:32.613Z] bab4dde63d76: Pull complete [2022-10-26T20:40:32.613Z] bde34c3a00c8: Pull complete [2022-10-26T20:40:32.613Z] b352a97aabf1: Pull complete [2022-10-26T20:40:32.872Z] 4872d77fe225: Pull complete [2022-10-26T20:40:32.872Z] 5851b861e8e6: Pull complete [2022-10-26T20:40:32.872Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:40:32.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:40:32.872Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:40:32.985Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:40:33.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:40:34.645Z] $ docker top 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 -eo pid,comm [2022-10-26T20:40:34.696Z] 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-26T20:40:34.696Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:40:34.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:40:34.728Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:40:34.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:40:34.851Z] $ docker exec 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent [2022-10-26T20:40:34.956Z] SSH_AUTH_SOCK=/tmp/ssh-VGAOsEkOjkXR/agent.32 [2022-10-26T20:40:34.956Z] SSH_AGENT_PID=38 [2022-10-26T20:40:34.963Z] Running ssh-add (command line suppressed) [2022-10-26T20:40:35.076Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8006287614177679577.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8006287614177679577.key) [2022-10-26T20:40:35.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:40:35.368Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:40:35.388Z] $ docker exec --env ******** --env ******** 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent -k [2022-10-26T20:40:35.488Z] unset SSH_AUTH_SOCK; [2022-10-26T20:40:35.489Z] unset SSH_AGENT_PID; [2022-10-26T20:40:35.490Z] echo Agent pid 38 killed; [2022-10-26T20:40:35.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:40:35.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:40:35.611Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:40:35.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:40:35.739Z] $ docker exec 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent [2022-10-26T20:40:35.855Z] SSH_AUTH_SOCK=/tmp/ssh-kk2HPfzhxask/agent.70 [2022-10-26T20:40:35.855Z] SSH_AGENT_PID=76 [2022-10-26T20:40:35.859Z] Running ssh-add (command line suppressed) [2022-10-26T20:40:35.970Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9505425431563785358.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9505425431563785358.key) [2022-10-26T20:40:35.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:40:36.260Z] + git semver init [2022-10-26T20:40:36.520Z] 2022-10-26 20:40:36,471 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:40:36.520Z] 2022-10-26 20:40:36,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-10-26T20:40:36.520Z] 2022-10-26 20:40:36,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-10-26T20:40:36.520Z] 2022-10-26 20:40:36,472 [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-26T20:40:37.900Z] 2022-10-26 20:40:37,546 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-10-26T20:40:37.900Z] 2022-10-26 20:40:37,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-10-26T20:40:37.900Z] 2022-10-26 20:40:37,547 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:40:37.900Z] 2022-10-26 20:40:37,547 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:40:37.900Z] 2.3.0-dev.39 [Pipeline] } [2022-10-26T20:40:37.917Z] $ docker exec --env ******** --env ******** 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent -k [2022-10-26T20:40:38.021Z] unset SSH_AUTH_SOCK; [2022-10-26T20:40:38.022Z] unset SSH_AGENT_PID; [2022-10-26T20:40:38.022Z] echo Agent pid 76 killed; [2022-10-26T20:40:38.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:40:38.327Z] + git semver [Pipeline] } [2022-10-26T20:40:38.604Z] $ docker stop --time=1 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 [2022-10-26T20:40:39.936Z] $ docker rm -f 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:40:40.282Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:40:40.454Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:40:40.456Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.39 [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-26T20:40:40.575Z] provisioning config files... [2022-10-26T20:40:40.584Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4123627913222004255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:40:40.880Z] ---> docker-login.sh [2022-10-26T20:40:40.880Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:40:40.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:40.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:40.880Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:40.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:40.880Z] [2022-10-26T20:40:40.880Z] Login Succeeded [2022-10-26T20:40:40.880Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:40:40.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:40.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:40.880Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:40.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:40.880Z] [2022-10-26T20:40:40.880Z] Login Succeeded [2022-10-26T20:40:40.880Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:40:41.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:41.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:41.139Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:41.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:41.139Z] [2022-10-26T20:40:41.139Z] Login Succeeded [2022-10-26T20:40:41.139Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:40:41.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:41.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:41.139Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:41.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:41.139Z] [2022-10-26T20:40:41.139Z] Login Succeeded [2022-10-26T20:40:41.139Z] docker.io [2022-10-26T20:40:41.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:40:41.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:40:41.656Z] Configure a credential helper to remove this warning. See [2022-10-26T20:40:41.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:40:41.656Z] [2022-10-26T20:40:41.656Z] Login Succeeded [2022-10-26T20:40:41.656Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:40:41.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:40:41.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:40:41.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:40:41.755Z] ========================================================= [2022-10-26T20:40:41.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:40:41.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:40:42.073Z] + 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-26T20:40:42.073Z] Sending build context to Docker daemon 27.38MB [2022-10-26T20:40:42.073Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:40:42.073Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T20:40:42.332Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:40:42.332Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:40:42.332Z] 4583459ba037: Pulling fs layer [2022-10-26T20:40:42.332Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:40:42.332Z] 53926ce57604: Pulling fs layer [2022-10-26T20:40:42.332Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:40:42.332Z] 30f14e443154: Pulling fs layer [2022-10-26T20:40:42.332Z] 801331c1e519: Pulling fs layer [2022-10-26T20:40:42.332Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:40:42.332Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:40:42.332Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:40:42.332Z] 30f14e443154: Waiting [2022-10-26T20:40:42.333Z] 801331c1e519: Waiting [2022-10-26T20:40:42.333Z] 99cc6dd402b0: Waiting [2022-10-26T20:40:42.333Z] 7d9ed39f4882: Waiting [2022-10-26T20:40:42.333Z] 53926ce57604: Waiting [2022-10-26T20:40:42.333Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:40:42.333Z] 93c1e223e6f2: Download complete [2022-10-26T20:40:42.333Z] 4583459ba037: Verifying Checksum [2022-10-26T20:40:42.333Z] 4583459ba037: Download complete [2022-10-26T20:40:42.333Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:40:42.333Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:40:42.333Z] 30f14e443154: Verifying Checksum [2022-10-26T20:40:42.333Z] 30f14e443154: Download complete [2022-10-26T20:40:42.333Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:40:42.333Z] 213ec9aee27d: Download complete [2022-10-26T20:40:42.333Z] 801331c1e519: Verifying Checksum [2022-10-26T20:40:42.333Z] 801331c1e519: Download complete [2022-10-26T20:40:42.593Z] 213ec9aee27d: Pull complete [2022-10-26T20:40:42.593Z] 4583459ba037: Pull complete [2022-10-26T20:40:42.853Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:40:42.853Z] 7d9ed39f4882: Download complete [2022-10-26T20:40:42.853Z] 93c1e223e6f2: Pull complete [2022-10-26T20:40:43.113Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:40:43.113Z] 99cc6dd402b0: Download complete [2022-10-26T20:40:43.372Z] 53926ce57604: Verifying Checksum [2022-10-26T20:40:43.372Z] 53926ce57604: Download complete [2022-10-26T20:40:47.561Z] 53926ce57604: Pull complete [2022-10-26T20:40:47.561Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:40:47.561Z] 30f14e443154: Pull complete [2022-10-26T20:40:47.561Z] 801331c1e519: Pull complete [2022-10-26T20:40:50.093Z] 99cc6dd402b0: Pull complete [2022-10-26T20:40:50.659Z] 7d9ed39f4882: Pull complete [2022-10-26T20:40:50.659Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:40:50.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:40:50.659Z] ---> 1dedd983c030 [2022-10-26T20:40:50.659Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:40:52.567Z] ---> Running in 912581258eab [2022-10-26T20:40:52.826Z] Removing intermediate container 912581258eab [2022-10-26T20:40:52.826Z] ---> 74349f5c9a4e [2022-10-26T20:40:52.826Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:40:52.826Z] ---> Running in 6a4c5eb16135 [2022-10-26T20:40:52.826Z] Removing intermediate container 6a4c5eb16135 [2022-10-26T20:40:52.826Z] ---> 89f0246e09ed [2022-10-26T20:40:52.826Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:40:52.826Z] ---> Running in e2df1858a4c8 [2022-10-26T20:40:53.086Z] Removing intermediate container e2df1858a4c8 [2022-10-26T20:40:53.086Z] ---> b348bbeabf20 [2022-10-26T20:40:53.087Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:40:53.087Z] ---> Running in 0fbb0a00f480 [2022-10-26T20:40:53.087Z] Removing intermediate container 0fbb0a00f480 [2022-10-26T20:40:53.087Z] ---> 3beadb7d2ce3 [2022-10-26T20:40:53.087Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:40:53.087Z] ---> Running in 783a969296f4 [2022-10-26T20:40:53.345Z] Removing intermediate container 783a969296f4 [2022-10-26T20:40:53.345Z] ---> 52bca419e495 [2022-10-26T20:40:53.345Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:40:53.345Z] ---> Running in 6b6c005a0cc7 [2022-10-26T20:40:53.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:40:53.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:40:53.864Z] OK: 211 MiB in 51 packages [2022-10-26T20:40:54.434Z] Removing intermediate container 6b6c005a0cc7 [2022-10-26T20:40:54.434Z] ---> 138e32d731ec [2022-10-26T20:40:54.434Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T20:40:54.434Z] ---> Running in b41ede04a75e [2022-10-26T20:40:54.434Z] Removing intermediate container b41ede04a75e [2022-10-26T20:40:54.434Z] ---> 0c78c538cbae [2022-10-26T20:40:54.434Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T20:40:54.696Z] ---> b02e2e099313 [2022-10-26T20:40:54.696Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:40:54.696Z] ---> Running in 818ce9861177 [2022-10-26T20:40:55.541Z] Still waiting to schedule task [2022-10-26T20:40:55.541Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:41:12.807Z] Removing intermediate container 818ce9861177 [2022-10-26T20:41:12.807Z] ---> 9e959263df0c [2022-10-26T20:41:12.807Z] Step 12/13 : COPY . . [2022-10-26T20:41:13.389Z] ---> 332f33d02e16 [2022-10-26T20:41:13.389Z] Step 13/13 : RUN ${MAKE} [2022-10-26T20:41:13.389Z] ---> Running in d644727f291c [2022-10-26T20:41:13.648Z] noop [2022-10-26T20:41:14.216Z] Removing intermediate container d644727f291c [2022-10-26T20:41:14.216Z] ---> 8f1019a99904 [2022-10-26T20:41:14.216Z] Successfully built 8f1019a99904 [2022-10-26T20:41:14.216Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:14.526Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:41:14.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:14.592Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:41:14.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:41:14.998Z] $ docker top e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:41:15.341Z] + go version [2022-10-26T20:41:15.341Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:41:15.352Z] $ docker stop --time=1 e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc [2022-10-26T20:41:16.641Z] $ docker rm -f e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:17.039Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:41:17.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:17.108Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:41:17.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:41:17.497Z] $ docker top 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:41:17.835Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:41:18.127Z] + make test [2022-10-26T20:41:18.127Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:41:18.386Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T20:41:30.598Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T20:41:30.861Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements [2022-10-26T20:41:30.861Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T20:41:30.861Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.682s coverage: 86.5% of statements [2022-10-26T20:41:40.834Z] 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-26T20:41:40.834Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:41:43.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:41:43.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:41:43.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:41:43.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:41:43.382Z] $ docker stop --time=1 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca [2022-10-26T20:41:45.278Z] $ docker rm -f 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:41:45.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:41:45.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:41:46.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:41:46.484Z] + ls -al . [2022-10-26T20:41:46.484Z] total 244 [2022-10-26T20:41:46.484Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:41 . [2022-10-26T20:41:46.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 .. [2022-10-26T20:41:46.484Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:41 .git [2022-10-26T20:41:46.484Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:40 .github [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:40 .gitignore [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:40 .golangci.yml [2022-10-26T20:41:46.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:40 .semver [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:40 Attribution.txt [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:40 CHANGELOG.md [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:40 Dockerfile [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:40 GOVERNANCE.md [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:40 Jenkinsfile [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:40 LICENSE [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:40 Makefile [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:40 OWNERS.md [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:40 README.md [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:40 VERSION [2022-10-26T20:41:46.484Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:40 bin [2022-10-26T20:41:46.484Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:40 cmd [2022-10-26T20:41:46.484Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:41 coverage.out [2022-10-26T20:41:46.484Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:40 doc [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:40 go.mod [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:40 go.sum [2022-10-26T20:41:46.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 internal [2022-10-26T20:41:46.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 snap [2022-10-26T20:41:46.484Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:46.787Z] + 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=c606ad227c7573c7ba828fdfaccb601fc033aacf --label arch=amd64 --label version=2.3.0-dev.39 . [2022-10-26T20:41:46.787Z] Sending build context to Docker daemon 27.46MB [2022-10-26T20:41:46.787Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:41:46.787Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:41:46.787Z] ---> 8f1019a99904 [2022-10-26T20:41:46.787Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:41:47.046Z] ---> Running in b665a4a684dc [2022-10-26T20:41:47.046Z] Removing intermediate container b665a4a684dc [2022-10-26T20:41:47.046Z] ---> 733fdc6752e6 [2022-10-26T20:41:47.046Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:41:47.304Z] ---> Running in 1cf37618e7c4 [2022-10-26T20:41:47.304Z] Removing intermediate container 1cf37618e7c4 [2022-10-26T20:41:47.304Z] ---> 09e52664fbba [2022-10-26T20:41:47.304Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:41:47.304Z] ---> Running in 5d5ea0195b1b [2022-10-26T20:41:47.304Z] Removing intermediate container 5d5ea0195b1b [2022-10-26T20:41:47.304Z] ---> 8efe59917381 [2022-10-26T20:41:47.304Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:41:47.564Z] ---> Running in 104a6c79fa39 [2022-10-26T20:41:47.564Z] Removing intermediate container 104a6c79fa39 [2022-10-26T20:41:47.564Z] ---> 50ff693d31f2 [2022-10-26T20:41:47.564Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:41:47.564Z] ---> Running in d41cfb5062ee [2022-10-26T20:41:47.564Z] Removing intermediate container d41cfb5062ee [2022-10-26T20:41:47.564Z] ---> 8a780c81f41a [2022-10-26T20:41:47.564Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:41:47.822Z] ---> Running in 7c9171a2a2e1 [2022-10-26T20:41:48.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:48.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:48.339Z] OK: 211 MiB in 51 packages [2022-10-26T20:41:48.597Z] Removing intermediate container 7c9171a2a2e1 [2022-10-26T20:41:48.597Z] ---> 4836c6687d68 [2022-10-26T20:41:48.597Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T20:41:48.597Z] ---> Running in 0832dfec2bf4 [2022-10-26T20:41:48.855Z] Removing intermediate container 0832dfec2bf4 [2022-10-26T20:41:48.855Z] ---> 5aa09c78fc66 [2022-10-26T20:41:48.855Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T20:41:48.855Z] ---> e11a1dc88926 [2022-10-26T20:41:48.855Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:41:48.855Z] ---> Running in 16f5a165db2e [2022-10-26T20:41:49.788Z] Removing intermediate container 16f5a165db2e [2022-10-26T20:41:49.788Z] ---> f0a3f04b2b67 [2022-10-26T20:41:49.788Z] Step 12/26 : COPY . . [2022-10-26T20:41:50.353Z] ---> 858a1cd3b740 [2022-10-26T20:41:50.354Z] Step 13/26 : RUN ${MAKE} [2022-10-26T20:41:50.354Z] ---> Running in 4820d46e04bb [2022-10-26T20:41:50.659Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T20:42:12.697Z] Removing intermediate container 4820d46e04bb [2022-10-26T20:42:12.697Z] ---> 4cf67d9d6695 [2022-10-26T20:42:12.697Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T20:42:13.265Z] 3.16: Pulling from library/alpine [2022-10-26T20:42:13.265Z] 213ec9aee27d: Already exists [2022-10-26T20:42:13.525Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:42:13.525Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:42:13.525Z] ---> 9c6f07244728 [2022-10-26T20:42:13.525Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T20:42:13.525Z] ---> Running in 149b70d18cd2 [2022-10-26T20:42:13.784Z] Removing intermediate container 149b70d18cd2 [2022-10-26T20:42:13.784Z] ---> 82b6a8d3b3db [2022-10-26T20:42:13.784Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:42:13.784Z] ---> Running in 0cc94ab7d339 [2022-10-26T20:42:14.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:14.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:14.301Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:42:14.301Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:42:14.301Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:42:14.301Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:42:14.301Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:42:14.301Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:42:14.301Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:42:14.301Z] OK: 8 MiB in 20 packages [2022-10-26T20:42:14.868Z] Removing intermediate container 0cc94ab7d339 [2022-10-26T20:42:14.868Z] ---> 68813a768291 [2022-10-26T20:42:14.868Z] Step 17/26 : WORKDIR / [2022-10-26T20:42:14.868Z] ---> Running in d6ff23efe064 [2022-10-26T20:42:14.868Z] Removing intermediate container d6ff23efe064 [2022-10-26T20:42:14.868Z] ---> 375a18fb042c [2022-10-26T20:42:14.868Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T20:42:15.433Z] ---> 9246a4164490 [2022-10-26T20:42:15.433Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T20:42:15.690Z] ---> 8db39a75dc25 [2022-10-26T20:42:15.690Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T20:42:15.956Z] ---> 5fe8091880ab [2022-10-26T20:42:15.956Z] Step 21/26 : EXPOSE 59984 [2022-10-26T20:42:15.956Z] ---> Running in 28a6cc993cb9 [2022-10-26T20:42:15.956Z] Removing intermediate container 28a6cc993cb9 [2022-10-26T20:42:15.956Z] ---> 6066fbce64d3 [2022-10-26T20:42:15.956Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T20:42:15.956Z] ---> Running in 286fbbc87772 [2022-10-26T20:42:16.215Z] Removing intermediate container 286fbbc87772 [2022-10-26T20:42:16.215Z] ---> 5b57c29b0678 [2022-10-26T20:42:16.215Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:42:16.215Z] ---> Running in 78e0a6884a24 [2022-10-26T20:42:16.215Z] Removing intermediate container 78e0a6884a24 [2022-10-26T20:42:16.215Z] ---> 934a50a13211 [2022-10-26T20:42:16.215Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T20:42:16.215Z] ---> Running in 53840370ce68 [2022-10-26T20:42:16.474Z] Removing intermediate container 53840370ce68 [2022-10-26T20:42:16.474Z] ---> a06fc8f23d90 [2022-10-26T20:42:16.474Z] Step 25/26 : LABEL git_sha=c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:42:16.474Z] ---> Running in 044961ddc7be [2022-10-26T20:42:16.474Z] Removing intermediate container 044961ddc7be [2022-10-26T20:42:16.474Z] ---> be1983bcbb51 [2022-10-26T20:42:16.474Z] Step 26/26 : LABEL version=2.3.0-dev.39 [2022-10-26T20:42:16.474Z] ---> Running in ee71fb388c74 [2022-10-26T20:42:16.734Z] Removing intermediate container ee71fb388c74 [2022-10-26T20:42:16.734Z] ---> ea5d118477ff [2022-10-26T20:42:16.734Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:42:16.734Z] Successfully built ea5d118477ff [2022-10-26T20:42:16.734Z] 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-26T20:42:16.830Z] provisioning config files... [2022-10-26T20:42:16.838Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10526330381537568489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:42:17.138Z] ---> docker-login.sh [2022-10-26T20:42:17.138Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:42:17.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:17.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:17.138Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:17.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:17.138Z] [2022-10-26T20:42:17.138Z] Login Succeeded [2022-10-26T20:42:17.138Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:42:17.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:17.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:17.138Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:17.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:17.138Z] [2022-10-26T20:42:17.138Z] Login Succeeded [2022-10-26T20:42:17.138Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:42:17.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:17.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:17.397Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:17.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:17.397Z] [2022-10-26T20:42:17.397Z] Login Succeeded [2022-10-26T20:42:17.397Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:42:17.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:17.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:17.397Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:17.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:17.397Z] [2022-10-26T20:42:17.397Z] Login Succeeded [2022-10-26T20:42:17.397Z] docker.io [2022-10-26T20:42:17.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:42:17.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:42:17.914Z] Configure a credential helper to remove this warning. See [2022-10-26T20:42:17.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:42:17.914Z] [2022-10-26T20:42:17.914Z] Login Succeeded [2022-10-26T20:42:17.914Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:42:17.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:42:17.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:42:17.962Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-10-26T20:42:17.962Z] c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:42:17.962Z] latest [2022-10-26T20:42:17.962Z] 2.3.0-dev.39 [2022-10-26T20:42:17.962Z] c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:42:17.962Z] main [2022-10-26T20:42:17.962Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:18.284Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:18.586Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:42:18.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-26T20:42:18.586Z] 8b3f908152c2: Preparing [2022-10-26T20:42:18.586Z] 7a1274deb8ad: Preparing [2022-10-26T20:42:18.586Z] 2e4ca2e892ae: Preparing [2022-10-26T20:42:18.586Z] 5e8a1d03f29d: Preparing [2022-10-26T20:42:18.586Z] 994393dc58e7: Preparing [2022-10-26T20:42:18.586Z] 994393dc58e7: Layer already exists [2022-10-26T20:42:18.586Z] 7a1274deb8ad: Pushed [2022-10-26T20:42:18.586Z] 8b3f908152c2: Pushed [2022-10-26T20:42:18.845Z] 5e8a1d03f29d: Pushed [2022-10-26T20:42:22.137Z] 2e4ca2e892ae: Pushed [2022-10-26T20:42:22.137Z] c606ad227c7573c7ba828fdfaccb601fc033aacf: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:22.456Z] + 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-26T20:42:22.762Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-10-26T20:42:22.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-26T20:42:22.762Z] 8b3f908152c2: Preparing [2022-10-26T20:42:22.762Z] 7a1274deb8ad: Preparing [2022-10-26T20:42:22.762Z] 2e4ca2e892ae: Preparing [2022-10-26T20:42:22.762Z] 5e8a1d03f29d: Preparing [2022-10-26T20:42:22.762Z] 994393dc58e7: Preparing [2022-10-26T20:42:22.762Z] 5e8a1d03f29d: Layer already exists [2022-10-26T20:42:22.762Z] 994393dc58e7: Layer already exists [2022-10-26T20:42:22.762Z] 2e4ca2e892ae: Layer already exists [2022-10-26T20:42:22.762Z] 7a1274deb8ad: Layer already exists [2022-10-26T20:42:22.762Z] 8b3f908152c2: Layer already exists [2022-10-26T20:42:22.762Z] latest: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:23.068Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:23.368Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 [2022-10-26T20:42:23.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-26T20:42:23.368Z] 8b3f908152c2: Preparing [2022-10-26T20:42:23.368Z] 7a1274deb8ad: Preparing [2022-10-26T20:42:23.368Z] 2e4ca2e892ae: Preparing [2022-10-26T20:42:23.368Z] 5e8a1d03f29d: Preparing [2022-10-26T20:42:23.368Z] 994393dc58e7: Preparing [2022-10-26T20:42:23.368Z] 994393dc58e7: Layer already exists [2022-10-26T20:42:23.368Z] 8b3f908152c2: Layer already exists [2022-10-26T20:42:23.368Z] 7a1274deb8ad: Layer already exists [2022-10-26T20:42:23.368Z] 2e4ca2e892ae: Layer already exists [2022-10-26T20:42:23.368Z] 5e8a1d03f29d: Layer already exists [2022-10-26T20:42:23.368Z] 2.3.0-dev.39: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:23.679Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:23.978Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:42:23.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-26T20:42:23.978Z] 8b3f908152c2: Preparing [2022-10-26T20:42:23.978Z] 7a1274deb8ad: Preparing [2022-10-26T20:42:23.978Z] 2e4ca2e892ae: Preparing [2022-10-26T20:42:23.978Z] 5e8a1d03f29d: Preparing [2022-10-26T20:42:23.978Z] 994393dc58e7: Preparing [2022-10-26T20:42:23.978Z] 2e4ca2e892ae: Layer already exists [2022-10-26T20:42:23.978Z] 994393dc58e7: Layer already exists [2022-10-26T20:42:23.978Z] 7a1274deb8ad: Layer already exists [2022-10-26T20:42:23.978Z] 8b3f908152c2: Layer already exists [2022-10-26T20:42:23.978Z] 5e8a1d03f29d: Layer already exists [2022-10-26T20:42:23.978Z] c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:24.296Z] + 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-26T20:42:24.609Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-10-26T20:42:24.609Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-10-26T20:42:24.609Z] 8b3f908152c2: Preparing [2022-10-26T20:42:24.609Z] 7a1274deb8ad: Preparing [2022-10-26T20:42:24.609Z] 2e4ca2e892ae: Preparing [2022-10-26T20:42:24.609Z] 5e8a1d03f29d: Preparing [2022-10-26T20:42:24.609Z] 994393dc58e7: Preparing [2022-10-26T20:42:24.609Z] 994393dc58e7: Layer already exists [2022-10-26T20:42:24.609Z] 8b3f908152c2: Layer already exists [2022-10-26T20:42:24.609Z] 5e8a1d03f29d: Layer already exists [2022-10-26T20:42:24.609Z] 2e4ca2e892ae: Layer already exists [2022-10-26T20:42:24.609Z] 7a1274deb8ad: Layer already exists [2022-10-26T20:42:24.609Z] main: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:42:24.661Z] ===================================================== [Pipeline] echo [2022-10-26T20:42:24.670Z] taggedImages: [2022-10-26T20:42:24.670Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:42:24.670Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-10-26T20:42:24.670Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 [2022-10-26T20:42:24.670Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:42:24.670Z] - 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-26T20:42:25.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:42:25.046Z] [2022-10-26T20:42:25.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:25.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:42:25.353Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:42:25.353Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:42:25.353Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:42:25.353Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:42:25.353Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:42:25.353Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:42:25.353Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:42:25.353Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:42:25.353Z] 33b1e0a273af: Waiting [2022-10-26T20:42:25.353Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:42:25.353Z] 2f39f015ded8: Waiting [2022-10-26T20:42:25.353Z] 5d3b04190fa2: Waiting [2022-10-26T20:42:25.353Z] 5c69ac0246d0: Download complete [2022-10-26T20:42:25.353Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:42:25.353Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:42:25.353Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:42:25.353Z] 33b1e0a273af: Download complete [2022-10-26T20:42:25.353Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:42:25.353Z] 5d3b04190fa2: Download complete [2022-10-26T20:42:25.618Z] ec43610c2a17: Download complete [2022-10-26T20:42:25.618Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:42:25.618Z] 5eb5b503b376: Download complete [2022-10-26T20:42:26.186Z] 2f39f015ded8: Download complete [2022-10-26T20:42:26.752Z] 5eb5b503b376: Pull complete [2022-10-26T20:42:27.009Z] 5c69ac0246d0: Pull complete [2022-10-26T20:42:27.268Z] ec43610c2a17: Pull complete [2022-10-26T20:42:27.268Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:42:27.526Z] 33b1e0a273af: Pull complete [2022-10-26T20:42:27.785Z] 5d3b04190fa2: Pull complete [2022-10-26T20:42:33.056Z] 2f39f015ded8: Pull complete [2022-10-26T20:42:33.056Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:42:33.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:42:33.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:42:33.129Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:42:33.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:42:35.047Z] $ docker top 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:42:35.419Z] ---> job-cost.sh [2022-10-26T20:42:35.419Z] lf-activate-venv: SKIPPING [2022-10-26T20:42:35.419Z] INFO: No Stack... [2022-10-26T20:42:35.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:42:36.242Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:42:36.531Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-10-26T20:42:36.531Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:42:36.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [2022-10-26T20:42:36.549Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] did not exist. Created. [2022-10-26T20:42:36.550Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:42:36.853Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:42:36.883Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:42:36.890Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:42:36.904Z] $ docker stop --time=1 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 [2022-10-26T20:42:38.092Z] $ docker rm -f 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:43:44.746Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117326 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-10-26T20:43:44.764Z] Running in /w/workspace/device-onvif-camera/78 [Pipeline] { [Pipeline] checkout [2022-10-26T20:43:44.810Z] The recommended git tool is: git [2022-10-26T20:43:51.903Z] using credential edgex-jenkins-ssh [2022-10-26T20:43:51.924Z] Cloning the remote Git repository [2022-10-26T20:43:51.985Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T20:43:52.089Z] > git init /w/workspace/device-onvif-camera/78 # timeout=10 [2022-10-26T20:43:52.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T20:43:52.280Z] > git --version # timeout=10 [2022-10-26T20:43:52.305Z] > git --version # 'git version 2.25.1' [2022-10-26T20:43:52.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:43:52.369Z] Verifying host key using known hosts file [2022-10-26T20:43:52.640Z] 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-26T20:43:52.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:43:54.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T20:43:54.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:43:55.441Z] Avoid second fetch [2022-10-26T20:43:55.442Z] Checking out Revision c606ad227c7573c7ba828fdfaccb601fc033aacf (main) [2022-10-26T20:43:56.306Z] Commit message: "build: Latest go-mods, config and Dockerfile fix (#187)" [Pipeline] withEnv [Pipeline] { [2022-10-26T20:43:55.460Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:43:55.483Z] > git checkout -f c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:43:57.167Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:43:57.167Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:43:57.167Z] Dload Upload Total Spent Left Speed [2022-10-26T20:43:57.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 83456 [Pipeline] sh [2022-10-26T20:43:57.905Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:43:58.250Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:43:58.251Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:43:58.251Z] { [2022-10-26T20:43:58.251Z] "registry-mirrors": [ [2022-10-26T20:43:58.251Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:43:58.251Z] ], [2022-10-26T20:43:58.251Z] "bip": "10.250.0.254/24", [2022-10-26T20:43:58.251Z] "hosts": [ [2022-10-26T20:43:58.251Z] "tcp://0.0.0.0:5555", [2022-10-26T20:43:58.251Z] "unix:///var/run/docker.sock" [2022-10-26T20:43:58.251Z] ], [2022-10-26T20:43:58.251Z] "mtu": 1458, [2022-10-26T20:43:58.251Z] "selinux-enabled": true, [2022-10-26T20:43:58.251Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:43:58.251Z] } [Pipeline] sh [2022-10-26T20:43:58.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:43:58.952Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:44:17.276Z] provisioning config files... [2022-10-26T20:44:17.311Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/78@tmp/config5017621382789908716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:44:17.698Z] ---> docker-login.sh [2022-10-26T20:44:17.698Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:44:18.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:44:18.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:44:18.566Z] Configure a credential helper to remove this warning. See [2022-10-26T20:44:18.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:44:18.566Z] [2022-10-26T20:44:18.566Z] Login Succeeded [2022-10-26T20:44:18.566Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:44:18.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:44:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:44:19.110Z] Configure a credential helper to remove this warning. See [2022-10-26T20:44:19.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:44:19.110Z] [2022-10-26T20:44:19.110Z] Login Succeeded [2022-10-26T20:44:19.110Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:44:19.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:44:19.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:44:19.383Z] Configure a credential helper to remove this warning. See [2022-10-26T20:44:19.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:44:19.383Z] [2022-10-26T20:44:19.383Z] Login Succeeded [2022-10-26T20:44:19.383Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:44:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:44:19.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:44:19.925Z] Configure a credential helper to remove this warning. See [2022-10-26T20:44:19.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:44:19.925Z] [2022-10-26T20:44:19.925Z] Login Succeeded [2022-10-26T20:44:19.925Z] docker.io [2022-10-26T20:44:20.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:44:20.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:44:20.466Z] Configure a credential helper to remove this warning. See [2022-10-26T20:44:20.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:44:20.466Z] [2022-10-26T20:44:20.466Z] Login Succeeded [2022-10-26T20:44:20.466Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:44:20.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:44:20.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:44:20.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:44:20.717Z] ========================================================= [2022-10-26T20:44:20.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:44:20.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:44:21.083Z] + 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-26T20:44:21.676Z] Sending build context to Docker daemon 20.33MB [2022-10-26T20:44:21.676Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:44:21.676Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T20:44:21.951Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:44:21.951Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:44:21.951Z] d32db5db7311: Pulling fs layer [2022-10-26T20:44:21.951Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:44:21.951Z] 5831b945b038: Pulling fs layer [2022-10-26T20:44:21.951Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:44:21.951Z] e10730c5d714: Pulling fs layer [2022-10-26T20:44:21.951Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:44:21.951Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:44:21.951Z] 86bbec2aaacd: Waiting [2022-10-26T20:44:21.951Z] e10730c5d714: Waiting [2022-10-26T20:44:21.951Z] 5dd5c2283517: Waiting [2022-10-26T20:44:21.951Z] d5ac0230b979: Waiting [2022-10-26T20:44:21.951Z] 5831b945b038: Waiting [2022-10-26T20:44:21.951Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:44:21.951Z] d0c4b47475fc: Download complete [2022-10-26T20:44:21.951Z] d32db5db7311: Verifying Checksum [2022-10-26T20:44:21.951Z] d32db5db7311: Download complete [2022-10-26T20:44:21.951Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:44:21.951Z] 86bbec2aaacd: Download complete [2022-10-26T20:44:21.951Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:44:21.951Z] 9b18e9b68314: Download complete [2022-10-26T20:44:21.951Z] e10730c5d714: Verifying Checksum [2022-10-26T20:44:21.951Z] e10730c5d714: Download complete [2022-10-26T20:44:22.948Z] 9b18e9b68314: Pull complete [2022-10-26T20:44:23.222Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:44:23.222Z] d5ac0230b979: Download complete [2022-10-26T20:44:23.496Z] d32db5db7311: Pull complete [2022-10-26T20:44:24.090Z] d0c4b47475fc: Pull complete [2022-10-26T20:44:24.688Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:44:24.688Z] 5dd5c2283517: Download complete [2022-10-26T20:44:25.286Z] 5831b945b038: Verifying Checksum [2022-10-26T20:44:25.286Z] 5831b945b038: Download complete [2022-10-26T20:44:37.677Z] 5831b945b038: Pull complete [2022-10-26T20:44:37.951Z] 86bbec2aaacd: Pull complete [2022-10-26T20:44:38.227Z] e10730c5d714: Pull complete [2022-10-26T20:44:44.944Z] 5dd5c2283517: Pull complete [2022-10-26T20:44:45.931Z] d5ac0230b979: Pull complete [2022-10-26T20:44:45.931Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:44:45.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:44:45.931Z] ---> 59b3b1a385d4 [2022-10-26T20:44:45.931Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:44:48.719Z] ---> Running in f0ead4b91937 [2022-10-26T20:44:48.719Z] Removing intermediate container f0ead4b91937 [2022-10-26T20:44:48.719Z] ---> f18384945b8c [2022-10-26T20:44:48.719Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:44:48.719Z] ---> Running in e33c8169e2b0 [2022-10-26T20:44:49.318Z] Removing intermediate container e33c8169e2b0 [2022-10-26T20:44:49.318Z] ---> 3e928d3ff631 [2022-10-26T20:44:49.318Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:44:49.318Z] ---> Running in 0344f09b1846 [2022-10-26T20:44:49.593Z] Removing intermediate container 0344f09b1846 [2022-10-26T20:44:49.593Z] ---> 861073150870 [2022-10-26T20:44:49.593Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:44:49.864Z] ---> Running in 72d7cf89c4ee [2022-10-26T20:44:50.135Z] Removing intermediate container 72d7cf89c4ee [2022-10-26T20:44:50.135Z] ---> a319ea7ef20d [2022-10-26T20:44:50.135Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:44:50.135Z] ---> Running in bf0f7238a067 [2022-10-26T20:44:50.734Z] Removing intermediate container bf0f7238a067 [2022-10-26T20:44:50.734Z] ---> 82f962941dc7 [2022-10-26T20:44:50.734Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:44:50.734Z] ---> Running in f4dec1ff91e8 [2022-10-26T20:44:52.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:44:52.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:44:53.398Z] OK: 221 MiB in 51 packages [2022-10-26T20:44:54.383Z] Removing intermediate container f4dec1ff91e8 [2022-10-26T20:44:54.383Z] ---> 037f8dec3d3e [2022-10-26T20:44:54.383Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T20:44:54.654Z] ---> Running in 01ca2b38287c [2022-10-26T20:44:54.927Z] Removing intermediate container 01ca2b38287c [2022-10-26T20:44:54.927Z] ---> 8bcde3ce09c9 [2022-10-26T20:44:54.927Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T20:44:55.527Z] ---> 6c6c2eeb6b8e [2022-10-26T20:44:55.527Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:44:55.527Z] ---> Running in 00ad93903265 [2022-10-26T20:46:03.546Z] Removing intermediate container 00ad93903265 [2022-10-26T20:46:03.546Z] ---> 136870c798d9 [2022-10-26T20:46:03.546Z] Step 12/13 : COPY . . [2022-10-26T20:46:03.546Z] ---> d6a24d39dfea [2022-10-26T20:46:03.546Z] Step 13/13 : RUN ${MAKE} [2022-10-26T20:46:03.546Z] ---> Running in 78e805918906 [2022-10-26T20:46:03.546Z] noop [2022-10-26T20:46:03.546Z] Removing intermediate container 78e805918906 [2022-10-26T20:46:03.546Z] ---> 8dc33d0199e4 [2022-10-26T20:46:03.546Z] Successfully built 8dc33d0199e4 [2022-10-26T20:46:03.546Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:46:03.899Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:46:03.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:46:04.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container [2022-10-26T20:46:04.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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-26T20:46:05.560Z] $ docker top df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:46:06.446Z] + go version [2022-10-26T20:46:06.446Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:46:06.471Z] $ docker stop --time=1 df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 [2022-10-26T20:46:08.217Z] $ docker rm -f df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:46:08.785Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:46:08.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:46:08.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container [2022-10-26T20:46:09.072Z] $ 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/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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-26T20:46:10.400Z] $ docker top 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:46:11.262Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/78 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:46:11.923Z] + make test [2022-10-26T20:46:11.923Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:46:13.880Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T20:48:05.638Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T20:48:05.638Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.226s coverage: 28.2% of statements [2022-10-26T20:48:05.639Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T20:48:17.993Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.680s coverage: 86.5% of statements [2022-10-26T20:48:17.993Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:48:17.993Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:48:56.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:48:56.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:48:56.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:48:56.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:48:56.948Z] $ docker stop --time=1 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b [2022-10-26T20:48:58.904Z] $ docker rm -f 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:49:00.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:49:00.055Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:49:00.633Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:49:01.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:49:01.381Z] + ls -al . [2022-10-26T20:49:01.381Z] total 240 [2022-10-26T20:49:01.381Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:46 . [2022-10-26T20:49:01.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 .. [2022-10-26T20:49:01.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:43 .git [2022-10-26T20:49:01.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 .github [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:43 .gitignore [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:43 .golangci.yml [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:43 Attribution.txt [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:43 CHANGELOG.md [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:43 Dockerfile [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:43 GOVERNANCE.md [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:43 Jenkinsfile [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:43 LICENSE [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:43 Makefile [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:43 OWNERS.md [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:43 README.md [2022-10-26T20:49:01.381Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:40 VERSION [2022-10-26T20:49:01.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:43 bin [2022-10-26T20:49:01.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 cmd [2022-10-26T20:49:01.382Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:48 coverage.out [2022-10-26T20:49:01.382Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:43 doc [2022-10-26T20:49:01.382Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:43 go.mod [2022-10-26T20:49:01.382Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:43 go.sum [2022-10-26T20:49:01.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 internal [2022-10-26T20:49:01.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 snap [2022-10-26T20:49:01.382Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:49:01.738Z] + 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=c606ad227c7573c7ba828fdfaccb601fc033aacf --label arch=arm64 --label version=2.3.0-dev.39 . [2022-10-26T20:49:02.333Z] Sending build context to Docker daemon 20.41MB [2022-10-26T20:49:02.333Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:49:02.333Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:49:02.333Z] ---> 8dc33d0199e4 [2022-10-26T20:49:02.333Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:49:02.604Z] ---> Running in b0870ca781bb [2022-10-26T20:49:02.872Z] Removing intermediate container b0870ca781bb [2022-10-26T20:49:02.872Z] ---> 447844ea66fb [2022-10-26T20:49:02.872Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:49:02.872Z] ---> Running in ee535a855935 [2022-10-26T20:49:03.463Z] Removing intermediate container ee535a855935 [2022-10-26T20:49:03.463Z] ---> 5c75bb93305c [2022-10-26T20:49:03.463Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:49:03.463Z] ---> Running in ca7960a5c735 [2022-10-26T20:49:03.733Z] Removing intermediate container ca7960a5c735 [2022-10-26T20:49:03.733Z] ---> d5db8b208c19 [2022-10-26T20:49:03.733Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:49:03.733Z] ---> Running in e8441ece8f94 [2022-10-26T20:49:04.003Z] Removing intermediate container e8441ece8f94 [2022-10-26T20:49:04.003Z] ---> f9813b8fed98 [2022-10-26T20:49:04.003Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:49:04.278Z] ---> Running in 7df9bf9b1f15 [2022-10-26T20:49:04.548Z] Removing intermediate container 7df9bf9b1f15 [2022-10-26T20:49:04.548Z] ---> 7dca3bf4fdcc [2022-10-26T20:49:04.548Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:49:04.548Z] ---> Running in 741841e292b3 [2022-10-26T20:49:05.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:05.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:06.933Z] OK: 221 MiB in 51 packages [2022-10-26T20:49:07.915Z] Removing intermediate container 741841e292b3 [2022-10-26T20:49:07.915Z] ---> b0f9e0f378c3 [2022-10-26T20:49:07.915Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T20:49:08.188Z] ---> Running in 55a0c2805df8 [2022-10-26T20:49:08.458Z] Removing intermediate container 55a0c2805df8 [2022-10-26T20:49:08.458Z] ---> 3608563ef7f5 [2022-10-26T20:49:08.458Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T20:49:09.050Z] ---> 744b9fde0d74 [2022-10-26T20:49:09.050Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:49:09.319Z] ---> Running in a5d72f49fa3d [2022-10-26T20:49:11.927Z] Removing intermediate container a5d72f49fa3d [2022-10-26T20:49:11.927Z] ---> 8486b4df53ed [2022-10-26T20:49:11.927Z] Step 12/26 : COPY . . [2022-10-26T20:49:13.340Z] ---> 24d4ded399f0 [2022-10-26T20:49:13.340Z] Step 13/26 : RUN ${MAKE} [2022-10-26T20:49:13.613Z] ---> Running in aa2c4872ce70 [2022-10-26T20:49:14.585Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T20:52:06.392Z] Removing intermediate container aa2c4872ce70 [2022-10-26T20:52:06.392Z] ---> 26c5283efcdf [2022-10-26T20:52:06.392Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T20:52:06.392Z] 3.16: Pulling from library/alpine [2022-10-26T20:52:06.392Z] 9b18e9b68314: Already exists [2022-10-26T20:52:06.392Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:52:06.392Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:52:06.392Z] ---> a6215f271958 [2022-10-26T20:52:06.392Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T20:52:06.392Z] ---> Running in bb9c1df25b45 [2022-10-26T20:52:06.392Z] Removing intermediate container bb9c1df25b45 [2022-10-26T20:52:06.392Z] ---> 76d08fe4132b [2022-10-26T20:52:06.392Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:52:06.392Z] ---> Running in 4dd254887acf [2022-10-26T20:52:06.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:06.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:06.392Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:52:06.392Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:52:06.392Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:52:06.392Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:52:06.392Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:52:06.392Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:52:06.392Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:52:06.392Z] OK: 8 MiB in 20 packages [2022-10-26T20:52:06.392Z] Removing intermediate container 4dd254887acf [2022-10-26T20:52:06.392Z] ---> 5f2ef215441f [2022-10-26T20:52:06.392Z] Step 17/26 : WORKDIR / [2022-10-26T20:52:06.392Z] ---> Running in cfb2b95ff7f8 [2022-10-26T20:52:06.392Z] Removing intermediate container cfb2b95ff7f8 [2022-10-26T20:52:06.392Z] ---> 53051e96fd59 [2022-10-26T20:52:06.392Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T20:52:07.804Z] ---> 76a4d531ff3e [2022-10-26T20:52:07.804Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T20:52:08.391Z] ---> 5aaa5b95dc02 [2022-10-26T20:52:08.391Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T20:52:08.976Z] ---> 38ea563119ea [2022-10-26T20:52:08.976Z] Step 21/26 : EXPOSE 59984 [2022-10-26T20:52:09.247Z] ---> Running in ba443d4a2e97 [2022-10-26T20:52:09.517Z] Removing intermediate container ba443d4a2e97 [2022-10-26T20:52:09.517Z] ---> cefe5916d8a0 [2022-10-26T20:52:09.517Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T20:52:09.517Z] ---> Running in 08580e166369 [2022-10-26T20:52:10.107Z] Removing intermediate container 08580e166369 [2022-10-26T20:52:10.107Z] ---> 40aa7c20dbc7 [2022-10-26T20:52:10.107Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:52:10.107Z] ---> Running in 499edca193b5 [2022-10-26T20:52:10.375Z] Removing intermediate container 499edca193b5 [2022-10-26T20:52:10.375Z] ---> 494a97cc9257 [2022-10-26T20:52:10.375Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T20:52:10.375Z] ---> Running in 6b26b9a8e0d9 [2022-10-26T20:52:10.965Z] Removing intermediate container 6b26b9a8e0d9 [2022-10-26T20:52:10.965Z] ---> a08040c7bd70 [2022-10-26T20:52:10.965Z] Step 25/26 : LABEL git_sha=c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:52:10.965Z] ---> Running in 33c7a0ed8902 [2022-10-26T20:52:11.239Z] Removing intermediate container 33c7a0ed8902 [2022-10-26T20:52:11.239Z] ---> 64a1a8f869df [2022-10-26T20:52:11.239Z] Step 26/26 : LABEL version=2.3.0-dev.39 [2022-10-26T20:52:11.239Z] ---> Running in 9d6ce67bfdc9 [2022-10-26T20:52:11.832Z] Removing intermediate container 9d6ce67bfdc9 [2022-10-26T20:52:11.832Z] ---> 49a02ecf2ce8 [2022-10-26T20:52:11.832Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:52:11.832Z] Successfully built 49a02ecf2ce8 [2022-10-26T20:52:11.832Z] 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-26T20:52:11.937Z] provisioning config files... [2022-10-26T20:52:11.954Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/78@tmp/config11325233824768966617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:12.304Z] ---> docker-login.sh [2022-10-26T20:52:12.304Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:52:12.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:12.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:12.573Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:12.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:12.573Z] [2022-10-26T20:52:12.573Z] Login Succeeded [2022-10-26T20:52:12.573Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:52:12.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:13.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:13.112Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:13.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:13.112Z] [2022-10-26T20:52:13.112Z] Login Succeeded [2022-10-26T20:52:13.112Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:52:13.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:13.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:13.384Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:13.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:13.384Z] [2022-10-26T20:52:13.384Z] Login Succeeded [2022-10-26T20:52:13.384Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:52:13.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:13.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:13.973Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:13.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:13.973Z] [2022-10-26T20:52:13.973Z] Login Succeeded [2022-10-26T20:52:13.973Z] docker.io [2022-10-26T20:52:14.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:52:14.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:52:14.829Z] Configure a credential helper to remove this warning. See [2022-10-26T20:52:14.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:52:14.829Z] [2022-10-26T20:52:14.829Z] Login Succeeded [2022-10-26T20:52:14.829Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:52:14.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:52:14.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:52:14.907Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-10-26T20:52:14.907Z] c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:52:14.907Z] latest [2022-10-26T20:52:14.907Z] 2.3.0-dev.39 [2022-10-26T20:52:14.907Z] c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:52:14.907Z] main [2022-10-26T20:52:14.907Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:15.333Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:15.701Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:52:15.701Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-26T20:52:15.701Z] 9b86470114eb: Preparing [2022-10-26T20:52:15.701Z] 46ee872f3400: Preparing [2022-10-26T20:52:15.701Z] 406b890fd9c1: Preparing [2022-10-26T20:52:15.701Z] eb750c0b0aa8: Preparing [2022-10-26T20:52:15.701Z] 5d3e392a13a0: Preparing [2022-10-26T20:52:15.701Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:52:15.976Z] 9b86470114eb: Pushed [2022-10-26T20:52:15.976Z] 46ee872f3400: Pushed [2022-10-26T20:52:16.947Z] eb750c0b0aa8: Pushed [2022-10-26T20:52:22.420Z] 406b890fd9c1: Pushed [2022-10-26T20:52:22.697Z] c606ad227c7573c7ba828fdfaccb601fc033aacf: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:23.049Z] + 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-26T20:52:23.384Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-10-26T20:52:23.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-26T20:52:23.384Z] 9b86470114eb: Preparing [2022-10-26T20:52:23.384Z] 46ee872f3400: Preparing [2022-10-26T20:52:23.384Z] 406b890fd9c1: Preparing [2022-10-26T20:52:23.384Z] eb750c0b0aa8: Preparing [2022-10-26T20:52:23.384Z] 5d3e392a13a0: Preparing [2022-10-26T20:52:23.384Z] 9b86470114eb: Layer already exists [2022-10-26T20:52:23.384Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:52:23.384Z] 46ee872f3400: Layer already exists [2022-10-26T20:52:23.384Z] eb750c0b0aa8: Layer already exists [2022-10-26T20:52:23.384Z] 406b890fd9c1: Layer already exists [2022-10-26T20:52:23.384Z] latest: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:23.999Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:24.350Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 [2022-10-26T20:52:24.350Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-26T20:52:24.350Z] 9b86470114eb: Preparing [2022-10-26T20:52:24.350Z] 46ee872f3400: Preparing [2022-10-26T20:52:24.350Z] 406b890fd9c1: Preparing [2022-10-26T20:52:24.350Z] eb750c0b0aa8: Preparing [2022-10-26T20:52:24.350Z] 5d3e392a13a0: Preparing [2022-10-26T20:52:24.350Z] 46ee872f3400: Layer already exists [2022-10-26T20:52:24.350Z] 9b86470114eb: Layer already exists [2022-10-26T20:52:24.350Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:52:24.350Z] eb750c0b0aa8: Layer already exists [2022-10-26T20:52:24.350Z] 406b890fd9c1: Layer already exists [2022-10-26T20:52:24.350Z] 2.3.0-dev.39: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:24.979Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:25.338Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:52:25.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-26T20:52:25.338Z] 9b86470114eb: Preparing [2022-10-26T20:52:25.338Z] 46ee872f3400: Preparing [2022-10-26T20:52:25.338Z] 406b890fd9c1: Preparing [2022-10-26T20:52:25.338Z] eb750c0b0aa8: Preparing [2022-10-26T20:52:25.338Z] 5d3e392a13a0: Preparing [2022-10-26T20:52:25.338Z] 46ee872f3400: Layer already exists [2022-10-26T20:52:25.338Z] 406b890fd9c1: Layer already exists [2022-10-26T20:52:25.338Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:52:25.338Z] 9b86470114eb: Layer already exists [2022-10-26T20:52:25.338Z] eb750c0b0aa8: Layer already exists [2022-10-26T20:52:25.608Z] c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:25.965Z] + 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-26T20:52:26.309Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-10-26T20:52:26.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-10-26T20:52:26.309Z] 9b86470114eb: Preparing [2022-10-26T20:52:26.309Z] 46ee872f3400: Preparing [2022-10-26T20:52:26.309Z] 406b890fd9c1: Preparing [2022-10-26T20:52:26.309Z] eb750c0b0aa8: Preparing [2022-10-26T20:52:26.309Z] 5d3e392a13a0: Preparing [2022-10-26T20:52:26.309Z] 5d3e392a13a0: Layer already exists [2022-10-26T20:52:26.309Z] 46ee872f3400: Layer already exists [2022-10-26T20:52:26.309Z] 406b890fd9c1: Layer already exists [2022-10-26T20:52:26.309Z] 9b86470114eb: Layer already exists [2022-10-26T20:52:26.309Z] eb750c0b0aa8: Layer already exists [2022-10-26T20:52:26.577Z] main: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-26T20:52:26.620Z] ===================================================== [Pipeline] echo [2022-10-26T20:52:26.625Z] taggedImages: [2022-10-26T20:52:26.625Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf [2022-10-26T20:52:26.625Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-10-26T20:52:26.625Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 [2022-10-26T20:52:26.625Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [2022-10-26T20:52:26.625Z] - 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-26T20:52:27.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:27.015Z] [2022-10-26T20:52:27.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:27.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:27.681Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:52:27.681Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:52:27.681Z] 04944245beec: Pulling fs layer [2022-10-26T20:52:27.681Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:52:27.681Z] 765212b225bb: Pulling fs layer [2022-10-26T20:52:27.681Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:52:27.681Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:52:27.681Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:52:27.681Z] f23df028b6ca: Waiting [2022-10-26T20:52:27.681Z] 2437ff75d9bd: Waiting [2022-10-26T20:52:27.681Z] d65c8cfc05b1: Waiting [2022-10-26T20:52:27.681Z] 765212b225bb: Waiting [2022-10-26T20:52:27.681Z] 04944245beec: Verifying Checksum [2022-10-26T20:52:27.681Z] 04944245beec: Download complete [2022-10-26T20:52:27.681Z] 765212b225bb: Verifying Checksum [2022-10-26T20:52:27.681Z] 765212b225bb: Download complete [2022-10-26T20:52:27.953Z] f23df028b6ca: Download complete [2022-10-26T20:52:27.953Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:52:27.953Z] d65c8cfc05b1: Download complete [2022-10-26T20:52:27.953Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:52:27.953Z] 699f458cf7ca: Download complete [2022-10-26T20:52:28.556Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:52:28.556Z] 8998bd30e6a1: Download complete [2022-10-26T20:52:31.358Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:52:31.358Z] 2437ff75d9bd: Download complete [2022-10-26T20:52:32.771Z] 8998bd30e6a1: Pull complete [2022-10-26T20:52:33.038Z] 04944245beec: Pull complete [2022-10-26T20:52:34.445Z] 699f458cf7ca: Pull complete [2022-10-26T20:52:34.445Z] 765212b225bb: Pull complete [2022-10-26T20:52:35.409Z] f23df028b6ca: Pull complete [2022-10-26T20:52:35.676Z] d65c8cfc05b1: Pull complete [2022-10-26T20:52:50.687Z] 2437ff75d9bd: Pull complete [2022-10-26T20:52:50.687Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:52:50.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:50.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:52:50.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container [2022-10-26T20:52:50.955Z] $ 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/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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-26T20:52:54.037Z] $ docker top d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:54.917Z] ---> job-cost.sh [2022-10-26T20:52:54.917Z] lf-activate-venv: SKIPPING [2022-10-26T20:52:54.917Z] INFO: No Stack... [2022-10-26T20:52:55.496Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:52:56.075Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:52:56.712Z] + cat /w/workspace/device-onvif-camera/78/archives/cost.csv [2022-10-26T20:52:56.712Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:52:56.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [2022-10-26T20:52:56.795Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] did not exist. Created. [2022-10-26T20:52:56.795Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:52:57.455Z] /w/workspace/device-onvif-camera/78@tmp/durable-09fbf472/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:52:58.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:52:58.138Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:52:58.211Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:52:58.222Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:52:58.243Z] $ docker stop --time=1 d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb [2022-10-26T20:52:59.761Z] $ docker rm -f d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb [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-26T20:53:00.169Z] provisioning config files... [2022-10-26T20:53:00.184Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6328970945746874912tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:53:00.503Z] + set +x [2022-10-26T20:53:00.503Z] + curl -s https://codecov.io/bash [2022-10-26T20:53:00.503Z] + bash -s -- [2022-10-26T20:53:00.503Z] [2022-10-26T20:53:00.503Z] _____ _ [2022-10-26T20:53:00.503Z] / ____| | | [2022-10-26T20:53:00.503Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:53:00.503Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:53:00.503Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:53:00.503Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:53:00.503Z] Bash-1.0.6 [2022-10-26T20:53:00.503Z] [2022-10-26T20:53:00.503Z] [2022-10-26T20:53:00.503Z] ==> git version 2.25.1 found [2022-10-26T20:53:00.503Z] ==> 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-26T20:53:00.503Z] Release-Date: 2020-01-08 [2022-10-26T20:53:00.503Z] 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-26T20:53:00.503Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:53:00.503Z] ==> Jenkins CI detected. [2022-10-26T20:53:00.503Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-10-26T20:53:00.503Z] project root: . [2022-10-26T20:53:00.503Z] --> token set from env [2022-10-26T20:53:00.503Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:53:00.503Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:53:00.503Z] ==> Python coveragepy not found [2022-10-26T20:53:00.503Z] ==> Searching for coverage reports in: [2022-10-26T20:53:00.503Z] + . [2022-10-26T20:53:00.503Z] -> Found 1 reports [2022-10-26T20:53:00.503Z] ==> Detecting git/mercurial file structure [2022-10-26T20:53:00.503Z] ==> Reading reports [2022-10-26T20:53:00.503Z] + ./coverage.out bytes=78636 [2022-10-26T20:53:00.503Z] ==> Appending adjustments [2022-10-26T20:53:00.503Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:53:00.764Z] + Found adjustments [2022-10-26T20:53:00.764Z] ==> Gzipping contents [2022-10-26T20:53:00.764Z] 12K /tmp/codecov.MVNKMy.gz [2022-10-26T20:53:00.764Z] ==> Uploading reports [2022-10-26T20:53:00.764Z] url: https://codecov.io [2022-10-26T20:53:00.764Z] query: branch=main&commit=c606ad227c7573c7ba828fdfaccb601fc033aacf&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-26T20:53:00.764Z] -> Pinging Codecov [2022-10-26T20:53:00.764Z] 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=c606ad227c7573c7ba828fdfaccb601fc033aacf&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-26T20:53:01.025Z] -> Uploading to [2022-10-26T20:53:01.025Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/c606ad227c7573c7ba828fdfaccb601fc033aacf/22f8e451-3d04-4209-acd7-4d1b6a99c580.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1988c50e694c575a278235963ca31a78348bfb320d62ade4a5a9a501c75bd758 [2022-10-26T20:53:01.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:53:01.025Z] Dload Upload Total Spent Left Speed [2022-10-26T20:53:01.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10802 0 0 100 10802 0 45965 --:--:-- --:--:-- --:--:-- 45965 [2022-10-26T20:53:01.283Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } [2022-10-26T20:53:01.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-26T20:53:01.414Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-26T20:53:01.426Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:01.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:01.761Z] [2022-10-26T20:53:01.761Z] 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-26T20:53:02.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:02.353Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-26T20:53:02.353Z] df9b9388f04a: Pulling fs layer [2022-10-26T20:53:02.353Z] 52dc419b0ee2: Pulling fs layer [2022-10-26T20:53:02.353Z] 25bc292e5bac: Pulling fs layer [2022-10-26T20:53:02.353Z] 114826534d7a: Pulling fs layer [2022-10-26T20:53:02.353Z] 4657fd5d0bcf: Pulling fs layer [2022-10-26T20:53:02.353Z] 6ad1cebc031e: Pulling fs layer [2022-10-26T20:53:02.353Z] 8a3aa393b2d8: Pulling fs layer [2022-10-26T20:53:02.353Z] 114826534d7a: Waiting [2022-10-26T20:53:02.353Z] 4657fd5d0bcf: Waiting [2022-10-26T20:53:02.353Z] 6ad1cebc031e: Waiting [2022-10-26T20:53:02.353Z] 8a3aa393b2d8: Waiting [2022-10-26T20:53:02.353Z] 25bc292e5bac: Download complete [2022-10-26T20:53:02.353Z] 52dc419b0ee2: Verifying Checksum [2022-10-26T20:53:02.353Z] 52dc419b0ee2: Download complete [2022-10-26T20:53:02.353Z] 4657fd5d0bcf: Verifying Checksum [2022-10-26T20:53:02.353Z] 4657fd5d0bcf: Download complete [2022-10-26T20:53:02.353Z] df9b9388f04a: Verifying Checksum [2022-10-26T20:53:02.353Z] df9b9388f04a: Pull complete [2022-10-26T20:53:02.353Z] 6ad1cebc031e: Verifying Checksum [2022-10-26T20:53:02.353Z] 6ad1cebc031e: Download complete [2022-10-26T20:53:02.631Z] 52dc419b0ee2: Pull complete [2022-10-26T20:53:02.631Z] 25bc292e5bac: Pull complete [2022-10-26T20:53:03.227Z] 8a3aa393b2d8: Verifying Checksum [2022-10-26T20:53:03.227Z] 8a3aa393b2d8: Download complete [2022-10-26T20:53:04.196Z] 114826534d7a: Download complete [2022-10-26T20:53:07.476Z] 114826534d7a: Pull complete [2022-10-26T20:53:07.476Z] 4657fd5d0bcf: Pull complete [2022-10-26T20:53:07.476Z] 6ad1cebc031e: Pull complete [2022-10-26T20:53:09.999Z] 8a3aa393b2d8: Pull complete [2022-10-26T20:53:09.999Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-26T20:53:09.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-26T20:53:09.999Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:10.065Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:10.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-10-26T20:53:12.419Z] $ docker top a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-26T20:53:12.487Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-10-26T20:53:12.763Z] + set -o pipefail [2022-10-26T20:53:12.763Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/2357cc72-8a9c-4394-b3f1-5694267bab45 [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] [2022-10-26T20:53:18.051Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-26T20:53:18.051Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-26T20:53:18.051Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-26T20:53:18.068Z] $ docker stop --time=1 a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 [2022-10-26T20:53:20.738Z] $ docker rm -f a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 [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-26T20:53:21.115Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:53:21.129Z] provisioning config files... [2022-10-26T20:53:21.135Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16400015288498270209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:21.422Z] --> edgex-publish-swagger.sh [2022-10-26T20:53:21.422Z] === Publish doc/openapi/v2 API === [2022-10-26T20:53:21.422Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2022-10-26T20:53:21.422Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2022-10-26T20:53:21.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:53:21.422Z] Dload Upload Total Spent Left Speed [2022-10-26T20:53:22.356Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 414k 0 0 100 414k 0 450k --:--:-- --:--:-- --:--:-- 449k 100 414k 0 0 100 414k 0 450k --:--:-- --:--:-- --:--:-- 449k [2022-10-26T20:53:22.356Z] [2022-10-26T20:53:22.356Z] [Pipeline] } [2022-10-26T20:53:22.362Z] 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-26T20:53:22.713Z] + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] sh [2022-10-26T20:53:23.000Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:23.000Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:23.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:23.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:23.357Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:23.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:53:23.791Z] $ docker top 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 -eo pid,comm [2022-10-26T20:53:23.841Z] 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-26T20:53:23.841Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:23.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:23.869Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:23.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:23.985Z] $ docker exec 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 ssh-agent [2022-10-26T20:53:24.096Z] SSH_AUTH_SOCK=/tmp/ssh-3tMDQLpTYYet/agent.33 [2022-10-26T20:53:24.096Z] SSH_AGENT_PID=39 [2022-10-26T20:53:24.101Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:24.215Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3746656220378693361.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3746656220378693361.key) [2022-10-26T20:53:24.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:24.513Z] + git semver tag [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,672 [run_tag] DEBUG tag force:False [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,672 [check_head_tag] DEBUG check head tag [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,674 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,677 [execute] INFO git cat-file --batch [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,700 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,700 [execute] INFO git tag -a v2.3.0-dev.39 -m v2.3.0-dev.39 [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,700 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.39', '-m', 'v2.3.0-dev.39'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:53:24.771Z] 2022-10-26 20:53:24,704 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:24.771Z] 2.3.0-dev.39 [Pipeline] } [2022-10-26T20:53:24.776Z] $ docker exec --env ******** --env ******** 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 ssh-agent -k [2022-10-26T20:53:24.882Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:24.882Z] unset SSH_AGENT_PID; [2022-10-26T20:53:24.882Z] echo Agent pid 39 killed; [2022-10-26T20:53:24.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:25.197Z] + git semver [Pipeline] } [2022-10-26T20:53:25.462Z] $ docker stop --time=1 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 [2022-10-26T20:53:26.801Z] $ docker rm -f 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:27.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:27.180Z] [2022-10-26T20:53:27.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:27.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:27.470Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-26T20:53:27.470Z] ab5ef0e58194: Pulling fs layer [2022-10-26T20:53:27.470Z] 9712f1f96733: Pulling fs layer [2022-10-26T20:53:27.470Z] 63f879dbbcfc: Pulling fs layer [2022-10-26T20:53:27.470Z] 0d9ebad4ef96: Pulling fs layer [2022-10-26T20:53:27.470Z] e9a5061849ea: Pulling fs layer [2022-10-26T20:53:27.470Z] d747dcd14b5f: Pulling fs layer [2022-10-26T20:53:27.470Z] 2de7ff778b66: Pulling fs layer [2022-10-26T20:53:27.470Z] 0d9ebad4ef96: Waiting [2022-10-26T20:53:27.470Z] e9a5061849ea: Waiting [2022-10-26T20:53:27.470Z] d747dcd14b5f: Waiting [2022-10-26T20:53:27.470Z] 2de7ff778b66: Waiting [2022-10-26T20:53:27.470Z] 9712f1f96733: Verifying Checksum [2022-10-26T20:53:27.470Z] 9712f1f96733: Download complete [2022-10-26T20:53:28.035Z] 63f879dbbcfc: Verifying Checksum [2022-10-26T20:53:28.035Z] 63f879dbbcfc: Download complete [2022-10-26T20:53:28.035Z] e9a5061849ea: Verifying Checksum [2022-10-26T20:53:28.035Z] e9a5061849ea: Download complete [2022-10-26T20:53:28.035Z] d747dcd14b5f: Verifying Checksum [2022-10-26T20:53:28.035Z] d747dcd14b5f: Download complete [2022-10-26T20:53:28.293Z] 0d9ebad4ef96: Verifying Checksum [2022-10-26T20:53:28.293Z] 0d9ebad4ef96: Download complete [2022-10-26T20:53:28.293Z] 2de7ff778b66: Download complete [2022-10-26T20:53:28.293Z] ab5ef0e58194: Verifying Checksum [2022-10-26T20:53:28.293Z] ab5ef0e58194: Download complete [2022-10-26T20:53:30.815Z] ab5ef0e58194: Pull complete [2022-10-26T20:53:31.073Z] 9712f1f96733: Pull complete [2022-10-26T20:53:31.638Z] 63f879dbbcfc: Pull complete [2022-10-26T20:53:34.917Z] 0d9ebad4ef96: Pull complete [2022-10-26T20:53:35.174Z] e9a5061849ea: Pull complete [2022-10-26T20:53:35.174Z] d747dcd14b5f: Pull complete [2022-10-26T20:53:36.156Z] 2de7ff778b66: Pull complete [2022-10-26T20:53:36.156Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-26T20:53:36.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-26T20:53:36.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:36.234Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:36.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-10-26T20:53:38.625Z] $ docker top 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:53:38.699Z] provisioning config files... [2022-10-26T20:53:38.705Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17952854909087791659tmp [2022-10-26T20:53:38.712Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7928309095969132767tmp [2022-10-26T20:53:38.721Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11797668331784627945tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:53:38.733Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:39.011Z] ---> sigul-configuration.sh [2022-10-26T20:53:39.011Z] gpg: directory `/root/.gnupg' created [2022-10-26T20:53:39.011Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-26T20:53:39.011Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-26T20:53:39.011Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-26T20:53:39.011Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-26T20:53:39.011Z] gpg: CAST5 encrypted data [2022-10-26T20:53:39.011Z] gpg: encrypted with 1 passphrase [2022-10-26T20:53:39.011Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-26T20:53:39.291Z] + mkdir /home/jenkins [2022-10-26T20:53:39.291Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-26T20:53:39.571Z] + 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-26T20:53:39.579Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:39.866Z] ---> sigul-install.sh [2022-10-26T20:53:39.866Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-26T20:53:40.149Z] + git tag --list [2022-10-26T20:53:40.149Z] v0.0.0 [2022-10-26T20:53:40.149Z] v0.0.1-dev.1 [2022-10-26T20:53:40.149Z] v0.0.1-dev.10 [2022-10-26T20:53:40.149Z] v0.0.1-dev.11 [2022-10-26T20:53:40.149Z] v0.0.1-dev.12 [2022-10-26T20:53:40.149Z] v0.0.1-dev.13 [2022-10-26T20:53:40.149Z] v0.0.1-dev.14 [2022-10-26T20:53:40.149Z] v0.0.1-dev.15 [2022-10-26T20:53:40.149Z] v0.0.1-dev.16 [2022-10-26T20:53:40.149Z] v0.0.1-dev.17 [2022-10-26T20:53:40.149Z] v0.0.1-dev.18 [2022-10-26T20:53:40.149Z] v0.0.1-dev.19 [2022-10-26T20:53:40.149Z] v0.0.1-dev.2 [2022-10-26T20:53:40.149Z] v0.0.1-dev.20 [2022-10-26T20:53:40.149Z] v0.0.1-dev.21 [2022-10-26T20:53:40.149Z] v0.0.1-dev.22 [2022-10-26T20:53:40.149Z] v0.0.1-dev.23 [2022-10-26T20:53:40.149Z] v0.0.1-dev.24 [2022-10-26T20:53:40.149Z] v0.0.1-dev.25 [2022-10-26T20:53:40.149Z] v0.0.1-dev.26 [2022-10-26T20:53:40.149Z] v0.0.1-dev.27 [2022-10-26T20:53:40.149Z] v0.0.1-dev.28 [2022-10-26T20:53:40.149Z] v0.0.1-dev.3 [2022-10-26T20:53:40.149Z] v0.0.1-dev.4 [2022-10-26T20:53:40.149Z] v0.0.1-dev.5 [2022-10-26T20:53:40.149Z] v0.0.1-dev.6 [2022-10-26T20:53:40.149Z] v0.0.1-dev.7 [2022-10-26T20:53:40.149Z] v0.0.1-dev.8 [2022-10-26T20:53:40.149Z] v0.0.1-dev.9 [2022-10-26T20:53:40.149Z] v2.2.0 [2022-10-26T20:53:40.149Z] v2.2.0-dev.29 [2022-10-26T20:53:40.149Z] v2.2.0-dev.30 [2022-10-26T20:53:40.149Z] v2.2.0-dev.31 [2022-10-26T20:53:40.149Z] v2.2.0-dev.32 [2022-10-26T20:53:40.149Z] v2.2.0-dev.33 [2022-10-26T20:53:40.149Z] v2.2.0-dev.34 [2022-10-26T20:53:40.149Z] v2.2.0-dev.35 [2022-10-26T20:53:40.149Z] v2.3.0-dev.1 [2022-10-26T20:53:40.149Z] v2.3.0-dev.10 [2022-10-26T20:53:40.149Z] v2.3.0-dev.11 [2022-10-26T20:53:40.149Z] v2.3.0-dev.12 [2022-10-26T20:53:40.149Z] v2.3.0-dev.13 [2022-10-26T20:53:40.149Z] v2.3.0-dev.14 [2022-10-26T20:53:40.149Z] v2.3.0-dev.15 [2022-10-26T20:53:40.149Z] v2.3.0-dev.16 [2022-10-26T20:53:40.149Z] v2.3.0-dev.17 [2022-10-26T20:53:40.149Z] v2.3.0-dev.18 [2022-10-26T20:53:40.149Z] v2.3.0-dev.19 [2022-10-26T20:53:40.149Z] v2.3.0-dev.2 [2022-10-26T20:53:40.149Z] v2.3.0-dev.20 [2022-10-26T20:53:40.149Z] v2.3.0-dev.21 [2022-10-26T20:53:40.149Z] v2.3.0-dev.22 [2022-10-26T20:53:40.149Z] v2.3.0-dev.23 [2022-10-26T20:53:40.149Z] v2.3.0-dev.24 [2022-10-26T20:53:40.149Z] v2.3.0-dev.25 [2022-10-26T20:53:40.149Z] v2.3.0-dev.26 [2022-10-26T20:53:40.149Z] v2.3.0-dev.27 [2022-10-26T20:53:40.149Z] v2.3.0-dev.28 [2022-10-26T20:53:40.149Z] v2.3.0-dev.29 [2022-10-26T20:53:40.149Z] v2.3.0-dev.3 [2022-10-26T20:53:40.149Z] v2.3.0-dev.30 [2022-10-26T20:53:40.149Z] v2.3.0-dev.31 [2022-10-26T20:53:40.149Z] v2.3.0-dev.32 [2022-10-26T20:53:40.149Z] v2.3.0-dev.33 [2022-10-26T20:53:40.149Z] v2.3.0-dev.34 [2022-10-26T20:53:40.149Z] v2.3.0-dev.35 [2022-10-26T20:53:40.149Z] v2.3.0-dev.36 [2022-10-26T20:53:40.149Z] v2.3.0-dev.37 [2022-10-26T20:53:40.149Z] v2.3.0-dev.38 [2022-10-26T20:53:40.149Z] v2.3.0-dev.39 [2022-10-26T20:53:40.149Z] v2.3.0-dev.4 [2022-10-26T20:53:40.149Z] v2.3.0-dev.5 [2022-10-26T20:53:40.149Z] v2.3.0-dev.6 [2022-10-26T20:53:40.149Z] v2.3.0-dev.7 [2022-10-26T20:53:40.149Z] v2.3.0-dev.8 [2022-10-26T20:53:40.149Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-26T20:53:40.430Z] + lftools sign git-tag v2.3.0-dev.39 [2022-10-26T20:53:40.995Z] Signing Git tag with Sigul... [2022-10-26T20:53:40.995Z] Signing v2.3.0-dev.39 [Pipeline] echo [2022-10-26T20:53:41.259Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:41.534Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-26T20:53:41.541Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-26T20:53:41.553Z] $ docker stop --time=1 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 [2022-10-26T20:53:42.839Z] $ docker rm -f 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-26T20:53:43.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:43.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:43.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:43.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:43.580Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:43.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:53:43.960Z] $ docker top fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 -eo pid,comm [2022-10-26T20:53:44.007Z] 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-26T20:53:44.007Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:44.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:44.038Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:44.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:44.138Z] $ docker exec fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 ssh-agent [2022-10-26T20:53:44.238Z] SSH_AUTH_SOCK=/tmp/ssh-dLaGXZyAL7FU/agent.32 [2022-10-26T20:53:44.238Z] SSH_AGENT_PID=39 [2022-10-26T20:53:44.242Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:44.347Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2810489754188374791.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2810489754188374791.key) [2022-10-26T20:53:44.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:44.644Z] + git semver bump pre [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,807 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,807 [bump_version] DEBUG bumping version:2.3.0-dev.39 on axis:pre with prefix:dev [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,808 [bump_version] DEBUG bumped version:2.3.0-dev.40 [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,808 [write_version] DEBUG write version:2.3.0-dev.40 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,808 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,808 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,809 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,810 [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-26T20:53:44.903Z] 2022-10-26 20:53:44,813 [execute] INFO git cat-file --batch [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:53:44.903Z] 2022-10-26 20:53:44,818 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:44.903Z] 2.3.0-dev.40 [Pipeline] } [2022-10-26T20:53:44.911Z] $ docker exec --env ******** --env ******** fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 ssh-agent -k [2022-10-26T20:53:45.007Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:45.007Z] unset SSH_AGENT_PID; [2022-10-26T20:53:45.007Z] echo Agent pid 39 killed; [2022-10-26T20:53:45.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:45.329Z] + git semver [Pipeline] } [2022-10-26T20:53:45.598Z] $ docker stop --time=1 fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 [2022-10-26T20:53:46.871Z] $ docker rm -f fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:53:47.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:53:47.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:47.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:53:47.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:47.588Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:47.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:53:47.988Z] $ docker top 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 -eo pid,comm [2022-10-26T20:53:48.034Z] 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-26T20:53:48.034Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:53:48.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:53:48.072Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:53:48.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:53:48.171Z] $ docker exec 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 ssh-agent [2022-10-26T20:53:48.284Z] SSH_AUTH_SOCK=/tmp/ssh-mfJvMqQ5Avmf/agent.31 [2022-10-26T20:53:48.284Z] SSH_AGENT_PID=37 [2022-10-26T20:53:48.288Z] Running ssh-add (command line suppressed) [2022-10-26T20:53:48.381Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9578320455906474558.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9578320455906474558.key) [2022-10-26T20:53:48.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:53:48.680Z] + git semver push [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,853 [run_push] DEBUG push [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,853 [execute] INFO git cat-file --batch-check [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,853 [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-26T20:53:48.937Z] 2022-10-26 20:53:48,857 [execute] INFO git rev-list b81162d49ada3488bf8704698236801a40382c60 -- [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,857 [execute] DEBUG Popen(['git', 'rev-list', 'b81162d49ada3488bf8704698236801a40382c60', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,863 [execute] INFO git fetch -v origin [2022-10-26T20:53:48.937Z] 2022-10-26 20:53:48,864 [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-26T20:53:49.506Z] 2022-10-26 20:53:49,454 [run_push] DEBUG no remote changes detected [2022-10-26T20:53:49.506Z] 2022-10-26 20:53:49,454 [execute] INFO git push origin semver [2022-10-26T20:53:49.506Z] 2022-10-26 20:53:49,454 [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-26T20:53:50.441Z] 2022-10-26 20:53:50,213 [run_push] DEBUG push all version tags [2022-10-26T20:53:50.441Z] 2022-10-26 20:53:50,214 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-26T20:53:50.441Z] 2022-10-26 20:53:50,214 [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-26T20:53:51.010Z] 2022-10-26 20:53:50,947 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-10-26T20:53:51.010Z] 2.3.0-dev.40 [Pipeline] } [2022-10-26T20:53:51.016Z] $ docker exec --env ******** --env ******** 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 ssh-agent -k [2022-10-26T20:53:51.120Z] unset SSH_AUTH_SOCK; [2022-10-26T20:53:51.122Z] unset SSH_AGENT_PID; [2022-10-26T20:53:51.122Z] echo Agent pid 37 killed; [2022-10-26T20:53:51.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:53:51.433Z] + git semver [Pipeline] } [2022-10-26T20:53:51.700Z] $ docker stop --time=1 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 [2022-10-26T20:53:52.980Z] $ docker rm -f 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 [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-26T20:53:53.508Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-10-26T20:53:53.508Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-26T20:53:53.508Z] total 16 [2022-10-26T20:53:53.508Z] drwxr-xr-x 3 root root 4096 Oct 26 20:42 . [2022-10-26T20:53:53.508Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. [2022-10-26T20:53:53.508Z] drwxr-xr-x 2 root root 4096 Oct 26 20:42 cost [2022-10-26T20:53:53.508Z] -rw-r--r-- 1 root root 90 Oct 26 20:42 cost.csv [2022-10-26T20:53:53.508Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-26T20:53:53.508Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-10-26T20:53:53.508Z] total 16 [2022-10-26T20:53:53.508Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:42 . [2022-10-26T20:53:53.508Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. [2022-10-26T20:53:53.508Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:42 cost [2022-10-26T20:53:53.508Z] -rw-r--r-- 1 jenkins jenkins 90 Oct 26 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:53.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:54.655Z] ---> package-listing.sh [2022-10-26T20:53:54.655Z] ++ facter osfamily [2022-10-26T20:53:54.655Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:53:54.916Z] + OS_FAMILY=debian [2022-10-26T20:53:54.916Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-10-26T20:53:54.916Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:53:54.916Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:53:54.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:53:54.916Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:53:54.916Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-10-26T20:53:54.916Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:53:54.916Z] + case "${OS_FAMILY}" in [2022-10-26T20:53:54.916Z] + dpkg -l [2022-10-26T20:53:54.916Z] + grep '^ii' [2022-10-26T20:53:54.916Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:53:54.916Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:53:54.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:53:54.916Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-10-26T20:53:54.916Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-10-26T20:53:54.916Z] + 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-26T20:53:54.925Z] 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-26T20:53:55.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:53:55.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:53:55.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:53:55.892Z] prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container [2022-10-26T20:53:55.918Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:53:56.219Z] $ docker top f515e3aa37dbb508e52968add0f33ad262cd036173fa1d011cf1e1408f927cd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:53:56.562Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:53:56.843Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:53:57.128Z] + ls /var/log/sa-host [2022-10-26T20:53:57.128Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:53:57.194Z] provisioning config files... [2022-10-26T20:53:57.201Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11508921452909220986tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:53:57.212Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:57.494Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:53:57.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:57.813Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:53:57.821Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:58.102Z] ---> sudo-logs.sh [2022-10-26T20:53:58.102Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:53:58.125Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:58.403Z] ---> job-cost.sh [2022-10-26T20:53:58.403Z] lf-activate-venv: SKIPPING [2022-10-26T20:53:58.403Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:53:58.403Z] INFO: Retrieving Stack Cost... [2022-10-26T20:53:58.661Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:53:59.227Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:53:59.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:53:59.520Z] ---> logs-deploy.sh [2022-10-26T20:53:59.520Z] lf-activate-venv: SKIPPING [2022-10-26T20:53:59.521Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/78 [2022-10-26T20:53:59.521Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:54:00.457Z] Archives upload complete. [2022-10-26T20:54:00.457Z] INFO: archiving logs to Nexus