Pull request #340 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 657b8d43448e5b2a48089f128e11bc6be1fe8299 rather than 467121e1c593ac0d1605e1c54c7548aa19ab4329 Obtained Jenkinsfile from 657b8d43448e5b2a48089f128e11bc6be1fe8299 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-ssh3935644718106122895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12595818687471026691.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6693213449796735330.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11686006021112882143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh229263676115839187.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12945532660409403966.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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, goVersion:1.18, 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 Running on prd-ubuntu20.04-docker-8c-8g-13303 in /w/workspace/undry_device-onvif-camera_PR-340 [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/undry_device-onvif-camera_PR-340 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit 657b8d43448e5b2a48089f128e11bc6be1fe8299 into PR head commit 467121e1c593ac0d1605e1c54c7548aa19ab4329 Merge succeeded, producing 467121e1c593ac0d1605e1c54c7548aa19ab4329 Checking out Revision 467121e1c593ac0d1605e1c54c7548aa19ab4329 (PR-340) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 467121e1c593ac0d1605e1c54c7548aa19ab4329 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 657b8d43448e5b2a48089f128e11bc6be1fe8299 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 467121e1c593ac0d1605e1c54c7548aa19ab4329 # timeout=10 Commit message: "docs: fix the url for the edgex docs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-04T15:39:32.804Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-04T15:39:32.958Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-04T15:39:33.050Z] ========================================================= [2023-05-04T15:39:33.050Z] EdgeX Global Pipelines Version Info [2023-05-04T15:39:33.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:39:34.157Z] ------------------- [2023-05-04T15:39:34.157Z] stable info: [2023-05-04T15:39:34.157Z] ------------------- [2023-05-04T15:39:34.157Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-04T15:39:34.157Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-04T15:39:34.157Z] Message: update stable to v1.0.248 [2023-05-04T15:39:34.418Z] ------------------- [2023-05-04T15:39:34.418Z] experimental info: [2023-05-04T15:39:34.418Z] ------------------- [2023-05-04T15:39:34.418Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-04T15:39:34.418Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-04T15:39:34.418Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-04T15:39:34.691Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-04T15:39:34.728Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-04T15:39:34.764Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-04T15:39:34.802Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-04T15:39:34.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-04T15:39:34.881Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-05-04T15:39:34.916Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-04T15:39:34.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-04T15:39:34.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-04T15:39:35.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-04T15:39:35.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-04T15:39:35.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-04T15:39:35.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-04T15:39:35.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-04T15:39:35.241Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-04T15:39:35.282Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-04T15:39:35.322Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-04T15:39:35.363Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-04T15:39:35.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-04T15:39:35.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-04T15:39:35.489Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-04T15:39:35.532Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-04T15:39:35.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-04T15:39:35.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-04T15:39:35.663Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-04T15:39:35.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-04T15:39:35.744Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-04T15:39:35.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-340 [Pipeline] echo [2023-05-04T15:39:35.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-340 [Pipeline] echo [2023-05-04T15:39:35.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-340 [Pipeline] echo [2023-05-04T15:39:35.907Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 467121e1c593ac0d1605e1c54c7548aa19ab4329 [Pipeline] echo [2023-05-04T15:39:35.954Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 467121e [Pipeline] echo [2023-05-04T15:39:35.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-04T15:39:36.108Z] provisioning config files... [2023-05-04T15:39:36.122Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-340@tmp/config977294440333112685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:39:36.468Z] ---> docker-login.sh [2023-05-04T15:39:36.468Z] nexus3.edgexfoundry.org:10001 [2023-05-04T15:39:36.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:36.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:36.727Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:36.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:36.727Z] [2023-05-04T15:39:36.727Z] Login Succeeded [2023-05-04T15:39:36.727Z] nexus3.edgexfoundry.org:10002 [2023-05-04T15:39:36.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:36.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:36.989Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:36.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:36.989Z] [2023-05-04T15:39:36.989Z] Login Succeeded [2023-05-04T15:39:36.989Z] nexus3.edgexfoundry.org:10003 [2023-05-04T15:39:36.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:36.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:36.989Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:36.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:36.989Z] [2023-05-04T15:39:36.989Z] Login Succeeded [2023-05-04T15:39:36.989Z] nexus3.edgexfoundry.org:10004 [2023-05-04T15:39:37.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:37.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:37.249Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:37.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:37.249Z] [2023-05-04T15:39:37.249Z] Login Succeeded [2023-05-04T15:39:37.249Z] docker.io [2023-05-04T15:39:37.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:37.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:37.509Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:37.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:37.509Z] [2023-05-04T15:39:37.509Z] Login Succeeded [2023-05-04T15:39:37.509Z] ---> docker-login.sh ends [Pipeline] } [2023-05-04T15:39:37.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-04T15:39:38.182Z] + git rev-list -1 --merges 467121e1c593ac0d1605e1c54c7548aa19ab4329~1..467121e1c593ac0d1605e1c54c7548aa19ab4329 [Pipeline] echo [2023-05-04T15:39:38.245Z] -----------> git rev-list -1 --merges 467121e1c593ac0d1605e1c54c7548aa19ab4329~1..467121e1c593ac0d1605e1c54c7548aa19ab4329 467121e1c593ac0d1605e1c54c7548aa19ab4329 [false] [Pipeline] sh [2023-05-04T15:39:38.555Z] + git log --format=format:%s -1 467121e1c593ac0d1605e1c54c7548aa19ab4329 [Pipeline] echo [2023-05-04T15:39:38.586Z] ========================================================= [2023-05-04T15:39:38.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-04T15:39:38.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-04T15:39:39.029Z] + git log --format=format:%s -1 467121e1c593ac0d1605e1c54c7548aa19ab4329 [Pipeline] echo [2023-05-04T15:39:39.063Z] [semverPrep] GIT_COMMIT: 467121e1c593ac0d1605e1c54c7548aa19ab4329, Commit Message: docs: fix the url for the edgex docs [Pipeline] echo [2023-05-04T15:39:39.093Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-04T15:39:39.493Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-04T15:39:39.493Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-04T15:39:39.493Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-04T15:39:39.493Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-04T15:39:39.493Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-04T15:39:39.493Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-04T15:39:39.493Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:39:39.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-04T15:39:39.996Z] [2023-05-04T15:39:39.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:39:40.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-04T15:39:40.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-04T15:39:40.378Z] b85a868b505f: Pulling fs layer [2023-05-04T15:39:40.378Z] e2be974225ed: Pulling fs layer [2023-05-04T15:39:40.378Z] 339a4e72a1f5: Pulling fs layer [2023-05-04T15:39:40.378Z] 988bab9f4d93: Pulling fs layer [2023-05-04T15:39:40.378Z] 1469e6f7b9e6: Pulling fs layer [2023-05-04T15:39:40.378Z] eaf3925da568: Pulling fs layer [2023-05-04T15:39:40.378Z] 988bab9f4d93: Waiting [2023-05-04T15:39:40.378Z] bab4dde63d76: Pulling fs layer [2023-05-04T15:39:40.378Z] 1469e6f7b9e6: Waiting [2023-05-04T15:39:40.378Z] bde34c3a00c8: Pulling fs layer [2023-05-04T15:39:40.378Z] b352a97aabf1: Pulling fs layer [2023-05-04T15:39:40.378Z] eaf3925da568: Waiting [2023-05-04T15:39:40.378Z] 4872d77fe225: Pulling fs layer [2023-05-04T15:39:40.378Z] 5851b861e8e6: Pulling fs layer [2023-05-04T15:39:40.378Z] bab4dde63d76: Waiting [2023-05-04T15:39:40.378Z] bde34c3a00c8: Waiting [2023-05-04T15:39:40.378Z] 4872d77fe225: Waiting [2023-05-04T15:39:40.378Z] 5851b861e8e6: Waiting [2023-05-04T15:39:40.378Z] b352a97aabf1: Waiting [2023-05-04T15:39:40.378Z] e2be974225ed: Download complete [2023-05-04T15:39:40.378Z] 988bab9f4d93: Verifying Checksum [2023-05-04T15:39:40.378Z] 988bab9f4d93: Download complete [2023-05-04T15:39:40.378Z] 1469e6f7b9e6: Verifying Checksum [2023-05-04T15:39:40.378Z] 1469e6f7b9e6: Download complete [2023-05-04T15:39:40.378Z] eaf3925da568: Verifying Checksum [2023-05-04T15:39:40.378Z] eaf3925da568: Download complete [2023-05-04T15:39:40.638Z] 339a4e72a1f5: Verifying Checksum [2023-05-04T15:39:40.638Z] 339a4e72a1f5: Download complete [2023-05-04T15:39:40.638Z] bde34c3a00c8: Download complete [2023-05-04T15:39:40.638Z] b352a97aabf1: Download complete [2023-05-04T15:39:40.638Z] 4872d77fe225: Verifying Checksum [2023-05-04T15:39:40.638Z] 4872d77fe225: Download complete [2023-05-04T15:39:40.638Z] 5851b861e8e6: Verifying Checksum [2023-05-04T15:39:40.638Z] 5851b861e8e6: Download complete [2023-05-04T15:39:40.638Z] b85a868b505f: Verifying Checksum [2023-05-04T15:39:40.638Z] b85a868b505f: Download complete [2023-05-04T15:39:40.896Z] bab4dde63d76: Verifying Checksum [2023-05-04T15:39:40.896Z] bab4dde63d76: Download complete [2023-05-04T15:39:41.829Z] b85a868b505f: Pull complete [2023-05-04T15:39:41.829Z] e2be974225ed: Pull complete [2023-05-04T15:39:42.398Z] 339a4e72a1f5: Pull complete [2023-05-04T15:39:42.398Z] 988bab9f4d93: Pull complete [2023-05-04T15:39:42.671Z] 1469e6f7b9e6: Pull complete [2023-05-04T15:39:42.671Z] eaf3925da568: Pull complete [2023-05-04T15:39:44.064Z] bab4dde63d76: Pull complete [2023-05-04T15:39:44.064Z] bde34c3a00c8: Pull complete [2023-05-04T15:39:44.323Z] b352a97aabf1: Pull complete [2023-05-04T15:39:44.323Z] 4872d77fe225: Pull complete [2023-05-04T15:39:44.323Z] 5851b861e8e6: Pull complete [2023-05-04T15:39:44.583Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-04T15:39:44.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-04T15:39:44.583Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:39:44.849Z] prd-ubuntu20.04-docker-8c-8g-13303 does not seem to be running inside a container [2023-05-04T15:39:44.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-340 -v /w/workspace/undry_device-onvif-camera_PR-340:/w/workspace/undry_device-onvif-camera_PR-340:rw,z -v /w/workspace/undry_device-onvif-camera_PR-340@tmp:/w/workspace/undry_device-onvif-camera_PR-340@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-04T15:39:46.789Z] $ docker top 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f -eo pid,comm [2023-05-04T15:39:46.844Z] 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). [2023-05-04T15:39:46.844Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-04T15:39:46.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-04T15:39:46.958Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-04T15:39:47.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-04T15:39:47.076Z] $ docker exec 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f ssh-agent [2023-05-04T15:39:47.190Z] SSH_AUTH_SOCK=/tmp/ssh-kL4cNyzdJHcv/agent.32 [2023-05-04T15:39:47.190Z] SSH_AGENT_PID=38 [2023-05-04T15:39:47.196Z] Running ssh-add (command line suppressed) [2023-05-04T15:39:47.282Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-340@tmp/private_key_4722228744849073151.key (/w/workspace/undry_device-onvif-camera_PR-340@tmp/private_key_4722228744849073151.key) [2023-05-04T15:39:47.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-04T15:39:47.621Z] + git tag --points-at HEAD [Pipeline] } [2023-05-04T15:39:47.643Z] $ docker exec --env ******** --env ******** 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f ssh-agent -k [2023-05-04T15:39:47.748Z] unset SSH_AUTH_SOCK; [2023-05-04T15:39:47.748Z] unset SSH_AGENT_PID; [2023-05-04T15:39:47.748Z] echo Agent pid 38 killed; [2023-05-04T15:39:47.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-04T15:39:47.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-04T15:39:47.852Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-04T15:39:47.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-04T15:39:47.956Z] $ docker exec 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f ssh-agent [2023-05-04T15:39:48.082Z] SSH_AUTH_SOCK=/tmp/ssh-qsBFVwWO9eyM/agent.70 [2023-05-04T15:39:48.082Z] SSH_AGENT_PID=76 [2023-05-04T15:39:48.088Z] Running ssh-add (command line suppressed) [2023-05-04T15:39:48.186Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-340@tmp/private_key_12957578873881670810.key (/w/workspace/undry_device-onvif-camera_PR-340@tmp/private_key_12957578873881670810.key) [2023-05-04T15:39:48.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-04T15:39:48.530Z] + git semver init [2023-05-04T15:39:48.790Z] 2023-05-04 15:39:48,707 [run_init] DEBUG init version:0.0.0 force:False [2023-05-04T15:39:48.790Z] 2023-05-04 15:39:48,708 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-340/.semver [2023-05-04T15:39:48.790Z] 2023-05-04 15:39:48,708 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-340/.semver [2023-05-04T15:39:48.790Z] 2023-05-04 15:39:48,708 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-340/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-340, universal_newlines=False, shell=None, istream=None) [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,603 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-340/.git/info/exclude [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,604 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-340/.semver/PR-340 with force:False [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,604 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-340/.semver/PR-340 [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,608 [execute] INFO git cat-file --batch-check [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,609 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,615 [execute] INFO git cat-file --batch [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-340/.semver, universal_newlines=False, shell=None, istream=) [2023-05-04T15:39:49.724Z] 2023-05-04 15:39:49,620 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-340/.semver/PR-340 [2023-05-04T15:39:49.724Z] 0.0.0 [Pipeline] } [2023-05-04T15:39:49.748Z] $ docker exec --env ******** --env ******** 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f ssh-agent -k [2023-05-04T15:39:49.842Z] unset SSH_AUTH_SOCK; [2023-05-04T15:39:49.843Z] unset SSH_AGENT_PID; [2023-05-04T15:39:49.844Z] echo Agent pid 76 killed; [2023-05-04T15:39:49.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-04T15:39:50.277Z] + git semver [Pipeline] } [2023-05-04T15:39:50.559Z] $ docker stop --time=1 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f [2023-05-04T15:39:51.815Z] $ docker rm -f --volumes 735e2f456831043f5bf6b6eb7a04701a44503905e235599e443ad1176ba07b5f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-04T15:39:52.217Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-04T15:39:52.488Z] Stashed 1 file(s) [Pipeline] echo [2023-05-04T15:39:52.505Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2023-05-04T15:39:53.124Z] provisioning config files... [2023-05-04T15:39:53.133Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-340@tmp/config14695524629162574982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:39:53.487Z] ---> docker-login.sh [2023-05-04T15:39:53.487Z] nexus3.edgexfoundry.org:10001 [2023-05-04T15:39:53.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:53.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:53.487Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:53.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:53.487Z] [2023-05-04T15:39:53.487Z] Login Succeeded [2023-05-04T15:39:53.487Z] nexus3.edgexfoundry.org:10002 [2023-05-04T15:39:53.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:53.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:53.488Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:53.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:53.488Z] [2023-05-04T15:39:53.488Z] Login Succeeded [2023-05-04T15:39:53.488Z] nexus3.edgexfoundry.org:10003 [2023-05-04T15:39:53.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:53.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:53.748Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:53.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:53.748Z] [2023-05-04T15:39:53.748Z] Login Succeeded [2023-05-04T15:39:53.748Z] nexus3.edgexfoundry.org:10004 [2023-05-04T15:39:53.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:53.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:53.748Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:53.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:53.748Z] [2023-05-04T15:39:53.748Z] Login Succeeded [2023-05-04T15:39:53.748Z] docker.io [2023-05-04T15:39:53.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:39:54.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:39:54.008Z] Configure a credential helper to remove this warning. See [2023-05-04T15:39:54.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:39:54.008Z] [2023-05-04T15:39:54.008Z] Login Succeeded [2023-05-04T15:39:54.008Z] ---> docker-login.sh ends [Pipeline] } [2023-05-04T15:39:54.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-04T15:39:54.257Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-04T15:39:54.295Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-04T15:39:54.329Z] ========================================================= [2023-05-04T15:39:54.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-05-04T15:39:54.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:39:54.810Z] + 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 . [2023-05-04T15:39:54.810Z] Sending build context to Docker daemon 21.54MB [2023-05-04T15:39:54.810Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-05-04T15:39:54.810Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-04T15:39:55.069Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-04T15:39:55.069Z] 213ec9aee27d: Pulling fs layer [2023-05-04T15:39:55.069Z] 4583459ba037: Pulling fs layer [2023-05-04T15:39:55.069Z] 93c1e223e6f2: Pulling fs layer [2023-05-04T15:39:55.069Z] 53926ce57604: Pulling fs layer [2023-05-04T15:39:55.069Z] 21b2b0c7a3f4: Pulling fs layer [2023-05-04T15:39:55.069Z] 22ff95d597cd: Pulling fs layer [2023-05-04T15:39:55.069Z] 12d6caf4c0d1: Pulling fs layer [2023-05-04T15:39:55.069Z] 96b7cbca73a9: Pulling fs layer [2023-05-04T15:39:55.069Z] a7acece74701: Pulling fs layer [2023-05-04T15:39:55.069Z] 53926ce57604: Waiting [2023-05-04T15:39:55.069Z] 21b2b0c7a3f4: Waiting [2023-05-04T15:39:55.069Z] 22ff95d597cd: Waiting [2023-05-04T15:39:55.069Z] 12d6caf4c0d1: Waiting [2023-05-04T15:39:55.069Z] 96b7cbca73a9: Waiting [2023-05-04T15:39:55.069Z] a7acece74701: Waiting [2023-05-04T15:39:55.069Z] 93c1e223e6f2: Verifying Checksum [2023-05-04T15:39:55.069Z] 93c1e223e6f2: Download complete [2023-05-04T15:39:55.069Z] 4583459ba037: Download complete [2023-05-04T15:39:55.069Z] 21b2b0c7a3f4: Verifying Checksum [2023-05-04T15:39:55.069Z] 21b2b0c7a3f4: Download complete [2023-05-04T15:39:55.069Z] 213ec9aee27d: Verifying Checksum [2023-05-04T15:39:55.069Z] 213ec9aee27d: Download complete [2023-05-04T15:39:55.069Z] 22ff95d597cd: Verifying Checksum [2023-05-04T15:39:55.069Z] 22ff95d597cd: Download complete [2023-05-04T15:39:55.069Z] 12d6caf4c0d1: Download complete [2023-05-04T15:39:55.069Z] 213ec9aee27d: Pull complete [2023-05-04T15:39:55.327Z] 4583459ba037: Pull complete [2023-05-04T15:39:55.327Z] 93c1e223e6f2: Pull complete [2023-05-04T15:39:55.585Z] a7acece74701: Verifying Checksum [2023-05-04T15:39:55.585Z] a7acece74701: Download complete [2023-05-04T15:39:55.842Z] 96b7cbca73a9: Verifying Checksum [2023-05-04T15:39:55.842Z] 96b7cbca73a9: Download complete [2023-05-04T15:39:55.842Z] 53926ce57604: Verifying Checksum [2023-05-04T15:39:55.842Z] 53926ce57604: Download complete [2023-05-04T15:39:59.124Z] 53926ce57604: Pull complete [2023-05-04T15:39:59.124Z] 21b2b0c7a3f4: Pull complete [2023-05-04T15:39:59.124Z] 22ff95d597cd: Pull complete [2023-05-04T15:39:59.124Z] 12d6caf4c0d1: Pull complete [2023-05-04T15:40:01.024Z] 96b7cbca73a9: Pull complete [2023-05-04T15:40:01.599Z] a7acece74701: Pull complete [2023-05-04T15:40:01.599Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-05-04T15:40:01.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-05-04T15:40:01.599Z] ---> db6d94c90886 [2023-05-04T15:40:01.599Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-04T15:40:06.902Z] ---> Running in fa244ce75b82 [2023-05-04T15:40:06.902Z] Removing intermediate container fa244ce75b82 [2023-05-04T15:40:06.902Z] ---> d98b25c9026b [2023-05-04T15:40:06.902Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-04T15:40:06.902Z] ---> Running in 4f7f2cc85129 [2023-05-04T15:40:06.902Z] Removing intermediate container 4f7f2cc85129 [2023-05-04T15:40:06.902Z] ---> e99c410bae16 [2023-05-04T15:40:06.902Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-05-04T15:40:06.902Z] ---> Running in 63f86c88a869 [2023-05-04T15:40:06.902Z] Removing intermediate container 63f86c88a869 [2023-05-04T15:40:06.902Z] ---> 932acb793d67 [2023-05-04T15:40:06.902Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-04T15:40:06.902Z] ---> Running in 4c3f59281646 [2023-05-04T15:40:06.902Z] Removing intermediate container 4c3f59281646 [2023-05-04T15:40:06.902Z] ---> dbede313ce8e [2023-05-04T15:40:06.902Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-04T15:40:06.902Z] ---> Running in 6f37639c0405 [2023-05-04T15:40:06.902Z] Removing intermediate container 6f37639c0405 [2023-05-04T15:40:06.902Z] ---> b11543e771c0 [2023-05-04T15:40:06.902Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-04T15:40:06.902Z] ---> Running in 8cdf76077de2 [2023-05-04T15:40:06.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-04T15:40:07.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-04T15:40:07.945Z] Still waiting to schedule task [2023-05-04T15:40:07.945Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-04T15:40:08.510Z] OK: 211 MiB in 51 packages [2023-05-04T15:40:09.884Z] Removing intermediate container 8cdf76077de2 [2023-05-04T15:40:09.884Z] ---> 80eb885f1772 [2023-05-04T15:40:09.884Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-04T15:40:09.884Z] ---> Running in 75bca9e3536c [2023-05-04T15:40:09.884Z] Removing intermediate container 75bca9e3536c [2023-05-04T15:40:09.884Z] ---> c9ba13168e90 [2023-05-04T15:40:09.884Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-04T15:40:09.884Z] ---> 067b66e84fa6 [2023-05-04T15:40:09.884Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-04T15:40:09.884Z] ---> Running in c57ddb47c95a [2023-05-04T15:40:43.489Z] Removing intermediate container c57ddb47c95a [2023-05-04T15:40:43.489Z] ---> 5e8a1bcf2dc6 [2023-05-04T15:40:43.489Z] Step 12/13 : COPY . . [2023-05-04T15:40:43.489Z] ---> dab5fe8dedb4 [2023-05-04T15:40:43.489Z] Step 13/13 : RUN ${MAKE} [2023-05-04T15:40:43.489Z] ---> Running in 75bceb895e19 [2023-05-04T15:40:43.489Z] noop [2023-05-04T15:40:43.489Z] Removing intermediate container 75bceb895e19 [2023-05-04T15:40:43.489Z] ---> ac84e9832273 [2023-05-04T15:40:43.489Z] Successfully built ac84e9832273 [2023-05-04T15:40:43.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:40:43.944Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-04T15:40:43.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:40:44.100Z] prd-ubuntu20.04-docker-8c-8g-13303 does not seem to be running inside a container [2023-05-04T15:40:44.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-340 -v /w/workspace/undry_device-onvif-camera_PR-340:/w/workspace/undry_device-onvif-camera_PR-340:rw,z -v /w/workspace/undry_device-onvif-camera_PR-340@tmp:/w/workspace/undry_device-onvif-camera_PR-340@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-04T15:40:44.452Z] $ docker top 30f853e808471fffc2374da29364a1387eb341249d8fab0efc2a04037d581b0b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-04T15:40:44.854Z] + go version [2023-05-04T15:40:44.855Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-05-04T15:40:44.885Z] $ docker stop --time=1 30f853e808471fffc2374da29364a1387eb341249d8fab0efc2a04037d581b0b [2023-05-04T15:40:46.133Z] $ docker rm -f --volumes 30f853e808471fffc2374da29364a1387eb341249d8fab0efc2a04037d581b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:40:46.870Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-04T15:40:46.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:40:47.032Z] prd-ubuntu20.04-docker-8c-8g-13303 does not seem to be running inside a container [2023-05-04T15:40:47.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-340 -v /w/workspace/undry_device-onvif-camera_PR-340:/w/workspace/undry_device-onvif-camera_PR-340:rw,z -v /w/workspace/undry_device-onvif-camera_PR-340@tmp:/w/workspace/undry_device-onvif-camera_PR-340@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-04T15:40:47.352Z] $ docker top e349215bc9cb9f618ddbf7fb261ce3e03e741947916c96c5b353d69ef32afe3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-04T15:40:47.747Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-340 [Pipeline] fileExists [Pipeline] sh [2023-05-04T15:40:48.100Z] + make test [2023-05-04T15:40:48.100Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-05-04T15:40:48.358Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-04T15:40:58.320Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-04T15:41:00.850Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2023-05-04T15:41:00.850Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-04T15:41:00.850Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.374s coverage: 86.5% of statements [2023-05-04T15:41:07.403Z] 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." [2023-05-04T15:41:07.403Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-05-04T15:41:10.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-04T15:41:10.682Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-04T15:41:10.682Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-04T15:41:10.721Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-04T15:41:10.747Z] $ docker stop --time=1 e349215bc9cb9f618ddbf7fb261ce3e03e741947916c96c5b353d69ef32afe3a [2023-05-04T15:41:13.012Z] $ docker rm -f --volumes e349215bc9cb9f618ddbf7fb261ce3e03e741947916c96c5b353d69ef32afe3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-04T15:41:13.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-04T15:41:13.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-04T15:41:14.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-04T15:41:14.565Z] + ls -al . [2023-05-04T15:41:14.565Z] total 244 [2023-05-04T15:41:14.565Z] drwxrwxr-x 10 jenkins jenkins 4096 May 4 15:40 . [2023-05-04T15:41:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:39 .. [2023-05-04T15:41:14.565Z] drwxrwxr-x 8 jenkins jenkins 4096 May 4 15:41 .git [2023-05-04T15:41:14.565Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 15:39 .github [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 496 May 4 15:39 .gitignore [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 42 May 4 15:39 .golangci.yml [2023-05-04T15:41:14.565Z] drwxr-xr-x 3 jenkins jenkins 4096 May 4 15:39 .semver [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 9739 May 4 15:39 Attribution.txt [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 6535 May 4 15:39 CHANGELOG.md [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 1637 May 4 15:39 Dockerfile [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 677 May 4 15:39 GOVERNANCE.md [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 762 May 4 15:39 Jenkinsfile [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 4 15:39 LICENSE [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 2997 May 4 15:39 Makefile [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 625 May 4 15:39 OWNERS.md [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 2368 May 4 15:39 README.md [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 5 May 4 15:39 VERSION [2023-05-04T15:41:14.565Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 15:39 bin [2023-05-04T15:41:14.565Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 15:39 cmd [2023-05-04T15:41:14.565Z] -rw-r--r-- 1 jenkins jenkins 79184 May 4 15:41 coverage.out [2023-05-04T15:41:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:39 doc [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 3687 May 4 15:39 go.mod [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 46105 May 4 15:39 go.sum [2023-05-04T15:41:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:39 internal [2023-05-04T15:41:14.565Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:39 snap [2023-05-04T15:41:14.565Z] -rw-rw-r-- 1 jenkins jenkins 236 May 4 15:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:41:14.949Z] + 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=467121e1c593ac0d1605e1c54c7548aa19ab4329 --label arch=amd64 --label version=0.0.0 . [2023-05-04T15:41:14.949Z] Sending build context to Docker daemon 21.62MB [2023-05-04T15:41:14.949Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-05-04T15:41:14.949Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-04T15:41:14.949Z] ---> ac84e9832273 [2023-05-04T15:41:14.949Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-04T15:41:15.208Z] ---> Running in eba18b5ab502 [2023-05-04T15:41:15.208Z] Removing intermediate container eba18b5ab502 [2023-05-04T15:41:15.208Z] ---> 42d940bea88b [2023-05-04T15:41:15.208Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-04T15:41:15.208Z] ---> Running in 2e1f8aa2d7a1 [2023-05-04T15:41:15.208Z] Removing intermediate container 2e1f8aa2d7a1 [2023-05-04T15:41:15.208Z] ---> 8d4704d4a447 [2023-05-04T15:41:15.208Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-05-04T15:41:15.467Z] ---> Running in a91bcc888a60 [2023-05-04T15:41:15.467Z] Removing intermediate container a91bcc888a60 [2023-05-04T15:41:15.467Z] ---> 4e249df0f7fd [2023-05-04T15:41:15.467Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-04T15:41:15.467Z] ---> Running in 7a8624eb321d [2023-05-04T15:41:15.467Z] Removing intermediate container 7a8624eb321d [2023-05-04T15:41:15.467Z] ---> 931ed7b37e21 [2023-05-04T15:41:15.467Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-04T15:41:15.467Z] ---> Running in 318d06c50f66 [2023-05-04T15:41:15.467Z] Removing intermediate container 318d06c50f66 [2023-05-04T15:41:15.467Z] ---> bf6edcd01b88 [2023-05-04T15:41:15.467Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-04T15:41:15.725Z] ---> Running in 49244d43aeb7 [2023-05-04T15:41:15.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-04T15:41:15.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-04T15:41:16.242Z] OK: 211 MiB in 51 packages [2023-05-04T15:41:16.501Z] Removing intermediate container 49244d43aeb7 [2023-05-04T15:41:16.501Z] ---> 5a0bdd8cfa29 [2023-05-04T15:41:16.501Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-04T15:41:16.501Z] ---> Running in ce6072d9c81b [2023-05-04T15:41:16.501Z] Removing intermediate container ce6072d9c81b [2023-05-04T15:41:16.501Z] ---> 521efb6f89cd [2023-05-04T15:41:16.501Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-04T15:41:16.501Z] ---> 2417357b1c0b [2023-05-04T15:41:16.501Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-04T15:41:16.759Z] ---> Running in b2b1fac4c8a8 [2023-05-04T15:41:17.327Z] Removing intermediate container b2b1fac4c8a8 [2023-05-04T15:41:17.327Z] ---> 0f1981bb15be [2023-05-04T15:41:17.327Z] Step 12/26 : COPY . . [2023-05-04T15:41:17.895Z] ---> 7a7dd306fd78 [2023-05-04T15:41:17.895Z] Step 13/26 : RUN ${MAKE} [2023-05-04T15:41:17.895Z] ---> Running in 890008cc42d9 [2023-05-04T15:41:18.153Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-05-04T15:41:40.076Z] Removing intermediate container 890008cc42d9 [2023-05-04T15:41:40.076Z] ---> fd312710a013 [2023-05-04T15:41:40.076Z] Step 14/26 : FROM alpine:3.16 [2023-05-04T15:41:40.076Z] 3.16: Pulling from library/alpine [2023-05-04T15:41:40.076Z] 91d30c5bc195: Pulling fs layer [2023-05-04T15:41:40.076Z] 91d30c5bc195: Verifying Checksum [2023-05-04T15:41:40.076Z] 91d30c5bc195: Download complete [2023-05-04T15:41:40.076Z] 91d30c5bc195: Pull complete [2023-05-04T15:41:40.076Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-05-04T15:41:40.076Z] Status: Downloaded newer image for alpine:3.16 [2023-05-04T15:41:40.076Z] ---> 8471affe5de5 [2023-05-04T15:41:40.076Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-04T15:41:40.076Z] ---> Running in a89733010727 [2023-05-04T15:41:40.076Z] Removing intermediate container a89733010727 [2023-05-04T15:41:40.076Z] ---> 06f0620b41c9 [2023-05-04T15:41:40.076Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-05-04T15:41:40.076Z] ---> Running in b4742c60f5ac [2023-05-04T15:41:40.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-04T15:41:40.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-04T15:41:40.076Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-05-04T15:41:40.076Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-05-04T15:41:40.076Z] (3/6) Installing libsodium (1.0.18-r0) [2023-05-04T15:41:40.076Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-05-04T15:41:40.076Z] (5/6) Installing libzmq (4.3.4-r0) [2023-05-04T15:41:40.076Z] (6/6) Installing zeromq (4.3.4-r0) [2023-05-04T15:41:40.076Z] Executing busybox-1.35.0-r17.trigger [2023-05-04T15:41:40.076Z] OK: 8 MiB in 20 packages [2023-05-04T15:41:40.335Z] Removing intermediate container b4742c60f5ac [2023-05-04T15:41:40.335Z] ---> 1a3ffc1473ca [2023-05-04T15:41:40.335Z] Step 17/26 : WORKDIR / [2023-05-04T15:41:40.335Z] ---> Running in 633a6e3db87f [2023-05-04T15:41:40.335Z] Removing intermediate container 633a6e3db87f [2023-05-04T15:41:40.335Z] ---> d4aabf79dfe1 [2023-05-04T15:41:40.335Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-04T15:41:41.270Z] ---> 04efd371db29 [2023-05-04T15:41:41.270Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-04T15:41:41.270Z] ---> 6ace463d80ad [2023-05-04T15:41:41.270Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-04T15:41:41.270Z] ---> 3a90f9e288b9 [2023-05-04T15:41:41.270Z] Step 21/26 : EXPOSE 59984 [2023-05-04T15:41:41.270Z] ---> Running in 1285bca3aa3b [2023-05-04T15:41:41.270Z] Removing intermediate container 1285bca3aa3b [2023-05-04T15:41:41.270Z] ---> 341738a77827 [2023-05-04T15:41:41.270Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-04T15:41:41.270Z] ---> Running in 7b344e1af8b8 [2023-05-04T15:41:41.526Z] Removing intermediate container 7b344e1af8b8 [2023-05-04T15:41:41.526Z] ---> a3fd8e79c5df [2023-05-04T15:41:41.526Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-05-04T15:41:41.526Z] ---> Running in 2397bfa30a34 [2023-05-04T15:41:41.526Z] Removing intermediate container 2397bfa30a34 [2023-05-04T15:41:41.526Z] ---> e58db5c9ae11 [2023-05-04T15:41:41.526Z] Step 24/26 : LABEL arch=amd64 [2023-05-04T15:41:41.526Z] ---> Running in 3d2d6c0f3b24 [2023-05-04T15:41:41.526Z] Removing intermediate container 3d2d6c0f3b24 [2023-05-04T15:41:41.526Z] ---> 072c2e8c8f3a [2023-05-04T15:41:41.526Z] Step 25/26 : LABEL git_sha=467121e1c593ac0d1605e1c54c7548aa19ab4329 [2023-05-04T15:41:41.526Z] ---> Running in 8e17f70b2ab1 [2023-05-04T15:41:41.784Z] Removing intermediate container 8e17f70b2ab1 [2023-05-04T15:41:41.784Z] ---> cb4f5905d82b [2023-05-04T15:41:41.784Z] Step 26/26 : LABEL version=0.0.0 [2023-05-04T15:41:41.784Z] ---> Running in 142e0c026d3c [2023-05-04T15:41:41.784Z] Removing intermediate container 142e0c026d3c [2023-05-04T15:41:41.784Z] ---> ffc79168479e [2023-05-04T15:41:41.784Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-04T15:41:41.784Z] Successfully built ffc79168479e [2023-05-04T15:41:41.784Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2023-05-04T15:41:42.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-04T15:41:42.637Z] [2023-05-04T15:41:42.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:41:43.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-04T15:41:43.010Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-04T15:41:43.010Z] 5eb5b503b376: Pulling fs layer [2023-05-04T15:41:43.010Z] 5c69ac0246d0: Pulling fs layer [2023-05-04T15:41:43.010Z] ec43610c2a17: Pulling fs layer [2023-05-04T15:41:43.010Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-04T15:41:43.010Z] 33b1e0a273af: Pulling fs layer [2023-05-04T15:41:43.010Z] 5d3b04190fa2: Pulling fs layer [2023-05-04T15:41:43.010Z] 2f39f015ded8: Pulling fs layer [2023-05-04T15:41:43.010Z] 33b1e0a273af: Waiting [2023-05-04T15:41:43.010Z] 5d3b04190fa2: Waiting [2023-05-04T15:41:43.010Z] 2f39f015ded8: Waiting [2023-05-04T15:41:43.010Z] 3a2ae6a8a46f: Waiting [2023-05-04T15:41:43.010Z] 5c69ac0246d0: Download complete [2023-05-04T15:41:43.010Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-04T15:41:43.010Z] 3a2ae6a8a46f: Download complete [2023-05-04T15:41:43.010Z] 33b1e0a273af: Verifying Checksum [2023-05-04T15:41:43.010Z] 33b1e0a273af: Download complete [2023-05-04T15:41:43.010Z] 5d3b04190fa2: Verifying Checksum [2023-05-04T15:41:43.010Z] 5d3b04190fa2: Download complete [2023-05-04T15:41:43.010Z] ec43610c2a17: Verifying Checksum [2023-05-04T15:41:43.010Z] ec43610c2a17: Download complete [2023-05-04T15:41:43.271Z] 5eb5b503b376: Verifying Checksum [2023-05-04T15:41:43.271Z] 5eb5b503b376: Download complete [2023-05-04T15:41:43.837Z] 2f39f015ded8: Download complete [2023-05-04T15:41:44.157Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13305 in /w/workspace/undry_device-onvif-camera_PR-340 [Pipeline] { [Pipeline] ws [2023-05-04T15:41:44.220Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-04T15:41:44.308Z] The recommended git tool is: git [2023-05-04T15:41:44.414Z] 5eb5b503b376: Pull complete [2023-05-04T15:41:44.414Z] 5c69ac0246d0: Pull complete [2023-05-04T15:41:44.979Z] ec43610c2a17: Pull complete [2023-05-04T15:41:44.979Z] 3a2ae6a8a46f: Pull complete [2023-05-04T15:41:45.244Z] 33b1e0a273af: Pull complete [2023-05-04T15:41:45.244Z] 5d3b04190fa2: Pull complete [2023-05-04T15:41:49.404Z] using credential edgex-jenkins-ssh [2023-05-04T15:41:49.421Z] Cloning the remote Git repository [2023-05-04T15:41:49.426Z] 2f39f015ded8: Pull complete [2023-05-04T15:41:49.426Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-04T15:41:49.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-04T15:41:49.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:41:49.658Z] prd-ubuntu20.04-docker-8c-8g-13303 does not seem to be running inside a container [2023-05-04T15:41:49.688Z] $ 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/undry_device-onvif-camera_PR-340 -v /w/workspace/undry_device-onvif-camera_PR-340:/w/workspace/undry_device-onvif-camera_PR-340:rw,z -v /w/workspace/undry_device-onvif-camera_PR-340@tmp:/w/workspace/undry_device-onvif-camera_PR-340@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-04T15:41:49.454Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-04T15:41:49.550Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-05-04T15:41:49.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-04T15:41:49.700Z] > git --version # timeout=10 [2023-05-04T15:41:49.725Z] > git --version # 'git version 2.25.1' [2023-05-04T15:41:49.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-04T15:41:49.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-04T15:41:51.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-04T15:41:51.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-04T15:41:52.240Z] $ docker top a1b133f7d9684fc41dd590579e74223f5d0c07b2bd403a694eb645c4996fc028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:41:52.702Z] ---> job-cost.sh [2023-05-04T15:41:52.702Z] lf-activate-venv: SKIPPING [2023-05-04T15:41:52.702Z] INFO: No Stack... [2023-05-04T15:41:53.106Z] Merging remotes/origin/levski commit 657b8d43448e5b2a48089f128e11bc6be1fe8299 into PR head commit 467121e1c593ac0d1605e1c54c7548aa19ab4329 [2023-05-04T15:41:52.442Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-04T15:41:52.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-04T15:41:52.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-04T15:41:52.502Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/340/head:refs/remotes/origin/PR-340 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-05-04T15:41:53.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-04T15:41:53.467Z] Merge succeeded, producing 467121e1c593ac0d1605e1c54c7548aa19ab4329 [2023-05-04T15:41:53.468Z] Checking out Revision 467121e1c593ac0d1605e1c54c7548aa19ab4329 (PR-340) [2023-05-04T15:41:53.531Z] INFO: Archiving Costs [Pipeline] sh [2023-05-04T15:41:53.846Z] + cat /w/workspace/undry_device-onvif-camera_PR-340/archives/cost.csv [2023-05-04T15:41:53.846Z] + cut -d, -f6 [Pipeline] lock [2023-05-04T15:41:53.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [2023-05-04T15:41:53.890Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] did not exist. Created. [2023-05-04T15:41:53.890Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-04T15:41:54.278Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-04T15:41:54.328Z] Stashed 1 file(s) [Pipeline] } [2023-05-04T15:41:54.354Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-04T15:41:54.429Z] $ docker stop --time=1 a1b133f7d9684fc41dd590579e74223f5d0c07b2bd403a694eb645c4996fc028 [2023-05-04T15:41:53.116Z] > git config core.sparsecheckout # timeout=10 [2023-05-04T15:41:53.182Z] > git checkout -f 467121e1c593ac0d1605e1c54c7548aa19ab4329 # timeout=10 [2023-05-04T15:41:53.352Z] > git remote # timeout=10 [2023-05-04T15:41:53.371Z] > git config --get remote.origin.url # timeout=10 [2023-05-04T15:41:53.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-04T15:41:53.414Z] > git merge 657b8d43448e5b2a48089f128e11bc6be1fe8299 # timeout=10 [2023-05-04T15:41:53.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-04T15:41:53.466Z] > git config core.sparsecheckout # timeout=10 [2023-05-04T15:41:53.481Z] > git checkout -f 467121e1c593ac0d1605e1c54c7548aa19ab4329 # timeout=10 [2023-05-04T15:41:55.581Z] $ docker rm -f --volumes a1b133f7d9684fc41dd590579e74223f5d0c07b2bd403a694eb645c4996fc028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-04T15:41:57.131Z] Commit message: "docs: fix the url for the edgex docs" [2023-05-04T15:41:57.183Z] > git --version # timeout=10 [2023-05-04T15:41:57.195Z] > git --version # 'git version 2.25.1' [2023-05-04T15:41:57.208Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-04T15:41:58.457Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-04T15:41:58.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-04T15:41:58.458Z] Dload Upload Total Spent Left Speed [2023-05-04T15:41:58.458Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-05-04T15:41:59.149Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-04T15:41:59.493Z] + sudo tee /etc/docker/daemon.new [2023-05-04T15:41:59.493Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-04T15:41:59.493Z] { [2023-05-04T15:41:59.493Z] "registry-mirrors": [ [2023-05-04T15:41:59.493Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-04T15:41:59.493Z] ], [2023-05-04T15:41:59.493Z] "bip": "10.250.0.254/24", [2023-05-04T15:41:59.493Z] "hosts": [ [2023-05-04T15:41:59.493Z] "tcp://0.0.0.0:5555", [2023-05-04T15:41:59.493Z] "unix:///var/run/docker.sock" [2023-05-04T15:41:59.493Z] ], [2023-05-04T15:41:59.493Z] "mtu": 1458, [2023-05-04T15:41:59.493Z] "selinux-enabled": true, [2023-05-04T15:41:59.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-04T15:41:59.493Z] } [Pipeline] sh [2023-05-04T15:41:59.837Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-04T15:42:00.199Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-04T15:42:18.526Z] provisioning config files... [2023-05-04T15:42:18.553Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1454680303815576885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:42:18.941Z] ---> docker-login.sh [2023-05-04T15:42:18.941Z] nexus3.edgexfoundry.org:10001 [2023-05-04T15:42:19.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:42:20.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:42:20.178Z] Configure a credential helper to remove this warning. See [2023-05-04T15:42:20.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:42:20.178Z] [2023-05-04T15:42:20.178Z] Login Succeeded [2023-05-04T15:42:20.178Z] nexus3.edgexfoundry.org:10002 [2023-05-04T15:42:20.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:42:21.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:42:21.037Z] Configure a credential helper to remove this warning. See [2023-05-04T15:42:21.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:42:21.037Z] [2023-05-04T15:42:21.037Z] Login Succeeded [2023-05-04T15:42:21.037Z] nexus3.edgexfoundry.org:10003 [2023-05-04T15:42:21.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:42:21.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:42:21.575Z] Configure a credential helper to remove this warning. See [2023-05-04T15:42:21.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:42:21.575Z] [2023-05-04T15:42:21.575Z] Login Succeeded [2023-05-04T15:42:21.575Z] nexus3.edgexfoundry.org:10004 [2023-05-04T15:42:21.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:42:22.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:42:22.117Z] Configure a credential helper to remove this warning. See [2023-05-04T15:42:22.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:42:22.117Z] [2023-05-04T15:42:22.117Z] Login Succeeded [2023-05-04T15:42:22.117Z] docker.io [2023-05-04T15:42:22.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-04T15:42:22.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-04T15:42:22.658Z] Configure a credential helper to remove this warning. See [2023-05-04T15:42:22.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-04T15:42:22.658Z] [2023-05-04T15:42:22.658Z] Login Succeeded [2023-05-04T15:42:22.658Z] ---> docker-login.sh ends [Pipeline] } [2023-05-04T15:42:22.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-04T15:42:23.062Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-04T15:42:23.107Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-04T15:42:23.141Z] ========================================================= [2023-05-04T15:42:23.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-05-04T15:42:23.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:42:23.643Z] + 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 . [2023-05-04T15:42:24.232Z] Sending build context to Docker daemon 14.21MB [2023-05-04T15:42:24.232Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-05-04T15:42:24.232Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-04T15:42:25.198Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-04T15:42:25.199Z] 9b18e9b68314: Pulling fs layer [2023-05-04T15:42:25.199Z] 35d82f9e3411: Pulling fs layer [2023-05-04T15:42:25.199Z] e16973657156: Pulling fs layer [2023-05-04T15:42:25.199Z] fc693d55d65f: Pulling fs layer [2023-05-04T15:42:25.199Z] 7e9fc2657dce: Pulling fs layer [2023-05-04T15:42:25.199Z] dda99020689f: Pulling fs layer [2023-05-04T15:42:25.199Z] db1c61fa0a46: Pulling fs layer [2023-05-04T15:42:25.199Z] 891c053d2c06: Pulling fs layer [2023-05-04T15:42:25.199Z] fc693d55d65f: Waiting [2023-05-04T15:42:25.199Z] 7e9fc2657dce: Waiting [2023-05-04T15:42:25.199Z] db1c61fa0a46: Waiting [2023-05-04T15:42:25.199Z] dda99020689f: Waiting [2023-05-04T15:42:25.199Z] 891c053d2c06: Waiting [2023-05-04T15:42:25.199Z] e16973657156: Verifying Checksum [2023-05-04T15:42:25.199Z] e16973657156: Download complete [2023-05-04T15:42:25.788Z] 35d82f9e3411: Verifying Checksum [2023-05-04T15:42:25.788Z] 35d82f9e3411: Download complete [2023-05-04T15:42:25.788Z] 7e9fc2657dce: Download complete [2023-05-04T15:42:25.788Z] 9b18e9b68314: Verifying Checksum [2023-05-04T15:42:25.788Z] 9b18e9b68314: Download complete [2023-05-04T15:42:25.788Z] dda99020689f: Verifying Checksum [2023-05-04T15:42:25.788Z] dda99020689f: Download complete [2023-05-04T15:42:26.754Z] 9b18e9b68314: Pull complete [2023-05-04T15:42:26.754Z] 891c053d2c06: Verifying Checksum [2023-05-04T15:42:26.754Z] 891c053d2c06: Download complete [2023-05-04T15:42:27.352Z] 35d82f9e3411: Pull complete [2023-05-04T15:42:27.622Z] e16973657156: Pull complete [2023-05-04T15:42:28.209Z] db1c61fa0a46: Verifying Checksum [2023-05-04T15:42:28.209Z] db1c61fa0a46: Download complete [2023-05-04T15:42:28.796Z] fc693d55d65f: Verifying Checksum [2023-05-04T15:42:28.796Z] fc693d55d65f: Download complete [2023-05-04T15:42:41.135Z] fc693d55d65f: Pull complete [2023-05-04T15:42:41.135Z] 7e9fc2657dce: Pull complete [2023-05-04T15:42:41.135Z] dda99020689f: Pull complete [2023-05-04T15:42:47.810Z] db1c61fa0a46: Pull complete [2023-05-04T15:42:49.234Z] 891c053d2c06: Pull complete [2023-05-04T15:42:49.234Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-05-04T15:42:49.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-05-04T15:42:49.234Z] ---> f96f9c87975a [2023-05-04T15:42:49.234Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-04T15:42:51.207Z] ---> Running in 26ce2a360c7c [2023-05-04T15:42:51.207Z] Removing intermediate container 26ce2a360c7c [2023-05-04T15:42:51.207Z] ---> efac52e1708d [2023-05-04T15:42:51.207Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-04T15:42:51.207Z] ---> Running in 06553c385c2d [2023-05-04T15:42:51.794Z] Removing intermediate container 06553c385c2d [2023-05-04T15:42:51.794Z] ---> b10b516f2b2f [2023-05-04T15:42:51.794Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-05-04T15:42:51.794Z] ---> Running in d1c60b359c3a [2023-05-04T15:42:52.061Z] Removing intermediate container d1c60b359c3a [2023-05-04T15:42:52.061Z] ---> c01f18a492ea [2023-05-04T15:42:52.061Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-04T15:42:52.061Z] ---> Running in 27891c77d72a [2023-05-04T15:42:52.329Z] Removing intermediate container 27891c77d72a [2023-05-04T15:42:52.329Z] ---> 91c513d8e76c [2023-05-04T15:42:52.329Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-04T15:42:52.329Z] ---> Running in 6720078fb47d [2023-05-04T15:42:52.605Z] Removing intermediate container 6720078fb47d [2023-05-04T15:42:52.605Z] ---> b0048068275e [2023-05-04T15:42:52.605Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-04T15:42:52.878Z] ---> Running in fd31aeeb2928 [2023-05-04T15:42:53.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-04T15:42:54.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-04T15:42:55.076Z] OK: 221 MiB in 51 packages [2023-05-04T15:42:55.681Z] Removing intermediate container fd31aeeb2928 [2023-05-04T15:42:55.681Z] ---> a43a208d03a9 [2023-05-04T15:42:55.681Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-04T15:42:55.948Z] ---> Running in 394d28cd3214 [2023-05-04T15:42:56.214Z] Removing intermediate container 394d28cd3214 [2023-05-04T15:42:56.214Z] ---> 2e3762664958 [2023-05-04T15:42:56.214Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-04T15:42:56.493Z] ---> 239c9cc0359e [2023-05-04T15:42:56.493Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-04T15:42:56.762Z] ---> Running in b1ea2c8c6189 [2023-05-04T15:43:53.193Z] Removing intermediate container b1ea2c8c6189 [2023-05-04T15:43:53.194Z] ---> 4d72a06a61d5 [2023-05-04T15:43:53.194Z] Step 12/13 : COPY . . [2023-05-04T15:43:53.194Z] ---> 7dc2dffd1856 [2023-05-04T15:43:53.194Z] Step 13/13 : RUN ${MAKE} [2023-05-04T15:43:53.194Z] ---> Running in 511ea1b26114 [2023-05-04T15:43:53.194Z] noop [2023-05-04T15:43:54.159Z] Removing intermediate container 511ea1b26114 [2023-05-04T15:43:54.159Z] ---> fac580b12eb5 [2023-05-04T15:43:54.159Z] Successfully built fac580b12eb5 [2023-05-04T15:43:54.159Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:43:54.670Z] + docker inspect -f . ci-base-image-arm64 [2023-05-04T15:43:54.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:43:54.945Z] prd-ubuntu20.04-docker-arm64-4c-16g-13305 does not seem to be running inside a container [2023-05-04T15:43:55.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-04T15:43:56.152Z] $ docker top dabcea8fa018ff125ae1c98b02756546203ee059677169fa39b691b9b0d2f77b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-04T15:43:57.018Z] + go version [2023-05-04T15:43:57.018Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-05-04T15:43:57.054Z] $ docker stop --time=1 dabcea8fa018ff125ae1c98b02756546203ee059677169fa39b691b9b0d2f77b [2023-05-04T15:43:58.670Z] $ docker rm -f --volumes dabcea8fa018ff125ae1c98b02756546203ee059677169fa39b691b9b0d2f77b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:43:59.523Z] + docker inspect -f . ci-base-image-arm64 [2023-05-04T15:43:59.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:43:59.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-13305 does not seem to be running inside a container [2023-05-04T15:44:02.382Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-04T15:44:03.660Z] $ docker top b7ca75391432a8abd0102b7e7311f6b0ce98ac843bc0605d1c15561116d179ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-04T15:44:04.208Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-04T15:44:04.592Z] + make test [2023-05-04T15:44:04.592Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-05-04T15:44:06.536Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-04T15:45:43.478Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-04T15:45:44.530Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 29.3% of statements [2023-05-04T15:45:44.530Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-04T15:45:56.867Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.107s coverage: 86.5% of statements [2023-05-04T15:45:57.465Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-04T15:45:57.465Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-05-04T15:46:20.233Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-04T15:46:20.233Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-04T15:46:20.233Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-04T15:46:20.289Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-04T15:46:20.325Z] $ docker stop --time=1 b7ca75391432a8abd0102b7e7311f6b0ce98ac843bc0605d1c15561116d179ee [2023-05-04T15:46:22.126Z] $ docker rm -f --volumes b7ca75391432a8abd0102b7e7311f6b0ce98ac843bc0605d1c15561116d179ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-04T15:46:23.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-04T15:46:23.314Z] Warning: overwriting stash ‘coverage-report’ [2023-05-04T15:46:23.874Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-04T15:46:24.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-04T15:46:24.887Z] + ls -al . [2023-05-04T15:46:24.887Z] total 240 [2023-05-04T15:46:24.887Z] drwxrwxr-x 9 jenkins jenkins 4096 May 4 15:44 . [2023-05-04T15:46:24.887Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:41 .. [2023-05-04T15:46:24.887Z] drwxrwxr-x 8 jenkins jenkins 4096 May 4 15:41 .git [2023-05-04T15:46:24.887Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 15:41 .github [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 496 May 4 15:41 .gitignore [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 42 May 4 15:41 .golangci.yml [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 9739 May 4 15:41 Attribution.txt [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 6535 May 4 15:41 CHANGELOG.md [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 1637 May 4 15:41 Dockerfile [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 677 May 4 15:41 GOVERNANCE.md [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 762 May 4 15:41 Jenkinsfile [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 4 15:41 LICENSE [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 2997 May 4 15:41 Makefile [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 625 May 4 15:41 OWNERS.md [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 2368 May 4 15:41 README.md [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 5 May 4 15:39 VERSION [2023-05-04T15:46:24.887Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 15:41 bin [2023-05-04T15:46:24.887Z] drwxrwxr-x 3 jenkins jenkins 4096 May 4 15:41 cmd [2023-05-04T15:46:24.887Z] -rw-r--r-- 1 jenkins jenkins 79184 May 4 15:45 coverage.out [2023-05-04T15:46:24.887Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:41 doc [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 3687 May 4 15:41 go.mod [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 46105 May 4 15:41 go.sum [2023-05-04T15:46:24.887Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:41 internal [2023-05-04T15:46:24.887Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 15:41 snap [2023-05-04T15:46:24.887Z] -rw-rw-r-- 1 jenkins jenkins 236 May 4 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:46:25.318Z] + 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=467121e1c593ac0d1605e1c54c7548aa19ab4329 --label arch=arm64 --label version=0.0.0 . [2023-05-04T15:46:25.937Z] Sending build context to Docker daemon 14.29MB [2023-05-04T15:46:25.937Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-05-04T15:46:25.937Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-04T15:46:25.937Z] ---> fac580b12eb5 [2023-05-04T15:46:25.937Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-04T15:46:25.937Z] ---> Running in eb20b7b08fcf [2023-05-04T15:46:26.209Z] Removing intermediate container eb20b7b08fcf [2023-05-04T15:46:26.209Z] ---> a0b4fd66433e [2023-05-04T15:46:26.209Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-04T15:46:26.502Z] ---> Running in 7b3c9831aaff [2023-05-04T15:46:26.780Z] Removing intermediate container 7b3c9831aaff [2023-05-04T15:46:26.780Z] ---> 0393796aa650 [2023-05-04T15:46:26.780Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-05-04T15:46:26.780Z] ---> Running in a8a58ddbee05 [2023-05-04T15:46:27.060Z] Removing intermediate container a8a58ddbee05 [2023-05-04T15:46:27.060Z] ---> 2d8eb5cafdfb [2023-05-04T15:46:27.060Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-04T15:46:27.060Z] ---> Running in ae39743282a3 [2023-05-04T15:46:27.333Z] Removing intermediate container ae39743282a3 [2023-05-04T15:46:27.333Z] ---> b7d1a19e91d4 [2023-05-04T15:46:27.333Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-04T15:46:27.333Z] ---> Running in a8442aa83b10 [2023-05-04T15:46:27.607Z] Removing intermediate container a8442aa83b10 [2023-05-04T15:46:27.607Z] ---> 60493ecc5b85 [2023-05-04T15:46:27.607Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-04T15:46:27.882Z] ---> Running in de0f38c004b2 [2023-05-04T15:46:28.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-04T15:46:29.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-04T15:46:30.074Z] OK: 221 MiB in 51 packages [2023-05-04T15:46:31.045Z] Removing intermediate container de0f38c004b2 [2023-05-04T15:46:31.045Z] ---> be7e46843aff [2023-05-04T15:46:31.045Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-04T15:46:31.045Z] ---> Running in 0eb20333dbe4 [2023-05-04T15:46:31.314Z] Removing intermediate container 0eb20333dbe4 [2023-05-04T15:46:31.314Z] ---> 6c52a27bbf0c [2023-05-04T15:46:31.314Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-04T15:46:31.899Z] ---> de001a971076 [2023-05-04T15:46:31.899Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-04T15:46:31.899Z] ---> Running in 1797218f98ff [2023-05-04T15:46:33.860Z] Removing intermediate container 1797218f98ff [2023-05-04T15:46:33.860Z] ---> 6c8b80502191 [2023-05-04T15:46:33.860Z] Step 12/26 : COPY . . [2023-05-04T15:46:38.137Z] ---> 32133e56cc57 [2023-05-04T15:46:38.137Z] Step 13/26 : RUN ${MAKE} [2023-05-04T15:46:38.137Z] ---> Running in b397f2a8eb53 [2023-05-04T15:46:39.105Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-05-04T15:49:00.817Z] Removing intermediate container b397f2a8eb53 [2023-05-04T15:49:00.817Z] ---> 450c2bc93bd1 [2023-05-04T15:49:00.817Z] Step 14/26 : FROM alpine:3.16 [2023-05-04T15:49:00.817Z] 3.16: Pulling from library/alpine [2023-05-04T15:49:00.817Z] 547446be3368: Pulling fs layer [2023-05-04T15:49:00.817Z] 547446be3368: Verifying Checksum [2023-05-04T15:49:00.817Z] 547446be3368: Download complete [2023-05-04T15:49:00.817Z] 547446be3368: Pull complete [2023-05-04T15:49:00.817Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-05-04T15:49:00.817Z] Status: Downloaded newer image for alpine:3.16 [2023-05-04T15:49:00.817Z] ---> 3b5033019969 [2023-05-04T15:49:00.817Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-04T15:49:00.817Z] ---> Running in afc9244b3c16 [2023-05-04T15:49:00.817Z] Removing intermediate container afc9244b3c16 [2023-05-04T15:49:00.817Z] ---> aca4afd8e6a1 [2023-05-04T15:49:00.817Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-05-04T15:49:00.817Z] ---> Running in 3809bf31cfac [2023-05-04T15:49:00.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-04T15:49:00.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-04T15:49:01.775Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-05-04T15:49:01.775Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-05-04T15:49:01.775Z] (3/6) Installing libsodium (1.0.18-r0) [2023-05-04T15:49:01.775Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-05-04T15:49:01.775Z] (5/6) Installing libzmq (4.3.4-r0) [2023-05-04T15:49:01.775Z] (6/6) Installing zeromq (4.3.4-r0) [2023-05-04T15:49:01.775Z] Executing busybox-1.35.0-r17.trigger [2023-05-04T15:49:01.775Z] OK: 8 MiB in 20 packages [2023-05-04T15:49:02.743Z] Removing intermediate container 3809bf31cfac [2023-05-04T15:49:02.743Z] ---> 4c2cb1a97c0a [2023-05-04T15:49:02.743Z] Step 17/26 : WORKDIR / [2023-05-04T15:49:02.743Z] ---> Running in 121ab332024f [2023-05-04T15:49:03.010Z] Removing intermediate container 121ab332024f [2023-05-04T15:49:03.010Z] ---> f1c1e4e3ab74 [2023-05-04T15:49:03.010Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-04T15:49:05.589Z] ---> d22144c90740 [2023-05-04T15:49:05.589Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-04T15:49:06.175Z] ---> 4a17318bc8a7 [2023-05-04T15:49:06.175Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-04T15:49:06.444Z] ---> 84c0db45f386 [2023-05-04T15:49:06.444Z] Step 21/26 : EXPOSE 59984 [2023-05-04T15:49:06.712Z] ---> Running in 525cb4869ad8 [2023-05-04T15:49:06.980Z] Removing intermediate container 525cb4869ad8 [2023-05-04T15:49:06.980Z] ---> cc005a62c6df [2023-05-04T15:49:06.980Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-04T15:49:06.980Z] ---> Running in 6ec5c26ffb8d [2023-05-04T15:49:07.246Z] Removing intermediate container 6ec5c26ffb8d [2023-05-04T15:49:07.246Z] ---> 1841ed2f8d4f [2023-05-04T15:49:07.246Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-05-04T15:49:07.246Z] ---> Running in e73821834089 [2023-05-04T15:49:07.514Z] Removing intermediate container e73821834089 [2023-05-04T15:49:07.514Z] ---> e71791f161ba [2023-05-04T15:49:07.514Z] Step 24/26 : LABEL arch=arm64 [2023-05-04T15:49:07.514Z] ---> Running in d707daf0f6e8 [2023-05-04T15:49:07.782Z] Removing intermediate container d707daf0f6e8 [2023-05-04T15:49:07.782Z] ---> 489321fba340 [2023-05-04T15:49:07.782Z] Step 25/26 : LABEL git_sha=467121e1c593ac0d1605e1c54c7548aa19ab4329 [2023-05-04T15:49:08.051Z] ---> Running in 89655a9906e7 [2023-05-04T15:49:08.318Z] Removing intermediate container 89655a9906e7 [2023-05-04T15:49:08.318Z] ---> 3cc7b7b61f39 [2023-05-04T15:49:08.318Z] Step 26/26 : LABEL version=0.0.0 [2023-05-04T15:49:08.318Z] ---> Running in eb6f37024639 [2023-05-04T15:49:08.583Z] Removing intermediate container eb6f37024639 [2023-05-04T15:49:08.583Z] ---> 803e1e0e630e [2023-05-04T15:49:08.583Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-04T15:49:08.583Z] Successfully built 803e1e0e630e [2023-05-04T15:49:08.583Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:49:09.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-04T15:49:09.511Z] [2023-05-04T15:49:09.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:49:09.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-04T15:49:09.901Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-04T15:49:09.901Z] 8998bd30e6a1: Pulling fs layer [2023-05-04T15:49:09.901Z] 04944245beec: Pulling fs layer [2023-05-04T15:49:09.901Z] 699f458cf7ca: Pulling fs layer [2023-05-04T15:49:09.901Z] 765212b225bb: Pulling fs layer [2023-05-04T15:49:09.901Z] f23df028b6ca: Pulling fs layer [2023-05-04T15:49:09.901Z] d65c8cfc05b1: Pulling fs layer [2023-05-04T15:49:09.901Z] 2437ff75d9bd: Pulling fs layer [2023-05-04T15:49:09.901Z] 765212b225bb: Waiting [2023-05-04T15:49:09.901Z] f23df028b6ca: Waiting [2023-05-04T15:49:09.901Z] d65c8cfc05b1: Waiting [2023-05-04T15:49:09.901Z] 2437ff75d9bd: Waiting [2023-05-04T15:49:10.169Z] 04944245beec: Verifying Checksum [2023-05-04T15:49:10.169Z] 04944245beec: Download complete [2023-05-04T15:49:10.169Z] 765212b225bb: Verifying Checksum [2023-05-04T15:49:10.169Z] 765212b225bb: Download complete [2023-05-04T15:49:10.169Z] f23df028b6ca: Verifying Checksum [2023-05-04T15:49:10.169Z] f23df028b6ca: Download complete [2023-05-04T15:49:10.169Z] d65c8cfc05b1: Verifying Checksum [2023-05-04T15:49:10.169Z] d65c8cfc05b1: Download complete [2023-05-04T15:49:10.169Z] 699f458cf7ca: Verifying Checksum [2023-05-04T15:49:10.169Z] 699f458cf7ca: Download complete [2023-05-04T15:49:10.754Z] 8998bd30e6a1: Verifying Checksum [2023-05-04T15:49:10.754Z] 8998bd30e6a1: Download complete [2023-05-04T15:49:12.703Z] 2437ff75d9bd: Verifying Checksum [2023-05-04T15:49:12.703Z] 2437ff75d9bd: Download complete [2023-05-04T15:49:14.659Z] 8998bd30e6a1: Pull complete [2023-05-04T15:49:14.926Z] 04944245beec: Pull complete [2023-05-04T15:49:16.336Z] 699f458cf7ca: Pull complete [2023-05-04T15:49:16.336Z] 765212b225bb: Pull complete [2023-05-04T15:49:19.682Z] f23df028b6ca: Pull complete [2023-05-04T15:49:19.952Z] d65c8cfc05b1: Pull complete [2023-05-04T15:49:34.938Z] 2437ff75d9bd: Pull complete [2023-05-04T15:49:34.938Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-04T15:49:34.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-04T15:49:34.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:49:35.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-13305 does not seem to be running inside a container [2023-05-04T15:49:35.313Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-04T15:49:37.848Z] $ docker top 78795c0623804f0f3b02838b7d241047b60ee5ec7211f8823ee3ea894f178515 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:38.743Z] ---> job-cost.sh [2023-05-04T15:49:38.743Z] lf-activate-venv: SKIPPING [2023-05-04T15:49:38.743Z] INFO: No Stack... [2023-05-04T15:49:39.010Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-04T15:49:39.966Z] INFO: Archiving Costs [Pipeline] sh [2023-05-04T15:49:40.304Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-05-04T15:49:40.304Z] + cut -d, -f6 [Pipeline] lock [2023-05-04T15:49:40.645Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [2023-05-04T15:49:40.651Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] did not exist. Created. [2023-05-04T15:49:40.651Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-04T15:49:41.073Z] /w/workspace/device-onvif-camera/1@tmp/durable-0ffcae13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-04T15:49:41.742Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-04T15:49:41.776Z] Warning: overwriting stash ‘stack-cost’ [2023-05-04T15:49:41.829Z] Stashed 1 file(s) [Pipeline] } [2023-05-04T15:49:41.852Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-340-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-04T15:49:41.937Z] $ docker stop --time=1 78795c0623804f0f3b02838b7d241047b60ee5ec7211f8823ee3ea894f178515 [2023-05-04T15:49:43.411Z] $ docker rm -f --volumes 78795c0623804f0f3b02838b7d241047b60ee5ec7211f8823ee3ea894f178515 [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 [2023-05-04T15:49:44.399Z] provisioning config files... [2023-05-04T15:49:44.409Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-340@tmp/config12354358257609000433tmp [Pipeline] { [Pipeline] sh [2023-05-04T15:49:44.732Z] + set +x [2023-05-04T15:49:44.732Z] + curl -s https://codecov.io/bash [2023-05-04T15:49:44.732Z] + bash -s -- [2023-05-04T15:49:44.732Z] [2023-05-04T15:49:44.732Z] _____ _ [2023-05-04T15:49:44.732Z] / ____| | | [2023-05-04T15:49:44.732Z] | | ___ __| | ___ ___ _____ __ [2023-05-04T15:49:44.732Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-04T15:49:44.732Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-04T15:49:44.732Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-04T15:49:44.732Z] Bash-1.0.6 [2023-05-04T15:49:44.732Z] [2023-05-04T15:49:44.732Z] [2023-05-04T15:49:44.732Z] ==> git version 2.25.1 found [2023-05-04T15:49:44.732Z] ==> 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 [2023-05-04T15:49:44.732Z] Release-Date: 2020-01-08 [2023-05-04T15:49:44.732Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-04T15:49:44.732Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-04T15:49:44.732Z] ==> Jenkins CI detected. [2023-05-04T15:49:44.732Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-340 [2023-05-04T15:49:44.732Z] project root: . [2023-05-04T15:49:44.732Z] --> token set from env [2023-05-04T15:49:44.732Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-04T15:49:44.991Z] ==> Running gcov in . (disable via -X gcov) [2023-05-04T15:49:44.991Z] ==> Python coveragepy not found [2023-05-04T15:49:44.991Z] ==> Searching for coverage reports in: [2023-05-04T15:49:44.991Z] + . [2023-05-04T15:49:44.991Z] -> Found 1 reports [2023-05-04T15:49:44.991Z] ==> Detecting git/mercurial file structure [2023-05-04T15:49:44.991Z] ==> Reading reports [2023-05-04T15:49:44.991Z] + ./coverage.out bytes=79184 [2023-05-04T15:49:44.991Z] ==> Appending adjustments [2023-05-04T15:49:44.991Z] https://docs.codecov.io/docs/fixing-reports [2023-05-04T15:49:44.991Z] + Found adjustments [2023-05-04T15:49:44.991Z] ==> Gzipping contents [2023-05-04T15:49:44.991Z] 12K /tmp/codecov.GBNM88.gz [2023-05-04T15:49:44.991Z] ==> Uploading reports [2023-05-04T15:49:44.991Z] url: https://codecov.io [2023-05-04T15:49:44.991Z] query: branch=PR-340&commit=467121e1c593ac0d1605e1c54c7548aa19ab4329&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-05-04T15:49:45.250Z] -> Pinging Codecov [2023-05-04T15:49:45.250Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-340&commit=467121e1c593ac0d1605e1c54c7548aa19ab4329&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-340%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=340&job=&cmd_args= [2023-05-04T15:49:45.250Z] -> Uploading to [2023-05-04T15:49:45.250Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-04/F29A59C45E3A92E06B3E522C9905F8EF/467121e1c593ac0d1605e1c54c7548aa19ab4329/ff19984e-f0e5-4636-8215-8b963165a6a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T154945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a490c626240c6489240dba39ca303f88de1a35c815570ce2f32e894fcaa78702 [2023-05-04T15:49:45.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-04T15:49:45.250Z] Dload Upload Total Spent Left Speed [2023-05-04T15:49:45.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10844 0 0 100 10844 0 34425 --:--:-- --:--:-- --:--:-- 34316 [2023-05-04T15:49:45.770Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/467121e1c593ac0d1605e1c54c7548aa19ab4329 [Pipeline] } [2023-05-04T15:49:45.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 [2023-05-04T15:49:47.607Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-340/archives ] [2023-05-04T15:49:47.607Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-340/archives [2023-05-04T15:49:47.607Z] total 16 [2023-05-04T15:49:47.607Z] drwxr-xr-x 3 root root 4096 May 4 15:41 . [2023-05-04T15:49:47.607Z] drwxrwxr-x 11 jenkins jenkins 4096 May 4 15:41 .. [2023-05-04T15:49:47.607Z] drwxr-xr-x 2 root root 4096 May 4 15:41 cost [2023-05-04T15:49:47.607Z] -rw-r--r-- 1 root root 92 May 4 15:41 cost.csv [2023-05-04T15:49:47.607Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-340/archives [2023-05-04T15:49:47.607Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-340/archives [2023-05-04T15:49:47.607Z] total 16 [2023-05-04T15:49:47.607Z] drwxr-xr-x 3 jenkins jenkins 4096 May 4 15:41 . [2023-05-04T15:49:47.607Z] drwxrwxr-x 11 jenkins jenkins 4096 May 4 15:41 .. [2023-05-04T15:49:47.607Z] drwxr-xr-x 2 jenkins jenkins 4096 May 4 15:41 cost [2023-05-04T15:49:47.607Z] -rw-r--r-- 1 jenkins jenkins 92 May 4 15:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:48.029Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:48.911Z] ---> package-listing.sh [2023-05-04T15:49:48.911Z] ++ facter osfamily [2023-05-04T15:49:48.911Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-04T15:49:49.172Z] + OS_FAMILY=debian [2023-05-04T15:49:49.172Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-340 [2023-05-04T15:49:49.172Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-04T15:49:49.172Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-04T15:49:49.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-04T15:49:49.172Z] + PACKAGES=/tmp/packages_start.txt [2023-05-04T15:49:49.172Z] + '[' /w/workspace/undry_device-onvif-camera_PR-340 ']' [2023-05-04T15:49:49.172Z] + PACKAGES=/tmp/packages_end.txt [2023-05-04T15:49:49.172Z] + case "${OS_FAMILY}" in [2023-05-04T15:49:49.172Z] + dpkg -l [2023-05-04T15:49:49.172Z] + grep '^ii' [2023-05-04T15:49:49.172Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-04T15:49:49.172Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-04T15:49:49.172Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-04T15:49:49.172Z] + '[' /w/workspace/undry_device-onvif-camera_PR-340 ']' [2023-05-04T15:49:49.172Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-340/archives/ [2023-05-04T15:49:49.172Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-340/archives/ [Pipeline] echo [2023-05-04T15:49:49.207Z] 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/undry_device-onvif-camera_PR-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-04T15:49:49.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-04T15:49:50.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-04T15:49:50.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-04T15:49:50.265Z] prd-ubuntu20.04-docker-8c-8g-13303 does not seem to be running inside a container [2023-05-04T15:49:50.290Z] $ 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/undry_device-onvif-camera_PR-340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-340 -v /w/workspace/undry_device-onvif-camera_PR-340:/w/workspace/undry_device-onvif-camera_PR-340:rw,z -v /w/workspace/undry_device-onvif-camera_PR-340@tmp:/w/workspace/undry_device-onvif-camera_PR-340@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-04T15:49:50.489Z] $ docker top 4366a4871cda37d1eaab2f441a91bd6716377555929c57c4d2ac2abd9bdc2ebd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-04T15:49:50.882Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-04T15:49:51.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-04T15:49:51.502Z] + ls /var/log/sa-host [2023-05-04T15:49:51.502Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-04T15:49:51.709Z] provisioning config files... [2023-05-04T15:49:51.717Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-340@tmp/config14416997940651514580tmp [Pipeline] { [Pipeline] echo [2023-05-04T15:49:51.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:52.077Z] ---> create-netrc.sh [Pipeline] } [2023-05-04T15:49:52.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:52.501Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-04T15:49:52.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:52.842Z] ---> sudo-logs.sh [2023-05-04T15:49:52.842Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-04T15:49:52.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:53.253Z] ---> job-cost.sh [2023-05-04T15:49:53.253Z] lf-activate-venv: SKIPPING [2023-05-04T15:49:53.253Z] DEBUG: total: 0.2199999988079071 [2023-05-04T15:49:53.253Z] INFO: Retrieving Stack Cost... [2023-05-04T15:49:53.512Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-04T15:49:53.773Z] INFO: Archiving Costs [Pipeline] echo [2023-05-04T15:49:53.806Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-04T15:49:54.118Z] ---> logs-deploy.sh [2023-05-04T15:49:54.118Z] lf-activate-venv: SKIPPING [2023-05-04T15:49:54.118Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-340/1 [2023-05-04T15:49:54.118Z] INFO: archiving workspace using pattern(s): [2023-05-04T15:49:55.056Z] Archives upload complete. [2023-05-04T15:49:55.056Z] INFO: archiving logs to Nexus