Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d3157763bdfd8f49e0a7266dceddd97d249ca275 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-ssh1273786009192643766.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9773404559826417173.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9160713185558317956.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh2528454432807321088.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-ssh9047035328632420142.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 ‘prd-ubuntu20.04-docker-8c-8g-455’ Running on prd-ubuntu20.04-docker-8c-8g-457 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 Avoid second fetch Checking out Revision d3157763bdfd8f49e0a7266dceddd97d249ca275 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 Commit message: "test: add nestscan discovery tests (#152)" > git rev-list --no-walk 87a99194a9b26dcc406e93b3278c003764c3a70a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T19:51:22.677Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-21T19:51:22.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T19:51:22.750Z] ========================================================= [2022-09-21T19:51:22.750Z] EdgeX Global Pipelines Version Info [2022-09-21T19:51:22.750Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:51:23.857Z] ------------------- [2022-09-21T19:51:23.857Z] stable info: [2022-09-21T19:51:23.857Z] ------------------- [2022-09-21T19:51:23.857Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T19:51:23.857Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T19:51:23.857Z] Message: update stable to v1.0.239 [2022-09-21T19:51:24.124Z] ------------------- [2022-09-21T19:51:24.124Z] experimental info: [2022-09-21T19:51:24.124Z] ------------------- [2022-09-21T19:51:24.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T19:51:24.124Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T19:51:24.124Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T19:51:24.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-21T19:51:24.300Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-21T19:51:24.308Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T19:51:24.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T19:51:24.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T19:51:24.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T19:51:24.340Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T19:51:24.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-21T19:51:24.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T19:51:24.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T19:51:24.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T19:51:24.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-21T19:51:24.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T19:51:24.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T19:51:24.441Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T19:51:24.454Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T19:51:24.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T19:51:24.475Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T19:51:24.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T19:51:24.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T19:51:24.519Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-21T19:51:24.535Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-21T19:51:24.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T19:51:24.562Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T19:51:24.578Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T19:51:24.587Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T19:51:24.608Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T19:51:24.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-21T19:51:24.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-21T19:51:24.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-21T19:51:24.659Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo [2022-09-21T19:51:24.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d315776 [Pipeline] echo [2022-09-21T19:51:24.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T19:51:24.725Z] provisioning config files... [2022-09-21T19:51:24.741Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4903632987002610804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:51:25.050Z] ---> docker-login.sh [2022-09-21T19:51:25.050Z] nexus3.edgexfoundry.org:10001 [2022-09-21T19:51:25.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:25.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:25.312Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:25.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:25.312Z] [2022-09-21T19:51:25.312Z] Login Succeeded [2022-09-21T19:51:25.312Z] nexus3.edgexfoundry.org:10002 [2022-09-21T19:51:25.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:25.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:25.312Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:25.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:25.312Z] [2022-09-21T19:51:25.312Z] Login Succeeded [2022-09-21T19:51:25.312Z] nexus3.edgexfoundry.org:10003 [2022-09-21T19:51:25.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:25.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:25.573Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:25.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:25.573Z] [2022-09-21T19:51:25.573Z] Login Succeeded [2022-09-21T19:51:25.573Z] nexus3.edgexfoundry.org:10004 [2022-09-21T19:51:25.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:25.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:25.573Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:25.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:25.573Z] [2022-09-21T19:51:25.573Z] Login Succeeded [2022-09-21T19:51:25.573Z] docker.io [2022-09-21T19:51:25.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:26.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:26.091Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:26.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:26.091Z] [2022-09-21T19:51:26.091Z] Login Succeeded [2022-09-21T19:51:26.091Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T19:51:26.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T19:51:26.453Z] + git rev-list -1 --merges d3157763bdfd8f49e0a7266dceddd97d249ca275~1..d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo [2022-09-21T19:51:26.487Z] -----------> git rev-list -1 --merges d3157763bdfd8f49e0a7266dceddd97d249ca275~1..d3157763bdfd8f49e0a7266dceddd97d249ca275 d3157763bdfd8f49e0a7266dceddd97d249ca275 [false] [Pipeline] sh [2022-09-21T19:51:26.778Z] + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo [2022-09-21T19:51:26.794Z] ========================================================= [2022-09-21T19:51:26.794Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T19:51:26.794Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T19:51:27.123Z] + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo [2022-09-21T19:51:27.134Z] [semverPrep] GIT_COMMIT: d3157763bdfd8f49e0a7266dceddd97d249ca275, Commit Message: test: add nestscan discovery tests (#152) [Pipeline] echo [2022-09-21T19:51:27.144Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T19:51:27.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T19:51:27.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T19:51:27.536Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T19:51:27.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T19:51:27.536Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T19:51:27.536Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T19:51:27.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:51:27.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T19:51:27.982Z] [2022-09-21T19:51:27.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:51:28.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T19:51:28.288Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T19:51:28.288Z] b85a868b505f: Pulling fs layer [2022-09-21T19:51:28.288Z] e2be974225ed: Pulling fs layer [2022-09-21T19:51:28.288Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T19:51:28.288Z] 988bab9f4d93: Pulling fs layer [2022-09-21T19:51:28.288Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T19:51:28.288Z] eaf3925da568: Pulling fs layer [2022-09-21T19:51:28.288Z] bab4dde63d76: Pulling fs layer [2022-09-21T19:51:28.288Z] eaf3925da568: Waiting [2022-09-21T19:51:28.288Z] 1469e6f7b9e6: Waiting [2022-09-21T19:51:28.288Z] bde34c3a00c8: Pulling fs layer [2022-09-21T19:51:28.288Z] b352a97aabf1: Pulling fs layer [2022-09-21T19:51:28.288Z] bab4dde63d76: Waiting [2022-09-21T19:51:28.288Z] bde34c3a00c8: Waiting [2022-09-21T19:51:28.288Z] 4872d77fe225: Pulling fs layer [2022-09-21T19:51:28.288Z] 5851b861e8e6: Pulling fs layer [2022-09-21T19:51:28.288Z] 4872d77fe225: Waiting [2022-09-21T19:51:28.288Z] b352a97aabf1: Waiting [2022-09-21T19:51:28.288Z] e2be974225ed: Verifying Checksum [2022-09-21T19:51:28.288Z] e2be974225ed: Download complete [2022-09-21T19:51:28.288Z] 988bab9f4d93: Verifying Checksum [2022-09-21T19:51:28.288Z] 988bab9f4d93: Download complete [2022-09-21T19:51:28.549Z] 1469e6f7b9e6: Verifying Checksum [2022-09-21T19:51:28.549Z] 1469e6f7b9e6: Download complete [2022-09-21T19:51:28.549Z] eaf3925da568: Verifying Checksum [2022-09-21T19:51:28.549Z] eaf3925da568: Download complete [2022-09-21T19:51:28.549Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T19:51:28.549Z] 339a4e72a1f5: Download complete [2022-09-21T19:51:28.549Z] bde34c3a00c8: Verifying Checksum [2022-09-21T19:51:28.549Z] bde34c3a00c8: Download complete [2022-09-21T19:51:28.549Z] b352a97aabf1: Download complete [2022-09-21T19:51:28.549Z] 4872d77fe225: Verifying Checksum [2022-09-21T19:51:28.549Z] 4872d77fe225: Download complete [2022-09-21T19:51:28.549Z] 5851b861e8e6: Download complete [2022-09-21T19:51:28.808Z] b85a868b505f: Verifying Checksum [2022-09-21T19:51:28.808Z] b85a868b505f: Download complete [2022-09-21T19:51:29.066Z] bab4dde63d76: Verifying Checksum [2022-09-21T19:51:29.066Z] bab4dde63d76: Download complete [2022-09-21T19:51:30.026Z] b85a868b505f: Pull complete [2022-09-21T19:51:30.026Z] e2be974225ed: Pull complete [2022-09-21T19:51:30.599Z] 339a4e72a1f5: Pull complete [2022-09-21T19:51:30.599Z] 988bab9f4d93: Pull complete [2022-09-21T19:51:30.859Z] 1469e6f7b9e6: Pull complete [2022-09-21T19:51:30.859Z] eaf3925da568: Pull complete [2022-09-21T19:51:32.234Z] bab4dde63d76: Pull complete [2022-09-21T19:51:32.493Z] bde34c3a00c8: Pull complete [2022-09-21T19:51:32.493Z] b352a97aabf1: Pull complete [2022-09-21T19:51:32.493Z] 4872d77fe225: Pull complete [2022-09-21T19:51:32.751Z] 5851b861e8e6: Pull complete [2022-09-21T19:51:32.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T19:51:32.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T19:51:32.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:51:32.842Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T19:51:32.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T19:51:34.490Z] $ docker top 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe -eo pid,comm [2022-09-21T19:51:34.543Z] 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-09-21T19:51:34.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T19:51:34.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T19:51:34.578Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T19:51:34.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T19:51:34.686Z] $ docker exec 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent [2022-09-21T19:51:34.787Z] SSH_AUTH_SOCK=/tmp/ssh-IW8LOBpeqIDj/agent.32 [2022-09-21T19:51:34.787Z] SSH_AGENT_PID=38 [2022-09-21T19:51:34.794Z] Running ssh-add (command line suppressed) [2022-09-21T19:51:34.897Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13165630898327459779.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13165630898327459779.key) [2022-09-21T19:51:34.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T19:51:35.196Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T19:51:35.204Z] $ docker exec --env ******** --env ******** 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent -k [2022-09-21T19:51:35.293Z] unset SSH_AUTH_SOCK; [2022-09-21T19:51:35.294Z] unset SSH_AGENT_PID; [2022-09-21T19:51:35.294Z] echo Agent pid 38 killed; [2022-09-21T19:51:35.305Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T19:51:35.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T19:51:35.324Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T19:51:35.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T19:51:35.435Z] $ docker exec 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent [2022-09-21T19:51:35.549Z] SSH_AUTH_SOCK=/tmp/ssh-kGRQ7kYdXOQW/agent.70 [2022-09-21T19:51:35.549Z] SSH_AGENT_PID=76 [2022-09-21T19:51:35.554Z] Running ssh-add (command line suppressed) [2022-09-21T19:51:35.659Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11605055424593898576.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11605055424593898576.key) [2022-09-21T19:51:35.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T19:51:35.961Z] + git semver init [2022-09-21T19:51:36.222Z] 2022-09-21 19:51:36,169 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T19:51:36.222Z] 2022-09-21 19:51:36,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-09-21T19:51:36.222Z] 2022-09-21 19:51:36,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-09-21T19:51:36.222Z] 2022-09-21 19:51:36,171 [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-09-21T19:51:37.164Z] 2022-09-21 19:51:37,116 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-09-21T19:51:37.164Z] 2022-09-21 19:51:37,116 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-09-21T19:51:37.164Z] 2022-09-21 19:51:37,116 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T19:51:37.164Z] 2022-09-21 19:51:37,116 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T19:51:37.164Z] 2.3.0-dev.20 [Pipeline] } [2022-09-21T19:51:37.172Z] $ docker exec --env ******** --env ******** 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent -k [2022-09-21T19:51:37.281Z] unset SSH_AUTH_SOCK; [2022-09-21T19:51:37.282Z] unset SSH_AGENT_PID; [2022-09-21T19:51:37.282Z] echo Agent pid 76 killed; [2022-09-21T19:51:37.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T19:51:37.598Z] + git semver [Pipeline] } [2022-09-21T19:51:37.871Z] $ docker stop --time=1 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe [2022-09-21T19:51:39.188Z] $ docker rm -f 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T19:51:39.534Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T19:51:39.718Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T19:51:39.720Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [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-09-21T19:51:39.831Z] provisioning config files... [2022-09-21T19:51:39.842Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17915077686857590649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:51:40.141Z] ---> docker-login.sh [2022-09-21T19:51:40.141Z] nexus3.edgexfoundry.org:10001 [2022-09-21T19:51:40.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:40.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:40.141Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:40.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:40.141Z] [2022-09-21T19:51:40.141Z] Login Succeeded [2022-09-21T19:51:40.141Z] nexus3.edgexfoundry.org:10002 [2022-09-21T19:51:40.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:40.400Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:40.400Z] [2022-09-21T19:51:40.400Z] Login Succeeded [2022-09-21T19:51:40.400Z] nexus3.edgexfoundry.org:10003 [2022-09-21T19:51:40.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:40.400Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:40.400Z] [2022-09-21T19:51:40.400Z] Login Succeeded [2022-09-21T19:51:40.400Z] nexus3.edgexfoundry.org:10004 [2022-09-21T19:51:40.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:40.400Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:40.400Z] [2022-09-21T19:51:40.400Z] Login Succeeded [2022-09-21T19:51:40.400Z] docker.io [2022-09-21T19:51:40.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:51:40.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:51:40.918Z] Configure a credential helper to remove this warning. See [2022-09-21T19:51:40.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:51:40.918Z] [2022-09-21T19:51:40.918Z] Login Succeeded [2022-09-21T19:51:40.918Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T19:51:40.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T19:51:40.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T19:51:40.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T19:51:40.997Z] ========================================================= [2022-09-21T19:51:40.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T19:51:40.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:51:41.305Z] + 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-09-21T19:51:41.305Z] Sending build context to Docker daemon 20.68MB [2022-09-21T19:51:41.305Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T19:51:41.305Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T19:51:41.305Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T19:51:41.305Z] 2408cc74d12b: Pulling fs layer [2022-09-21T19:51:41.305Z] ea60b727a1ce: Pulling fs layer [2022-09-21T19:51:41.305Z] 30c4a7721957: Pulling fs layer [2022-09-21T19:51:41.305Z] 370296b7ddb6: Pulling fs layer [2022-09-21T19:51:41.305Z] 7c6cee850709: Pulling fs layer [2022-09-21T19:51:41.305Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T19:51:41.305Z] d94ebbe4e438: Pulling fs layer [2022-09-21T19:51:41.305Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T19:51:41.305Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T19:51:41.305Z] 370296b7ddb6: Waiting [2022-09-21T19:51:41.305Z] 39a5fcdaea64: Waiting [2022-09-21T19:51:41.305Z] d94ebbe4e438: Waiting [2022-09-21T19:51:41.305Z] bcfd1f05c69d: Waiting [2022-09-21T19:51:41.305Z] 7c6cee850709: Waiting [2022-09-21T19:51:41.305Z] 59ccb84bbe0f: Waiting [2022-09-21T19:51:41.565Z] 30c4a7721957: Download complete [2022-09-21T19:51:41.565Z] ea60b727a1ce: Verifying Checksum [2022-09-21T19:51:41.565Z] ea60b727a1ce: Download complete [2022-09-21T19:51:41.565Z] 7c6cee850709: Download complete [2022-09-21T19:51:41.565Z] 39a5fcdaea64: Verifying Checksum [2022-09-21T19:51:41.565Z] 39a5fcdaea64: Download complete [2022-09-21T19:51:41.565Z] 2408cc74d12b: Verifying Checksum [2022-09-21T19:51:41.565Z] 2408cc74d12b: Download complete [2022-09-21T19:51:41.565Z] d94ebbe4e438: Download complete [2022-09-21T19:51:41.565Z] 2408cc74d12b: Pull complete [2022-09-21T19:51:41.831Z] ea60b727a1ce: Pull complete [2022-09-21T19:51:41.831Z] 30c4a7721957: Pull complete [2022-09-21T19:51:42.103Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T19:51:42.103Z] 59ccb84bbe0f: Download complete [2022-09-21T19:51:42.689Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T19:51:42.689Z] bcfd1f05c69d: Download complete [2022-09-21T19:51:42.947Z] 370296b7ddb6: Verifying Checksum [2022-09-21T19:51:42.947Z] 370296b7ddb6: Download complete [2022-09-21T19:51:47.132Z] 370296b7ddb6: Pull complete [2022-09-21T19:51:47.132Z] 7c6cee850709: Pull complete [2022-09-21T19:51:47.132Z] 39a5fcdaea64: Pull complete [2022-09-21T19:51:47.132Z] d94ebbe4e438: Pull complete [2022-09-21T19:51:49.029Z] bcfd1f05c69d: Pull complete [2022-09-21T19:51:49.290Z] 59ccb84bbe0f: Pull complete [2022-09-21T19:51:49.290Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T19:51:49.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T19:51:49.549Z] ---> a4fb48ad2a94 [2022-09-21T19:51:49.549Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T19:51:52.103Z] ---> Running in 11d9d7c8588f [2022-09-21T19:51:52.103Z] Removing intermediate container 11d9d7c8588f [2022-09-21T19:51:52.103Z] ---> 92080668e3a5 [2022-09-21T19:51:52.103Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T19:51:52.103Z] ---> Running in 4d6ce836456d [2022-09-21T19:51:52.103Z] Removing intermediate container 4d6ce836456d [2022-09-21T19:51:52.103Z] ---> 15a5f20040ed [2022-09-21T19:51:52.103Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T19:51:52.103Z] ---> Running in 81423e9e133f [2022-09-21T19:51:52.103Z] Removing intermediate container 81423e9e133f [2022-09-21T19:51:52.103Z] ---> c8bee34bb5e2 [2022-09-21T19:51:52.103Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T19:51:52.103Z] ---> Running in 34a41b185f6f [2022-09-21T19:51:52.103Z] Removing intermediate container 34a41b185f6f [2022-09-21T19:51:52.103Z] ---> 7f9daa1d53b6 [2022-09-21T19:51:52.103Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T19:51:52.103Z] ---> Running in a7c6b684cada [2022-09-21T19:51:52.673Z] Removing intermediate container a7c6b684cada [2022-09-21T19:51:52.673Z] ---> e4d3939b881f [2022-09-21T19:51:52.673Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T19:51:52.673Z] ---> Running in 4d32170baf6e [2022-09-21T19:51:52.933Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T19:51:53.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T19:51:54.138Z] OK: 211 MiB in 51 packages [2022-09-21T19:51:54.703Z] Removing intermediate container 4d32170baf6e [2022-09-21T19:51:54.703Z] ---> b8896b7f396b [2022-09-21T19:51:54.703Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T19:51:54.703Z] ---> Running in f6f47e2b0c1e [2022-09-21T19:51:54.703Z] Removing intermediate container f6f47e2b0c1e [2022-09-21T19:51:54.703Z] ---> 7069cbc51f5a [2022-09-21T19:51:54.703Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T19:51:54.793Z] Still waiting to schedule task [2022-09-21T19:51:54.793Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-456’ is offline [2022-09-21T19:51:54.962Z] ---> b02c630060ab [2022-09-21T19:51:54.962Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T19:51:54.962Z] ---> Running in f88fe49b42d1 [2022-09-21T19:52:17.108Z] Removing intermediate container f88fe49b42d1 [2022-09-21T19:52:17.108Z] ---> 59ec52fc0913 [2022-09-21T19:52:17.108Z] Step 12/13 : COPY . . [2022-09-21T19:52:17.367Z] ---> 3e7391b3ef38 [2022-09-21T19:52:17.367Z] Step 13/13 : RUN ${MAKE} [2022-09-21T19:52:17.367Z] ---> Running in d506de35715c [2022-09-21T19:52:17.625Z] noop [2022-09-21T19:52:17.883Z] Removing intermediate container d506de35715c [2022-09-21T19:52:17.883Z] ---> aa17f30a51f2 [2022-09-21T19:52:17.883Z] Successfully built aa17f30a51f2 [2022-09-21T19:52:17.883Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:52:18.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T19:52:18.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:52:18.255Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T19:52:18.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T19:52:18.639Z] $ docker top 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T19:52:18.993Z] + go version [2022-09-21T19:52:18.993Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T19:52:19.003Z] $ docker stop --time=1 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 [2022-09-21T19:52:20.308Z] $ docker rm -f 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:52:20.706Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T19:52:20.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:52:20.778Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T19:52:20.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T19:52:21.153Z] $ docker top 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T19:52:21.503Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-09-21T19:52:21.804Z] + make test [2022-09-21T19:52:21.804Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T19:52:22.063Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T19:52:34.268Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T19:52:34.528Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.6% of statements [2022-09-21T19:52:34.528Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T19:52:34.528Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.576s coverage: 86.5% of statements [2022-09-21T19:52:42.638Z] 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-09-21T19:52:42.638Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T19:52:46.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T19:52:46.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T19:52:46.828Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T19:52:46.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T19:52:46.849Z] $ docker stop --time=1 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff [2022-09-21T19:52:48.806Z] $ docker rm -f 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T19:52:49.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T19:52:49.316Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T19:52:49.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T19:52:50.092Z] + ls -al . [2022-09-21T19:52:50.092Z] total 236 [2022-09-21T19:52:50.092Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 19:52 . [2022-09-21T19:52:50.092Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 .. [2022-09-21T19:52:50.092Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 19:52 .git [2022-09-21T19:52:50.092Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:51 .github [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 19:51 .gitignore [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 19:51 .golangci.yml [2022-09-21T19:52:50.092Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 19:51 .semver [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 19:51 Attribution.txt [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 19:51 CHANGELOG.md [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 19:51 Dockerfile [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 19:51 GOVERNANCE.md [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 19:51 Jenkinsfile [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 19:51 LICENSE [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 19:51 Makefile [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 19:51 OWNERS.md [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 19:51 README.md [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 19:51 VERSION [2022-09-21T19:52:50.092Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 19:51 bin [2022-09-21T19:52:50.092Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:51 cmd [2022-09-21T19:52:50.092Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 19:52 coverage.out [2022-09-21T19:52:50.092Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 19:51 doc [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 19:51 go.mod [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 19:51 go.sum [2022-09-21T19:52:50.092Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 internal [2022-09-21T19:52:50.092Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 snap [2022-09-21T19:52:50.092Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:52:50.392Z] + 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=d3157763bdfd8f49e0a7266dceddd97d249ca275 --label arch=amd64 --label version=2.3.0-dev.20 . [2022-09-21T19:52:50.393Z] Sending build context to Docker daemon 20.76MB [2022-09-21T19:52:50.393Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T19:52:50.393Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T19:52:50.393Z] ---> aa17f30a51f2 [2022-09-21T19:52:50.393Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T19:52:50.655Z] ---> Running in f932aa795f3a [2022-09-21T19:52:50.655Z] Removing intermediate container f932aa795f3a [2022-09-21T19:52:50.655Z] ---> e63836707062 [2022-09-21T19:52:50.655Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T19:52:50.655Z] ---> Running in c162c7f1d190 [2022-09-21T19:52:50.655Z] Removing intermediate container c162c7f1d190 [2022-09-21T19:52:50.655Z] ---> 22e4500d2a8f [2022-09-21T19:52:50.655Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T19:52:50.655Z] ---> Running in e5d4d459fcb4 [2022-09-21T19:52:50.913Z] Removing intermediate container e5d4d459fcb4 [2022-09-21T19:52:50.913Z] ---> e909c3f68ee8 [2022-09-21T19:52:50.913Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T19:52:50.913Z] ---> Running in 7a4f7ffa69a9 [2022-09-21T19:52:50.913Z] Removing intermediate container 7a4f7ffa69a9 [2022-09-21T19:52:50.913Z] ---> 238022a8588a [2022-09-21T19:52:50.913Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T19:52:50.913Z] ---> Running in 138f0937e6e9 [2022-09-21T19:52:51.482Z] Removing intermediate container 138f0937e6e9 [2022-09-21T19:52:51.482Z] ---> a30ef48b016d [2022-09-21T19:52:51.482Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T19:52:51.482Z] ---> Running in c842f6f2491b [2022-09-21T19:52:51.741Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T19:52:52.679Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T19:52:52.955Z] OK: 211 MiB in 51 packages [2022-09-21T19:52:53.215Z] Removing intermediate container c842f6f2491b [2022-09-21T19:52:53.215Z] ---> a1ea586770a3 [2022-09-21T19:52:53.215Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T19:52:53.215Z] ---> Running in 38c8f225a2db [2022-09-21T19:52:53.475Z] Removing intermediate container 38c8f225a2db [2022-09-21T19:52:53.475Z] ---> c43b9d2213d5 [2022-09-21T19:52:53.475Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T19:52:53.475Z] ---> 7195b54c1bcb [2022-09-21T19:52:53.475Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T19:52:53.475Z] ---> Running in dee8a3fde43c [2022-09-21T19:52:54.418Z] Removing intermediate container dee8a3fde43c [2022-09-21T19:52:54.418Z] ---> 9f3663286d27 [2022-09-21T19:52:54.418Z] Step 12/26 : COPY . . [2022-09-21T19:52:54.678Z] ---> eb9e8ed43730 [2022-09-21T19:52:54.678Z] Step 13/26 : RUN ${MAKE} [2022-09-21T19:52:54.678Z] ---> Running in d60c74025bad [2022-09-21T19:52:55.252Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T19:53:17.185Z] Removing intermediate container d60c74025bad [2022-09-21T19:53:17.185Z] ---> 3b83ddae1390 [2022-09-21T19:53:17.185Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T19:53:17.185Z] 3.16: Pulling from library/alpine [2022-09-21T19:53:17.185Z] 213ec9aee27d: Pulling fs layer [2022-09-21T19:53:17.446Z] 213ec9aee27d: Verifying Checksum [2022-09-21T19:53:17.446Z] 213ec9aee27d: Download complete [2022-09-21T19:53:17.446Z] 213ec9aee27d: Pull complete [2022-09-21T19:53:17.446Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T19:53:17.703Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T19:53:17.703Z] ---> 9c6f07244728 [2022-09-21T19:53:17.703Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T19:53:17.703Z] ---> Running in 93a68f37f212 [2022-09-21T19:53:17.703Z] Removing intermediate container 93a68f37f212 [2022-09-21T19:53:17.703Z] ---> 8da7dafb23cc [2022-09-21T19:53:17.703Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T19:53:17.703Z] ---> Running in 783fdf978a27 [2022-09-21T19:53:17.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T19:53:18.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T19:53:18.222Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T19:53:18.222Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T19:53:18.222Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T19:53:18.222Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T19:53:18.222Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T19:53:18.481Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T19:53:18.481Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T19:53:18.481Z] OK: 8 MiB in 20 packages [2022-09-21T19:53:18.740Z] Removing intermediate container 783fdf978a27 [2022-09-21T19:53:18.740Z] ---> 7783594dd230 [2022-09-21T19:53:18.740Z] Step 17/26 : WORKDIR / [2022-09-21T19:53:18.740Z] ---> Running in 1273c658c8e4 [2022-09-21T19:53:18.740Z] Removing intermediate container 1273c658c8e4 [2022-09-21T19:53:18.740Z] ---> 7d17793554cf [2022-09-21T19:53:18.740Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T19:53:19.307Z] ---> 30a3cb439dd2 [2022-09-21T19:53:19.307Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T19:53:19.568Z] ---> 830e07882605 [2022-09-21T19:53:19.569Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T19:53:19.569Z] ---> a1453cac4ffe [2022-09-21T19:53:19.569Z] Step 21/26 : EXPOSE 59984 [2022-09-21T19:53:19.828Z] ---> Running in 8feed89695ea [2022-09-21T19:53:19.828Z] Removing intermediate container 8feed89695ea [2022-09-21T19:53:19.828Z] ---> f03ed8250042 [2022-09-21T19:53:19.828Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T19:53:19.828Z] ---> Running in be4a42d47957 [2022-09-21T19:53:19.828Z] Removing intermediate container be4a42d47957 [2022-09-21T19:53:19.828Z] ---> d5d3c27cfa08 [2022-09-21T19:53:19.828Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T19:53:19.828Z] ---> Running in a318144a6fd0 [2022-09-21T19:53:20.087Z] Removing intermediate container a318144a6fd0 [2022-09-21T19:53:20.087Z] ---> cdb360777771 [2022-09-21T19:53:20.087Z] Step 24/26 : LABEL arch=amd64 [2022-09-21T19:53:20.087Z] ---> Running in 14e8e582b54a [2022-09-21T19:53:20.087Z] Removing intermediate container 14e8e582b54a [2022-09-21T19:53:20.087Z] ---> 4e3af243fa53 [2022-09-21T19:53:20.087Z] Step 25/26 : LABEL git_sha=d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T19:53:20.087Z] ---> Running in f03ae9784333 [2022-09-21T19:53:20.087Z] Removing intermediate container f03ae9784333 [2022-09-21T19:53:20.087Z] ---> 96c4451b0fe5 [2022-09-21T19:53:20.087Z] Step 26/26 : LABEL version=2.3.0-dev.20 [2022-09-21T19:53:20.346Z] ---> Running in 7e522a0eee5a [2022-09-21T19:53:20.346Z] Removing intermediate container 7e522a0eee5a [2022-09-21T19:53:20.346Z] ---> 564ca5e8b238 [2022-09-21T19:53:20.346Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T19:53:20.346Z] Successfully built 564ca5e8b238 [2022-09-21T19:53:20.346Z] 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-09-21T19:53:20.483Z] provisioning config files... [2022-09-21T19:53:20.500Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16505989461068052297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:53:20.836Z] ---> docker-login.sh [2022-09-21T19:53:20.836Z] nexus3.edgexfoundry.org:10001 [2022-09-21T19:53:20.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:20.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:20.836Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:20.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:20.836Z] [2022-09-21T19:53:20.836Z] Login Succeeded [2022-09-21T19:53:20.836Z] nexus3.edgexfoundry.org:10002 [2022-09-21T19:53:20.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:20.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:20.836Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:20.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:20.836Z] [2022-09-21T19:53:20.836Z] Login Succeeded [2022-09-21T19:53:20.836Z] nexus3.edgexfoundry.org:10003 [2022-09-21T19:53:21.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:21.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:21.107Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:21.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:21.107Z] [2022-09-21T19:53:21.107Z] Login Succeeded [2022-09-21T19:53:21.107Z] nexus3.edgexfoundry.org:10004 [2022-09-21T19:53:21.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:21.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:21.107Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:21.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:21.107Z] [2022-09-21T19:53:21.107Z] Login Succeeded [2022-09-21T19:53:21.107Z] docker.io [2022-09-21T19:53:21.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:21.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:21.711Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:21.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:21.711Z] [2022-09-21T19:53:21.711Z] Login Succeeded [2022-09-21T19:53:21.711Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T19:53:21.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-21T19:53:21.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T19:53:21.760Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-09-21T19:53:21.760Z] d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T19:53:21.760Z] latest [2022-09-21T19:53:21.760Z] 2.3.0-dev.20 [2022-09-21T19:53:21.760Z] d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T19:53:21.760Z] main [2022-09-21T19:53:21.760Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:22.067Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:22.370Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T19:53:22.370Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-09-21T19:53:22.370Z] efa32162e3d1: Preparing [2022-09-21T19:53:22.370Z] 1362cdb32359: Preparing [2022-09-21T19:53:22.370Z] d77ff044fe70: Preparing [2022-09-21T19:53:22.370Z] 3c582dd35a36: Preparing [2022-09-21T19:53:22.370Z] 994393dc58e7: Preparing [2022-09-21T19:53:22.370Z] 994393dc58e7: Layer already exists [2022-09-21T19:53:22.370Z] efa32162e3d1: Pushed [2022-09-21T19:53:22.370Z] 1362cdb32359: Pushed [2022-09-21T19:53:22.628Z] 3c582dd35a36: Pushed [2022-09-21T19:53:24.273Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-458 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-09-21T19:53:24.285Z] Running in /w/workspace/device-onvif-camera/59 [Pipeline] { [Pipeline] checkout [2022-09-21T19:53:24.313Z] The recommended git tool is: git [2022-09-21T19:53:25.166Z] d77ff044fe70: Pushed [2022-09-21T19:53:25.166Z] d3157763bdfd8f49e0a7266dceddd97d249ca275: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:25.473Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:25.773Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-09-21T19:53:25.773Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-09-21T19:53:25.773Z] efa32162e3d1: Preparing [2022-09-21T19:53:25.773Z] 1362cdb32359: Preparing [2022-09-21T19:53:25.773Z] d77ff044fe70: Preparing [2022-09-21T19:53:25.773Z] 3c582dd35a36: Preparing [2022-09-21T19:53:25.773Z] 994393dc58e7: Preparing [2022-09-21T19:53:25.773Z] 3c582dd35a36: Layer already exists [2022-09-21T19:53:25.773Z] 994393dc58e7: Layer already exists [2022-09-21T19:53:25.773Z] efa32162e3d1: Layer already exists [2022-09-21T19:53:25.773Z] d77ff044fe70: Layer already exists [2022-09-21T19:53:25.773Z] 1362cdb32359: Layer already exists [2022-09-21T19:53:25.773Z] latest: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:26.077Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:26.380Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 [2022-09-21T19:53:26.380Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-09-21T19:53:26.380Z] efa32162e3d1: Preparing [2022-09-21T19:53:26.380Z] 1362cdb32359: Preparing [2022-09-21T19:53:26.380Z] d77ff044fe70: Preparing [2022-09-21T19:53:26.380Z] 3c582dd35a36: Preparing [2022-09-21T19:53:26.380Z] 994393dc58e7: Preparing [2022-09-21T19:53:26.380Z] 1362cdb32359: Layer already exists [2022-09-21T19:53:26.380Z] 3c582dd35a36: Layer already exists [2022-09-21T19:53:26.380Z] 994393dc58e7: Layer already exists [2022-09-21T19:53:26.380Z] efa32162e3d1: Layer already exists [2022-09-21T19:53:26.380Z] d77ff044fe70: Layer already exists [2022-09-21T19:53:26.380Z] 2.3.0-dev.20: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:26.682Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:26.982Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T19:53:26.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-09-21T19:53:26.982Z] efa32162e3d1: Preparing [2022-09-21T19:53:26.982Z] 1362cdb32359: Preparing [2022-09-21T19:53:26.982Z] d77ff044fe70: Preparing [2022-09-21T19:53:26.982Z] 3c582dd35a36: Preparing [2022-09-21T19:53:26.982Z] 994393dc58e7: Preparing [2022-09-21T19:53:26.982Z] d77ff044fe70: Layer already exists [2022-09-21T19:53:26.982Z] 3c582dd35a36: Layer already exists [2022-09-21T19:53:26.982Z] 1362cdb32359: Layer already exists [2022-09-21T19:53:26.982Z] 994393dc58e7: Layer already exists [2022-09-21T19:53:26.982Z] efa32162e3d1: Layer already exists [2022-09-21T19:53:26.982Z] d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:27.292Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:27.597Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-09-21T19:53:27.597Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-09-21T19:53:27.597Z] efa32162e3d1: Preparing [2022-09-21T19:53:27.597Z] 1362cdb32359: Preparing [2022-09-21T19:53:27.597Z] d77ff044fe70: Preparing [2022-09-21T19:53:27.597Z] 3c582dd35a36: Preparing [2022-09-21T19:53:27.597Z] 994393dc58e7: Preparing [2022-09-21T19:53:27.597Z] efa32162e3d1: Layer already exists [2022-09-21T19:53:27.597Z] d77ff044fe70: Layer already exists [2022-09-21T19:53:27.597Z] 1362cdb32359: Layer already exists [2022-09-21T19:53:27.597Z] 3c582dd35a36: Layer already exists [2022-09-21T19:53:27.597Z] 994393dc58e7: Layer already exists [2022-09-21T19:53:27.597Z] main: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-21T19:53:27.638Z] ===================================================== [Pipeline] echo [2022-09-21T19:53:27.647Z] taggedImages: [2022-09-21T19:53:27.647Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T19:53:27.647Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-09-21T19:53:27.647Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 [2022-09-21T19:53:27.647Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T19:53:27.647Z] - 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-09-21T19:53:27.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T19:53:27.994Z] [2022-09-21T19:53:27.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:28.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T19:53:28.289Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T19:53:28.289Z] 5eb5b503b376: Pulling fs layer [2022-09-21T19:53:28.289Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T19:53:28.289Z] ec43610c2a17: Pulling fs layer [2022-09-21T19:53:28.289Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T19:53:28.289Z] 33b1e0a273af: Pulling fs layer [2022-09-21T19:53:28.289Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T19:53:28.289Z] 2f39f015ded8: Pulling fs layer [2022-09-21T19:53:28.289Z] 3a2ae6a8a46f: Waiting [2022-09-21T19:53:28.289Z] 33b1e0a273af: Waiting [2022-09-21T19:53:28.289Z] 5d3b04190fa2: Waiting [2022-09-21T19:53:28.289Z] 2f39f015ded8: Waiting [2022-09-21T19:53:28.289Z] 5c69ac0246d0: Verifying Checksum [2022-09-21T19:53:28.289Z] 5c69ac0246d0: Download complete [2022-09-21T19:53:28.289Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-21T19:53:28.289Z] 3a2ae6a8a46f: Download complete [2022-09-21T19:53:28.549Z] ec43610c2a17: Download complete [2022-09-21T19:53:28.549Z] 5d3b04190fa2: Verifying Checksum [2022-09-21T19:53:28.549Z] 5d3b04190fa2: Download complete [2022-09-21T19:53:28.549Z] 33b1e0a273af: Verifying Checksum [2022-09-21T19:53:28.549Z] 33b1e0a273af: Download complete [2022-09-21T19:53:28.549Z] 5eb5b503b376: Verifying Checksum [2022-09-21T19:53:28.549Z] 5eb5b503b376: Download complete [2022-09-21T19:53:28.747Z] using credential edgex-jenkins-ssh [2022-09-21T19:53:28.763Z] Cloning the remote Git repository [2022-09-21T19:53:28.803Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T19:53:28.871Z] > git init /w/workspace/device-onvif-camera/59 # timeout=10 [2022-09-21T19:53:28.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-21T19:53:28.997Z] > git --version # timeout=10 [2022-09-21T19:53:29.015Z] > git --version # 'git version 2.25.1' [2022-09-21T19:53:29.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T19:53:29.061Z] Verifying host key using known hosts file [2022-09-21T19:53:29.488Z] 2f39f015ded8: Verifying Checksum [2022-09-21T19:53:29.488Z] 2f39f015ded8: Download complete [2022-09-21T19:53:29.748Z] 5eb5b503b376: Pull complete [2022-09-21T19:53:30.007Z] 5c69ac0246d0: Pull complete [2022-09-21T19:53:30.267Z] ec43610c2a17: Pull complete [2022-09-21T19:53:29.248Z] 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-09-21T19:53:29.260Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T19:53:30.526Z] 3a2ae6a8a46f: Pull complete [2022-09-21T19:53:30.785Z] 33b1e0a273af: Pull complete [2022-09-21T19:53:30.785Z] 5d3b04190fa2: Pull complete [2022-09-21T19:53:31.230Z] Avoid second fetch [2022-09-21T19:53:31.231Z] Checking out Revision d3157763bdfd8f49e0a7266dceddd97d249ca275 (main) [2022-09-21T19:53:30.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-21T19:53:30.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T19:53:31.248Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T19:53:31.265Z] > git checkout -f d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 [2022-09-21T19:53:31.829Z] Commit message: "test: add nestscan discovery tests (#152)" [2022-09-21T19:53:32.237Z] [2022-09-21T19:53:32.238Z] GitHub has been notified of this commit’s build result [2022-09-21T19:53:32.238Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T19:53:32.756Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T19:53:32.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T19:53:32.756Z] Dload Upload Total Spent Left Speed [2022-09-21T19:53:32.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-09-21T19:53:33.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T19:53:33.692Z] + sudo tee /etc/docker/daemon.new [2022-09-21T19:53:33.692Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T19:53:33.692Z] { [2022-09-21T19:53:33.692Z] "registry-mirrors": [ [2022-09-21T19:53:33.692Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T19:53:33.692Z] ], [2022-09-21T19:53:33.692Z] "bip": "10.250.0.254/24", [2022-09-21T19:53:33.692Z] "hosts": [ [2022-09-21T19:53:33.692Z] "tcp://0.0.0.0:5555", [2022-09-21T19:53:33.692Z] "unix:///var/run/docker.sock" [2022-09-21T19:53:33.692Z] ], [2022-09-21T19:53:33.692Z] "mtu": 1458, [2022-09-21T19:53:33.692Z] "selinux-enabled": true, [2022-09-21T19:53:33.692Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T19:53:33.692Z] } [Pipeline] sh [2022-09-21T19:53:34.013Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T19:53:34.336Z] + sudo service docker restart [2022-09-21T19:53:34.974Z] 2f39f015ded8: Pull complete [2022-09-21T19:53:34.974Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T19:53:34.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T19:53:34.974Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:53:35.044Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T19:53:35.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T19:53:38.283Z] $ docker top cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:53:38.647Z] ---> job-cost.sh [2022-09-21T19:53:38.647Z] lf-activate-venv: SKIPPING [2022-09-21T19:53:38.647Z] INFO: No Stack... [2022-09-21T19:53:39.214Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T19:53:39.782Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T19:53:40.070Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-09-21T19:53:40.071Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T19:53:40.085Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [2022-09-21T19:53:40.090Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] did not exist. Created. [2022-09-21T19:53:40.091Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T19:53:40.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T19:53:40.426Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T19:53:40.433Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T19:53:40.451Z] $ docker stop --time=1 cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 [2022-09-21T19:53:41.610Z] $ docker rm -f cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T19:53:52.567Z] provisioning config files... [2022-09-21T19:53:52.589Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/59@tmp/config7775405554334259060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T19:53:52.933Z] ---> docker-login.sh [2022-09-21T19:53:52.933Z] nexus3.edgexfoundry.org:10001 [2022-09-21T19:53:53.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:53.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:53.470Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:53.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:53.470Z] [2022-09-21T19:53:53.470Z] Login Succeeded [2022-09-21T19:53:53.470Z] nexus3.edgexfoundry.org:10002 [2022-09-21T19:53:53.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:53.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:53.737Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:53.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:53.737Z] [2022-09-21T19:53:53.737Z] Login Succeeded [2022-09-21T19:53:53.737Z] nexus3.edgexfoundry.org:10003 [2022-09-21T19:53:54.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:54.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:54.006Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:54.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:54.006Z] [2022-09-21T19:53:54.006Z] Login Succeeded [2022-09-21T19:53:54.006Z] nexus3.edgexfoundry.org:10004 [2022-09-21T19:53:54.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:54.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:54.540Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:54.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:54.540Z] [2022-09-21T19:53:54.540Z] Login Succeeded [2022-09-21T19:53:54.540Z] docker.io [2022-09-21T19:53:54.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T19:53:55.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T19:53:55.122Z] Configure a credential helper to remove this warning. See [2022-09-21T19:53:55.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T19:53:55.122Z] [2022-09-21T19:53:55.122Z] Login Succeeded [2022-09-21T19:53:55.122Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T19:53:55.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T19:53:55.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T19:53:55.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T19:53:55.276Z] ========================================================= [2022-09-21T19:53:55.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T19:53:55.276Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:53:55.602Z] + 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-09-21T19:53:55.873Z] Sending build context to Docker daemon 14.15MB [2022-09-21T19:53:55.873Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T19:53:55.873Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-21T19:53:56.154Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T19:53:56.154Z] b3c136eddcbf: Pulling fs layer [2022-09-21T19:53:56.154Z] c0a3192eca97: Pulling fs layer [2022-09-21T19:53:56.154Z] a050256f5b6f: Pulling fs layer [2022-09-21T19:53:56.154Z] 656be50a0ddc: Pulling fs layer [2022-09-21T19:53:56.154Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T19:53:56.154Z] 46d945488cbd: Pulling fs layer [2022-09-21T19:53:56.154Z] 8a5474983e97: Pulling fs layer [2022-09-21T19:53:56.154Z] 329c88fbcd65: Pulling fs layer [2022-09-21T19:53:56.154Z] 46d945488cbd: Waiting [2022-09-21T19:53:56.154Z] 656be50a0ddc: Waiting [2022-09-21T19:53:56.154Z] 2bbca73fdf42: Waiting [2022-09-21T19:53:56.154Z] 8a5474983e97: Waiting [2022-09-21T19:53:56.154Z] 329c88fbcd65: Waiting [2022-09-21T19:53:56.154Z] a050256f5b6f: Verifying Checksum [2022-09-21T19:53:56.154Z] a050256f5b6f: Download complete [2022-09-21T19:53:56.154Z] c0a3192eca97: Verifying Checksum [2022-09-21T19:53:56.154Z] c0a3192eca97: Download complete [2022-09-21T19:53:56.154Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T19:53:56.154Z] 2bbca73fdf42: Download complete [2022-09-21T19:53:56.154Z] 46d945488cbd: Download complete [2022-09-21T19:53:56.154Z] b3c136eddcbf: Verifying Checksum [2022-09-21T19:53:56.154Z] b3c136eddcbf: Download complete [2022-09-21T19:53:57.132Z] b3c136eddcbf: Pull complete [2022-09-21T19:53:57.132Z] 329c88fbcd65: Verifying Checksum [2022-09-21T19:53:57.132Z] 329c88fbcd65: Download complete [2022-09-21T19:53:57.719Z] c0a3192eca97: Pull complete [2022-09-21T19:53:57.999Z] a050256f5b6f: Pull complete [2022-09-21T19:53:58.281Z] 8a5474983e97: Verifying Checksum [2022-09-21T19:53:58.281Z] 8a5474983e97: Download complete [2022-09-21T19:53:59.243Z] 656be50a0ddc: Verifying Checksum [2022-09-21T19:53:59.243Z] 656be50a0ddc: Download complete [2022-09-21T19:54:11.578Z] 656be50a0ddc: Pull complete [2022-09-21T19:54:11.578Z] 2bbca73fdf42: Pull complete [2022-09-21T19:54:11.578Z] 46d945488cbd: Pull complete [2022-09-21T19:54:16.927Z] 8a5474983e97: Pull complete [2022-09-21T19:54:18.898Z] 329c88fbcd65: Pull complete [2022-09-21T19:54:19.171Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T19:54:19.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T19:54:19.171Z] ---> ff4287adb874 [2022-09-21T19:54:19.171Z] Step 3/13 : ARG MAKE="make build" [2022-09-21T19:54:21.127Z] ---> Running in 6d66b47fd3f2 [2022-09-21T19:54:21.127Z] Removing intermediate container 6d66b47fd3f2 [2022-09-21T19:54:21.127Z] ---> c553f81921c4 [2022-09-21T19:54:21.127Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T19:54:21.127Z] ---> Running in 333c43da7d57 [2022-09-21T19:54:21.394Z] Removing intermediate container 333c43da7d57 [2022-09-21T19:54:21.395Z] ---> 405b9fb676d6 [2022-09-21T19:54:21.395Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T19:54:21.668Z] ---> Running in 01695b26f043 [2022-09-21T19:54:21.942Z] Removing intermediate container 01695b26f043 [2022-09-21T19:54:21.942Z] ---> a630e587fca5 [2022-09-21T19:54:21.942Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-21T19:54:21.942Z] ---> Running in 6b91e0866f3e [2022-09-21T19:54:22.212Z] Removing intermediate container 6b91e0866f3e [2022-09-21T19:54:22.212Z] ---> 998c0945b455 [2022-09-21T19:54:22.212Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T19:54:22.212Z] ---> Running in 7bbc6d0caa46 [2022-09-21T19:54:24.168Z] Removing intermediate container 7bbc6d0caa46 [2022-09-21T19:54:24.168Z] ---> f0e8547dcbf4 [2022-09-21T19:54:24.168Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T19:54:24.168Z] ---> Running in a89489b5ef56 [2022-09-21T19:54:24.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T19:54:25.705Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T19:54:26.663Z] OK: 221 MiB in 51 packages [2022-09-21T19:54:27.626Z] Removing intermediate container a89489b5ef56 [2022-09-21T19:54:27.626Z] ---> 0ac511eee1dd [2022-09-21T19:54:27.626Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-21T19:54:27.626Z] ---> Running in e57f5534b921 [2022-09-21T19:54:27.893Z] Removing intermediate container e57f5534b921 [2022-09-21T19:54:27.893Z] ---> c7678b37308c [2022-09-21T19:54:27.893Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-21T19:54:28.483Z] ---> 916fd9e29fc6 [2022-09-21T19:54:28.483Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T19:54:28.483Z] ---> Running in 8f2813d09461 [2022-09-21T19:55:15.446Z] Removing intermediate container 8f2813d09461 [2022-09-21T19:55:15.446Z] ---> 41b4d8d8a517 [2022-09-21T19:55:15.446Z] Step 12/13 : COPY . . [2022-09-21T19:55:16.403Z] ---> fbb310e7172b [2022-09-21T19:55:16.403Z] Step 13/13 : RUN ${MAKE} [2022-09-21T19:55:16.403Z] ---> Running in 41a2fa8d7444 [2022-09-21T19:55:17.360Z] noop [2022-09-21T19:55:17.942Z] Removing intermediate container 41a2fa8d7444 [2022-09-21T19:55:17.942Z] ---> a990cd5b7514 [2022-09-21T19:55:17.942Z] Successfully built a990cd5b7514 [2022-09-21T19:55:17.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:55:18.293Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T19:55:18.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:55:18.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container [2022-09-21T19:55:18.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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-09-21T19:55:19.627Z] $ docker top 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T19:55:20.435Z] + go version [2022-09-21T19:55:20.435Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T19:55:20.454Z] $ docker stop --time=1 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 [2022-09-21T19:55:22.036Z] $ docker rm -f 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:55:22.563Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T19:55:22.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T19:55:22.718Z] prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container [2022-09-21T19:55:22.775Z] $ 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/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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-09-21T19:55:23.861Z] $ docker top a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T19:55:24.330Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/59 [Pipeline] fileExists [Pipeline] sh [2022-09-21T19:55:24.657Z] + make test [2022-09-21T19:55:24.657Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T19:55:26.598Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-21T19:57:03.211Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-21T19:57:03.211Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.208s coverage: 28.6% of statements [2022-09-21T19:57:03.211Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-21T19:57:18.229Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.583s coverage: 86.5% of statements [2022-09-21T19:57:18.229Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T19:57:18.229Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T19:57:40.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T19:57:40.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T19:57:40.299Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-21T19:57:40.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T19:57:40.330Z] $ docker stop --time=1 a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b [2022-09-21T19:57:42.325Z] $ docker rm -f a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T19:57:43.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T19:57:43.264Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T19:57:43.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T19:57:44.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T19:57:44.413Z] + ls -al . [2022-09-21T19:57:44.413Z] total 232 [2022-09-21T19:57:44.413Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 19:55 . [2022-09-21T19:57:44.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 .. [2022-09-21T19:57:44.413Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 19:53 .git [2022-09-21T19:57:44.413Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:53 .github [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 19:53 .gitignore [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 19:53 .golangci.yml [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 19:53 Attribution.txt [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 19:53 CHANGELOG.md [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 19:53 Dockerfile [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 19:53 GOVERNANCE.md [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 19:53 Jenkinsfile [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 19:53 LICENSE [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 19:53 Makefile [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 19:53 OWNERS.md [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 19:53 README.md [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 19:51 VERSION [2022-09-21T19:57:44.413Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 19:53 bin [2022-09-21T19:57:44.413Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:53 cmd [2022-09-21T19:57:44.413Z] -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 19:57 coverage.out [2022-09-21T19:57:44.413Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 19:53 doc [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 19:53 go.mod [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 19:53 go.sum [2022-09-21T19:57:44.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 internal [2022-09-21T19:57:44.413Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 snap [2022-09-21T19:57:44.413Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 19:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T19:57:44.773Z] + 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=d3157763bdfd8f49e0a7266dceddd97d249ca275 --label arch=arm64 --label version=2.3.0-dev.20 . [2022-09-21T19:57:46.186Z] Sending build context to Docker daemon 14.23MB [2022-09-21T19:57:46.186Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T19:57:46.186Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-21T19:57:46.186Z] ---> a990cd5b7514 [2022-09-21T19:57:46.186Z] Step 3/26 : ARG MAKE="make build" [2022-09-21T19:57:46.472Z] ---> Running in d0a0a9d44c90 [2022-09-21T19:57:46.741Z] Removing intermediate container d0a0a9d44c90 [2022-09-21T19:57:46.741Z] ---> a440954c971f [2022-09-21T19:57:46.741Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-21T19:57:46.741Z] ---> Running in 59ae995db964 [2022-09-21T19:57:47.013Z] Removing intermediate container 59ae995db964 [2022-09-21T19:57:47.013Z] ---> da9658e89b31 [2022-09-21T19:57:47.013Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T19:57:47.282Z] ---> Running in b424ac12f1ca [2022-09-21T19:57:47.550Z] Removing intermediate container b424ac12f1ca [2022-09-21T19:57:47.550Z] ---> eaf899fd6b46 [2022-09-21T19:57:47.550Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-21T19:57:47.550Z] ---> Running in 44afcf363fea [2022-09-21T19:57:47.819Z] Removing intermediate container 44afcf363fea [2022-09-21T19:57:47.819Z] ---> ec7707ca3159 [2022-09-21T19:57:47.819Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T19:57:47.819Z] ---> Running in bd43d06687e9 [2022-09-21T19:57:49.772Z] Removing intermediate container bd43d06687e9 [2022-09-21T19:57:49.772Z] ---> 1a0116395dbe [2022-09-21T19:57:49.772Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T19:57:49.772Z] ---> Running in 2095d9a318be [2022-09-21T19:57:50.733Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T19:57:51.692Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T19:57:52.664Z] OK: 221 MiB in 51 packages [2022-09-21T19:57:53.626Z] Removing intermediate container 2095d9a318be [2022-09-21T19:57:53.626Z] ---> 76a499f3c2cf [2022-09-21T19:57:53.626Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-21T19:57:53.626Z] ---> Running in d096f8f8a50f [2022-09-21T19:57:53.894Z] Removing intermediate container d096f8f8a50f [2022-09-21T19:57:53.894Z] ---> 1bfc41b931d1 [2022-09-21T19:57:53.894Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-21T19:57:54.480Z] ---> a636f233312b [2022-09-21T19:57:54.481Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T19:57:54.481Z] ---> Running in 23fcd7149e3d [2022-09-21T19:57:57.078Z] Removing intermediate container 23fcd7149e3d [2022-09-21T19:57:57.078Z] ---> 46a71432ab73 [2022-09-21T19:57:57.078Z] Step 12/26 : COPY . . [2022-09-21T19:57:59.661Z] ---> d7cfd3628d93 [2022-09-21T19:57:59.661Z] Step 13/26 : RUN ${MAKE} [2022-09-21T19:57:59.661Z] ---> Running in c0ac92785362 [2022-09-21T19:58:00.645Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-21T20:00:22.396Z] Removing intermediate container c0ac92785362 [2022-09-21T20:00:22.396Z] ---> 1c967e69b445 [2022-09-21T20:00:22.396Z] Step 14/26 : FROM alpine:3.16 [2022-09-21T20:00:22.662Z] 3.16: Pulling from library/alpine [2022-09-21T20:00:22.662Z] 9b18e9b68314: Pulling fs layer [2022-09-21T20:00:22.929Z] 9b18e9b68314: Verifying Checksum [2022-09-21T20:00:22.929Z] 9b18e9b68314: Download complete [2022-09-21T20:00:23.513Z] 9b18e9b68314: Pull complete [2022-09-21T20:00:23.513Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T20:00:23.513Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T20:00:23.513Z] ---> a6215f271958 [2022-09-21T20:00:23.513Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-21T20:00:23.513Z] ---> Running in a56eac1f52e3 [2022-09-21T20:00:23.781Z] Removing intermediate container a56eac1f52e3 [2022-09-21T20:00:23.781Z] ---> 47a040002a0b [2022-09-21T20:00:23.781Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-21T20:00:24.050Z] ---> Running in d80a6f94fa36 [2022-09-21T20:00:25.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T20:00:25.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T20:00:25.980Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-21T20:00:25.980Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T20:00:25.980Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-21T20:00:25.980Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T20:00:25.980Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-21T20:00:25.980Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-21T20:00:25.980Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T20:00:25.980Z] OK: 8 MiB in 20 packages [2022-09-21T20:00:26.941Z] Removing intermediate container d80a6f94fa36 [2022-09-21T20:00:26.941Z] ---> 3a2834e5234a [2022-09-21T20:00:26.941Z] Step 17/26 : WORKDIR / [2022-09-21T20:00:26.941Z] ---> Running in 4bda5861d6b3 [2022-09-21T20:00:27.207Z] Removing intermediate container 4bda5861d6b3 [2022-09-21T20:00:27.207Z] ---> f67fbbe36da2 [2022-09-21T20:00:27.207Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-21T20:00:29.148Z] ---> 7e013694b38c [2022-09-21T20:00:29.148Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-21T20:00:29.148Z] ---> dc5978e14794 [2022-09-21T20:00:29.148Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-21T20:00:29.730Z] ---> ecc77a06973b [2022-09-21T20:00:29.730Z] Step 21/26 : EXPOSE 59984 [2022-09-21T20:00:29.730Z] ---> Running in b528a63c16bb [2022-09-21T20:00:30.000Z] Removing intermediate container b528a63c16bb [2022-09-21T20:00:30.000Z] ---> 9ac7a37dba14 [2022-09-21T20:00:30.000Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-21T20:00:30.000Z] ---> Running in 0205378429d4 [2022-09-21T20:00:30.594Z] Removing intermediate container 0205378429d4 [2022-09-21T20:00:30.594Z] ---> e2341cb9bbc1 [2022-09-21T20:00:30.594Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T20:00:30.594Z] ---> Running in 0165b8de35f5 [2022-09-21T20:00:30.861Z] Removing intermediate container 0165b8de35f5 [2022-09-21T20:00:30.861Z] ---> 6d3a7c789757 [2022-09-21T20:00:30.861Z] Step 24/26 : LABEL arch=arm64 [2022-09-21T20:00:30.861Z] ---> Running in 9434370806db [2022-09-21T20:00:31.128Z] Removing intermediate container 9434370806db [2022-09-21T20:00:31.128Z] ---> 3840ca073f14 [2022-09-21T20:00:31.128Z] Step 25/26 : LABEL git_sha=d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T20:00:31.128Z] ---> Running in bb24ca0beea8 [2022-09-21T20:00:31.402Z] Removing intermediate container bb24ca0beea8 [2022-09-21T20:00:31.402Z] ---> 85ab797e588f [2022-09-21T20:00:31.402Z] Step 26/26 : LABEL version=2.3.0-dev.20 [2022-09-21T20:00:31.402Z] ---> Running in 4d568dafbe81 [2022-09-21T20:00:31.670Z] Removing intermediate container 4d568dafbe81 [2022-09-21T20:00:31.670Z] ---> f8dff1bc3226 [2022-09-21T20:00:31.670Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T20:00:31.936Z] Successfully built f8dff1bc3226 [2022-09-21T20:00:31.936Z] 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-09-21T20:00:32.048Z] provisioning config files... [2022-09-21T20:00:32.063Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/59@tmp/config17401170135788402322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:00:32.393Z] ---> docker-login.sh [2022-09-21T20:00:32.393Z] nexus3.edgexfoundry.org:10001 [2022-09-21T20:00:32.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:00:32.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:00:32.661Z] Configure a credential helper to remove this warning. See [2022-09-21T20:00:32.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:00:32.661Z] [2022-09-21T20:00:32.661Z] Login Succeeded [2022-09-21T20:00:32.661Z] nexus3.edgexfoundry.org:10002 [2022-09-21T20:00:32.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:00:32.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:00:32.928Z] Configure a credential helper to remove this warning. See [2022-09-21T20:00:32.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:00:32.928Z] [2022-09-21T20:00:32.928Z] Login Succeeded [2022-09-21T20:00:32.928Z] nexus3.edgexfoundry.org:10003 [2022-09-21T20:00:33.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:00:33.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:00:33.460Z] Configure a credential helper to remove this warning. See [2022-09-21T20:00:33.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:00:33.460Z] [2022-09-21T20:00:33.460Z] Login Succeeded [2022-09-21T20:00:33.460Z] nexus3.edgexfoundry.org:10004 [2022-09-21T20:00:33.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:00:33.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:00:33.728Z] Configure a credential helper to remove this warning. See [2022-09-21T20:00:33.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:00:33.728Z] [2022-09-21T20:00:33.728Z] Login Succeeded [2022-09-21T20:00:33.728Z] docker.io [2022-09-21T20:00:33.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T20:00:34.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T20:00:34.260Z] Configure a credential helper to remove this warning. See [2022-09-21T20:00:34.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T20:00:34.260Z] [2022-09-21T20:00:34.260Z] Login Succeeded [2022-09-21T20:00:34.260Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T20:00:34.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-21T20:00:34.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T20:00:34.310Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-09-21T20:00:34.310Z] d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T20:00:34.310Z] latest [2022-09-21T20:00:34.310Z] 2.3.0-dev.20 [2022-09-21T20:00:34.310Z] d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T20:00:34.310Z] main [2022-09-21T20:00:34.310Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:34.634Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:34.964Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T20:00:34.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-09-21T20:00:34.964Z] 1796e3e07619: Preparing [2022-09-21T20:00:34.964Z] 0777defb4193: Preparing [2022-09-21T20:00:34.964Z] 329d1884d593: Preparing [2022-09-21T20:00:34.964Z] 066ea066d1fc: Preparing [2022-09-21T20:00:34.964Z] 5d3e392a13a0: Preparing [2022-09-21T20:00:34.964Z] 5d3e392a13a0: Layer already exists [2022-09-21T20:00:35.229Z] 0777defb4193: Pushed [2022-09-21T20:00:35.229Z] 1796e3e07619: Pushed [2022-09-21T20:00:35.809Z] 066ea066d1fc: Pushed [2022-09-21T20:00:41.135Z] 329d1884d593: Pushed [2022-09-21T20:00:41.135Z] d3157763bdfd8f49e0a7266dceddd97d249ca275: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:41.467Z] + 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-09-21T20:00:41.797Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-09-21T20:00:41.797Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-09-21T20:00:41.797Z] 1796e3e07619: Preparing [2022-09-21T20:00:41.797Z] 0777defb4193: Preparing [2022-09-21T20:00:41.797Z] 329d1884d593: Preparing [2022-09-21T20:00:41.797Z] 066ea066d1fc: Preparing [2022-09-21T20:00:41.797Z] 5d3e392a13a0: Preparing [2022-09-21T20:00:41.797Z] 0777defb4193: Layer already exists [2022-09-21T20:00:41.797Z] 329d1884d593: Layer already exists [2022-09-21T20:00:41.797Z] 5d3e392a13a0: Layer already exists [2022-09-21T20:00:41.797Z] 1796e3e07619: Layer already exists [2022-09-21T20:00:41.797Z] 066ea066d1fc: Layer already exists [2022-09-21T20:00:41.797Z] latest: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:42.184Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:42.565Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 [2022-09-21T20:00:42.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-09-21T20:00:42.566Z] 1796e3e07619: Preparing [2022-09-21T20:00:42.566Z] 0777defb4193: Preparing [2022-09-21T20:00:42.566Z] 329d1884d593: Preparing [2022-09-21T20:00:42.566Z] 066ea066d1fc: Preparing [2022-09-21T20:00:42.566Z] 5d3e392a13a0: Preparing [2022-09-21T20:00:42.566Z] 0777defb4193: Layer already exists [2022-09-21T20:00:42.566Z] 066ea066d1fc: Layer already exists [2022-09-21T20:00:42.566Z] 329d1884d593: Layer already exists [2022-09-21T20:00:42.566Z] 1796e3e07619: Layer already exists [2022-09-21T20:00:42.566Z] 5d3e392a13a0: Layer already exists [2022-09-21T20:00:42.566Z] 2.3.0-dev.20: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:42.927Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:43.273Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T20:00:43.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-09-21T20:00:43.273Z] 1796e3e07619: Preparing [2022-09-21T20:00:43.273Z] 0777defb4193: Preparing [2022-09-21T20:00:43.273Z] 329d1884d593: Preparing [2022-09-21T20:00:43.273Z] 066ea066d1fc: Preparing [2022-09-21T20:00:43.273Z] 5d3e392a13a0: Preparing [2022-09-21T20:00:43.273Z] 329d1884d593: Layer already exists [2022-09-21T20:00:43.273Z] 0777defb4193: Layer already exists [2022-09-21T20:00:43.273Z] 1796e3e07619: Layer already exists [2022-09-21T20:00:43.273Z] 5d3e392a13a0: Layer already exists [2022-09-21T20:00:43.273Z] 066ea066d1fc: Layer already exists [2022-09-21T20:00:43.273Z] d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:43.621Z] + 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-09-21T20:00:43.956Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-09-21T20:00:43.957Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-09-21T20:00:43.957Z] 1796e3e07619: Preparing [2022-09-21T20:00:43.957Z] 0777defb4193: Preparing [2022-09-21T20:00:43.957Z] 329d1884d593: Preparing [2022-09-21T20:00:43.957Z] 066ea066d1fc: Preparing [2022-09-21T20:00:43.957Z] 5d3e392a13a0: Preparing [2022-09-21T20:00:43.957Z] 5d3e392a13a0: Layer already exists [2022-09-21T20:00:43.957Z] 1796e3e07619: Layer already exists [2022-09-21T20:00:43.957Z] 329d1884d593: Layer already exists [2022-09-21T20:00:43.957Z] 0777defb4193: Layer already exists [2022-09-21T20:00:43.957Z] 066ea066d1fc: Layer already exists [2022-09-21T20:00:43.957Z] main: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-21T20:00:43.995Z] ===================================================== [Pipeline] echo [2022-09-21T20:00:44.001Z] taggedImages: [2022-09-21T20:00:44.001Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 [2022-09-21T20:00:44.001Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-09-21T20:00:44.001Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 [2022-09-21T20:00:44.001Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [2022-09-21T20:00:44.001Z] - 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-09-21T20:00:44.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:00:44.347Z] [2022-09-21T20:00:44.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:00:44.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:00:44.687Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T20:00:44.687Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T20:00:44.687Z] 04944245beec: Pulling fs layer [2022-09-21T20:00:44.687Z] 699f458cf7ca: Pulling fs layer [2022-09-21T20:00:44.687Z] 765212b225bb: Pulling fs layer [2022-09-21T20:00:44.687Z] f23df028b6ca: Pulling fs layer [2022-09-21T20:00:44.687Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T20:00:44.687Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T20:00:44.687Z] 765212b225bb: Waiting [2022-09-21T20:00:44.687Z] d65c8cfc05b1: Waiting [2022-09-21T20:00:44.687Z] 2437ff75d9bd: Waiting [2022-09-21T20:00:44.687Z] f23df028b6ca: Waiting [2022-09-21T20:00:44.956Z] 04944245beec: Verifying Checksum [2022-09-21T20:00:44.956Z] 04944245beec: Download complete [2022-09-21T20:00:44.956Z] 765212b225bb: Verifying Checksum [2022-09-21T20:00:44.956Z] 765212b225bb: Download complete [2022-09-21T20:00:44.956Z] f23df028b6ca: Download complete [2022-09-21T20:00:44.956Z] d65c8cfc05b1: Verifying Checksum [2022-09-21T20:00:44.956Z] d65c8cfc05b1: Download complete [2022-09-21T20:00:45.222Z] 699f458cf7ca: Verifying Checksum [2022-09-21T20:00:45.222Z] 699f458cf7ca: Download complete [2022-09-21T20:00:45.489Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T20:00:45.489Z] 8998bd30e6a1: Download complete [2022-09-21T20:00:48.069Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T20:00:48.069Z] 2437ff75d9bd: Download complete [2022-09-21T20:00:49.473Z] 8998bd30e6a1: Pull complete [2022-09-21T20:00:49.739Z] 04944245beec: Pull complete [2022-09-21T20:00:51.151Z] 699f458cf7ca: Pull complete [2022-09-21T20:00:51.151Z] 765212b225bb: Pull complete [2022-09-21T20:00:52.109Z] f23df028b6ca: Pull complete [2022-09-21T20:00:52.109Z] d65c8cfc05b1: Pull complete [2022-09-21T20:01:07.093Z] 2437ff75d9bd: Pull complete [2022-09-21T20:01:07.093Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T20:01:07.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T20:01:07.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:01:07.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container [2022-09-21T20:01:07.315Z] $ 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/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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-09-21T20:01:09.752Z] $ docker top a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:01:10.567Z] ---> job-cost.sh [2022-09-21T20:01:10.567Z] lf-activate-venv: SKIPPING [2022-09-21T20:01:10.567Z] INFO: No Stack... [2022-09-21T20:01:10.831Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T20:01:11.782Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T20:01:12.099Z] + cat /w/workspace/device-onvif-camera/59/archives/cost.csv [2022-09-21T20:01:12.099Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T20:01:12.162Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [2022-09-21T20:01:12.167Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] did not exist. Created. [2022-09-21T20:01:12.168Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T20:01:12.498Z] /w/workspace/device-onvif-camera/59@tmp/durable-15f2d2c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T20:01:12.837Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T20:01:12.860Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T20:01:12.913Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T20:01:12.921Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T20:01:12.939Z] $ docker stop --time=1 a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d [2022-09-21T20:01:14.406Z] $ docker rm -f a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d [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-09-21T20:01:14.763Z] provisioning config files... [2022-09-21T20:01:14.771Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7036338751514721983tmp [Pipeline] { [Pipeline] sh [2022-09-21T20:01:15.060Z] + set +x [2022-09-21T20:01:15.060Z] + curl -s https://codecov.io/bash [2022-09-21T20:01:15.060Z] + bash -s -- [2022-09-21T20:01:15.060Z] [2022-09-21T20:01:15.060Z] _____ _ [2022-09-21T20:01:15.060Z] / ____| | | [2022-09-21T20:01:15.060Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T20:01:15.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T20:01:15.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T20:01:15.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T20:01:15.060Z] Bash-1.0.6 [2022-09-21T20:01:15.060Z] [2022-09-21T20:01:15.060Z] [2022-09-21T20:01:15.060Z] ==> git version 2.25.1 found [2022-09-21T20:01:15.060Z] ==> 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-09-21T20:01:15.060Z] Release-Date: 2020-01-08 [2022-09-21T20:01:15.060Z] 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-09-21T20:01:15.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T20:01:15.060Z] ==> Jenkins CI detected. [2022-09-21T20:01:15.060Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-09-21T20:01:15.060Z] project root: . [2022-09-21T20:01:15.060Z] --> token set from env [2022-09-21T20:01:15.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T20:01:15.060Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T20:01:15.060Z] ==> Python coveragepy not found [2022-09-21T20:01:15.060Z] ==> Searching for coverage reports in: [2022-09-21T20:01:15.060Z] + . [2022-09-21T20:01:15.060Z] -> Found 1 reports [2022-09-21T20:01:15.060Z] ==> Detecting git/mercurial file structure [2022-09-21T20:01:15.060Z] ==> Reading reports [2022-09-21T20:01:15.321Z] + ./coverage.out bytes=79818 [2022-09-21T20:01:15.321Z] ==> Appending adjustments [2022-09-21T20:01:15.321Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T20:01:15.321Z] + Found adjustments [2022-09-21T20:01:15.321Z] ==> Gzipping contents [2022-09-21T20:01:15.321Z] 12K /tmp/codecov.GBTVl2.gz [2022-09-21T20:01:15.321Z] ==> Uploading reports [2022-09-21T20:01:15.321Z] url: https://codecov.io [2022-09-21T20:01:15.321Z] query: branch=main&commit=d3157763bdfd8f49e0a7266dceddd97d249ca275&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-21T20:01:15.321Z] -> Pinging Codecov [2022-09-21T20:01:15.321Z] 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=d3157763bdfd8f49e0a7266dceddd97d249ca275&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-21T20:01:15.891Z] -> Uploading to [2022-09-21T20:01:15.891Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/d3157763bdfd8f49e0a7266dceddd97d249ca275/946aef03-dcbf-418e-bbbc-3f3fc9018329.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T200115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df4038a648400b22679fe5394bf172515393fdca5983adf192338924322a9f39 [2022-09-21T20:01:15.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T20:01:15.891Z] Dload Upload Total Spent Left Speed [2022-09-21T20:01:15.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10912 0 0 100 10912 0 41969 --:--:-- --:--:-- --:--:-- 41969 [2022-09-21T20:01:15.891Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } [2022-09-21T20:01:15.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-21T20:01:16.097Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-21T20:01:16.109Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:01:16.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-21T20:01:16.404Z] [2022-09-21T20:01:16.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:01:16.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-21T20:01:16.701Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-21T20:01:16.701Z] df9b9388f04a: Pulling fs layer [2022-09-21T20:01:16.701Z] 52dc419b0ee2: Pulling fs layer [2022-09-21T20:01:16.701Z] 25bc292e5bac: Pulling fs layer [2022-09-21T20:01:16.701Z] 114826534d7a: Pulling fs layer [2022-09-21T20:01:16.701Z] 4657fd5d0bcf: Pulling fs layer [2022-09-21T20:01:16.701Z] 6ad1cebc031e: Pulling fs layer [2022-09-21T20:01:16.701Z] 114826534d7a: Waiting [2022-09-21T20:01:16.701Z] 4657fd5d0bcf: Waiting [2022-09-21T20:01:16.701Z] 8a3aa393b2d8: Pulling fs layer [2022-09-21T20:01:16.701Z] 8a3aa393b2d8: Waiting [2022-09-21T20:01:16.701Z] 6ad1cebc031e: Waiting [2022-09-21T20:01:16.701Z] 25bc292e5bac: Download complete [2022-09-21T20:01:16.701Z] 52dc419b0ee2: Download complete [2022-09-21T20:01:16.701Z] 4657fd5d0bcf: Download complete [2022-09-21T20:01:16.701Z] df9b9388f04a: Download complete [2022-09-21T20:01:16.962Z] df9b9388f04a: Pull complete [2022-09-21T20:01:16.962Z] 52dc419b0ee2: Pull complete [2022-09-21T20:01:16.962Z] 6ad1cebc031e: Verifying Checksum [2022-09-21T20:01:16.962Z] 6ad1cebc031e: Download complete [2022-09-21T20:01:17.226Z] 25bc292e5bac: Pull complete [2022-09-21T20:01:17.809Z] 8a3aa393b2d8: Verifying Checksum [2022-09-21T20:01:17.809Z] 8a3aa393b2d8: Download complete [2022-09-21T20:01:17.809Z] 114826534d7a: Verifying Checksum [2022-09-21T20:01:17.809Z] 114826534d7a: Download complete [2022-09-21T20:01:21.993Z] 114826534d7a: Pull complete [2022-09-21T20:01:21.993Z] 4657fd5d0bcf: Pull complete [2022-09-21T20:01:21.993Z] 6ad1cebc031e: Pull complete [2022-09-21T20:01:24.519Z] 8a3aa393b2d8: Pull complete [2022-09-21T20:01:24.519Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-21T20:01:24.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-21T20:01:24.519Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:01:24.586Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:01:24.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-09-21T20:01:27.133Z] $ docker top 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-21T20:01:27.204Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-09-21T20:01:27.480Z] + set -o pipefail [2022-09-21T20:01:27.480Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-09-21T20:01:34.051Z] [2022-09-21T20:01:34.051Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-09-21T20:01:34.051Z] [2022-09-21T20:01:34.051Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1257db26-992f-4b15-93b8-f5685f36452a [2022-09-21T20:01:34.051Z] [2022-09-21T20:01:34.051Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-09-21T20:01:34.051Z] [2022-09-21T20:01:34.051Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-21T20:01:34.051Z] [2022-09-21T20:01:34.051Z] [Pipeline] } [2022-09-21T20:01:34.055Z] $ docker stop --time=1 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 [2022-09-21T20:01:36.884Z] $ docker rm -f 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 [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-09-21T20:01:37.238Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:01:37.245Z] provisioning config files... [2022-09-21T20:01:37.252Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16051498167482288921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:01:37.539Z] --> edgex-publish-swagger.sh [2022-09-21T20:01:37.539Z] === Publish doc/openapi/v2 API === [2022-09-21T20:01:37.539Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger [2022-09-21T20:01:37.539Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] [2022-09-21T20:01:37.539Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T20:01:37.539Z] Dload Upload Total Spent Left Speed [2022-09-21T20:01:38.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 174k --:--:-- --:--:-- --:--:-- 174k [2022-09-21T20:01:38.106Z] [2022-09-21T20:01:38.106Z] [Pipeline] } [2022-09-21T20:01:38.115Z] 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-09-21T20:01:38.488Z] + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] sh [2022-09-21T20:01:38.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T20:01:38.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:01:39.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:01:39.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:01:39.138Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:01:39.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T20:01:39.606Z] $ docker top 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 -eo pid,comm [2022-09-21T20:01:39.660Z] 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-09-21T20:01:39.660Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T20:01:39.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T20:01:39.694Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T20:01:39.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T20:01:39.808Z] $ docker exec 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 ssh-agent [2022-09-21T20:01:39.922Z] SSH_AUTH_SOCK=/tmp/ssh-o7y15oLvgcAo/agent.33 [2022-09-21T20:01:39.922Z] SSH_AGENT_PID=39 [2022-09-21T20:01:39.926Z] Running ssh-add (command line suppressed) [2022-09-21T20:01:40.026Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6655093447969849260.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6655093447969849260.key) [2022-09-21T20:01:40.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T20:01:40.328Z] + git semver tag [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,501 [run_tag] DEBUG tag force:False [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,501 [check_head_tag] DEBUG check head tag [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,502 [execute] INFO git cat-file --batch-check [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,507 [execute] INFO git cat-file --batch [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,526 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,526 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,526 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-09-21T20:01:40.588Z] 2022-09-21 20:01:40,531 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:01:40.588Z] 2.3.0-dev.20 [Pipeline] } [2022-09-21T20:01:40.591Z] $ docker exec --env ******** --env ******** 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 ssh-agent -k [2022-09-21T20:01:40.687Z] unset SSH_AUTH_SOCK; [2022-09-21T20:01:40.688Z] unset SSH_AGENT_PID; [2022-09-21T20:01:40.688Z] echo Agent pid 39 killed; [2022-09-21T20:01:40.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T20:01:41.001Z] + git semver [Pipeline] } [2022-09-21T20:01:41.267Z] $ docker stop --time=1 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 [2022-09-21T20:01:42.521Z] $ docker rm -f 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:01:42.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-21T20:01:42.898Z] [2022-09-21T20:01:42.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:01:43.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-21T20:01:43.192Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-21T20:01:43.192Z] ab5ef0e58194: Pulling fs layer [2022-09-21T20:01:43.192Z] 9712f1f96733: Pulling fs layer [2022-09-21T20:01:43.192Z] 63f879dbbcfc: Pulling fs layer [2022-09-21T20:01:43.192Z] 0d9ebad4ef96: Pulling fs layer [2022-09-21T20:01:43.192Z] e9a5061849ea: Pulling fs layer [2022-09-21T20:01:43.192Z] d747dcd14b5f: Pulling fs layer [2022-09-21T20:01:43.192Z] 2de7ff778b66: Pulling fs layer [2022-09-21T20:01:43.192Z] e9a5061849ea: Waiting [2022-09-21T20:01:43.192Z] d747dcd14b5f: Waiting [2022-09-21T20:01:43.192Z] 2de7ff778b66: Waiting [2022-09-21T20:01:43.192Z] 0d9ebad4ef96: Waiting [2022-09-21T20:01:43.192Z] 9712f1f96733: Verifying Checksum [2022-09-21T20:01:43.192Z] 9712f1f96733: Download complete [2022-09-21T20:01:44.168Z] 63f879dbbcfc: Verifying Checksum [2022-09-21T20:01:44.168Z] 63f879dbbcfc: Download complete [2022-09-21T20:01:44.168Z] e9a5061849ea: Verifying Checksum [2022-09-21T20:01:44.168Z] e9a5061849ea: Download complete [2022-09-21T20:01:44.168Z] d747dcd14b5f: Download complete [2022-09-21T20:01:44.431Z] ab5ef0e58194: Verifying Checksum [2022-09-21T20:01:44.431Z] ab5ef0e58194: Download complete [2022-09-21T20:01:44.431Z] 0d9ebad4ef96: Download complete [2022-09-21T20:01:44.431Z] 2de7ff778b66: Verifying Checksum [2022-09-21T20:01:44.431Z] 2de7ff778b66: Download complete [2022-09-21T20:01:47.719Z] ab5ef0e58194: Pull complete [2022-09-21T20:01:47.719Z] 9712f1f96733: Pull complete [2022-09-21T20:01:47.977Z] 63f879dbbcfc: Pull complete [2022-09-21T20:01:52.161Z] 0d9ebad4ef96: Pull complete [2022-09-21T20:01:52.419Z] e9a5061849ea: Pull complete [2022-09-21T20:01:52.419Z] d747dcd14b5f: Pull complete [2022-09-21T20:01:53.790Z] 2de7ff778b66: Pull complete [2022-09-21T20:01:53.790Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-21T20:01:53.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-21T20:01:53.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:01:53.859Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:01:53.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-09-21T20:01:57.063Z] $ docker top cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:01:57.141Z] provisioning config files... [2022-09-21T20:01:57.146Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7206691462942211219tmp [2022-09-21T20:01:57.156Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3036035433964414409tmp [2022-09-21T20:01:57.164Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13223182933354976502tmp [Pipeline] { [Pipeline] echo [2022-09-21T20:01:57.179Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:01:57.460Z] ---> sigul-configuration.sh [2022-09-21T20:01:57.460Z] gpg: directory `/root/.gnupg' created [2022-09-21T20:01:57.460Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-21T20:01:57.460Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-21T20:01:57.460Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-21T20:01:57.460Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-21T20:01:57.460Z] gpg: CAST5 encrypted data [2022-09-21T20:01:57.460Z] gpg: encrypted with 1 passphrase [2022-09-21T20:01:57.460Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-21T20:01:57.742Z] + mkdir /home/jenkins [2022-09-21T20:01:57.742Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-21T20:01:58.024Z] + 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-09-21T20:01:58.031Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:01:58.313Z] ---> sigul-install.sh [2022-09-21T20:01:58.313Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-21T20:01:58.602Z] + git tag --list [2022-09-21T20:01:58.602Z] v0.0.0 [2022-09-21T20:01:58.602Z] v0.0.1-dev.1 [2022-09-21T20:01:58.602Z] v0.0.1-dev.10 [2022-09-21T20:01:58.602Z] v0.0.1-dev.11 [2022-09-21T20:01:58.602Z] v0.0.1-dev.12 [2022-09-21T20:01:58.602Z] v0.0.1-dev.13 [2022-09-21T20:01:58.602Z] v0.0.1-dev.14 [2022-09-21T20:01:58.602Z] v0.0.1-dev.15 [2022-09-21T20:01:58.602Z] v0.0.1-dev.16 [2022-09-21T20:01:58.602Z] v0.0.1-dev.17 [2022-09-21T20:01:58.602Z] v0.0.1-dev.18 [2022-09-21T20:01:58.602Z] v0.0.1-dev.19 [2022-09-21T20:01:58.602Z] v0.0.1-dev.2 [2022-09-21T20:01:58.602Z] v0.0.1-dev.20 [2022-09-21T20:01:58.602Z] v0.0.1-dev.21 [2022-09-21T20:01:58.602Z] v0.0.1-dev.22 [2022-09-21T20:01:58.602Z] v0.0.1-dev.23 [2022-09-21T20:01:58.602Z] v0.0.1-dev.24 [2022-09-21T20:01:58.602Z] v0.0.1-dev.25 [2022-09-21T20:01:58.602Z] v0.0.1-dev.26 [2022-09-21T20:01:58.602Z] v0.0.1-dev.27 [2022-09-21T20:01:58.602Z] v0.0.1-dev.28 [2022-09-21T20:01:58.602Z] v0.0.1-dev.3 [2022-09-21T20:01:58.602Z] v0.0.1-dev.4 [2022-09-21T20:01:58.602Z] v0.0.1-dev.5 [2022-09-21T20:01:58.602Z] v0.0.1-dev.6 [2022-09-21T20:01:58.602Z] v0.0.1-dev.7 [2022-09-21T20:01:58.602Z] v0.0.1-dev.8 [2022-09-21T20:01:58.602Z] v0.0.1-dev.9 [2022-09-21T20:01:58.602Z] v2.2.0 [2022-09-21T20:01:58.602Z] v2.2.0-dev.29 [2022-09-21T20:01:58.602Z] v2.2.0-dev.30 [2022-09-21T20:01:58.602Z] v2.2.0-dev.31 [2022-09-21T20:01:58.602Z] v2.2.0-dev.32 [2022-09-21T20:01:58.602Z] v2.2.0-dev.33 [2022-09-21T20:01:58.602Z] v2.2.0-dev.34 [2022-09-21T20:01:58.602Z] v2.2.0-dev.35 [2022-09-21T20:01:58.602Z] v2.3.0-dev.1 [2022-09-21T20:01:58.602Z] v2.3.0-dev.10 [2022-09-21T20:01:58.602Z] v2.3.0-dev.11 [2022-09-21T20:01:58.602Z] v2.3.0-dev.12 [2022-09-21T20:01:58.602Z] v2.3.0-dev.13 [2022-09-21T20:01:58.602Z] v2.3.0-dev.14 [2022-09-21T20:01:58.602Z] v2.3.0-dev.15 [2022-09-21T20:01:58.602Z] v2.3.0-dev.16 [2022-09-21T20:01:58.602Z] v2.3.0-dev.17 [2022-09-21T20:01:58.602Z] v2.3.0-dev.18 [2022-09-21T20:01:58.602Z] v2.3.0-dev.19 [2022-09-21T20:01:58.602Z] v2.3.0-dev.2 [2022-09-21T20:01:58.602Z] v2.3.0-dev.20 [2022-09-21T20:01:58.602Z] v2.3.0-dev.3 [2022-09-21T20:01:58.602Z] v2.3.0-dev.4 [2022-09-21T20:01:58.602Z] v2.3.0-dev.5 [2022-09-21T20:01:58.602Z] v2.3.0-dev.6 [2022-09-21T20:01:58.602Z] v2.3.0-dev.7 [2022-09-21T20:01:58.602Z] v2.3.0-dev.8 [2022-09-21T20:01:58.602Z] v2.3.0-dev.9 [Pipeline] sh [2022-09-21T20:01:58.888Z] + lftools sign git-tag v2.3.0-dev.20 [2022-09-21T20:01:59.457Z] Signing Git tag with Sigul... [2022-09-21T20:01:59.457Z] Signing v2.3.0-dev.20 [Pipeline] echo [2022-09-21T20:02:00.402Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:00.683Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-21T20:02:00.690Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-21T20:02:00.699Z] $ docker stop --time=1 cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f [2022-09-21T20:02:01.984Z] $ docker rm -f cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-21T20:02:02.387Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T20:02:02.387Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:02:02.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:02:02.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:02:02.748Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:02:02.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T20:02:03.132Z] $ docker top 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 -eo pid,comm [2022-09-21T20:02:03.186Z] 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-09-21T20:02:03.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T20:02:03.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T20:02:03.223Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T20:02:03.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T20:02:03.336Z] $ docker exec 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 ssh-agent [2022-09-21T20:02:03.439Z] SSH_AUTH_SOCK=/tmp/ssh-jPHIuYJFMK1u/agent.33 [2022-09-21T20:02:03.439Z] SSH_AGENT_PID=39 [2022-09-21T20:02:03.444Z] Running ssh-add (command line suppressed) [2022-09-21T20:02:03.543Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7602346696979434686.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7602346696979434686.key) [2022-09-21T20:02:03.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T20:02:03.851Z] + git semver bump pre [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,007 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,007 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,008 [bump_version] DEBUG bumped version:2.3.0-dev.21 [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,008 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,008 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,008 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,010 [execute] INFO git cat-file --batch-check [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,016 [execute] INFO git cat-file --batch [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T20:02:04.110Z] 2022-09-21 20:02:04,022 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:02:04.110Z] 2.3.0-dev.21 [Pipeline] } [2022-09-21T20:02:04.113Z] $ docker exec --env ******** --env ******** 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 ssh-agent -k [2022-09-21T20:02:04.213Z] unset SSH_AUTH_SOCK; [2022-09-21T20:02:04.213Z] unset SSH_AGENT_PID; [2022-09-21T20:02:04.213Z] echo Agent pid 39 killed; [2022-09-21T20:02:04.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T20:02:04.533Z] + git semver [Pipeline] } [2022-09-21T20:02:04.797Z] $ docker stop --time=1 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 [2022-09-21T20:02:06.080Z] $ docker rm -f 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T20:02:06.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T20:02:06.430Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:02:06.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T20:02:06.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:02:06.799Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:02:06.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T20:02:07.170Z] $ docker top 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 -eo pid,comm [2022-09-21T20:02:07.225Z] 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-09-21T20:02:07.225Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T20:02:07.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T20:02:07.260Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T20:02:07.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T20:02:07.375Z] $ docker exec 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 ssh-agent [2022-09-21T20:02:07.497Z] SSH_AUTH_SOCK=/tmp/ssh-tIJlvr4G3xN3/agent.32 [2022-09-21T20:02:07.497Z] SSH_AGENT_PID=38 [2022-09-21T20:02:07.501Z] Running ssh-add (command line suppressed) [2022-09-21T20:02:07.582Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13030241170680608644.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13030241170680608644.key) [2022-09-21T20:02:07.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T20:02:07.887Z] + git semver push [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,077 [run_push] DEBUG push [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,077 [execute] INFO git cat-file --batch-check [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,081 [execute] INFO git rev-list b7124bb5569985e69eac3ddce514e1b118597234 -- [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,081 [execute] DEBUG Popen(['git', 'rev-list', 'b7124bb5569985e69eac3ddce514e1b118597234', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,087 [execute] INFO git fetch -v origin [2022-09-21T20:02:08.146Z] 2022-09-21 20:02:08,088 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-21T20:02:08.715Z] 2022-09-21 20:02:08,672 [run_push] DEBUG no remote changes detected [2022-09-21T20:02:08.715Z] 2022-09-21 20:02:08,673 [execute] INFO git push origin semver [2022-09-21T20:02:08.715Z] 2022-09-21 20:02:08,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-21T20:02:09.651Z] 2022-09-21 20:02:09,491 [run_push] DEBUG push all version tags [2022-09-21T20:02:09.651Z] 2022-09-21 20:02:09,491 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-21T20:02:09.651Z] 2022-09-21 20:02:09,492 [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-09-21T20:02:10.585Z] 2022-09-21 20:02:10,273 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-09-21T20:02:10.586Z] 2.3.0-dev.21 [Pipeline] } [2022-09-21T20:02:10.587Z] $ docker exec --env ******** --env ******** 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 ssh-agent -k [2022-09-21T20:02:10.695Z] unset SSH_AUTH_SOCK; [2022-09-21T20:02:10.695Z] unset SSH_AGENT_PID; [2022-09-21T20:02:10.695Z] echo Agent pid 38 killed; [2022-09-21T20:02:10.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T20:02:11.022Z] + git semver [Pipeline] } [2022-09-21T20:02:11.285Z] $ docker stop --time=1 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 [2022-09-21T20:02:12.560Z] $ docker rm -f 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 [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-09-21T20:02:13.078Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-09-21T20:02:13.078Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-09-21T20:02:13.078Z] total 16 [2022-09-21T20:02:13.078Z] drwxr-xr-x 3 root root 4096 Sep 21 19:53 . [2022-09-21T20:02:13.078Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:01 .. [2022-09-21T20:02:13.078Z] drwxr-xr-x 2 root root 4096 Sep 21 19:53 cost [2022-09-21T20:02:13.078Z] -rw-r--r-- 1 root root 90 Sep 21 19:53 cost.csv [2022-09-21T20:02:13.078Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-09-21T20:02:13.078Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-09-21T20:02:13.078Z] total 16 [2022-09-21T20:02:13.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 19:53 . [2022-09-21T20:02:13.078Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:01 .. [2022-09-21T20:02:13.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 19:53 cost [2022-09-21T20:02:13.078Z] -rw-r--r-- 1 jenkins jenkins 90 Sep 21 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:13.364Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:14.213Z] ---> package-listing.sh [2022-09-21T20:02:14.214Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T20:02:14.214Z] ++ facter osfamily [2022-09-21T20:02:14.472Z] + OS_FAMILY=debian [2022-09-21T20:02:14.472Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-09-21T20:02:14.472Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T20:02:14.472Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T20:02:14.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T20:02:14.472Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T20:02:14.472Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-09-21T20:02:14.472Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T20:02:14.472Z] + case "${OS_FAMILY}" in [2022-09-21T20:02:14.472Z] + dpkg -l [2022-09-21T20:02:14.472Z] + grep '^ii' [2022-09-21T20:02:14.472Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T20:02:14.472Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T20:02:14.472Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T20:02:14.472Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-09-21T20:02:14.472Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-09-21T20:02:14.472Z] + 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-09-21T20:02:14.482Z] 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-09-21T20:02:14.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T20:02:15.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T20:02:15.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T20:02:15.463Z] prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container [2022-09-21T20:02:15.536Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T20:02:15.729Z] $ docker top 712a850b241f586effef58dca8ddf8ad9905a6478aa48bbd6121a931f3200acd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T20:02:16.078Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T20:02:16.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T20:02:16.645Z] + ls /var/log/sa-host [2022-09-21T20:02:16.645Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T20:02:16.707Z] provisioning config files... [2022-09-21T20:02:16.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7840611658382865415tmp [Pipeline] { [Pipeline] echo [2022-09-21T20:02:16.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:17.013Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T20:02:17.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:17.342Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T20:02:17.350Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:17.633Z] ---> sudo-logs.sh [2022-09-21T20:02:17.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T20:02:17.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:17.949Z] ---> job-cost.sh [2022-09-21T20:02:17.949Z] lf-activate-venv: SKIPPING [2022-09-21T20:02:17.949Z] DEBUG: total: 0.2199999988079071 [2022-09-21T20:02:17.949Z] INFO: Retrieving Stack Cost... [2022-09-21T20:02:18.207Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T20:02:18.775Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T20:02:18.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T20:02:19.069Z] ---> logs-deploy.sh [2022-09-21T20:02:19.069Z] lf-activate-venv: SKIPPING [2022-09-21T20:02:19.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/59 [2022-09-21T20:02:19.069Z] INFO: archiving workspace using pattern(s): [2022-09-21T20:02:20.004Z] Archives upload complete. [2022-09-21T20:02:20.262Z] INFO: archiving logs to Nexus