Pull request #410 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 main at 52e219e200aa3f0791b8f147aa403b803b9db216 rather than b3a3a00d12b59546bca9ed47fee346a363d92b33 Obtained Jenkinsfile from 52e219e200aa3f0791b8f147aa403b803b9db216 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-ssh14606983725915722020.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh16323338107135721695.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15797335461989947965.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9492991568616440140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh2292134778132040359.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11619113999735276176.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-18121’ Running on prd-ubuntu20.04-docker-8c-8g-18123 in /w/workspace/undry_device-onvif-camera_PR-410 [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-410 # 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 > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit b3a3a00d12b59546bca9ed47fee346a363d92b33 Merge succeeded, producing b3a3a00d12b59546bca9ed47fee346a363d92b33 Checking out Revision b3a3a00d12b59546bca9ed47fee346a363d92b33 (PR-410) > git config core.sparsecheckout # timeout=10 > git checkout -f b3a3a00d12b59546bca9ed47fee346a363d92b33 # 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 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3a3a00d12b59546bca9ed47fee346a363d92b33 # timeout=10 Commit message: "docs: updated swagger version and postman envs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T17:29:55.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T17:29:55.423Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T17:29:55.532Z] ========================================================= [2023-11-15T17:29:55.532Z] EdgeX Global Pipelines Version Info [2023-11-15T17:29:55.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:29:56.683Z] ------------------- [2023-11-15T17:29:56.683Z] stable info: [2023-11-15T17:29:56.683Z] ------------------- [2023-11-15T17:29:56.683Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T17:29:56.683Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T17:29:56.683Z] Message: update stable to v1.0.257 [2023-11-15T17:29:56.947Z] ------------------- [2023-11-15T17:29:56.947Z] experimental info: [2023-11-15T17:29:56.947Z] ------------------- [2023-11-15T17:29:56.947Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T17:29:56.947Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T17:29:56.947Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T17:29:57.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-15T17:29:57.331Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-15T17:29:57.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T17:29:57.414Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T17:29:57.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T17:29:57.488Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T17:29:57.536Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T17:29:57.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T17:29:57.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T17:29:57.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T17:29:57.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T17:29:57.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-15T17:29:57.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T17:29:57.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T17:29:57.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T17:29:57.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T17:29:57.913Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T17:29:57.956Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T17:29:57.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T17:29:58.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T17:29:58.082Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-15T17:29:58.125Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-15T17:29:58.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T17:29:58.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T17:29:58.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T17:29:58.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T17:29:58.342Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T17:29:58.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo [2023-11-15T17:29:58.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo [2023-11-15T17:29:58.460Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo [2023-11-15T17:29:58.502Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3a3a00d12b59546bca9ed47fee346a363d92b33 [Pipeline] echo [2023-11-15T17:29:58.546Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3a3a00 [Pipeline] echo [2023-11-15T17:29:58.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T17:29:58.702Z] provisioning config files... [2023-11-15T17:29:58.716Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-410@tmp/config9295576914768380584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:29:59.056Z] ---> docker-login.sh [2023-11-15T17:29:59.056Z] nexus3.edgexfoundry.org:10001 [2023-11-15T17:29:59.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:29:59.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:29:59.577Z] Configure a credential helper to remove this warning. See [2023-11-15T17:29:59.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:29:59.577Z] [2023-11-15T17:29:59.577Z] Login Succeeded [2023-11-15T17:29:59.577Z] nexus3.edgexfoundry.org:10002 [2023-11-15T17:29:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:29:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:29:59.837Z] Configure a credential helper to remove this warning. See [2023-11-15T17:29:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:29:59.837Z] [2023-11-15T17:29:59.837Z] Login Succeeded [2023-11-15T17:29:59.837Z] nexus3.edgexfoundry.org:10003 [2023-11-15T17:29:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:29:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:29:59.837Z] Configure a credential helper to remove this warning. See [2023-11-15T17:29:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:29:59.837Z] [2023-11-15T17:29:59.837Z] Login Succeeded [2023-11-15T17:29:59.837Z] nexus3.edgexfoundry.org:10004 [2023-11-15T17:29:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:00.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:00.098Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:00.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:00.098Z] [2023-11-15T17:30:00.098Z] Login Succeeded [2023-11-15T17:30:00.098Z] docker.io [2023-11-15T17:30:00.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:00.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:00.359Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:00.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:00.359Z] [2023-11-15T17:30:00.359Z] Login Succeeded [2023-11-15T17:30:00.359Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T17:30:00.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T17:30:01.071Z] + git rev-list -1 --merges b3a3a00d12b59546bca9ed47fee346a363d92b33~1..b3a3a00d12b59546bca9ed47fee346a363d92b33 [Pipeline] echo [2023-11-15T17:30:01.136Z] -----------> git rev-list -1 --merges b3a3a00d12b59546bca9ed47fee346a363d92b33~1..b3a3a00d12b59546bca9ed47fee346a363d92b33 b3a3a00d12b59546bca9ed47fee346a363d92b33 [false] [Pipeline] sh [2023-11-15T17:30:01.444Z] + git log --format=format:%s -1 b3a3a00d12b59546bca9ed47fee346a363d92b33 [Pipeline] echo [2023-11-15T17:30:01.480Z] ========================================================= [2023-11-15T17:30:01.480Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T17:30:01.480Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T17:30:01.925Z] + git log --format=format:%s -1 b3a3a00d12b59546bca9ed47fee346a363d92b33 [Pipeline] echo [2023-11-15T17:30:01.958Z] [semverPrep] GIT_COMMIT: b3a3a00d12b59546bca9ed47fee346a363d92b33, Commit Message: docs: updated swagger version and postman envs [Pipeline] echo [2023-11-15T17:30:01.990Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T17:30:02.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T17:30:02.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T17:30:02.403Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T17:30:02.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T17:30:02.403Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T17:30:02.403Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T17:30:02.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:30:02.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T17:30:02.881Z] [2023-11-15T17:30:02.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:30:03.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T17:30:03.525Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T17:30:03.525Z] b85a868b505f: Pulling fs layer [2023-11-15T17:30:03.525Z] e2be974225ed: Pulling fs layer [2023-11-15T17:30:03.525Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T17:30:03.525Z] 988bab9f4d93: Pulling fs layer [2023-11-15T17:30:03.525Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T17:30:03.525Z] eaf3925da568: Pulling fs layer [2023-11-15T17:30:03.525Z] bab4dde63d76: Pulling fs layer [2023-11-15T17:30:03.525Z] bde34c3a00c8: Pulling fs layer [2023-11-15T17:30:03.525Z] b352a97aabf1: Pulling fs layer [2023-11-15T17:30:03.525Z] 4872d77fe225: Pulling fs layer [2023-11-15T17:30:03.525Z] 5851b861e8e6: Pulling fs layer [2023-11-15T17:30:03.525Z] 988bab9f4d93: Waiting [2023-11-15T17:30:03.525Z] b352a97aabf1: Waiting [2023-11-15T17:30:03.525Z] bab4dde63d76: Waiting [2023-11-15T17:30:03.525Z] bde34c3a00c8: Waiting [2023-11-15T17:30:03.525Z] 4872d77fe225: Waiting [2023-11-15T17:30:03.525Z] eaf3925da568: Waiting [2023-11-15T17:30:03.525Z] 1469e6f7b9e6: Waiting [2023-11-15T17:30:03.525Z] 5851b861e8e6: Waiting [2023-11-15T17:30:03.525Z] e2be974225ed: Download complete [2023-11-15T17:30:03.525Z] 988bab9f4d93: Verifying Checksum [2023-11-15T17:30:03.525Z] 988bab9f4d93: Download complete [2023-11-15T17:30:03.525Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T17:30:03.525Z] 339a4e72a1f5: Download complete [2023-11-15T17:30:03.525Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T17:30:03.525Z] 1469e6f7b9e6: Download complete [2023-11-15T17:30:03.525Z] eaf3925da568: Verifying Checksum [2023-11-15T17:30:03.525Z] eaf3925da568: Download complete [2023-11-15T17:30:03.525Z] bde34c3a00c8: Download complete [2023-11-15T17:30:03.525Z] b352a97aabf1: Download complete [2023-11-15T17:30:03.525Z] 4872d77fe225: Verifying Checksum [2023-11-15T17:30:03.525Z] 4872d77fe225: Download complete [2023-11-15T17:30:03.525Z] 5851b861e8e6: Verifying Checksum [2023-11-15T17:30:03.525Z] 5851b861e8e6: Download complete [2023-11-15T17:30:03.786Z] b85a868b505f: Verifying Checksum [2023-11-15T17:30:03.786Z] b85a868b505f: Download complete [2023-11-15T17:30:04.047Z] bab4dde63d76: Verifying Checksum [2023-11-15T17:30:04.047Z] bab4dde63d76: Download complete [2023-11-15T17:30:04.990Z] b85a868b505f: Pull complete [2023-11-15T17:30:04.990Z] e2be974225ed: Pull complete [2023-11-15T17:30:05.560Z] 339a4e72a1f5: Pull complete [2023-11-15T17:30:05.819Z] 988bab9f4d93: Pull complete [2023-11-15T17:30:06.077Z] 1469e6f7b9e6: Pull complete [2023-11-15T17:30:06.077Z] eaf3925da568: Pull complete [2023-11-15T17:30:07.984Z] bab4dde63d76: Pull complete [2023-11-15T17:30:07.984Z] bde34c3a00c8: Pull complete [2023-11-15T17:30:07.984Z] b352a97aabf1: Pull complete [2023-11-15T17:30:07.984Z] 4872d77fe225: Pull complete [2023-11-15T17:30:08.243Z] 5851b861e8e6: Pull complete [2023-11-15T17:30:08.243Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T17:30:08.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T17:30:08.243Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:30:08.481Z] prd-ubuntu20.04-docker-8c-8g-18123 does not seem to be running inside a container [2023-11-15T17:30:08.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-410 -v /w/workspace/undry_device-onvif-camera_PR-410:/w/workspace/undry_device-onvif-camera_PR-410:rw,z -v /w/workspace/undry_device-onvif-camera_PR-410@tmp:/w/workspace/undry_device-onvif-camera_PR-410@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T17:30:14.696Z] $ docker top 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 -eo pid,comm [2023-11-15T17:30:14.772Z] 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-11-15T17:30:14.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T17:30:14.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T17:30:14.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T17:30:15.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T17:30:15.023Z] $ docker exec 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 ssh-agent [2023-11-15T17:30:15.152Z] SSH_AUTH_SOCK=/tmp/ssh-SC8FVEUMTiCm/agent.33 [2023-11-15T17:30:15.152Z] SSH_AGENT_PID=39 [2023-11-15T17:30:15.160Z] Running ssh-add (command line suppressed) [2023-11-15T17:30:15.279Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-410@tmp/private_key_18008245685211402127.key (/w/workspace/undry_device-onvif-camera_PR-410@tmp/private_key_18008245685211402127.key) [2023-11-15T17:30:15.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T17:30:15.630Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T17:30:15.657Z] $ docker exec --env ******** --env ******** 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 ssh-agent -k [2023-11-15T17:30:15.757Z] unset SSH_AUTH_SOCK; [2023-11-15T17:30:15.757Z] unset SSH_AGENT_PID; [2023-11-15T17:30:15.757Z] echo Agent pid 39 killed; [2023-11-15T17:30:15.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T17:30:15.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T17:30:15.849Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T17:30:15.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T17:30:15.968Z] $ docker exec 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 ssh-agent [2023-11-15T17:30:16.069Z] SSH_AUTH_SOCK=/tmp/ssh-6jNmZH88ml5P/agent.71 [2023-11-15T17:30:16.069Z] SSH_AGENT_PID=77 [2023-11-15T17:30:16.074Z] Running ssh-add (command line suppressed) [2023-11-15T17:30:16.167Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-410@tmp/private_key_16746893531930544201.key (/w/workspace/undry_device-onvif-camera_PR-410@tmp/private_key_16746893531930544201.key) [2023-11-15T17:30:16.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T17:30:16.517Z] + git semver init [2023-11-15T17:30:16.778Z] 2023-11-15 17:30:16,730 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T17:30:16.778Z] 2023-11-15 17:30:16,732 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-410/.semver [2023-11-15T17:30:16.778Z] 2023-11-15 17:30:16,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-410/.semver [2023-11-15T17:30:16.778Z] 2023-11-15 17:30:16,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-410/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-410, universal_newlines=False, shell=None, istream=None) [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,016 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-410/.git/info/exclude [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-410/.semver/PR-410 with force:False [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,017 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-410/.semver/PR-410 [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,021 [execute] INFO git cat-file --batch-check [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,027 [execute] INFO git cat-file --batch [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T17:30:18.215Z] 2023-11-15 17:30:18,033 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-410/.semver/PR-410 [2023-11-15T17:30:18.215Z] 0.0.0 [Pipeline] } [2023-11-15T17:30:18.242Z] $ docker exec --env ******** --env ******** 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 ssh-agent -k [2023-11-15T17:30:18.355Z] unset SSH_AUTH_SOCK; [2023-11-15T17:30:18.355Z] unset SSH_AGENT_PID; [2023-11-15T17:30:18.356Z] echo Agent pid 77 killed; [2023-11-15T17:30:18.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T17:30:18.791Z] + git semver [Pipeline] } [2023-11-15T17:30:19.386Z] $ docker stop --time=1 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 [2023-11-15T17:30:20.774Z] $ docker rm -f --volumes 82f0a97668032360aeab820ab34b81008c4ec430794c5ba736e2a70043011422 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T17:30:21.192Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T17:30:21.483Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T17:30:21.509Z] [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-11-15T17:30:22.136Z] provisioning config files... [2023-11-15T17:30:22.146Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-410@tmp/config2289602620926209732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:30:22.502Z] ---> docker-login.sh [2023-11-15T17:30:22.502Z] nexus3.edgexfoundry.org:10001 [2023-11-15T17:30:22.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:22.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:22.502Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:22.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:22.502Z] [2023-11-15T17:30:22.502Z] Login Succeeded [2023-11-15T17:30:22.502Z] nexus3.edgexfoundry.org:10002 [2023-11-15T17:30:22.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:22.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:22.502Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:22.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:22.502Z] [2023-11-15T17:30:22.502Z] Login Succeeded [2023-11-15T17:30:22.502Z] nexus3.edgexfoundry.org:10003 [2023-11-15T17:30:22.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:22.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:22.767Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:22.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:22.767Z] [2023-11-15T17:30:22.767Z] Login Succeeded [2023-11-15T17:30:22.767Z] nexus3.edgexfoundry.org:10004 [2023-11-15T17:30:22.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:22.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:22.767Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:22.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:22.767Z] [2023-11-15T17:30:22.767Z] Login Succeeded [2023-11-15T17:30:22.767Z] docker.io [2023-11-15T17:30:23.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:30:23.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:30:23.290Z] Configure a credential helper to remove this warning. See [2023-11-15T17:30:23.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:30:23.290Z] [2023-11-15T17:30:23.290Z] Login Succeeded [2023-11-15T17:30:23.290Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T17:30:23.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T17:30:23.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:30:23.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:30:23.607Z] ========================================================= [2023-11-15T17:30:23.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-15T17:30:23.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:30:24.066Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T17:30:24.066Z] Sending build context to Docker daemon 21.8MB [2023-11-15T17:30:24.066Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:30:24.066Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T17:30:24.325Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-15T17:30:24.325Z] 7264a8db6415: Pulling fs layer [2023-11-15T17:30:24.325Z] c4d48a809fc2: Pulling fs layer [2023-11-15T17:30:24.325Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T17:30:24.325Z] ad3a456e5733: Pulling fs layer [2023-11-15T17:30:24.325Z] 69c7f0334f64: Pulling fs layer [2023-11-15T17:30:24.325Z] 1f1c1a5573a3: Pulling fs layer [2023-11-15T17:30:24.325Z] ce7588e14bc9: Pulling fs layer [2023-11-15T17:30:24.325Z] b5e4710f87ac: Pulling fs layer [2023-11-15T17:30:24.325Z] ad3a456e5733: Waiting [2023-11-15T17:30:24.325Z] 69c7f0334f64: Waiting [2023-11-15T17:30:24.325Z] b5e4710f87ac: Waiting [2023-11-15T17:30:24.325Z] ce7588e14bc9: Waiting [2023-11-15T17:30:24.325Z] 1f1c1a5573a3: Waiting [2023-11-15T17:30:24.325Z] c4d48a809fc2: Download complete [2023-11-15T17:30:24.325Z] ad3a456e5733: Verifying Checksum [2023-11-15T17:30:24.325Z] ad3a456e5733: Download complete [2023-11-15T17:30:24.325Z] 69c7f0334f64: Verifying Checksum [2023-11-15T17:30:24.325Z] 69c7f0334f64: Download complete [2023-11-15T17:30:24.325Z] 7264a8db6415: Verifying Checksum [2023-11-15T17:30:24.325Z] 7264a8db6415: Download complete [2023-11-15T17:30:24.325Z] 1f1c1a5573a3: Verifying Checksum [2023-11-15T17:30:24.325Z] 1f1c1a5573a3: Download complete [2023-11-15T17:30:24.585Z] 7264a8db6415: Pull complete [2023-11-15T17:30:24.585Z] b5e4710f87ac: Verifying Checksum [2023-11-15T17:30:24.585Z] b5e4710f87ac: Download complete [2023-11-15T17:30:24.585Z] c4d48a809fc2: Pull complete [2023-11-15T17:30:24.845Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T17:30:24.845Z] 4f1c88b9dad5: Download complete [2023-11-15T17:30:25.108Z] ce7588e14bc9: Verifying Checksum [2023-11-15T17:30:25.108Z] ce7588e14bc9: Download complete [2023-11-15T17:30:28.399Z] 4f1c88b9dad5: Pull complete [2023-11-15T17:30:28.399Z] ad3a456e5733: Pull complete [2023-11-15T17:30:28.399Z] 69c7f0334f64: Pull complete [2023-11-15T17:30:28.399Z] 1f1c1a5573a3: Pull complete [2023-11-15T17:30:30.928Z] ce7588e14bc9: Pull complete [2023-11-15T17:30:31.188Z] b5e4710f87ac: Pull complete [2023-11-15T17:30:31.188Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-15T17:30:31.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-15T17:30:31.188Z] ---> 88b5674ff536 [2023-11-15T17:30:31.188Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:30:36.940Z] Still waiting to schedule task [2023-11-15T17:30:36.941Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18122’ [2023-11-15T17:30:41.166Z] ---> Running in 30754258e86e [2023-11-15T17:30:41.166Z] Removing intermediate container 30754258e86e [2023-11-15T17:30:41.166Z] ---> 545fc0a7db7a [2023-11-15T17:30:41.166Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:30:41.166Z] ---> Running in 9fa8ef94d6b6 [2023-11-15T17:30:41.166Z] Removing intermediate container 9fa8ef94d6b6 [2023-11-15T17:30:41.166Z] ---> 8b2f94ae057e [2023-11-15T17:30:41.166Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:30:41.166Z] ---> Running in 0cd23f6eb0b0 [2023-11-15T17:30:41.166Z] Removing intermediate container 0cd23f6eb0b0 [2023-11-15T17:30:41.166Z] ---> a29f7c07768d [2023-11-15T17:30:41.166Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:30:41.166Z] ---> Running in be2a7335bb4f [2023-11-15T17:30:41.166Z] Removing intermediate container be2a7335bb4f [2023-11-15T17:30:41.166Z] ---> a209be325e58 [2023-11-15T17:30:41.166Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:30:41.166Z] ---> Running in 7c7a3f100a15 [2023-11-15T17:30:41.166Z] Removing intermediate container 7c7a3f100a15 [2023-11-15T17:30:41.166Z] ---> 08634e281e6d [2023-11-15T17:30:41.166Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:30:41.166Z] ---> Running in 3b9d37e73daf [2023-11-15T17:30:41.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:30:41.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:30:41.166Z] OK: 264 MiB in 52 packages [2023-11-15T17:30:41.743Z] Removing intermediate container 3b9d37e73daf [2023-11-15T17:30:41.743Z] ---> d9b23f7555ea [2023-11-15T17:30:41.743Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T17:30:41.743Z] ---> Running in e5833c9ac397 [2023-11-15T17:30:41.743Z] Removing intermediate container e5833c9ac397 [2023-11-15T17:30:41.743Z] ---> 80cf98d32004 [2023-11-15T17:30:41.743Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T17:30:42.001Z] ---> d0ef704c2794 [2023-11-15T17:30:42.002Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:30:42.002Z] ---> Running in d4018e96a5f2 [2023-11-15T17:31:38.246Z] Removing intermediate container d4018e96a5f2 [2023-11-15T17:31:38.246Z] ---> 182ffd170876 [2023-11-15T17:31:38.246Z] Step 12/13 : COPY . . [2023-11-15T17:31:38.246Z] ---> 70216ad59439 [2023-11-15T17:31:38.246Z] Step 13/13 : RUN ${MAKE} [2023-11-15T17:31:38.246Z] ---> Running in 86d7c13773fa [2023-11-15T17:31:38.246Z] noop [2023-11-15T17:31:38.246Z] Removing intermediate container 86d7c13773fa [2023-11-15T17:31:38.246Z] ---> 64829ce24c4b [2023-11-15T17:31:38.246Z] Successfully built 64829ce24c4b [2023-11-15T17:31:38.246Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:31:38.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T17:31:38.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:31:38.838Z] prd-ubuntu20.04-docker-8c-8g-18123 does not seem to be running inside a container [2023-11-15T17:31:38.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-410 -v /w/workspace/undry_device-onvif-camera_PR-410:/w/workspace/undry_device-onvif-camera_PR-410:rw,z -v /w/workspace/undry_device-onvif-camera_PR-410@tmp:/w/workspace/undry_device-onvif-camera_PR-410@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-x86_64 cat [2023-11-15T17:31:39.211Z] $ docker top 383a4c7446c04d7ad0fa21edfee086bff4ad1dcb57a89c4897e3a96da8c7e78a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:31:39.597Z] + go version [2023-11-15T17:31:39.597Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T17:31:39.633Z] $ docker stop --time=1 383a4c7446c04d7ad0fa21edfee086bff4ad1dcb57a89c4897e3a96da8c7e78a [2023-11-15T17:31:40.890Z] $ docker rm -f --volumes 383a4c7446c04d7ad0fa21edfee086bff4ad1dcb57a89c4897e3a96da8c7e78a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:31:41.616Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T17:31:41.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:31:41.759Z] prd-ubuntu20.04-docker-8c-8g-18123 does not seem to be running inside a container [2023-11-15T17:31:41.793Z] $ 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-410 -v /w/workspace/undry_device-onvif-camera_PR-410:/w/workspace/undry_device-onvif-camera_PR-410:rw,z -v /w/workspace/undry_device-onvif-camera_PR-410@tmp:/w/workspace/undry_device-onvif-camera_PR-410@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-x86_64 cat [2023-11-15T17:31:42.140Z] $ docker top 1e9b3b2172c07065adaebcb241f80f8a7290fdc6d2e498accf970e6514c1deda -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:31:42.530Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-410 [Pipeline] fileExists [Pipeline] sh [2023-11-15T17:31:42.894Z] + make test [2023-11-15T17:31:42.894Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T17:31:44.799Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T17:31:54.762Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T17:31:54.762Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T17:31:57.312Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.5% of statements [2023-11-15T17:31:57.312Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.148s coverage: 86.5% of statements [2023-11-15T17:32:03.865Z] go vet ./... [2023-11-15T17:32:07.146Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T17:32:07.146Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T17:32:07.146Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T17:32:07.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T17:32:07.235Z] $ docker stop --time=1 1e9b3b2172c07065adaebcb241f80f8a7290fdc6d2e498accf970e6514c1deda [2023-11-15T17:32:12.012Z] $ docker rm -f --volumes 1e9b3b2172c07065adaebcb241f80f8a7290fdc6d2e498accf970e6514c1deda [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T17:32:12.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T17:32:12.646Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T17:32:13.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T17:32:13.667Z] + ls -al . [2023-11-15T17:32:13.667Z] total 240 [2023-11-15T17:32:13.667Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 17:31 . [2023-11-15T17:32:13.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:29 .. [2023-11-15T17:32:13.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:31 .git [2023-11-15T17:32:13.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:29 .github [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 17:29 .gitignore [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 17:29 .golangci.yml [2023-11-15T17:32:13.667Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 17:30 .semver [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 17:29 Attribution.txt [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 17:29 CHANGELOG.md [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 17:29 Dockerfile [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 17:29 GOVERNANCE.md [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 17:29 Jenkinsfile [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 17:29 LICENSE [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 17:29 Makefile [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 17:29 OWNERS.md [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 17:29 README.md [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 17:30 VERSION [2023-11-15T17:32:13.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 17:29 bin [2023-11-15T17:32:13.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:29 cmd [2023-11-15T17:32:13.667Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 17:31 coverage.out [2023-11-15T17:32:13.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:29 doc [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 17:29 go.mod [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 17:29 go.sum [2023-11-15T17:32:13.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:29 internal [2023-11-15T17:32:13.667Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:32:14.064Z] + 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=b3a3a00d12b59546bca9ed47fee346a363d92b33 --label arch=amd64 --label version=0.0.0 . [2023-11-15T17:32:14.064Z] Sending build context to Docker daemon 21.87MB [2023-11-15T17:32:14.064Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:32:14.064Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T17:32:14.064Z] ---> 64829ce24c4b [2023-11-15T17:32:14.064Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:32:15.006Z] ---> Running in 9be22994cde4 [2023-11-15T17:32:15.006Z] Removing intermediate container 9be22994cde4 [2023-11-15T17:32:15.006Z] ---> ecdac161a15a [2023-11-15T17:32:15.006Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:32:15.006Z] ---> Running in 5c17e5aeaee5 [2023-11-15T17:32:15.006Z] Removing intermediate container 5c17e5aeaee5 [2023-11-15T17:32:15.006Z] ---> 552e19c0cb80 [2023-11-15T17:32:15.006Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:32:15.006Z] ---> Running in 8dad39fa9aa1 [2023-11-15T17:32:15.006Z] Removing intermediate container 8dad39fa9aa1 [2023-11-15T17:32:15.006Z] ---> 804c14794c40 [2023-11-15T17:32:15.006Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:32:15.006Z] ---> Running in a33e6e774623 [2023-11-15T17:32:15.264Z] Removing intermediate container a33e6e774623 [2023-11-15T17:32:15.264Z] ---> 9219dc98b219 [2023-11-15T17:32:15.264Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:32:15.264Z] ---> Running in 26227a11f621 [2023-11-15T17:32:15.264Z] Removing intermediate container 26227a11f621 [2023-11-15T17:32:15.264Z] ---> a50038da59f9 [2023-11-15T17:32:15.265Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:32:15.265Z] ---> Running in 0e0c136d1fc7 [2023-11-15T17:32:15.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:15.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:16.044Z] OK: 264 MiB in 52 packages [2023-11-15T17:32:16.301Z] Removing intermediate container 0e0c136d1fc7 [2023-11-15T17:32:16.301Z] ---> a10b544b32f0 [2023-11-15T17:32:16.301Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T17:32:16.301Z] ---> Running in b90647c27ed2 [2023-11-15T17:32:16.558Z] Removing intermediate container b90647c27ed2 [2023-11-15T17:32:16.559Z] ---> f16d5cf19584 [2023-11-15T17:32:16.559Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T17:32:16.559Z] ---> d3960f53b27c [2023-11-15T17:32:16.559Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:32:16.559Z] ---> Running in b744ee625335 [2023-11-15T17:32:17.494Z] Removing intermediate container b744ee625335 [2023-11-15T17:32:17.494Z] ---> 396a880013cb [2023-11-15T17:32:17.494Z] Step 12/27 : COPY . . [2023-11-15T17:32:18.574Z] ---> 517c63c1ee33 [2023-11-15T17:32:18.574Z] Step 13/27 : RUN ${MAKE} [2023-11-15T17:32:18.574Z] ---> Running in 84be295124a9 [2023-11-15T17:32:18.833Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-15T17:32:40.789Z] Removing intermediate container 84be295124a9 [2023-11-15T17:32:40.789Z] ---> 8ba0c21adb93 [2023-11-15T17:32:40.789Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T17:32:40.789Z] 3.18: Pulling from library/alpine [2023-11-15T17:32:40.789Z] 96526aa774ef: Pulling fs layer [2023-11-15T17:32:40.789Z] 96526aa774ef: Verifying Checksum [2023-11-15T17:32:40.789Z] 96526aa774ef: Download complete [2023-11-15T17:32:40.789Z] 96526aa774ef: Pull complete [2023-11-15T17:32:40.789Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T17:32:40.789Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T17:32:40.789Z] ---> 8ca4688f4f35 [2023-11-15T17:32:40.789Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T17:32:40.789Z] ---> Running in 26d153dd7a07 [2023-11-15T17:32:41.049Z] Removing intermediate container 26d153dd7a07 [2023-11-15T17:32:41.049Z] ---> ff2d5371f136 [2023-11-15T17:32:41.049Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T17:32:41.049Z] ---> Running in 604d9bbdea24 [2023-11-15T17:32:41.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:41.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:41.876Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T17:32:41.876Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T17:32:41.876Z] OK: 7 MiB in 16 packages [2023-11-15T17:32:42.137Z] Removing intermediate container 604d9bbdea24 [2023-11-15T17:32:42.137Z] ---> 0c60fed320f5 [2023-11-15T17:32:42.137Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T17:32:42.137Z] ---> Running in 521671252ab9 [2023-11-15T17:32:42.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:42.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:32:42.657Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:32:42.657Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:32:42.657Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T17:32:42.657Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:32:42.657Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:32:42.657Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:32:42.658Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:32:42.658Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:32:42.658Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T17:32:42.658Z] OK: 7 MiB in 16 packages [2023-11-15T17:32:43.226Z] Removing intermediate container 521671252ab9 [2023-11-15T17:32:43.226Z] ---> 25c16fdae4b6 [2023-11-15T17:32:43.226Z] Step 18/27 : WORKDIR / [2023-11-15T17:32:43.226Z] ---> Running in 24470c62d034 [2023-11-15T17:32:43.484Z] Removing intermediate container 24470c62d034 [2023-11-15T17:32:43.484Z] ---> 7725364afa43 [2023-11-15T17:32:43.484Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T17:32:44.052Z] ---> fe6c85470bcc [2023-11-15T17:32:44.052Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T17:32:44.311Z] ---> 10ca2a08d7c9 [2023-11-15T17:32:44.311Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T17:32:44.311Z] ---> e192d36264f5 [2023-11-15T17:32:44.311Z] Step 22/27 : EXPOSE 59984 [2023-11-15T17:32:44.311Z] ---> Running in 283e8b65b02b [2023-11-15T17:32:44.569Z] Removing intermediate container 283e8b65b02b [2023-11-15T17:32:44.569Z] ---> a1e17c11fddd [2023-11-15T17:32:44.569Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T17:32:44.569Z] ---> Running in 345be6d5744f [2023-11-15T17:32:44.569Z] Removing intermediate container 345be6d5744f [2023-11-15T17:32:44.569Z] ---> 3ab5247672e3 [2023-11-15T17:32:44.569Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T17:32:44.569Z] ---> Running in e2489fccae92 [2023-11-15T17:32:44.569Z] Removing intermediate container e2489fccae92 [2023-11-15T17:32:44.569Z] ---> 268c60233a34 [2023-11-15T17:32:44.569Z] Step 25/27 : LABEL arch=amd64 [2023-11-15T17:32:44.569Z] ---> Running in 13fd30c050ca [2023-11-15T17:32:44.827Z] Removing intermediate container 13fd30c050ca [2023-11-15T17:32:44.827Z] ---> 0e6a128d13ac [2023-11-15T17:32:44.827Z] Step 26/27 : LABEL git_sha=b3a3a00d12b59546bca9ed47fee346a363d92b33 [2023-11-15T17:32:44.827Z] ---> Running in 1da084acd2a2 [2023-11-15T17:32:44.827Z] Removing intermediate container 1da084acd2a2 [2023-11-15T17:32:44.827Z] ---> a0004134a490 [2023-11-15T17:32:44.827Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T17:32:44.827Z] ---> Running in 89d446904209 [2023-11-15T17:32:44.827Z] Removing intermediate container 89d446904209 [2023-11-15T17:32:44.827Z] ---> c8f09f8bf148 [2023-11-15T17:32:44.827Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T17:32:44.827Z] Successfully built c8f09f8bf148 [2023-11-15T17:32:44.827Z] 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-11-15T17:32:45.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:32:45.676Z] [2023-11-15T17:32:45.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:32:46.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:32:46.056Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T17:32:46.056Z] 5eb5b503b376: Pulling fs layer [2023-11-15T17:32:46.056Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T17:32:46.056Z] ec43610c2a17: Pulling fs layer [2023-11-15T17:32:46.056Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T17:32:46.056Z] 33b1e0a273af: Pulling fs layer [2023-11-15T17:32:46.056Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T17:32:46.056Z] 2f39f015ded8: Pulling fs layer [2023-11-15T17:32:46.056Z] 3a2ae6a8a46f: Waiting [2023-11-15T17:32:46.056Z] 33b1e0a273af: Waiting [2023-11-15T17:32:46.056Z] 5d3b04190fa2: Waiting [2023-11-15T17:32:46.056Z] 2f39f015ded8: Waiting [2023-11-15T17:32:46.056Z] 5c69ac0246d0: Verifying Checksum [2023-11-15T17:32:46.056Z] 5c69ac0246d0: Download complete [2023-11-15T17:32:46.056Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T17:32:46.056Z] 3a2ae6a8a46f: Download complete [2023-11-15T17:32:46.056Z] 33b1e0a273af: Verifying Checksum [2023-11-15T17:32:46.056Z] 33b1e0a273af: Download complete [2023-11-15T17:32:46.056Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T17:32:46.056Z] 5d3b04190fa2: Download complete [2023-11-15T17:32:46.056Z] ec43610c2a17: Verifying Checksum [2023-11-15T17:32:46.056Z] ec43610c2a17: Download complete [2023-11-15T17:32:46.316Z] 5eb5b503b376: Download complete [2023-11-15T17:32:46.885Z] 2f39f015ded8: Download complete [2023-11-15T17:32:48.280Z] 5eb5b503b376: Pull complete [2023-11-15T17:32:48.280Z] 5c69ac0246d0: Pull complete [2023-11-15T17:32:48.539Z] ec43610c2a17: Pull complete [2023-11-15T17:32:48.539Z] 3a2ae6a8a46f: Pull complete [2023-11-15T17:32:48.799Z] 33b1e0a273af: Pull complete [2023-11-15T17:32:48.799Z] 5d3b04190fa2: Pull complete [2023-11-15T17:32:52.981Z] 2f39f015ded8: Pull complete [2023-11-15T17:32:52.981Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T17:32:52.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:32:52.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:32:53.185Z] prd-ubuntu20.04-docker-8c-8g-18123 does not seem to be running inside a container [2023-11-15T17:32:53.223Z] $ 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-410 -v /w/workspace/undry_device-onvif-camera_PR-410:/w/workspace/undry_device-onvif-camera_PR-410:rw,z -v /w/workspace/undry_device-onvif-camera_PR-410@tmp:/w/workspace/undry_device-onvif-camera_PR-410@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:latest cat [2023-11-15T17:32:59.704Z] $ docker top 1c1b0562ee12f02dd8bf8c71f37c5e50e4135decc3e14a60eebb071ad23d84ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:33:00.131Z] ---> job-cost.sh [2023-11-15T17:33:00.131Z] lf-activate-venv: SKIPPING [2023-11-15T17:33:00.131Z] INFO: No Stack... [2023-11-15T17:33:00.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T17:33:00.651Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T17:33:00.967Z] + cat /w/workspace/undry_device-onvif-camera_PR-410/archives/cost.csv [2023-11-15T17:33:00.967Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T17:33:01.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [2023-11-15T17:33:01.018Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] did not exist. Created. [2023-11-15T17:33:01.018Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T17:33:01.406Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T17:33:01.455Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T17:33:01.485Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T17:33:01.562Z] $ docker stop --time=1 1c1b0562ee12f02dd8bf8c71f37c5e50e4135decc3e14a60eebb071ad23d84ab [2023-11-15T17:33:02.720Z] $ docker rm -f --volumes 1c1b0562ee12f02dd8bf8c71f37c5e50e4135decc3e14a60eebb071ad23d84ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T17:34:22.358Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18124 in /w/workspace/undry_device-onvif-camera_PR-410 [Pipeline] { [Pipeline] ws [2023-11-15T17:34:22.416Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-11-15T17:34:22.496Z] The recommended git tool is: git [2023-11-15T17:34:27.548Z] using credential edgex-jenkins-ssh [2023-11-15T17:34:27.567Z] Cloning the remote Git repository [2023-11-15T17:34:27.609Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:34:27.698Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-11-15T17:34:27.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:34:27.838Z] > git --version # timeout=10 [2023-11-15T17:34:27.859Z] > git --version # 'git version 2.25.1' [2023-11-15T17:34:27.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:34:28.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T17:34:31.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T17:34:31.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T17:34:32.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T17:34:32.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:34:32.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:34:32.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T17:34:32.722Z] Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit b3a3a00d12b59546bca9ed47fee346a363d92b33 [2023-11-15T17:34:33.081Z] Merge succeeded, producing b3a3a00d12b59546bca9ed47fee346a363d92b33 [2023-11-15T17:34:33.082Z] Checking out Revision b3a3a00d12b59546bca9ed47fee346a363d92b33 (PR-410) [2023-11-15T17:34:32.742Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T17:34:32.809Z] > git checkout -f b3a3a00d12b59546bca9ed47fee346a363d92b33 # timeout=10 [2023-11-15T17:34:32.986Z] > git remote # timeout=10 [2023-11-15T17:34:33.007Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T17:34:33.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:34:33.036Z] > git merge 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 [2023-11-15T17:34:33.062Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T17:34:33.089Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T17:34:33.106Z] > git checkout -f b3a3a00d12b59546bca9ed47fee346a363d92b33 # timeout=10 [2023-11-15T17:34:36.725Z] Commit message: "docs: updated swagger version and postman envs" [2023-11-15T17:34:36.769Z] > git --version # timeout=10 [2023-11-15T17:34:36.779Z] > git --version # 'git version 2.25.1' [2023-11-15T17:34:36.794Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T17:34:37.876Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T17:34:37.876Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T17:34:37.876Z] Dload Upload Total Spent Left Speed [2023-11-15T17:34:37.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89943 0 --:--:-- --:--:-- --:--:-- 89943 [Pipeline] sh [2023-11-15T17:34:38.506Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T17:34:38.847Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-11-15T17:34:38.847Z] /etc/docker/daemon.new [2023-11-15T17:34:38.847Z] { [2023-11-15T17:34:38.847Z] "registry-mirrors": [ [2023-11-15T17:34:38.847Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T17:34:38.847Z] ], [2023-11-15T17:34:38.847Z] "bip": "10.250.0.254/24", [2023-11-15T17:34:38.847Z] "hosts": [ [2023-11-15T17:34:38.847Z] "tcp://0.0.0.0:5555", [2023-11-15T17:34:38.847Z] "unix:///var/run/docker.sock" [2023-11-15T17:34:38.847Z] ], [2023-11-15T17:34:38.847Z] "mtu": 1458, [2023-11-15T17:34:38.847Z] "selinux-enabled": true, [2023-11-15T17:34:38.847Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T17:34:38.847Z] } [Pipeline] sh [2023-11-15T17:34:39.189Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T17:34:39.543Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T17:34:57.845Z] provisioning config files... [2023-11-15T17:34:57.881Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config576830228033866237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:34:58.264Z] ---> docker-login.sh [2023-11-15T17:34:58.264Z] nexus3.edgexfoundry.org:10001 [2023-11-15T17:34:58.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:34:58.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:34:58.805Z] Configure a credential helper to remove this warning. See [2023-11-15T17:34:58.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:34:58.805Z] [2023-11-15T17:34:58.805Z] Login Succeeded [2023-11-15T17:34:58.805Z] nexus3.edgexfoundry.org:10002 [2023-11-15T17:34:59.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:34:59.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:34:59.082Z] Configure a credential helper to remove this warning. See [2023-11-15T17:34:59.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:34:59.082Z] [2023-11-15T17:34:59.082Z] Login Succeeded [2023-11-15T17:34:59.082Z] nexus3.edgexfoundry.org:10003 [2023-11-15T17:34:59.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:34:59.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:34:59.621Z] Configure a credential helper to remove this warning. See [2023-11-15T17:34:59.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:34:59.621Z] [2023-11-15T17:34:59.621Z] Login Succeeded [2023-11-15T17:34:59.621Z] nexus3.edgexfoundry.org:10004 [2023-11-15T17:34:59.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:34:59.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:34:59.892Z] Configure a credential helper to remove this warning. See [2023-11-15T17:34:59.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:34:59.892Z] [2023-11-15T17:34:59.892Z] Login Succeeded [2023-11-15T17:34:59.892Z] docker.io [2023-11-15T17:35:00.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:35:00.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:35:00.427Z] Configure a credential helper to remove this warning. See [2023-11-15T17:35:00.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:35:00.427Z] [2023-11-15T17:35:00.427Z] Login Succeeded [2023-11-15T17:35:00.427Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T17:35:00.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T17:35:00.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:35:00.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:35:00.887Z] ========================================================= [2023-11-15T17:35:00.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-15T17:35:00.887Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:35:01.386Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T17:35:01.978Z] Sending build context to Docker daemon 14.3MB [2023-11-15T17:35:01.978Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:35:01.978Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T17:35:01.978Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T17:35:01.978Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T17:35:01.978Z] 5d54e960e981: Pulling fs layer [2023-11-15T17:35:01.978Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T17:35:01.978Z] f0e02332f6b5: Pulling fs layer [2023-11-15T17:35:01.978Z] 872ee5b61b7b: Pulling fs layer [2023-11-15T17:35:01.978Z] f0e02332f6b5: Waiting [2023-11-15T17:35:01.978Z] 0c6a40ed1a82: Pulling fs layer [2023-11-15T17:35:01.978Z] 94ae7d8d031c: Pulling fs layer [2023-11-15T17:35:01.978Z] 872ee5b61b7b: Waiting [2023-11-15T17:35:01.978Z] 0c6a40ed1a82: Waiting [2023-11-15T17:35:01.978Z] 94ae7d8d031c: Waiting [2023-11-15T17:35:01.978Z] 5d54e960e981: Download complete [2023-11-15T17:35:02.246Z] f0e02332f6b5: Verifying Checksum [2023-11-15T17:35:02.246Z] f0e02332f6b5: Download complete [2023-11-15T17:35:02.246Z] 872ee5b61b7b: Verifying Checksum [2023-11-15T17:35:02.246Z] 872ee5b61b7b: Download complete [2023-11-15T17:35:02.246Z] 9fda8d8052c6: Download complete [2023-11-15T17:35:02.839Z] 94ae7d8d031c: Verifying Checksum [2023-11-15T17:35:02.839Z] 94ae7d8d031c: Download complete [2023-11-15T17:35:03.112Z] 9fda8d8052c6: Pull complete [2023-11-15T17:35:03.698Z] 5d54e960e981: Pull complete [2023-11-15T17:35:03.969Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T17:35:03.969Z] c4a7e357bf2a: Download complete [2023-11-15T17:35:04.949Z] 0c6a40ed1a82: Verifying Checksum [2023-11-15T17:35:04.949Z] 0c6a40ed1a82: Download complete [2023-11-15T17:35:17.263Z] c4a7e357bf2a: Pull complete [2023-11-15T17:35:17.263Z] f0e02332f6b5: Pull complete [2023-11-15T17:35:17.263Z] 872ee5b61b7b: Pull complete [2023-11-15T17:35:23.901Z] 0c6a40ed1a82: Pull complete [2023-11-15T17:35:29.254Z] 94ae7d8d031c: Pull complete [2023-11-15T17:35:29.254Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-15T17:35:29.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-15T17:35:29.254Z] ---> 86de565de09d [2023-11-15T17:35:29.254Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:35:30.653Z] ---> Running in d0312285e632 [2023-11-15T17:35:30.918Z] Removing intermediate container d0312285e632 [2023-11-15T17:35:30.918Z] ---> ac19e8e40589 [2023-11-15T17:35:30.918Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:35:31.182Z] ---> Running in 699d0f55250d [2023-11-15T17:35:31.449Z] Removing intermediate container 699d0f55250d [2023-11-15T17:35:31.449Z] ---> 7b7baac8f46c [2023-11-15T17:35:31.449Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:35:31.449Z] ---> Running in 1e5a65affc90 [2023-11-15T17:35:31.717Z] Removing intermediate container 1e5a65affc90 [2023-11-15T17:35:31.717Z] ---> 838b84d17e0f [2023-11-15T17:35:31.717Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:35:31.717Z] ---> Running in aba7703d499f [2023-11-15T17:35:31.983Z] Removing intermediate container aba7703d499f [2023-11-15T17:35:31.983Z] ---> 2a2ab38deb01 [2023-11-15T17:35:31.983Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:35:32.249Z] ---> Running in 73b8184550ad [2023-11-15T17:35:32.515Z] Removing intermediate container 73b8184550ad [2023-11-15T17:35:32.515Z] ---> 80a63dc5e481 [2023-11-15T17:35:32.515Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:35:32.515Z] ---> Running in f81c9c93f672 [2023-11-15T17:35:33.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:35:33.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:35:34.880Z] OK: 266 MiB in 52 packages [2023-11-15T17:35:35.840Z] Removing intermediate container f81c9c93f672 [2023-11-15T17:35:35.840Z] ---> deb67f4dd40e [2023-11-15T17:35:35.840Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T17:35:35.840Z] ---> Running in eeaa609551e4 [2023-11-15T17:35:36.107Z] Removing intermediate container eeaa609551e4 [2023-11-15T17:35:36.107Z] ---> a8e4190c511a [2023-11-15T17:35:36.107Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T17:35:36.694Z] ---> ec26c1c80b55 [2023-11-15T17:35:36.694Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:35:36.694Z] ---> Running in 7c36b3cf7f2e [2023-11-15T17:36:58.345Z] Removing intermediate container 7c36b3cf7f2e [2023-11-15T17:36:58.345Z] ---> f0ef0ddf7065 [2023-11-15T17:36:58.345Z] Step 12/13 : COPY . . [2023-11-15T17:36:58.345Z] ---> b50a2dd115f8 [2023-11-15T17:36:58.345Z] Step 13/13 : RUN ${MAKE} [2023-11-15T17:36:58.345Z] ---> Running in 2ee0e4ab5d7f [2023-11-15T17:36:58.345Z] noop [2023-11-15T17:36:58.345Z] Removing intermediate container 2ee0e4ab5d7f [2023-11-15T17:36:58.345Z] ---> e1682d0cdbff [2023-11-15T17:36:58.345Z] Successfully built e1682d0cdbff [2023-11-15T17:36:58.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:36:58.834Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T17:36:58.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:36:59.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container [2023-11-15T17:36:59.171Z] $ 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-11-15T17:37:00.347Z] $ docker top a36ff9ec6d8f70eb6f240ef264118298d345525329e2bae75e8c2e823847f93f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:37:01.225Z] + go version [2023-11-15T17:37:01.225Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T17:37:01.256Z] $ docker stop --time=1 a36ff9ec6d8f70eb6f240ef264118298d345525329e2bae75e8c2e823847f93f [2023-11-15T17:37:02.866Z] $ docker rm -f --volumes a36ff9ec6d8f70eb6f240ef264118298d345525329e2bae75e8c2e823847f93f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:37:03.732Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T17:37:03.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:37:03.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container [2023-11-15T17:37:04.044Z] $ 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-11-15T17:37:05.215Z] $ docker top 86f3f7168f93d473936d1926b1d0b805f7c6e761a1f6566d512b06808b04eff7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:37:06.100Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-11-15T17:37:06.816Z] + make test [2023-11-15T17:37:06.816Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T17:37:15.031Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T17:38:51.659Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T17:38:51.659Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T17:38:51.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.184s coverage: 31.5% of statements [2023-11-15T17:39:13.754Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.034s coverage: 86.5% of statements [2023-11-15T17:39:13.754Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T17:39:13.754Z] go vet ./... [2023-11-15T17:39:35.812Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T17:39:35.812Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T17:39:35.812Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T17:39:35.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T17:39:35.905Z] $ docker stop --time=1 86f3f7168f93d473936d1926b1d0b805f7c6e761a1f6566d512b06808b04eff7 [2023-11-15T17:39:37.697Z] $ docker rm -f --volumes 86f3f7168f93d473936d1926b1d0b805f7c6e761a1f6566d512b06808b04eff7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T17:39:38.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T17:39:39.005Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T17:39:39.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T17:39:40.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T17:39:40.558Z] + ls -al . [2023-11-15T17:39:40.558Z] total 236 [2023-11-15T17:39:40.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:37 . [2023-11-15T17:39:40.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:34 .. [2023-11-15T17:39:40.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:34 .git [2023-11-15T17:39:40.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:34 .github [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 17:34 .gitignore [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 17:34 .golangci.yml [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 17:34 Attribution.txt [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 17:34 CHANGELOG.md [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 17:34 Dockerfile [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 17:34 GOVERNANCE.md [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 17:34 Jenkinsfile [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 17:34 LICENSE [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 17:34 Makefile [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 17:34 OWNERS.md [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 17:34 README.md [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 17:30 VERSION [2023-11-15T17:39:40.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 17:34 bin [2023-11-15T17:39:40.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:34 cmd [2023-11-15T17:39:40.558Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 17:39 coverage.out [2023-11-15T17:39:40.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:34 doc [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 17:34 go.mod [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 17:34 go.sum [2023-11-15T17:39:40.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:34 internal [2023-11-15T17:39:40.558Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:39:40.981Z] + 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=b3a3a00d12b59546bca9ed47fee346a363d92b33 --label arch=arm64 --label version=0.0.0 . [2023-11-15T17:39:41.572Z] Sending build context to Docker daemon 14.38MB [2023-11-15T17:39:41.572Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:39:41.572Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T17:39:41.572Z] ---> e1682d0cdbff [2023-11-15T17:39:41.572Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:39:41.572Z] ---> Running in 18ca4dac74b6 [2023-11-15T17:39:41.843Z] Removing intermediate container 18ca4dac74b6 [2023-11-15T17:39:41.843Z] ---> 29996783488f [2023-11-15T17:39:41.843Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:39:42.108Z] ---> Running in 281e48e34261 [2023-11-15T17:39:42.373Z] Removing intermediate container 281e48e34261 [2023-11-15T17:39:42.373Z] ---> 8d1430810a23 [2023-11-15T17:39:42.373Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:39:42.373Z] ---> Running in f4581b5b7670 [2023-11-15T17:39:42.638Z] Removing intermediate container f4581b5b7670 [2023-11-15T17:39:42.638Z] ---> 8cb13ade040c [2023-11-15T17:39:42.638Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:39:42.638Z] ---> Running in e5f5687078b5 [2023-11-15T17:39:42.904Z] Removing intermediate container e5f5687078b5 [2023-11-15T17:39:42.904Z] ---> b4f01478eb83 [2023-11-15T17:39:42.904Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:39:43.169Z] ---> Running in a24577e51f28 [2023-11-15T17:39:43.436Z] Removing intermediate container a24577e51f28 [2023-11-15T17:39:43.436Z] ---> 3bc19ac48d21 [2023-11-15T17:39:43.436Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:39:43.436Z] ---> Running in 4d813530fc3c [2023-11-15T17:39:44.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:39:44.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:39:46.068Z] OK: 266 MiB in 52 packages [2023-11-15T17:39:48.642Z] Removing intermediate container 4d813530fc3c [2023-11-15T17:39:48.642Z] ---> 7c2701d04dd4 [2023-11-15T17:39:48.642Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T17:39:48.642Z] ---> Running in 2e360a509e4f [2023-11-15T17:39:48.642Z] Removing intermediate container 2e360a509e4f [2023-11-15T17:39:48.642Z] ---> 2f0768dea283 [2023-11-15T17:39:48.642Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T17:39:49.227Z] ---> fad42547fd17 [2023-11-15T17:39:49.227Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:39:49.227Z] ---> Running in 812af1023a38 [2023-11-15T17:39:51.812Z] Removing intermediate container 812af1023a38 [2023-11-15T17:39:51.812Z] ---> a3ef5ceb31f0 [2023-11-15T17:39:51.812Z] Step 12/27 : COPY . . [2023-11-15T17:39:53.224Z] ---> 35c47c95f852 [2023-11-15T17:39:53.224Z] Step 13/27 : RUN ${MAKE} [2023-11-15T17:39:53.224Z] ---> Running in a423d5d87016 [2023-11-15T17:39:53.806Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-15T17:41:45.463Z] Removing intermediate container a423d5d87016 [2023-11-15T17:41:45.463Z] ---> c0fb41e36b2b [2023-11-15T17:41:45.463Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T17:41:45.463Z] 3.18: Pulling from library/alpine [2023-11-15T17:41:45.463Z] 579b34f0a95b: Pulling fs layer [2023-11-15T17:41:45.463Z] 579b34f0a95b: Verifying Checksum [2023-11-15T17:41:45.463Z] 579b34f0a95b: Download complete [2023-11-15T17:41:45.463Z] 579b34f0a95b: Pull complete [2023-11-15T17:41:45.463Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T17:41:45.463Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T17:41:45.463Z] ---> 3cc203321400 [2023-11-15T17:41:45.463Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T17:41:45.463Z] ---> Running in ed80d1c4574d [2023-11-15T17:41:45.463Z] Removing intermediate container ed80d1c4574d [2023-11-15T17:41:45.463Z] ---> 785c9e79415f [2023-11-15T17:41:45.463Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T17:41:45.463Z] ---> Running in aa7d85f63ddd [2023-11-15T17:41:46.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:41:46.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:41:47.645Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T17:41:47.645Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T17:41:47.645Z] OK: 8 MiB in 16 packages [2023-11-15T17:41:48.607Z] Removing intermediate container aa7d85f63ddd [2023-11-15T17:41:48.607Z] ---> b3d10ff4b9d4 [2023-11-15T17:41:48.607Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T17:41:48.607Z] ---> Running in 8f264978a172 [2023-11-15T17:41:49.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:41:49.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:41:50.784Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:41:50.784Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:41:50.784Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T17:41:50.784Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:41:50.784Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:41:51.049Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:41:51.049Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:41:51.049Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:41:51.049Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T17:41:51.049Z] OK: 8 MiB in 16 packages [2023-11-15T17:41:52.005Z] Removing intermediate container 8f264978a172 [2023-11-15T17:41:52.005Z] ---> b17ad8bf3919 [2023-11-15T17:41:52.005Z] Step 18/27 : WORKDIR / [2023-11-15T17:41:52.005Z] ---> Running in 361aec66730a [2023-11-15T17:41:52.270Z] Removing intermediate container 361aec66730a [2023-11-15T17:41:52.270Z] ---> 0867b0e4c493 [2023-11-15T17:41:52.270Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T17:41:53.673Z] ---> 72a1919f370c [2023-11-15T17:41:53.673Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T17:41:54.254Z] ---> 5e44b881366d [2023-11-15T17:41:54.254Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T17:41:57.587Z] ---> 3420876f202b [2023-11-15T17:41:57.587Z] Step 22/27 : EXPOSE 59984 [2023-11-15T17:41:57.587Z] ---> Running in 72c110a1c821 [2023-11-15T17:41:57.853Z] Removing intermediate container 72c110a1c821 [2023-11-15T17:41:57.853Z] ---> d3272333a5b5 [2023-11-15T17:41:57.853Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T17:41:58.120Z] ---> Running in 04d8fac2a358 [2023-11-15T17:41:58.386Z] Removing intermediate container 04d8fac2a358 [2023-11-15T17:41:58.386Z] ---> ae644475ca89 [2023-11-15T17:41:58.386Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T17:41:58.386Z] ---> Running in b4eb1be61296 [2023-11-15T17:41:58.652Z] Removing intermediate container b4eb1be61296 [2023-11-15T17:41:58.652Z] ---> afd47caf14c8 [2023-11-15T17:41:58.652Z] Step 25/27 : LABEL arch=arm64 [2023-11-15T17:41:58.652Z] ---> Running in 548816f7781b [2023-11-15T17:41:58.919Z] Removing intermediate container 548816f7781b [2023-11-15T17:41:58.919Z] ---> c39f5fce2e2c [2023-11-15T17:41:58.919Z] Step 26/27 : LABEL git_sha=b3a3a00d12b59546bca9ed47fee346a363d92b33 [2023-11-15T17:41:59.189Z] ---> Running in 470437618fcc [2023-11-15T17:41:59.461Z] Removing intermediate container 470437618fcc [2023-11-15T17:41:59.461Z] ---> 01ee9289ddee [2023-11-15T17:41:59.461Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T17:41:59.461Z] ---> Running in 5e46b3dab6a6 [2023-11-15T17:41:59.727Z] Removing intermediate container 5e46b3dab6a6 [2023-11-15T17:41:59.727Z] ---> 485bede3f3b9 [2023-11-15T17:41:59.727Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T17:41:59.727Z] Successfully built 485bede3f3b9 [2023-11-15T17:41:59.727Z] 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-11-15T17:42:00.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:42:00.542Z] [2023-11-15T17:42:00.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:42:00.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:42:00.961Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T17:42:00.961Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T17:42:00.961Z] 04944245beec: Pulling fs layer [2023-11-15T17:42:00.961Z] 699f458cf7ca: Pulling fs layer [2023-11-15T17:42:00.961Z] 765212b225bb: Pulling fs layer [2023-11-15T17:42:00.961Z] f23df028b6ca: Pulling fs layer [2023-11-15T17:42:00.961Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T17:42:00.961Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T17:42:00.961Z] 765212b225bb: Waiting [2023-11-15T17:42:00.961Z] f23df028b6ca: Waiting [2023-11-15T17:42:00.961Z] d65c8cfc05b1: Waiting [2023-11-15T17:42:00.961Z] 2437ff75d9bd: Waiting [2023-11-15T17:42:01.228Z] 04944245beec: Verifying Checksum [2023-11-15T17:42:01.228Z] 04944245beec: Download complete [2023-11-15T17:42:01.228Z] 765212b225bb: Verifying Checksum [2023-11-15T17:42:01.228Z] 765212b225bb: Download complete [2023-11-15T17:42:01.228Z] f23df028b6ca: Verifying Checksum [2023-11-15T17:42:01.228Z] f23df028b6ca: Download complete [2023-11-15T17:42:01.228Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T17:42:01.228Z] d65c8cfc05b1: Download complete [2023-11-15T17:42:01.497Z] 699f458cf7ca: Verifying Checksum [2023-11-15T17:42:01.497Z] 699f458cf7ca: Download complete [2023-11-15T17:42:01.765Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T17:42:01.765Z] 8998bd30e6a1: Download complete [2023-11-15T17:42:04.345Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T17:42:04.345Z] 2437ff75d9bd: Download complete [2023-11-15T17:42:06.287Z] 8998bd30e6a1: Pull complete [2023-11-15T17:42:06.873Z] 04944245beec: Pull complete [2023-11-15T17:42:08.278Z] 699f458cf7ca: Pull complete [2023-11-15T17:42:08.545Z] 765212b225bb: Pull complete [2023-11-15T17:42:12.792Z] f23df028b6ca: Pull complete [2023-11-15T17:42:12.792Z] d65c8cfc05b1: Pull complete [2023-11-15T17:42:31.011Z] 2437ff75d9bd: Pull complete [2023-11-15T17:42:31.011Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T17:42:31.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:42:31.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:42:31.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-18124 does not seem to be running inside a container [2023-11-15T17:42:31.385Z] $ 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-11-15T17:42:32.905Z] $ docker top d547402c8d05a221c861d65f5d32657250a46b7840ac7146bbd1641b17d73eb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:33.791Z] ---> job-cost.sh [2023-11-15T17:42:33.791Z] lf-activate-venv: SKIPPING [2023-11-15T17:42:33.791Z] INFO: No Stack... [2023-11-15T17:42:34.369Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T17:42:34.945Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T17:42:35.280Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-11-15T17:42:35.280Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T17:42:35.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [2023-11-15T17:42:35.627Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] did not exist. Created. [2023-11-15T17:42:35.627Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T17:42:36.041Z] /w/workspace/device-onvif-camera/1@tmp/durable-7b34111a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T17:42:36.393Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T17:42:36.426Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T17:42:36.477Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T17:42:36.492Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T17:42:36.574Z] $ docker stop --time=1 d547402c8d05a221c861d65f5d32657250a46b7840ac7146bbd1641b17d73eb5 [2023-11-15T17:42:38.050Z] $ docker rm -f --volumes d547402c8d05a221c861d65f5d32657250a46b7840ac7146bbd1641b17d73eb5 [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-11-15T17:42:39.103Z] provisioning config files... [2023-11-15T17:42:39.110Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-410@tmp/config17613659183566680590tmp [Pipeline] { [Pipeline] sh [2023-11-15T17:42:39.449Z] + set +x [2023-11-15T17:42:39.449Z] + bash -s -- [2023-11-15T17:42:39.449Z] + curl -s https://codecov.io/bash [2023-11-15T17:42:39.449Z] [2023-11-15T17:42:39.449Z] _____ _ [2023-11-15T17:42:39.449Z] / ____| | | [2023-11-15T17:42:39.449Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T17:42:39.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T17:42:39.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T17:42:39.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T17:42:39.449Z] Bash-1.0.6 [2023-11-15T17:42:39.449Z] [2023-11-15T17:42:39.449Z] [2023-11-15T17:42:39.449Z] ==> git version 2.25.1 found [2023-11-15T17:42:39.449Z] ==> 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-11-15T17:42:39.449Z] Release-Date: 2020-01-08 [2023-11-15T17:42:39.449Z] 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-11-15T17:42:39.449Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T17:42:39.449Z] ==> Jenkins CI detected. [2023-11-15T17:42:39.449Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-410 [2023-11-15T17:42:39.449Z] project root: . [2023-11-15T17:42:39.449Z] --> token set from env [2023-11-15T17:42:39.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-15T17:42:39.449Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T17:42:39.711Z] ==> Python coveragepy not found [2023-11-15T17:42:39.711Z] ==> Searching for coverage reports in: [2023-11-15T17:42:39.711Z] + . [2023-11-15T17:42:39.711Z] -> Found 1 reports [2023-11-15T17:42:39.711Z] ==> Detecting git/mercurial file structure [2023-11-15T17:42:39.711Z] ==> Reading reports [2023-11-15T17:42:39.711Z] + ./coverage.out bytes=78456 [2023-11-15T17:42:39.711Z] ==> Appending adjustments [2023-11-15T17:42:39.711Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T17:42:39.711Z] + Found adjustments [2023-11-15T17:42:39.711Z] ==> Gzipping contents [2023-11-15T17:42:39.711Z] 12K /tmp/codecov.ZM8VYj.gz [2023-11-15T17:42:39.711Z] ==> Uploading reports [2023-11-15T17:42:39.711Z] url: https://codecov.io [2023-11-15T17:42:39.711Z] query: branch=PR-410&commit=b3a3a00d12b59546bca9ed47fee346a363d92b33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=410&job=&cmd_args= [2023-11-15T17:42:39.711Z] -> Pinging Codecov [2023-11-15T17:42:39.711Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-410&commit=b3a3a00d12b59546bca9ed47fee346a363d92b33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-410%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=410&job=&cmd_args= [2023-11-15T17:42:39.971Z] -> Uploading to [2023-11-15T17:42:39.971Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F29A59C45E3A92E06B3E522C9905F8EF/b3a3a00d12b59546bca9ed47fee346a363d92b33/6faccf0a-59ce-4e41-9cc2-34e726f181ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T174239Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=302c907ab251c21c6367d289810a58e1f66c0b12b27ca08be7b3ab8f54c46aee [2023-11-15T17:42:39.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T17:42:39.971Z] Dload Upload Total Spent Left Speed [2023-11-15T17:42:40.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 41846 --:--:-- --:--:-- --:--:-- 42016 [2023-11-15T17:42:40.231Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b3a3a00d12b59546bca9ed47fee346a363d92b33 [Pipeline] } [2023-11-15T17:42:40.258Z] 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-11-15T17:42:42.122Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-410/archives ] [2023-11-15T17:42:42.122Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-410/archives [2023-11-15T17:42:42.122Z] total 16 [2023-11-15T17:42:42.122Z] drwxr-xr-x 3 root root 4096 Nov 15 17:33 . [2023-11-15T17:42:42.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 17:33 .. [2023-11-15T17:42:42.122Z] drwxr-xr-x 2 root root 4096 Nov 15 17:33 cost [2023-11-15T17:42:42.122Z] -rw-r--r-- 1 root root 91 Nov 15 17:33 cost.csv [2023-11-15T17:42:42.122Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-410/archives [2023-11-15T17:42:42.122Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-410/archives [2023-11-15T17:42:42.122Z] total 16 [2023-11-15T17:42:42.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 17:33 . [2023-11-15T17:42:42.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 17:33 .. [2023-11-15T17:42:42.122Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 17:33 cost [2023-11-15T17:42:42.122Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 15 17:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:42.444Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:43.330Z] ---> package-listing.sh [2023-11-15T17:42:43.330Z] ++ facter osfamily [2023-11-15T17:42:43.330Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T17:42:43.588Z] + OS_FAMILY=debian [2023-11-15T17:42:43.588Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-410 [2023-11-15T17:42:43.588Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T17:42:43.588Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T17:42:43.588Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T17:42:43.588Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T17:42:43.588Z] + '[' /w/workspace/undry_device-onvif-camera_PR-410 ']' [2023-11-15T17:42:43.588Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T17:42:43.588Z] + case "${OS_FAMILY}" in [2023-11-15T17:42:43.588Z] + dpkg -l [2023-11-15T17:42:43.588Z] + grep '^ii' [2023-11-15T17:42:43.588Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T17:42:43.588Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T17:42:43.588Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T17:42:43.848Z] + '[' /w/workspace/undry_device-onvif-camera_PR-410 ']' [2023-11-15T17:42:43.848Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-410/archives/ [2023-11-15T17:42:43.848Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-410/archives/ [Pipeline] echo [2023-11-15T17:42:43.894Z] 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T17:42:44.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:42:44.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:42:44.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:42:44.938Z] prd-ubuntu20.04-docker-8c-8g-18123 does not seem to be running inside a container [2023-11-15T17:42:44.974Z] $ 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-410/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-410 -v /w/workspace/undry_device-onvif-camera_PR-410:/w/workspace/undry_device-onvif-camera_PR-410:rw,z -v /w/workspace/undry_device-onvif-camera_PR-410@tmp:/w/workspace/undry_device-onvif-camera_PR-410@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-11-15T17:42:46.231Z] $ docker top f780b4fe794b9cb85e716c84d11e419d432e5b852717655189ee2d5d45d7baa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:42:46.620Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T17:42:46.933Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T17:42:47.240Z] + ls /var/log/sa-host [2023-11-15T17:42:47.241Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T17:42:47.378Z] provisioning config files... [2023-11-15T17:42:47.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-410@tmp/config2187904526154352938tmp [Pipeline] { [Pipeline] echo [2023-11-15T17:42:47.438Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:47.759Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T17:42:47.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:48.183Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T17:42:48.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:48.697Z] ---> sudo-logs.sh [2023-11-15T17:42:48.698Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T17:42:48.787Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:49.104Z] ---> job-cost.sh [2023-11-15T17:42:49.104Z] lf-activate-venv: SKIPPING [2023-11-15T17:42:49.104Z] DEBUG: total: 0.2199999988079071 [2023-11-15T17:42:49.104Z] INFO: Retrieving Stack Cost... [2023-11-15T17:42:49.673Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T17:42:49.933Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T17:42:49.968Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:42:50.284Z] ---> logs-deploy.sh [2023-11-15T17:42:50.284Z] lf-activate-venv: SKIPPING [2023-11-15T17:42:50.284Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-410/1 [2023-11-15T17:42:50.284Z] INFO: archiving workspace using pattern(s): [2023-11-15T17:42:51.222Z] Archives upload complete. [2023-11-15T17:42:51.222Z] INFO: archiving logs to Nexus