Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50147a6252236a89dc81b68900d55ccf46123f46 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-ssh2702610796978122803.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh8977003530945950042.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8374187852720156701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14439881353559437020.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16954860698846298351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-847 in /w/workspace/foundry_device-onvif-camera_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_napa # 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 Avoid second fetch Checking out Revision 50147a6252236a89dc81b68900d55ccf46123f46 (napa) Commit message: "Merge pull request #436 from cloudxxx8/bump-sdk-3.1.1" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50147a6252236a89dc81b68900d55ccf46123f46 # timeout=10 > git rev-list --no-walk 347bedc82416808981921f39711ea6e4405fc751 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T10:04:12.657Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T10:04:12.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T10:04:12.755Z] ========================================================= [2024-05-27T10:04:12.755Z] EdgeX Global Pipelines Version Info [2024-05-27T10:04:12.755Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:04:13.468Z] ------------------- [2024-05-27T10:04:13.468Z] stable info: [2024-05-27T10:04:13.468Z] ------------------- [2024-05-27T10:04:13.468Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T10:04:13.468Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T10:04:13.468Z] Message: update stable to v1.0.259 [2024-05-27T10:04:14.037Z] ------------------- [2024-05-27T10:04:14.037Z] experimental info: [2024-05-27T10:04:14.037Z] ------------------- [2024-05-27T10:04:14.037Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T10:04:14.037Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T10:04:14.037Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T10:04:14.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-05-27T10:04:14.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-05-27T10:04:14.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T10:04:14.227Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T10:04:14.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T10:04:14.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T10:04:14.293Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T10:04:14.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-27T10:04:14.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T10:04:14.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T10:04:14.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T10:04:14.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-05-27T10:04:14.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T10:04:14.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T10:04:14.478Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T10:04:14.502Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T10:04:14.588Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T10:04:14.609Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T10:04:14.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T10:04:14.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T10:04:14.662Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-27T10:04:14.684Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-05-27T10:04:14.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T10:04:14.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T10:04:14.748Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T10:04:14.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T10:04:14.794Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T10:04:14.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-27T10:04:14.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-27T10:04:14.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-27T10:04:14.881Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] echo [2024-05-27T10:04:14.904Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50147a6 [Pipeline] echo [2024-05-27T10:04:14.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T10:04:14.983Z] provisioning config files... [2024-05-27T10:04:14.996Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config3924138835107022638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:04:15.330Z] ---> ****-login.sh [2024-05-27T10:04:15.330Z] nexus3.edgexfoundry.org:10001 [2024-05-27T10:04:15.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:15.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:15.589Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:15.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:15.589Z] [2024-05-27T10:04:15.589Z] Login Succeeded [2024-05-27T10:04:15.589Z] nexus3.edgexfoundry.org:10002 [2024-05-27T10:04:15.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:15.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:15.589Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:15.589Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:15.589Z] [2024-05-27T10:04:15.589Z] Login Succeeded [2024-05-27T10:04:15.589Z] nexus3.edgexfoundry.org:10003 [2024-05-27T10:04:15.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:15.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:15.848Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:15.848Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:15.848Z] [2024-05-27T10:04:15.848Z] Login Succeeded [2024-05-27T10:04:15.848Z] nexus3.edgexfoundry.org:10004 [2024-05-27T10:04:15.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:15.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:15.848Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:15.848Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:15.848Z] [2024-05-27T10:04:15.848Z] Login Succeeded [2024-05-27T10:04:15.848Z] ****.io [2024-05-27T10:04:15.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:16.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:16.108Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:16.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:16.108Z] [2024-05-27T10:04:16.108Z] Login Succeeded [2024-05-27T10:04:16.108Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T10:04:16.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T10:04:16.527Z] + git rev-list -1 --merges 50147a6252236a89dc81b68900d55ccf46123f46~1..50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] echo [2024-05-27T10:04:16.553Z] -----------> git rev-list -1 --merges 50147a6252236a89dc81b68900d55ccf46123f46~1..50147a6252236a89dc81b68900d55ccf46123f46 50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:04:16.553Z] 50147a6252236a89dc81b68900d55ccf46123f46 [false] [Pipeline] sh [2024-05-27T10:04:16.848Z] + git log --format=format:%s -1 50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] echo [2024-05-27T10:04:16.862Z] ========================================================= [2024-05-27T10:04:16.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T10:04:16.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T10:04:17.198Z] + git log --format=format:%s -1 50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] echo [2024-05-27T10:04:17.209Z] [semverPrep] GIT_COMMIT: 50147a6252236a89dc81b68900d55ccf46123f46, Commit Message: Merge pull request #436 from cloudxxx8/bump-sdk-3.1.1 [Pipeline] echo [2024-05-27T10:04:17.223Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T10:04:17.640Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T10:04:17.640Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T10:04:17.640Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T10:04:17.640Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T10:04:17.640Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-27T10:04:17.640Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-27T10:04:17.640Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:04:18.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T10:04:18.059Z] [2024-05-27T10:04:18.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:04:18.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T10:04:18.360Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T10:04:18.360Z] b85a868b505f: Pulling fs layer [2024-05-27T10:04:18.360Z] e2be974225ed: Pulling fs layer [2024-05-27T10:04:18.360Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T10:04:18.360Z] 988bab9f4d93: Pulling fs layer [2024-05-27T10:04:18.360Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T10:04:18.360Z] eaf3925da568: Pulling fs layer [2024-05-27T10:04:18.360Z] bab4dde63d76: Pulling fs layer [2024-05-27T10:04:18.360Z] bde34c3a00c8: Pulling fs layer [2024-05-27T10:04:18.360Z] b352a97aabf1: Pulling fs layer [2024-05-27T10:04:18.360Z] 4872d77fe225: Pulling fs layer [2024-05-27T10:04:18.360Z] 5851b861e8e6: Pulling fs layer [2024-05-27T10:04:18.360Z] 988bab9f4d93: Waiting [2024-05-27T10:04:18.360Z] 1469e6f7b9e6: Waiting [2024-05-27T10:04:18.360Z] bde34c3a00c8: Waiting [2024-05-27T10:04:18.360Z] b352a97aabf1: Waiting [2024-05-27T10:04:18.360Z] 5851b861e8e6: Waiting [2024-05-27T10:04:18.360Z] eaf3925da568: Waiting [2024-05-27T10:04:18.360Z] 4872d77fe225: Waiting [2024-05-27T10:04:18.360Z] e2be974225ed: Verifying Checksum [2024-05-27T10:04:18.360Z] e2be974225ed: Download complete [2024-05-27T10:04:18.360Z] 988bab9f4d93: Verifying Checksum [2024-05-27T10:04:18.360Z] 988bab9f4d93: Download complete [2024-05-27T10:04:18.619Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T10:04:18.619Z] 1469e6f7b9e6: Download complete [2024-05-27T10:04:18.619Z] eaf3925da568: Verifying Checksum [2024-05-27T10:04:18.619Z] eaf3925da568: Download complete [2024-05-27T10:04:18.619Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T10:04:18.619Z] 339a4e72a1f5: Download complete [2024-05-27T10:04:18.619Z] bde34c3a00c8: Verifying Checksum [2024-05-27T10:04:18.619Z] bde34c3a00c8: Download complete [2024-05-27T10:04:18.619Z] b352a97aabf1: Download complete [2024-05-27T10:04:18.619Z] 4872d77fe225: Verifying Checksum [2024-05-27T10:04:18.619Z] 4872d77fe225: Download complete [2024-05-27T10:04:18.619Z] 5851b861e8e6: Download complete [2024-05-27T10:04:18.619Z] b85a868b505f: Verifying Checksum [2024-05-27T10:04:18.619Z] b85a868b505f: Download complete [2024-05-27T10:04:18.882Z] bab4dde63d76: Verifying Checksum [2024-05-27T10:04:18.882Z] bab4dde63d76: Download complete [2024-05-27T10:04:19.818Z] b85a868b505f: Pull complete [2024-05-27T10:04:19.818Z] e2be974225ed: Pull complete [2024-05-27T10:04:20.386Z] 339a4e72a1f5: Pull complete [2024-05-27T10:04:20.386Z] 988bab9f4d93: Pull complete [2024-05-27T10:04:20.645Z] 1469e6f7b9e6: Pull complete [2024-05-27T10:04:20.645Z] eaf3925da568: Pull complete [2024-05-27T10:04:22.549Z] bab4dde63d76: Pull complete [2024-05-27T10:04:22.549Z] bde34c3a00c8: Pull complete [2024-05-27T10:04:22.549Z] b352a97aabf1: Pull complete [2024-05-27T10:04:22.549Z] 4872d77fe225: Pull complete [2024-05-27T10:04:22.549Z] 5851b861e8e6: Pull complete [2024-05-27T10:04:22.549Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T10:04:22.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T10:04:22.549Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:04:22.693Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:04:22.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-27T10:04:25.375Z] $ docker top d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c -eo pid,comm [2024-05-27T10:04:25.426Z] 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). [2024-05-27T10:04:25.426Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T10:04:25.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T10:04:25.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T10:04:25.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T10:04:25.588Z] $ docker exec d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c ssh-agent [2024-05-27T10:04:25.695Z] SSH_AUTH_SOCK=/tmp/ssh-L3mCgARRjo3t/agent.31 [2024-05-27T10:04:25.695Z] SSH_AGENT_PID=37 [2024-05-27T10:04:25.700Z] Running ssh-add (command line suppressed) [2024-05-27T10:04:25.790Z] Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_17095741738982822811.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_17095741738982822811.key) [2024-05-27T10:04:25.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T10:04:26.096Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T10:04:26.105Z] $ docker exec --env ******** --env ******** d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c ssh-agent -k [2024-05-27T10:04:26.207Z] unset SSH_AUTH_SOCK; [2024-05-27T10:04:26.208Z] unset SSH_AGENT_PID; [2024-05-27T10:04:26.208Z] echo Agent pid 37 killed; [2024-05-27T10:04:26.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T10:04:26.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T10:04:26.258Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T10:04:26.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T10:04:26.364Z] $ docker exec d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c ssh-agent [2024-05-27T10:04:26.473Z] SSH_AUTH_SOCK=/tmp/ssh-IH3FFGw00pRC/agent.72 [2024-05-27T10:04:26.473Z] SSH_AGENT_PID=78 [2024-05-27T10:04:26.478Z] Running ssh-add (command line suppressed) [2024-05-27T10:04:26.591Z] Identity added: /w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_240106047153134870.key (/w/workspace/foundry_device-onvif-camera_napa@tmp/private_key_240106047153134870.key) [2024-05-27T10:04:26.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T10:04:26.908Z] + git semver init [2024-05-27T10:04:27.167Z] 2024-05-27 10:04:27,083 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T10:04:27.167Z] 2024-05-27 10:04:27,084 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_napa/.semver [2024-05-27T10:04:27.167Z] 2024-05-27 10:04:27,084 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_napa/.semver [2024-05-27T10:04:27.167Z] 2024-05-27 10:04:27,084 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_napa/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_napa, universal_newlines=False, shell=None, istream=None) [2024-05-27T10:04:28.545Z] 2024-05-27 10:04:28,497 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_napa/.git/info/exclude [2024-05-27T10:04:28.545Z] 2024-05-27 10:04:28,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_napa/.semver/napa with force:False [2024-05-27T10:04:28.545Z] 2024-05-27 10:04:28,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa [2024-05-27T10:04:28.545Z] 2024-05-27 10:04:28,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_napa/.semver/napa [2024-05-27T10:04:28.545Z] 3.1.1-dev.1 [Pipeline] } [2024-05-27T10:04:28.552Z] $ docker exec --env ******** --env ******** d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c ssh-agent -k [2024-05-27T10:04:28.648Z] unset SSH_AUTH_SOCK; [2024-05-27T10:04:28.649Z] unset SSH_AGENT_PID; [2024-05-27T10:04:28.649Z] echo Agent pid 78 killed; [2024-05-27T10:04:28.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T10:04:28.984Z] + git semver [Pipeline] } [2024-05-27T10:04:29.254Z] $ docker stop --time=1 d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c [2024-05-27T10:04:30.545Z] $ docker rm -f --volumes d92983adb9e2311635f53c602595eda6dd484e6f33d3291c33bd0830b53bde1c [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T10:04:30.893Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T10:04:31.121Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T10:04:31.125Z] [edgeXSemver]: initialized semver on version 3.1.1-dev.1 [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 [2024-05-27T10:04:31.304Z] provisioning config files... [2024-05-27T10:04:31.314Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config9400127241969225218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:04:31.613Z] ---> ****-login.sh [2024-05-27T10:04:31.613Z] nexus3.edgexfoundry.org:10001 [2024-05-27T10:04:31.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:31.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:31.613Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:31.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:31.613Z] [2024-05-27T10:04:31.613Z] Login Succeeded [2024-05-27T10:04:31.613Z] nexus3.edgexfoundry.org:10002 [2024-05-27T10:04:31.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:31.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:31.613Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:31.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:31.613Z] [2024-05-27T10:04:31.613Z] Login Succeeded [2024-05-27T10:04:31.613Z] nexus3.edgexfoundry.org:10003 [2024-05-27T10:04:31.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:31.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:31.872Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:31.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:31.872Z] [2024-05-27T10:04:31.872Z] Login Succeeded [2024-05-27T10:04:31.872Z] nexus3.edgexfoundry.org:10004 [2024-05-27T10:04:31.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:31.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:31.872Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:31.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:31.872Z] [2024-05-27T10:04:31.872Z] Login Succeeded [2024-05-27T10:04:31.872Z] ****.io [2024-05-27T10:04:31.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:04:32.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:04:32.132Z] Configure a credential helper to remove this warning. See [2024-05-27T10:04:32.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:04:32.132Z] [2024-05-27T10:04:32.132Z] Login Succeeded [2024-05-27T10:04:32.132Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T10:04:32.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T10:04:32.299Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T10:04:32.602Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-27T10:04:32.602Z] + cut -d -f 2 [Pipeline] echo [2024-05-27T10:04:32.618Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T10:04:32.635Z] ========================================================= [2024-05-27T10:04:32.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-27T10:04:32.635Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:04:32.966Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T10:04:33.241Z] Sending build context to Docker daemon 66.6MB [2024-05-27T10:04:33.241Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T10:04:33.241Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-27T10:04:33.500Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-27T10:04:33.500Z] 619be1103602: Pulling fs layer [2024-05-27T10:04:33.500Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T10:04:33.500Z] 5df492c9dc93: Pulling fs layer [2024-05-27T10:04:33.500Z] 7629e6793208: Pulling fs layer [2024-05-27T10:04:33.500Z] 7629e6793208: Waiting [2024-05-27T10:04:33.500Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T10:04:33.500Z] 8de7f028bff5: Pulling fs layer [2024-05-27T10:04:33.500Z] 44042ff1420b: Pulling fs layer [2024-05-27T10:04:33.500Z] 5cdaf54b7214: Pulling fs layer [2024-05-27T10:04:33.500Z] 38f3e5a9071a: Pulling fs layer [2024-05-27T10:04:33.500Z] 4f4fb700ef54: Waiting [2024-05-27T10:04:33.500Z] 44042ff1420b: Waiting [2024-05-27T10:04:33.500Z] 5cdaf54b7214: Waiting [2024-05-27T10:04:33.500Z] 7862e08f4a3e: Download complete [2024-05-27T10:04:33.500Z] 7629e6793208: Verifying Checksum [2024-05-27T10:04:33.500Z] 7629e6793208: Download complete [2024-05-27T10:04:33.500Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T10:04:33.500Z] 4f4fb700ef54: Download complete [2024-05-27T10:04:33.500Z] 8de7f028bff5: Verifying Checksum [2024-05-27T10:04:33.500Z] 8de7f028bff5: Download complete [2024-05-27T10:04:33.500Z] 619be1103602: Verifying Checksum [2024-05-27T10:04:33.500Z] 619be1103602: Download complete [2024-05-27T10:04:33.500Z] 44042ff1420b: Verifying Checksum [2024-05-27T10:04:33.500Z] 44042ff1420b: Download complete [2024-05-27T10:04:33.759Z] 619be1103602: Pull complete [2024-05-27T10:04:33.759Z] 38f3e5a9071a: Download complete [2024-05-27T10:04:33.759Z] 7862e08f4a3e: Pull complete [2024-05-27T10:04:34.017Z] 5df492c9dc93: Verifying Checksum [2024-05-27T10:04:34.017Z] 5df492c9dc93: Download complete [2024-05-27T10:04:34.275Z] 5cdaf54b7214: Verifying Checksum [2024-05-27T10:04:36.807Z] 5df492c9dc93: Pull complete [2024-05-27T10:04:36.807Z] 7629e6793208: Pull complete [2024-05-27T10:04:36.807Z] 4f4fb700ef54: Pull complete [2024-05-27T10:04:37.064Z] 8de7f028bff5: Pull complete [2024-05-27T10:04:37.064Z] 44042ff1420b: Pull complete [2024-05-27T10:04:39.590Z] 5cdaf54b7214: Pull complete [2024-05-27T10:04:39.850Z] 38f3e5a9071a: Pull complete [2024-05-27T10:04:39.850Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-27T10:04:39.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-27T10:04:39.850Z] ---> 60b93f829570 [2024-05-27T10:04:39.850Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-27T10:04:44.041Z] ---> Running in 895692f3bdf5 [2024-05-27T10:04:44.041Z] Removing intermediate container 895692f3bdf5 [2024-05-27T10:04:44.041Z] ---> 6bc9ed42d0e8 [2024-05-27T10:04:44.041Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T10:04:44.041Z] ---> Running in a284f755cf60 [2024-05-27T10:04:44.041Z] Removing intermediate container a284f755cf60 [2024-05-27T10:04:44.041Z] ---> bd3cb2742b68 [2024-05-27T10:04:44.041Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T10:04:44.041Z] ---> Running in 2046b94c2c61 [2024-05-27T10:04:44.041Z] Removing intermediate container 2046b94c2c61 [2024-05-27T10:04:44.041Z] ---> 04e3669d355d [2024-05-27T10:04:44.041Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T10:04:44.301Z] ---> Running in eaa84f981940 [2024-05-27T10:04:44.301Z] Removing intermediate container eaa84f981940 [2024-05-27T10:04:44.301Z] ---> 8ab669b17a97 [2024-05-27T10:04:44.301Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-27T10:04:44.301Z] ---> Running in a589d3f6d8e4 [2024-05-27T10:04:44.301Z] Removing intermediate container a589d3f6d8e4 [2024-05-27T10:04:44.301Z] ---> dcc565c62525 [2024-05-27T10:04:44.301Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T10:04:44.301Z] ---> Running in d7f2d1604c75 [2024-05-27T10:04:44.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T10:04:44.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T10:04:45.080Z] OK: 264 MiB in 52 packages [2024-05-27T10:04:45.340Z] Removing intermediate container d7f2d1604c75 [2024-05-27T10:04:45.340Z] ---> b406c9a823ba [2024-05-27T10:04:45.340Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-27T10:04:45.340Z] ---> Running in 90b7f376a2e5 [2024-05-27T10:04:45.600Z] Removing intermediate container 90b7f376a2e5 [2024-05-27T10:04:45.600Z] ---> 4bf144512532 [2024-05-27T10:04:45.600Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-27T10:04:46.254Z] Still waiting to schedule task [2024-05-27T10:04:46.254Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-845’ [2024-05-27T10:04:47.503Z] ---> a991777ee1b4 [2024-05-27T10:04:47.503Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T10:04:47.503Z] ---> Running in 740bce958590 [2024-05-27T10:05:09.434Z] Removing intermediate container 740bce958590 [2024-05-27T10:05:09.434Z] ---> ac73bd10a16d [2024-05-27T10:05:09.434Z] Step 12/13 : COPY . . [2024-05-27T10:05:11.968Z] ---> de7baaf34c48 [2024-05-27T10:05:11.968Z] Step 13/13 : RUN ${MAKE} [2024-05-27T10:05:11.968Z] ---> Running in c6299115a026 [2024-05-27T10:05:11.968Z] noop [2024-05-27T10:05:12.225Z] Removing intermediate container c6299115a026 [2024-05-27T10:05:12.225Z] ---> 9f197edf2684 [2024-05-27T10:05:12.225Z] Successfully built 9f197edf2684 [2024-05-27T10:05:12.225Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:05:12.545Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T10:05:12.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:05:12.619Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:05:12.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T10:05:12.969Z] $ docker top 7594fedd753bc252a5bd1581225899281647c8efa55aad33a10b9d11486190f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T10:05:13.312Z] + go version [2024-05-27T10:05:13.312Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T10:05:13.319Z] $ docker stop --time=1 7594fedd753bc252a5bd1581225899281647c8efa55aad33a10b9d11486190f2 [2024-05-27T10:05:14.575Z] $ docker rm -f --volumes 7594fedd753bc252a5bd1581225899281647c8efa55aad33a10b9d11486190f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:05:15.015Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T10:05:15.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:05:15.080Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:05:15.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T10:05:15.416Z] $ docker top f77c46ecd76bde5f00e852e64d6f6a44d2c70e2811f9f4a9485ef35c1e1f01a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T10:05:15.758Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_napa [Pipeline] fileExists [Pipeline] sh [2024-05-27T10:05:16.054Z] + make test [2024-05-27T10:05:16.054Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T10:05:16.987Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-05-27T10:05:26.944Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-05-27T10:05:27.511Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-05-27T10:05:30.039Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.5% of statements [2024-05-27T10:05:30.039Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.063s coverage: 86.5% of statements [2024-05-27T10:05:36.595Z] go vet ./... [2024-05-27T10:05:39.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T10:05:39.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T10:05:39.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T10:05:39.888Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T10:05:40.185Z] + go mod tidy [Pipeline] } [2024-05-27T10:05:40.456Z] $ docker stop --time=1 f77c46ecd76bde5f00e852e64d6f6a44d2c70e2811f9f4a9485ef35c1e1f01a8 [2024-05-27T10:05:43.449Z] $ docker rm -f --volumes f77c46ecd76bde5f00e852e64d6f6a44d2c70e2811f9f4a9485ef35c1e1f01a8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T10:05:43.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T10:05:44.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T10:05:44.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T10:05:45.015Z] + ls -al . [2024-05-27T10:05:45.015Z] total 244 [2024-05-27T10:05:45.015Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 10:05 . [2024-05-27T10:05:45.015Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:04 .. [2024-05-27T10:05:45.015Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:05 .git [2024-05-27T10:05:45.015Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:04 .github [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 493 May 27 10:04 .gitignore [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:04 .golangci.yml [2024-05-27T10:05:45.015Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:04 .semver [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 11174 May 27 10:04 Attribution.txt [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 17665 May 27 10:04 CHANGELOG.md [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 1683 May 27 10:04 Dockerfile [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:04 GOVERNANCE.md [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 739 May 27 10:04 Jenkinsfile [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:04 LICENSE [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 2877 May 27 10:04 Makefile [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:04 OWNERS.md [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 2620 May 27 10:04 README.md [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 10:04 VERSION [2024-05-27T10:05:45.015Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:04 bin [2024-05-27T10:05:45.015Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:04 cmd [2024-05-27T10:05:45.015Z] -rw-r--r-- 1 jenkins jenkins 78456 May 27 10:05 coverage.out [2024-05-27T10:05:45.015Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:04 doc [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 4010 May 27 10:04 go.mod [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 34789 May 27 10:04 go.sum [2024-05-27T10:05:45.015Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:04 internal [2024-05-27T10:05:45.015Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 10:04 vendor [2024-05-27T10:05:45.015Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:05:45.330Z] + 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=50147a6252236a89dc81b68900d55ccf46123f46 --label arch=amd64 --label version=3.1.1-dev.1 . [2024-05-27T10:05:45.588Z] Sending build context to Docker daemon 66.68MB [2024-05-27T10:05:45.588Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T10:05:45.588Z] Step 2/27 : FROM ${BASE} AS builder [2024-05-27T10:05:45.588Z] ---> 9f197edf2684 [2024-05-27T10:05:45.588Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-05-27T10:05:46.532Z] ---> Running in d18ef3a13bd5 [2024-05-27T10:05:46.532Z] Removing intermediate container d18ef3a13bd5 [2024-05-27T10:05:46.532Z] ---> 009d5e7d3a95 [2024-05-27T10:05:46.532Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T10:05:46.532Z] ---> Running in 5a9a0466c446 [2024-05-27T10:05:46.532Z] Removing intermediate container 5a9a0466c446 [2024-05-27T10:05:46.532Z] ---> 207c68039850 [2024-05-27T10:05:46.532Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T10:05:46.532Z] ---> Running in 74d0e1048cc4 [2024-05-27T10:05:46.532Z] Removing intermediate container 74d0e1048cc4 [2024-05-27T10:05:46.532Z] ---> a714cf3e49c6 [2024-05-27T10:05:46.532Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T10:05:46.532Z] ---> Running in 845858ab890f [2024-05-27T10:05:46.532Z] Removing intermediate container 845858ab890f [2024-05-27T10:05:46.532Z] ---> de1ca61332c3 [2024-05-27T10:05:46.532Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-05-27T10:05:46.532Z] ---> Running in d13a9b0a80b9 [2024-05-27T10:05:46.791Z] Removing intermediate container d13a9b0a80b9 [2024-05-27T10:05:46.791Z] ---> 411f51a0188e [2024-05-27T10:05:46.791Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T10:05:46.791Z] ---> Running in 616d48651895 [2024-05-27T10:05:47.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T10:05:47.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T10:05:47.310Z] OK: 264 MiB in 52 packages [2024-05-27T10:05:47.877Z] Removing intermediate container 616d48651895 [2024-05-27T10:05:47.877Z] ---> 4fc0efbf741d [2024-05-27T10:05:47.877Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-05-27T10:05:47.877Z] ---> Running in 367fc2a9316f [2024-05-27T10:05:47.877Z] Removing intermediate container 367fc2a9316f [2024-05-27T10:05:47.877Z] ---> c6979b2afe7d [2024-05-27T10:05:47.877Z] Step 10/27 : COPY go.mod vendor* ./ [2024-05-27T10:05:49.776Z] ---> 03701f545cdc [2024-05-27T10:05:49.776Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T10:05:49.776Z] ---> Running in 5f8f2aa0f10e [2024-05-27T10:05:49.776Z] skipping... [2024-05-27T10:05:49.776Z] Removing intermediate container 5f8f2aa0f10e [2024-05-27T10:05:49.776Z] ---> 83b88b274d3f [2024-05-27T10:05:49.776Z] Step 12/27 : COPY . . [2024-05-27T10:05:52.306Z] ---> 77a6d8692c53 [2024-05-27T10:05:52.306Z] Step 13/27 : RUN ${MAKE} [2024-05-27T10:05:52.306Z] ---> Running in 973fdffa65da [2024-05-27T10:05:52.306Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-05-27T10:06:14.227Z] Removing intermediate container 973fdffa65da [2024-05-27T10:06:14.227Z] ---> 306e60d09fa1 [2024-05-27T10:06:14.227Z] Step 14/27 : FROM alpine:3.18 [2024-05-27T10:06:14.227Z] 3.18: Pulling from library/alpine [2024-05-27T10:06:14.227Z] 619be1103602: Already exists [2024-05-27T10:06:14.227Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T10:06:14.227Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T10:06:14.227Z] ---> d3782b16ccc9 [2024-05-27T10:06:14.227Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-05-27T10:06:14.227Z] ---> Running in 7d899823b309 [2024-05-27T10:06:14.227Z] Removing intermediate container 7d899823b309 [2024-05-27T10:06:14.227Z] ---> b957582557b2 [2024-05-27T10:06:14.227Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-05-27T10:06:14.227Z] ---> Running in 1055db129522 [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T10:06:14.227Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T10:06:14.227Z] OK: 7 MiB in 16 packages [2024-05-27T10:06:14.227Z] Removing intermediate container 1055db129522 [2024-05-27T10:06:14.227Z] ---> 7a55bfa54bab [2024-05-27T10:06:14.227Z] Step 17/27 : RUN apk --no-cache upgrade [2024-05-27T10:06:14.227Z] ---> Running in 055ff7e5bdd1 [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] Upgrading critical system libraries and apk-tools: [2024-05-27T10:06:14.227Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T10:06:14.227Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T10:06:14.227Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T10:06:14.227Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:06:14.227Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T10:06:14.227Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:06:14.227Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T10:06:14.227Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T10:06:14.227Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T10:06:14.227Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:06:14.227Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T10:06:14.227Z] OK: 7 MiB in 16 packages [2024-05-27T10:06:14.227Z] Removing intermediate container 055ff7e5bdd1 [2024-05-27T10:06:14.227Z] ---> 298abdd82a7a [2024-05-27T10:06:14.227Z] Step 18/27 : WORKDIR / [2024-05-27T10:06:14.227Z] ---> Running in efa9907aa154 [2024-05-27T10:06:14.490Z] Removing intermediate container efa9907aa154 [2024-05-27T10:06:14.490Z] ---> 4087fc8314b2 [2024-05-27T10:06:14.490Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-05-27T10:06:15.062Z] ---> 4a0af8f677f4 [2024-05-27T10:06:15.062Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-05-27T10:06:15.323Z] ---> 00600fb93761 [2024-05-27T10:06:15.323Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-05-27T10:06:15.323Z] ---> b96c2e472d6a [2024-05-27T10:06:15.323Z] Step 22/27 : EXPOSE 59984 [2024-05-27T10:06:15.323Z] ---> Running in ec1bbd9f54ee [2024-05-27T10:06:15.323Z] Removing intermediate container ec1bbd9f54ee [2024-05-27T10:06:15.323Z] ---> 1fcf14ac79da [2024-05-27T10:06:15.323Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-05-27T10:06:15.582Z] ---> Running in 288e24672c5c [2024-05-27T10:06:15.582Z] Removing intermediate container 288e24672c5c [2024-05-27T10:06:15.582Z] ---> 610162ff2fc4 [2024-05-27T10:06:15.582Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T10:06:15.582Z] ---> Running in 80f3c7d9cd00 [2024-05-27T10:06:15.582Z] Removing intermediate container 80f3c7d9cd00 [2024-05-27T10:06:15.582Z] ---> 4e203882363f [2024-05-27T10:06:15.582Z] Step 25/27 : LABEL arch=amd64 [2024-05-27T10:06:15.582Z] ---> Running in 416b7d6d08d5 [2024-05-27T10:06:15.582Z] Removing intermediate container 416b7d6d08d5 [2024-05-27T10:06:15.582Z] ---> 7e6076d445d8 [2024-05-27T10:06:15.582Z] Step 26/27 : LABEL git_sha=50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:06:15.842Z] ---> Running in 86e9707b6c44 [2024-05-27T10:06:15.842Z] Removing intermediate container 86e9707b6c44 [2024-05-27T10:06:15.842Z] ---> 1dd00fd18cc2 [2024-05-27T10:06:15.842Z] Step 27/27 : LABEL version=3.1.1-dev.1 [2024-05-27T10:06:15.842Z] ---> Running in 71992328ac23 [2024-05-27T10:06:15.842Z] Removing intermediate container 71992328ac23 [2024-05-27T10:06:15.842Z] ---> 53291e5f3c40 [2024-05-27T10:06:15.842Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T10:06:15.842Z] Successfully built 53291e5f3c40 [2024-05-27T10:06:15.842Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T10:06:15.965Z] provisioning config files... [2024-05-27T10:06:15.973Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config375526459653864929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:06:16.281Z] ---> ****-login.sh [2024-05-27T10:06:16.281Z] nexus3.edgexfoundry.org:10001 [2024-05-27T10:06:16.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:06:16.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:06:16.281Z] Configure a credential helper to remove this warning. See [2024-05-27T10:06:16.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:06:16.281Z] [2024-05-27T10:06:16.281Z] Login Succeeded [2024-05-27T10:06:16.281Z] nexus3.edgexfoundry.org:10002 [2024-05-27T10:06:16.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:06:16.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:06:16.281Z] Configure a credential helper to remove this warning. See [2024-05-27T10:06:16.281Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:06:16.281Z] [2024-05-27T10:06:16.281Z] Login Succeeded [2024-05-27T10:06:16.281Z] nexus3.edgexfoundry.org:10003 [2024-05-27T10:06:16.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:06:16.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:06:16.542Z] Configure a credential helper to remove this warning. See [2024-05-27T10:06:16.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:06:16.542Z] [2024-05-27T10:06:16.542Z] Login Succeeded [2024-05-27T10:06:16.542Z] nexus3.edgexfoundry.org:10004 [2024-05-27T10:06:16.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:06:16.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:06:16.542Z] Configure a credential helper to remove this warning. See [2024-05-27T10:06:16.542Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:06:16.542Z] [2024-05-27T10:06:16.542Z] Login Succeeded [2024-05-27T10:06:16.542Z] ****.io [2024-05-27T10:06:16.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:06:16.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:06:16.802Z] Configure a credential helper to remove this warning. See [2024-05-27T10:06:16.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:06:16.802Z] [2024-05-27T10:06:16.802Z] Login Succeeded [2024-05-27T10:06:16.802Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T10:06:16.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T10:06:16.860Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T10:06:16.885Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2024-05-27T10:06:16.885Z] 50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:06:16.885Z] 3.1.1-dev.1 [2024-05-27T10:06:16.885Z] 50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:06:16.885Z] napa [2024-05-27T10:06:16.885Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:17.225Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:17.548Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:06:17.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-05-27T10:06:17.548Z] c24aff7d089f: Preparing [2024-05-27T10:06:17.548Z] 8413d4f5953d: Preparing [2024-05-27T10:06:17.548Z] 3c3845dd53c4: Preparing [2024-05-27T10:06:17.548Z] e1f2b5240703: Preparing [2024-05-27T10:06:17.548Z] 6a82c3c9fe50: Preparing [2024-05-27T10:06:17.548Z] aedc3bda2944: Preparing [2024-05-27T10:06:17.548Z] 8413d4f5953d: Pushed [2024-05-27T10:06:17.548Z] aedc3bda2944: Layer already exists [2024-05-27T10:06:17.548Z] c24aff7d089f: Pushed [2024-05-27T10:06:17.548Z] 6a82c3c9fe50: Pushed [2024-05-27T10:06:18.115Z] e1f2b5240703: Pushed [2024-05-27T10:06:20.657Z] 3c3845dd53c4: Pushed [2024-05-27T10:06:20.657Z] 50147a6252236a89dc81b68900d55ccf46123f46: digest: sha256:afe3315e2a79764327c3064517d066a6e8c9ce3c8ba34d83707217dec239054d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:20.984Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:21.306Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1-dev.1 [2024-05-27T10:06:21.306Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-05-27T10:06:21.306Z] c24aff7d089f: Preparing [2024-05-27T10:06:21.306Z] 8413d4f5953d: Preparing [2024-05-27T10:06:21.306Z] 3c3845dd53c4: Preparing [2024-05-27T10:06:21.306Z] e1f2b5240703: Preparing [2024-05-27T10:06:21.306Z] 6a82c3c9fe50: Preparing [2024-05-27T10:06:21.306Z] aedc3bda2944: Preparing [2024-05-27T10:06:21.306Z] aedc3bda2944: Waiting [2024-05-27T10:06:21.306Z] e1f2b5240703: Layer already exists [2024-05-27T10:06:21.306Z] 3c3845dd53c4: Layer already exists [2024-05-27T10:06:21.306Z] 8413d4f5953d: Layer already exists [2024-05-27T10:06:21.306Z] c24aff7d089f: Layer already exists [2024-05-27T10:06:21.306Z] 6a82c3c9fe50: Layer already exists [2024-05-27T10:06:21.306Z] aedc3bda2944: Layer already exists [2024-05-27T10:06:21.306Z] 3.1.1-dev.1: digest: sha256:afe3315e2a79764327c3064517d066a6e8c9ce3c8ba34d83707217dec239054d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:21.626Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:21.942Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:06:21.942Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-05-27T10:06:21.942Z] c24aff7d089f: Preparing [2024-05-27T10:06:21.942Z] 8413d4f5953d: Preparing [2024-05-27T10:06:21.942Z] 3c3845dd53c4: Preparing [2024-05-27T10:06:21.942Z] e1f2b5240703: Preparing [2024-05-27T10:06:21.942Z] 6a82c3c9fe50: Preparing [2024-05-27T10:06:21.942Z] aedc3bda2944: Preparing [2024-05-27T10:06:21.942Z] aedc3bda2944: Waiting [2024-05-27T10:06:21.942Z] 6a82c3c9fe50: Layer already exists [2024-05-27T10:06:21.942Z] 8413d4f5953d: Layer already exists [2024-05-27T10:06:21.942Z] c24aff7d089f: Layer already exists [2024-05-27T10:06:21.942Z] 3c3845dd53c4: Layer already exists [2024-05-27T10:06:21.942Z] e1f2b5240703: Layer already exists [2024-05-27T10:06:21.942Z] aedc3bda2944: Layer already exists [2024-05-27T10:06:21.942Z] 50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1: digest: sha256:afe3315e2a79764327c3064517d066a6e8c9ce3c8ba34d83707217dec239054d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:22.263Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:22.581Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [2024-05-27T10:06:22.581Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2024-05-27T10:06:22.581Z] c24aff7d089f: Preparing [2024-05-27T10:06:22.581Z] 8413d4f5953d: Preparing [2024-05-27T10:06:22.581Z] 3c3845dd53c4: Preparing [2024-05-27T10:06:22.581Z] e1f2b5240703: Preparing [2024-05-27T10:06:22.581Z] 6a82c3c9fe50: Preparing [2024-05-27T10:06:22.581Z] aedc3bda2944: Preparing [2024-05-27T10:06:22.581Z] 3c3845dd53c4: Layer already exists [2024-05-27T10:06:22.581Z] 6a82c3c9fe50: Layer already exists [2024-05-27T10:06:22.581Z] c24aff7d089f: Layer already exists [2024-05-27T10:06:22.581Z] e1f2b5240703: Layer already exists [2024-05-27T10:06:22.581Z] 8413d4f5953d: Layer already exists [2024-05-27T10:06:22.581Z] aedc3bda2944: Layer already exists [2024-05-27T10:06:22.581Z] napa: digest: sha256:afe3315e2a79764327c3064517d066a6e8c9ce3c8ba34d83707217dec239054d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T10:06:22.646Z] ===================================================== [Pipeline] echo [2024-05-27T10:06:22.658Z] taggedImages: [2024-05-27T10:06:22.658Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:06:22.658Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.1-dev.1 [2024-05-27T10:06:22.658Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:06:22.658Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:23.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T10:06:23.049Z] [2024-05-27T10:06:23.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:06:23.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T10:06:23.345Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T10:06:23.345Z] 5eb5b503b376: Pulling fs layer [2024-05-27T10:06:23.345Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T10:06:23.345Z] ec43610c2a17: Pulling fs layer [2024-05-27T10:06:23.345Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T10:06:23.345Z] 33b1e0a273af: Pulling fs layer [2024-05-27T10:06:23.345Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T10:06:23.345Z] 2f39f015ded8: Pulling fs layer [2024-05-27T10:06:23.345Z] 5d3b04190fa2: Waiting [2024-05-27T10:06:23.345Z] 3a2ae6a8a46f: Waiting [2024-05-27T10:06:23.345Z] 2f39f015ded8: Waiting [2024-05-27T10:06:23.345Z] 33b1e0a273af: Waiting [2024-05-27T10:06:23.345Z] 5c69ac0246d0: Verifying Checksum [2024-05-27T10:06:23.345Z] 5c69ac0246d0: Download complete [2024-05-27T10:06:23.345Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-27T10:06:23.345Z] 3a2ae6a8a46f: Download complete [2024-05-27T10:06:23.345Z] 33b1e0a273af: Verifying Checksum [2024-05-27T10:06:23.345Z] 33b1e0a273af: Download complete [2024-05-27T10:06:23.345Z] ec43610c2a17: Verifying Checksum [2024-05-27T10:06:23.345Z] ec43610c2a17: Download complete [2024-05-27T10:06:23.345Z] 5d3b04190fa2: Download complete [2024-05-27T10:06:23.604Z] 5eb5b503b376: Verifying Checksum [2024-05-27T10:06:23.604Z] 5eb5b503b376: Download complete [2024-05-27T10:06:24.168Z] 2f39f015ded8: Download complete [2024-05-27T10:06:24.732Z] 5eb5b503b376: Pull complete [2024-05-27T10:06:24.732Z] 5c69ac0246d0: Pull complete [2024-05-27T10:06:25.297Z] ec43610c2a17: Pull complete [2024-05-27T10:06:25.297Z] 3a2ae6a8a46f: Pull complete [2024-05-27T10:06:25.555Z] 33b1e0a273af: Pull complete [2024-05-27T10:06:25.555Z] 5d3b04190fa2: Pull complete [2024-05-27T10:06:29.736Z] 2f39f015ded8: Pull complete [2024-05-27T10:06:29.736Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T10:06:29.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T10:06:29.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:06:29.828Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:06:29.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T10:06:32.771Z] $ docker top 30f38d08fcb8bea7273fe5ac6ee55bcf545770ff868cf017766681ca8f45c3d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:06:33.167Z] ---> job-cost.sh [2024-05-27T10:06:33.167Z] lf-activate-venv: SKIPPING [2024-05-27T10:06:33.167Z] INFO: No Stack... [2024-05-27T10:06:34.100Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T10:06:34.358Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T10:06:34.641Z] + cat /w/workspace/foundry_device-onvif-camera_napa/archives/cost.csv [2024-05-27T10:06:34.641Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T10:06:34.650Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [2024-05-27T10:06:34.663Z] Resource [jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] did not exist. Created. [2024-05-27T10:06:34.670Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T10:06:34.978Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T10:06:35.036Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T10:06:35.045Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T10:06:35.070Z] $ docker stop --time=1 30f38d08fcb8bea7273fe5ac6ee55bcf545770ff868cf017766681ca8f45c3d6 [2024-05-27T10:06:36.210Z] $ docker rm -f --volumes 30f38d08fcb8bea7273fe5ac6ee55bcf545770ff868cf017766681ca8f45c3d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-27T10:06:37.959Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-848 in /w/workspace/foundry_device-onvif-camera_napa [Pipeline] { [Pipeline] ws [2024-05-27T10:06:37.974Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2024-05-27T10:06:41.037Z] The recommended git tool is: git [2024-05-27T10:06:45.476Z] using credential edgex-jenkins-ssh [2024-05-27T10:06:45.503Z] Cloning the remote Git repository [2024-05-27T10:06:45.547Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-27T10:06:45.638Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2024-05-27T10:06:45.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-05-27T10:06:45.778Z] > git --version # timeout=10 [2024-05-27T10:06:45.797Z] > git --version # 'git version 2.25.1' [2024-05-27T10:06:45.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T10:06:46.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T10:06:49.638Z] Avoid second fetch [2024-05-27T10:06:49.638Z] Checking out Revision 50147a6252236a89dc81b68900d55ccf46123f46 (napa) [2024-05-27T10:06:48.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-05-27T10:06:48.725Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T10:06:49.659Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T10:06:49.731Z] > git checkout -f 50147a6252236a89dc81b68900d55ccf46123f46 # timeout=10 [2024-05-27T10:06:51.236Z] Commit message: "Merge pull request #436 from cloudxxx8/bump-sdk-3.1.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T10:06:55.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T10:06:55.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T10:06:55.947Z] Dload Upload Total Spent Left Speed [2024-05-27T10:06:55.947Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2024-05-27T10:06:56.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T10:06:56.600Z] + sudo tee /etc/docker/daemon.new [2024-05-27T10:06:56.600Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-27T10:06:56.600Z] { [2024-05-27T10:06:56.600Z] "registry-mirrors": [ [2024-05-27T10:06:56.600Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T10:06:56.600Z] ], [2024-05-27T10:06:56.600Z] "bip": "10.250.0.254/24", [2024-05-27T10:06:56.600Z] "hosts": [ [2024-05-27T10:06:56.600Z] "tcp://0.0.0.0:5555", [2024-05-27T10:06:56.600Z] "unix:///var/run/docker.sock" [2024-05-27T10:06:56.600Z] ], [2024-05-27T10:06:56.600Z] "mtu": 1458, [2024-05-27T10:06:56.600Z] "selinux-enabled": true, [2024-05-27T10:06:56.600Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T10:06:56.600Z] } [Pipeline] sh [2024-05-27T10:06:56.930Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T10:06:57.260Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T10:07:15.497Z] provisioning config files... [2024-05-27T10:07:15.522Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config463158908732327040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:07:15.962Z] ---> ****-login.sh [2024-05-27T10:07:15.962Z] nexus3.edgexfoundry.org:10001 [2024-05-27T10:07:16.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:07:16.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:07:16.551Z] Configure a credential helper to remove this warning. See [2024-05-27T10:07:16.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:07:16.551Z] [2024-05-27T10:07:16.551Z] Login Succeeded [2024-05-27T10:07:16.551Z] nexus3.edgexfoundry.org:10002 [2024-05-27T10:07:16.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:07:17.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:07:17.102Z] Configure a credential helper to remove this warning. See [2024-05-27T10:07:17.102Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:07:17.102Z] [2024-05-27T10:07:17.102Z] Login Succeeded [2024-05-27T10:07:17.102Z] nexus3.edgexfoundry.org:10003 [2024-05-27T10:07:17.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:07:17.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:07:17.374Z] Configure a credential helper to remove this warning. See [2024-05-27T10:07:17.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:07:17.374Z] [2024-05-27T10:07:17.374Z] Login Succeeded [2024-05-27T10:07:17.374Z] nexus3.edgexfoundry.org:10004 [2024-05-27T10:07:17.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:07:17.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:07:17.647Z] Configure a credential helper to remove this warning. See [2024-05-27T10:07:17.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:07:17.647Z] [2024-05-27T10:07:17.647Z] Login Succeeded [2024-05-27T10:07:17.647Z] ****.io [2024-05-27T10:07:17.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:07:18.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:07:18.186Z] Configure a credential helper to remove this warning. See [2024-05-27T10:07:18.186Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:07:18.186Z] [2024-05-27T10:07:18.186Z] Login Succeeded [2024-05-27T10:07:18.186Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T10:07:18.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T10:07:18.512Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T10:07:18.839Z] + + grep ^go [0-9].[0-9]* go.mod [2024-05-27T10:07:18.839Z] cut -d -f 2 [Pipeline] echo [2024-05-27T10:07:18.900Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T10:07:18.920Z] ========================================================= [2024-05-27T10:07:18.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-27T10:07:18.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:07:19.292Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T10:07:21.887Z] Sending build context to Docker daemon 51.14MB [2024-05-27T10:07:21.887Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T10:07:21.887Z] Step 2/13 : FROM ${BASE} AS builder [2024-05-27T10:07:22.156Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T10:07:22.156Z] c6b39de5b339: Pulling fs layer [2024-05-27T10:07:22.156Z] a69c41024577: Pulling fs layer [2024-05-27T10:07:22.156Z] d6de4b400683: Pulling fs layer [2024-05-27T10:07:22.156Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T10:07:22.156Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T10:07:22.156Z] 9e011611b7f5: Pulling fs layer [2024-05-27T10:07:22.156Z] 3bd174042beb: Pulling fs layer [2024-05-27T10:07:22.156Z] 4476f39b5e91: Pulling fs layer [2024-05-27T10:07:22.156Z] 35cb2a7552d0: Waiting [2024-05-27T10:07:22.156Z] 4f4fb700ef54: Waiting [2024-05-27T10:07:22.156Z] 3bd174042beb: Waiting [2024-05-27T10:07:22.156Z] 4476f39b5e91: Waiting [2024-05-27T10:07:22.156Z] 9e011611b7f5: Waiting [2024-05-27T10:07:22.156Z] a69c41024577: Download complete [2024-05-27T10:07:22.157Z] 35cb2a7552d0: Verifying Checksum [2024-05-27T10:07:22.157Z] 35cb2a7552d0: Download complete [2024-05-27T10:07:22.157Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T10:07:22.157Z] 4f4fb700ef54: Download complete [2024-05-27T10:07:22.157Z] 9e011611b7f5: Verifying Checksum [2024-05-27T10:07:22.157Z] 9e011611b7f5: Download complete [2024-05-27T10:07:22.157Z] c6b39de5b339: Download complete [2024-05-27T10:07:22.760Z] 4476f39b5e91: Verifying Checksum [2024-05-27T10:07:22.760Z] 4476f39b5e91: Download complete [2024-05-27T10:07:23.044Z] c6b39de5b339: Pull complete [2024-05-27T10:07:23.637Z] a69c41024577: Pull complete [2024-05-27T10:07:23.906Z] d6de4b400683: Verifying Checksum [2024-05-27T10:07:23.906Z] d6de4b400683: Download complete [2024-05-27T10:07:25.322Z] 3bd174042beb: Verifying Checksum [2024-05-27T10:07:25.322Z] 3bd174042beb: Download complete [2024-05-27T10:07:37.663Z] d6de4b400683: Pull complete [2024-05-27T10:07:37.663Z] 35cb2a7552d0: Pull complete [2024-05-27T10:07:37.663Z] 4f4fb700ef54: Pull complete [2024-05-27T10:07:37.663Z] 9e011611b7f5: Pull complete [2024-05-27T10:07:47.841Z] 3bd174042beb: Pull complete [2024-05-27T10:07:47.841Z] 4476f39b5e91: Pull complete [2024-05-27T10:07:47.841Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-27T10:07:47.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-27T10:07:47.841Z] ---> 981a0608b64a [2024-05-27T10:07:47.841Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-05-27T10:07:49.780Z] ---> Running in 9d26d056a32f [2024-05-27T10:07:50.048Z] Removing intermediate container 9d26d056a32f [2024-05-27T10:07:50.048Z] ---> e19b38244f2b [2024-05-27T10:07:50.048Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T10:07:50.048Z] ---> Running in fb532787f2a1 [2024-05-27T10:07:50.317Z] Removing intermediate container fb532787f2a1 [2024-05-27T10:07:50.317Z] ---> b827e515e1ed [2024-05-27T10:07:50.317Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T10:07:50.317Z] ---> Running in 93a4db39c17d [2024-05-27T10:07:50.595Z] Removing intermediate container 93a4db39c17d [2024-05-27T10:07:50.595Z] ---> 2fe19d3deae9 [2024-05-27T10:07:50.595Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T10:07:50.868Z] ---> Running in 4981910930d9 [2024-05-27T10:07:51.137Z] Removing intermediate container 4981910930d9 [2024-05-27T10:07:51.137Z] ---> 5fac24e1a7fa [2024-05-27T10:07:51.137Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-05-27T10:07:51.137Z] ---> Running in af1d8655fe71 [2024-05-27T10:07:51.406Z] Removing intermediate container af1d8655fe71 [2024-05-27T10:07:51.406Z] ---> 837fa94b8fc0 [2024-05-27T10:07:51.406Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T10:07:51.406Z] ---> Running in ba35be6ba1d3 [2024-05-27T10:07:52.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T10:07:53.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T10:07:54.071Z] OK: 266 MiB in 52 packages [2024-05-27T10:07:55.041Z] Removing intermediate container ba35be6ba1d3 [2024-05-27T10:07:55.041Z] ---> 1fcada45b68b [2024-05-27T10:07:55.041Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-05-27T10:07:55.041Z] ---> Running in 37dcd494f785 [2024-05-27T10:07:55.041Z] Removing intermediate container 37dcd494f785 [2024-05-27T10:07:55.041Z] ---> c33e15f5338e [2024-05-27T10:07:55.041Z] Step 10/13 : COPY go.mod vendor* ./ [2024-05-27T10:08:03.269Z] ---> a2900c6320f7 [2024-05-27T10:08:03.269Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T10:08:03.269Z] ---> Running in 40388afe6808 [2024-05-27T10:08:59.663Z] Removing intermediate container 40388afe6808 [2024-05-27T10:08:59.663Z] ---> 2448173256de [2024-05-27T10:08:59.663Z] Step 12/13 : COPY . . [2024-05-27T10:09:06.325Z] ---> 27ca0b43b166 [2024-05-27T10:09:06.326Z] Step 13/13 : RUN ${MAKE} [2024-05-27T10:09:06.594Z] ---> Running in 4df804dbf2c7 [2024-05-27T10:09:07.556Z] noop [2024-05-27T10:09:08.139Z] Removing intermediate container 4df804dbf2c7 [2024-05-27T10:09:08.139Z] ---> 3303c1d610a4 [2024-05-27T10:09:08.721Z] Successfully built 3303c1d610a4 [2024-05-27T10:09:08.721Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:09:09.101Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T10:09:09.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:09:09.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-848 does not seem to be running inside a container [2024-05-27T10:09:09.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-27T10:09:12.011Z] $ docker top 1beb2809c42409bfa6c4c93ca34ed96897a295349cb8ff075094c83401f2ce4a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T10:09:13.981Z] + go version [2024-05-27T10:09:13.982Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T10:09:14.005Z] $ docker stop --time=1 1beb2809c42409bfa6c4c93ca34ed96897a295349cb8ff075094c83401f2ce4a [2024-05-27T10:09:15.642Z] $ docker rm -f --volumes 1beb2809c42409bfa6c4c93ca34ed96897a295349cb8ff075094c83401f2ce4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:09:16.228Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T10:09:16.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:09:16.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-848 does not seem to be running inside a container [2024-05-27T10:09:16.486Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-27T10:09:17.671Z] $ docker top b879fd1703085cd86e0f4068fdb55afdaae3cb53fd4d493507324b0829481946 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T10:09:18.509Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2024-05-27T10:09:19.162Z] + make test [2024-05-27T10:09:19.162Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T10:09:21.750Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-05-27T10:11:28.453Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-05-27T10:11:28.453Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-05-27T10:11:28.453Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 31.5% of statements [2024-05-27T10:11:50.519Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.332s coverage: 86.5% of statements [2024-05-27T10:11:50.519Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T10:11:50.519Z] go vet ./... [2024-05-27T10:12:17.214Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T10:12:17.214Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T10:12:17.214Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T10:12:17.231Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T10:12:17.559Z] + go mod tidy [Pipeline] } [2024-05-27T10:12:20.912Z] $ docker stop --time=1 b879fd1703085cd86e0f4068fdb55afdaae3cb53fd4d493507324b0829481946 [2024-05-27T10:12:22.790Z] $ docker rm -f --volumes b879fd1703085cd86e0f4068fdb55afdaae3cb53fd4d493507324b0829481946 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T10:12:24.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T10:12:24.148Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T10:12:25.139Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T10:12:25.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T10:12:25.860Z] + ls -al . [2024-05-27T10:12:25.860Z] total 240 [2024-05-27T10:12:25.860Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 10:09 . [2024-05-27T10:12:25.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:06 .. [2024-05-27T10:12:25.860Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 10:06 .git [2024-05-27T10:12:25.860Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:06 .github [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 493 May 27 10:06 .gitignore [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 10:06 .golangci.yml [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 11174 May 27 10:06 Attribution.txt [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 17665 May 27 10:06 CHANGELOG.md [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 1683 May 27 10:06 Dockerfile [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 10:06 GOVERNANCE.md [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 739 May 27 10:06 Jenkinsfile [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 10:06 LICENSE [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 2877 May 27 10:06 Makefile [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 10:06 OWNERS.md [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 2620 May 27 10:06 README.md [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 10:04 VERSION [2024-05-27T10:12:25.860Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 10:06 bin [2024-05-27T10:12:25.860Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 10:06 cmd [2024-05-27T10:12:25.860Z] -rw-r--r-- 1 jenkins jenkins 78456 May 27 10:11 coverage.out [2024-05-27T10:12:25.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:06 doc [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 4010 May 27 10:06 go.mod [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 34789 May 27 10:06 go.sum [2024-05-27T10:12:25.860Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 10:06 internal [2024-05-27T10:12:25.860Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 10:06 vendor [2024-05-27T10:12:25.860Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:12:26.207Z] + 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=50147a6252236a89dc81b68900d55ccf46123f46 --label arch=arm64 --label version=3.1.1-dev.1 . [2024-05-27T10:12:28.794Z] Sending build context to Docker daemon 51.22MB [2024-05-27T10:12:28.794Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T10:12:28.794Z] Step 2/27 : FROM ${BASE} AS builder [2024-05-27T10:12:28.794Z] ---> 3303c1d610a4 [2024-05-27T10:12:28.794Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-05-27T10:12:29.061Z] ---> Running in 6f3587ad7244 [2024-05-27T10:12:29.328Z] Removing intermediate container 6f3587ad7244 [2024-05-27T10:12:29.328Z] ---> fb94123edb27 [2024-05-27T10:12:29.328Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T10:12:29.596Z] ---> Running in e4786f680195 [2024-05-27T10:12:29.864Z] Removing intermediate container e4786f680195 [2024-05-27T10:12:29.864Z] ---> 3307af7ec4f1 [2024-05-27T10:12:29.864Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-05-27T10:12:29.864Z] ---> Running in 48cbe55c94d4 [2024-05-27T10:12:30.131Z] Removing intermediate container 48cbe55c94d4 [2024-05-27T10:12:30.131Z] ---> bfd6648bfdd6 [2024-05-27T10:12:30.131Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T10:12:30.131Z] ---> Running in 46a2498e5cda [2024-05-27T10:12:30.402Z] Removing intermediate container 46a2498e5cda [2024-05-27T10:12:30.402Z] ---> bffe35ccf8aa [2024-05-27T10:12:30.402Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-05-27T10:12:30.669Z] ---> Running in 29bf3684346f [2024-05-27T10:12:30.937Z] Removing intermediate container 29bf3684346f [2024-05-27T10:12:30.937Z] ---> 5e6744aec8bd [2024-05-27T10:12:30.937Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T10:12:30.937Z] ---> Running in 3fcdd5f97bbd [2024-05-27T10:12:31.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T10:12:32.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T10:12:33.441Z] OK: 266 MiB in 52 packages [2024-05-27T10:12:34.408Z] Removing intermediate container 3fcdd5f97bbd [2024-05-27T10:12:34.408Z] ---> 6de6c485e24a [2024-05-27T10:12:34.408Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-05-27T10:12:34.408Z] ---> Running in cc88507ef19f [2024-05-27T10:12:34.675Z] Removing intermediate container cc88507ef19f [2024-05-27T10:12:34.675Z] ---> 6df1ba6b77f3 [2024-05-27T10:12:34.675Z] Step 10/27 : COPY go.mod vendor* ./ [2024-05-27T10:12:42.968Z] ---> 0ffe37d70ec5 [2024-05-27T10:12:42.968Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T10:12:42.968Z] ---> Running in 5cea1b04c749 [2024-05-27T10:12:43.249Z] skipping... [2024-05-27T10:12:43.846Z] Removing intermediate container 5cea1b04c749 [2024-05-27T10:12:43.846Z] ---> 7a0ed016c9e7 [2024-05-27T10:12:43.846Z] Step 12/27 : COPY . . [2024-05-27T10:12:52.046Z] ---> a3c4e1af8e83 [2024-05-27T10:12:52.046Z] Step 13/27 : RUN ${MAKE} [2024-05-27T10:12:52.046Z] ---> Running in ccd19f933b37 [2024-05-27T10:12:53.004Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-05-27T10:15:14.678Z] Removing intermediate container ccd19f933b37 [2024-05-27T10:15:14.678Z] ---> eec6adbeb855 [2024-05-27T10:15:14.678Z] Step 14/27 : FROM alpine:3.18 [2024-05-27T10:15:14.678Z] 3.18: Pulling from library/alpine [2024-05-27T10:15:14.678Z] c6b39de5b339: Already exists [2024-05-27T10:15:14.678Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T10:15:14.678Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T10:15:14.678Z] ---> 33abbf032149 [2024-05-27T10:15:14.678Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-05-27T10:15:14.678Z] ---> Running in 53a06e74044f [2024-05-27T10:15:14.678Z] Removing intermediate container 53a06e74044f [2024-05-27T10:15:14.678Z] ---> 857fec61bc61 [2024-05-27T10:15:14.678Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-05-27T10:15:14.678Z] ---> Running in 6860e29bd2ef [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T10:15:14.678Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T10:15:14.678Z] OK: 8 MiB in 16 packages [2024-05-27T10:15:14.678Z] Removing intermediate container 6860e29bd2ef [2024-05-27T10:15:14.678Z] ---> 63555a14b2d6 [2024-05-27T10:15:14.678Z] Step 17/27 : RUN apk --no-cache upgrade [2024-05-27T10:15:14.678Z] ---> Running in b17dd9574c73 [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] Upgrading critical system libraries and apk-tools: [2024-05-27T10:15:14.678Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T10:15:14.678Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T10:15:14.678Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T10:15:14.678Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:15:14.678Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T10:15:14.678Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:15:14.678Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T10:15:14.678Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T10:15:14.678Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T10:15:14.678Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T10:15:14.678Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T10:15:14.678Z] OK: 8 MiB in 16 packages [2024-05-27T10:15:15.258Z] Removing intermediate container b17dd9574c73 [2024-05-27T10:15:15.258Z] ---> f981ffca178b [2024-05-27T10:15:15.258Z] Step 18/27 : WORKDIR / [2024-05-27T10:15:15.258Z] ---> Running in 2306b42581a3 [2024-05-27T10:15:15.522Z] Removing intermediate container 2306b42581a3 [2024-05-27T10:15:15.522Z] ---> eebf34f0d06f [2024-05-27T10:15:15.522Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-05-27T10:15:16.921Z] ---> 3f54f32529bc [2024-05-27T10:15:16.921Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-05-27T10:15:17.501Z] ---> 795598e2dc60 [2024-05-27T10:15:17.501Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-05-27T10:15:18.081Z] ---> ad40187285f6 [2024-05-27T10:15:18.081Z] Step 22/27 : EXPOSE 59984 [2024-05-27T10:15:18.081Z] ---> Running in c82f3259ee96 [2024-05-27T10:15:18.350Z] Removing intermediate container c82f3259ee96 [2024-05-27T10:15:18.350Z] ---> ea0f11194873 [2024-05-27T10:15:18.350Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-05-27T10:15:18.350Z] ---> Running in 3a0b285109b7 [2024-05-27T10:15:18.616Z] Removing intermediate container 3a0b285109b7 [2024-05-27T10:15:18.616Z] ---> edf2fcf79b7d [2024-05-27T10:15:18.616Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T10:15:18.882Z] ---> Running in 2bf8086f48de [2024-05-27T10:15:19.148Z] Removing intermediate container 2bf8086f48de [2024-05-27T10:15:19.148Z] ---> c9524f3510ab [2024-05-27T10:15:19.148Z] Step 25/27 : LABEL arch=arm64 [2024-05-27T10:15:19.148Z] ---> Running in 0948df9a5090 [2024-05-27T10:15:19.413Z] Removing intermediate container 0948df9a5090 [2024-05-27T10:15:19.413Z] ---> 2765fe577be6 [2024-05-27T10:15:19.413Z] Step 26/27 : LABEL git_sha=50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:15:19.413Z] ---> Running in ce9628bfb93c [2024-05-27T10:15:19.679Z] Removing intermediate container ce9628bfb93c [2024-05-27T10:15:19.679Z] ---> eff856c0917d [2024-05-27T10:15:19.679Z] Step 27/27 : LABEL version=3.1.1-dev.1 [2024-05-27T10:15:19.944Z] ---> Running in f72652bb0721 [2024-05-27T10:15:20.209Z] Removing intermediate container f72652bb0721 [2024-05-27T10:15:20.209Z] ---> 9183b1180e06 [2024-05-27T10:15:20.209Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T10:15:20.473Z] Successfully built 9183b1180e06 [2024-05-27T10:15:20.473Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T10:15:20.627Z] provisioning config files... [2024-05-27T10:15:20.640Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4427527115981578741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:15:20.983Z] ---> ****-login.sh [2024-05-27T10:15:20.983Z] nexus3.edgexfoundry.org:10001 [2024-05-27T10:15:20.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:15:21.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:15:21.250Z] Configure a credential helper to remove this warning. See [2024-05-27T10:15:21.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:15:21.250Z] [2024-05-27T10:15:21.250Z] Login Succeeded [2024-05-27T10:15:21.250Z] nexus3.edgexfoundry.org:10002 [2024-05-27T10:15:21.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:15:21.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:15:21.517Z] Configure a credential helper to remove this warning. See [2024-05-27T10:15:21.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:15:21.517Z] [2024-05-27T10:15:21.517Z] Login Succeeded [2024-05-27T10:15:21.517Z] nexus3.edgexfoundry.org:10003 [2024-05-27T10:15:21.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:15:21.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:15:21.785Z] Configure a credential helper to remove this warning. See [2024-05-27T10:15:21.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:15:21.785Z] [2024-05-27T10:15:21.785Z] Login Succeeded [2024-05-27T10:15:21.785Z] nexus3.edgexfoundry.org:10004 [2024-05-27T10:15:22.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:15:22.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:15:22.333Z] Configure a credential helper to remove this warning. See [2024-05-27T10:15:22.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:15:22.333Z] [2024-05-27T10:15:22.333Z] Login Succeeded [2024-05-27T10:15:22.333Z] ****.io [2024-05-27T10:15:22.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T10:15:22.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T10:15:22.862Z] Configure a credential helper to remove this warning. See [2024-05-27T10:15:22.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T10:15:22.862Z] [2024-05-27T10:15:22.862Z] Login Succeeded [2024-05-27T10:15:22.862Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T10:15:22.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T10:15:22.928Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T10:15:22.954Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2024-05-27T10:15:22.954Z] 50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:15:22.954Z] 3.1.1-dev.1 [2024-05-27T10:15:22.954Z] 50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:15:22.954Z] napa [2024-05-27T10:15:22.954Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:23.325Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:23.677Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:15:23.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-05-27T10:15:23.677Z] bf2b40825c67: Preparing [2024-05-27T10:15:23.677Z] 8ed0a40253f5: Preparing [2024-05-27T10:15:23.677Z] ef783cbe5f9e: Preparing [2024-05-27T10:15:23.677Z] 6767eff4bf2a: Preparing [2024-05-27T10:15:23.677Z] 71f9925bea4b: Preparing [2024-05-27T10:15:23.677Z] 7c504f21be85: Preparing [2024-05-27T10:15:23.677Z] 7c504f21be85: Waiting [2024-05-27T10:15:23.942Z] 8ed0a40253f5: Pushed [2024-05-27T10:15:23.942Z] bf2b40825c67: Pushed [2024-05-27T10:15:23.942Z] 71f9925bea4b: Pushed [2024-05-27T10:15:23.942Z] 7c504f21be85: Layer already exists [2024-05-27T10:15:25.339Z] 6767eff4bf2a: Pushed [2024-05-27T10:15:29.564Z] ef783cbe5f9e: Pushed [2024-05-27T10:15:29.564Z] 50147a6252236a89dc81b68900d55ccf46123f46: digest: sha256:7f8443ef8ec608fffe9212afade4b08ed3d591047658eb3e769677a939ebee1a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:29.923Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:30.270Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1-dev.1 [2024-05-27T10:15:30.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-05-27T10:15:30.270Z] bf2b40825c67: Preparing [2024-05-27T10:15:30.270Z] 8ed0a40253f5: Preparing [2024-05-27T10:15:30.270Z] ef783cbe5f9e: Preparing [2024-05-27T10:15:30.270Z] 6767eff4bf2a: Preparing [2024-05-27T10:15:30.270Z] 71f9925bea4b: Preparing [2024-05-27T10:15:30.270Z] 7c504f21be85: Preparing [2024-05-27T10:15:30.270Z] 7c504f21be85: Waiting [2024-05-27T10:15:30.270Z] 8ed0a40253f5: Layer already exists [2024-05-27T10:15:30.270Z] ef783cbe5f9e: Layer already exists [2024-05-27T10:15:30.270Z] 71f9925bea4b: Layer already exists [2024-05-27T10:15:30.270Z] bf2b40825c67: Layer already exists [2024-05-27T10:15:30.270Z] 6767eff4bf2a: Layer already exists [2024-05-27T10:15:30.270Z] 7c504f21be85: Layer already exists [2024-05-27T10:15:30.533Z] 3.1.1-dev.1: digest: sha256:7f8443ef8ec608fffe9212afade4b08ed3d591047658eb3e769677a939ebee1a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:30.899Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:31.247Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:15:31.247Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-05-27T10:15:31.247Z] bf2b40825c67: Preparing [2024-05-27T10:15:31.247Z] 8ed0a40253f5: Preparing [2024-05-27T10:15:31.247Z] ef783cbe5f9e: Preparing [2024-05-27T10:15:31.247Z] 6767eff4bf2a: Preparing [2024-05-27T10:15:31.247Z] 71f9925bea4b: Preparing [2024-05-27T10:15:31.247Z] 7c504f21be85: Preparing [2024-05-27T10:15:31.247Z] ef783cbe5f9e: Layer already exists [2024-05-27T10:15:31.247Z] 71f9925bea4b: Layer already exists [2024-05-27T10:15:31.247Z] bf2b40825c67: Layer already exists [2024-05-27T10:15:31.247Z] 7c504f21be85: Layer already exists [2024-05-27T10:15:31.247Z] 8ed0a40253f5: Layer already exists [2024-05-27T10:15:31.247Z] 6767eff4bf2a: Layer already exists [2024-05-27T10:15:31.511Z] 50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1: digest: sha256:7f8443ef8ec608fffe9212afade4b08ed3d591047658eb3e769677a939ebee1a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:31.860Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:32.205Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa [2024-05-27T10:15:32.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2024-05-27T10:15:32.205Z] bf2b40825c67: Preparing [2024-05-27T10:15:32.205Z] 8ed0a40253f5: Preparing [2024-05-27T10:15:32.205Z] ef783cbe5f9e: Preparing [2024-05-27T10:15:32.205Z] 6767eff4bf2a: Preparing [2024-05-27T10:15:32.205Z] 71f9925bea4b: Preparing [2024-05-27T10:15:32.206Z] 7c504f21be85: Preparing [2024-05-27T10:15:32.206Z] 7c504f21be85: Waiting [2024-05-27T10:15:32.206Z] 71f9925bea4b: Layer already exists [2024-05-27T10:15:32.206Z] ef783cbe5f9e: Layer already exists [2024-05-27T10:15:32.206Z] 6767eff4bf2a: Layer already exists [2024-05-27T10:15:32.206Z] bf2b40825c67: Layer already exists [2024-05-27T10:15:32.206Z] 8ed0a40253f5: Layer already exists [2024-05-27T10:15:32.206Z] 7c504f21be85: Layer already exists [2024-05-27T10:15:32.469Z] napa: digest: sha256:7f8443ef8ec608fffe9212afade4b08ed3d591047658eb3e769677a939ebee1a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T10:15:32.547Z] ===================================================== [Pipeline] echo [2024-05-27T10:15:32.561Z] taggedImages: [2024-05-27T10:15:32.561Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46 [2024-05-27T10:15:32.561Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.1-dev.1 [2024-05-27T10:15:32.561Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:50147a6252236a89dc81b68900d55ccf46123f46-3.1.1-dev.1 [2024-05-27T10:15:32.561Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:32.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T10:15:32.940Z] [2024-05-27T10:15:32.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:15:33.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T10:15:33.258Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T10:15:33.258Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T10:15:33.258Z] 04944245beec: Pulling fs layer [2024-05-27T10:15:33.258Z] 699f458cf7ca: Pulling fs layer [2024-05-27T10:15:33.258Z] 765212b225bb: Pulling fs layer [2024-05-27T10:15:33.258Z] f23df028b6ca: Pulling fs layer [2024-05-27T10:15:33.258Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T10:15:33.258Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T10:15:33.258Z] f23df028b6ca: Waiting [2024-05-27T10:15:33.258Z] d65c8cfc05b1: Waiting [2024-05-27T10:15:33.258Z] 2437ff75d9bd: Waiting [2024-05-27T10:15:33.258Z] 765212b225bb: Waiting [2024-05-27T10:15:33.524Z] 04944245beec: Verifying Checksum [2024-05-27T10:15:33.524Z] 04944245beec: Download complete [2024-05-27T10:15:33.524Z] 765212b225bb: Verifying Checksum [2024-05-27T10:15:33.524Z] 765212b225bb: Download complete [2024-05-27T10:15:33.524Z] f23df028b6ca: Verifying Checksum [2024-05-27T10:15:33.524Z] f23df028b6ca: Download complete [2024-05-27T10:15:33.524Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T10:15:33.524Z] d65c8cfc05b1: Download complete [2024-05-27T10:15:33.524Z] 699f458cf7ca: Download complete [2024-05-27T10:15:34.104Z] 8998bd30e6a1: Download complete [2024-05-27T10:15:36.673Z] 2437ff75d9bd: Download complete [2024-05-27T10:15:38.884Z] 8998bd30e6a1: Pull complete [2024-05-27T10:15:39.151Z] 04944245beec: Pull complete [2024-05-27T10:15:40.555Z] 699f458cf7ca: Pull complete [2024-05-27T10:15:40.821Z] 765212b225bb: Pull complete [2024-05-27T10:15:41.777Z] f23df028b6ca: Pull complete [2024-05-27T10:15:41.777Z] d65c8cfc05b1: Pull complete [2024-05-27T10:15:59.966Z] 2437ff75d9bd: Pull complete [2024-05-27T10:15:59.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T10:15:59.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T10:15:59.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:16:00.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-848 does not seem to be running inside a container [2024-05-27T10:16:00.265Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-27T10:16:02.800Z] $ docker top 7abd30717027383aa7a9616bbf8f8cfcad727e981f91dcb24bb04938f1d3830b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:03.625Z] ---> job-cost.sh [2024-05-27T10:16:03.625Z] lf-activate-venv: SKIPPING [2024-05-27T10:16:03.625Z] INFO: No Stack... [2024-05-27T10:16:04.206Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T10:16:05.163Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T10:16:05.802Z] + cut -d, -f6 [2024-05-27T10:16:05.803Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2024-05-27T10:16:05.821Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [2024-05-27T10:16:05.829Z] Resource [jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] did not exist. Created. [2024-05-27T10:16:05.839Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T10:16:06.504Z] /w/workspace/device-onvif-camera/3@tmp/durable-dfd85345/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T10:16:06.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T10:16:07.119Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T10:16:07.539Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T10:16:07.551Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T10:16:07.587Z] $ docker stop --time=1 7abd30717027383aa7a9616bbf8f8cfcad727e981f91dcb24bb04938f1d3830b [2024-05-27T10:16:09.112Z] $ docker rm -f --volumes 7abd30717027383aa7a9616bbf8f8cfcad727e981f91dcb24bb04938f1d3830b [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 [2024-05-27T10:16:09.582Z] provisioning config files... [2024-05-27T10:16:09.597Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config719018602619869866tmp [Pipeline] { [Pipeline] sh [2024-05-27T10:16:09.902Z] + set +x [2024-05-27T10:16:09.902Z] + curl -s https://codecov.io/bash [2024-05-27T10:16:09.902Z] + bash -s -- [2024-05-27T10:16:09.902Z] [2024-05-27T10:16:09.902Z] _____ _ [2024-05-27T10:16:09.902Z] / ____| | | [2024-05-27T10:16:09.902Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T10:16:09.902Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T10:16:09.902Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T10:16:09.902Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T10:16:09.902Z] Bash-1.0.6 [2024-05-27T10:16:09.902Z] [2024-05-27T10:16:09.902Z] [2024-05-27T10:16:09.902Z] ==> git version 2.25.1 found [2024-05-27T10:16:09.902Z] ==> 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 [2024-05-27T10:16:09.903Z] Release-Date: 2020-01-08 [2024-05-27T10:16:09.903Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-27T10:16:09.903Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T10:16:09.903Z] ==> Jenkins CI detected. [2024-05-27T10:16:09.903Z] current dir:  /w/workspace/foundry_device-onvif-camera_napa [2024-05-27T10:16:09.903Z] project root: . [2024-05-27T10:16:09.903Z] --> token set from env [2024-05-27T10:16:09.903Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-27T10:16:09.903Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T10:16:09.903Z] ==> Python coveragepy not found [2024-05-27T10:16:09.903Z] ==> Searching for coverage reports in: [2024-05-27T10:16:09.903Z] + . [2024-05-27T10:16:09.903Z] -> Found 1 reports [2024-05-27T10:16:09.903Z] ==> Detecting git/mercurial file structure [2024-05-27T10:16:10.161Z] ==> Reading reports [2024-05-27T10:16:10.161Z] + ./coverage.out bytes=78456 [2024-05-27T10:16:10.162Z] ==> Appending adjustments [2024-05-27T10:16:10.162Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T10:16:10.162Z] + Found adjustments [2024-05-27T10:16:10.162Z] ==> Gzipping contents [2024-05-27T10:16:10.162Z] 24K /tmp/codecov.gqxkf1.gz [2024-05-27T10:16:10.162Z] ==> Uploading reports [2024-05-27T10:16:10.162Z] url: https://codecov.io [2024-05-27T10:16:10.162Z] query: branch=napa&commit=50147a6252236a89dc81b68900d55ccf46123f46&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T10:16:10.162Z] -> Pinging Codecov [2024-05-27T10:16:10.162Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=50147a6252236a89dc81b68900d55ccf46123f46&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T10:16:10.421Z] -> Uploading to [2024-05-27T10:16:10.421Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/F29A59C45E3A92E06B3E522C9905F8EF/50147a6252236a89dc81b68900d55ccf46123f46/48a6b4ec-ed6c-41fe-821c-cdb2b348f3fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T101610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17a3bee226c085407626c3d5a6f781357d362d4ae4b10bea69fa9f677124c984 [2024-05-27T10:16:10.421Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T10:16:10.421Z] Dload Upload Total Spent Left Speed [2024-05-27T10:16:10.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23781 0 0 100 23781 0 97k --:--:-- --:--:-- --:--:-- 97k 100 23781 0 0 100 23781 0 97k --:--:-- --:--:-- --:--:-- 99920 [2024-05-27T10:16:10.681Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/50147a6252236a89dc81b68900d55ccf46123f46 [Pipeline] } [2024-05-27T10:16:10.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-27T10:16:10.823Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-27T10:16:10.840Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:16:11.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T10:16:11.145Z] [2024-05-27T10:16:11.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:16:11.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T10:16:11.446Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-27T10:16:11.446Z] 619be1103602: Already exists [2024-05-27T10:16:11.446Z] f8ea3408117e: Pulling fs layer [2024-05-27T10:16:11.446Z] 91320369b822: Pulling fs layer [2024-05-27T10:16:11.446Z] 0406650e8295: Pulling fs layer [2024-05-27T10:16:11.446Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T10:16:11.446Z] 96d80e3f36e1: Pulling fs layer [2024-05-27T10:16:11.446Z] bcf3aedb951c: Pulling fs layer [2024-05-27T10:16:11.446Z] 96d80e3f36e1: Waiting [2024-05-27T10:16:11.446Z] bcf3aedb951c: Waiting [2024-05-27T10:16:11.446Z] 4f4fb700ef54: Waiting [2024-05-27T10:16:11.446Z] 0406650e8295: Download complete [2024-05-27T10:16:11.446Z] f8ea3408117e: Verifying Checksum [2024-05-27T10:16:11.446Z] f8ea3408117e: Download complete [2024-05-27T10:16:11.446Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T10:16:11.446Z] 4f4fb700ef54: Download complete [2024-05-27T10:16:11.446Z] f8ea3408117e: Pull complete [2024-05-27T10:16:11.709Z] 96d80e3f36e1: Verifying Checksum [2024-05-27T10:16:11.709Z] 96d80e3f36e1: Download complete [2024-05-27T10:16:11.977Z] 91320369b822: Verifying Checksum [2024-05-27T10:16:11.977Z] 91320369b822: Download complete [2024-05-27T10:16:12.545Z] bcf3aedb951c: Verifying Checksum [2024-05-27T10:16:12.545Z] bcf3aedb951c: Download complete [2024-05-27T10:16:15.087Z] 91320369b822: Pull complete [2024-05-27T10:16:15.087Z] 0406650e8295: Pull complete [2024-05-27T10:16:15.087Z] 4f4fb700ef54: Pull complete [2024-05-27T10:16:15.087Z] 96d80e3f36e1: Pull complete [2024-05-27T10:16:18.379Z] bcf3aedb951c: Pull complete [2024-05-27T10:16:18.379Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-27T10:16:18.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T10:16:18.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:16:18.489Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:16:18.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-27T10:16:21.583Z] $ docker top 85a52c7d2596ccb4732260e9276c73ed1eb72534bd6ecd19b6a9837acb627ae8 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-27T10:16:21.659Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:napa' [Pipeline] sh [2024-05-27T10:16:21.943Z] + set -o pipefail [2024-05-27T10:16:21.943Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:napa' [2024-05-27T10:16:23.845Z] [2024-05-27T10:16:23.845Z] Monitoring /w/workspace/foundry_device-onvif-camera_napa... [2024-05-27T10:16:23.845Z] [2024-05-27T10:16:23.845Z] 'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128 [2024-05-27T10:16:23.845Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T10:16:23.845Z] [Pipeline] } [2024-05-27T10:16:25.232Z] $ docker stop --time=1 85a52c7d2596ccb4732260e9276c73ed1eb72534bd6ecd19b6a9837acb627ae8 [2024-05-27T10:16:26.858Z] $ docker rm -f --volumes 85a52c7d2596ccb4732260e9276c73ed1eb72534bd6ecd19b6a9837acb627ae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T10:16:26.986Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-27T10:16:27.741Z] + [ -d /w/workspace/foundry_device-onvif-camera_napa/archives ] [2024-05-27T10:16:27.741Z] + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives [2024-05-27T10:16:27.741Z] total 16 [2024-05-27T10:16:27.741Z] drwxr-xr-x 3 root root 4096 May 27 10:06 . [2024-05-27T10:16:27.741Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:06 .. [2024-05-27T10:16:27.741Z] drwxr-xr-x 2 root root 4096 May 27 10:06 cost [2024-05-27T10:16:27.741Z] -rw-r--r-- 1 root root 89 May 27 10:06 cost.csv [2024-05-27T10:16:27.741Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_napa/archives [2024-05-27T10:16:27.741Z] + ls -al /w/workspace/foundry_device-onvif-camera_napa/archives [2024-05-27T10:16:27.741Z] total 16 [2024-05-27T10:16:27.741Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 10:06 . [2024-05-27T10:16:27.741Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 10:06 .. [2024-05-27T10:16:27.741Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 10:06 cost [2024-05-27T10:16:27.741Z] -rw-r--r-- 1 jenkins jenkins 89 May 27 10:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:28.029Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:28.889Z] ---> package-listing.sh [2024-05-27T10:16:28.889Z] ++ facter osfamily [2024-05-27T10:16:28.889Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T10:16:29.149Z] + OS_FAMILY=debian [2024-05-27T10:16:29.149Z] + workspace=/w/workspace/foundry_device-onvif-camera_napa [2024-05-27T10:16:29.149Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T10:16:29.149Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T10:16:29.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T10:16:29.149Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T10:16:29.149Z] + '[' /w/workspace/foundry_device-onvif-camera_napa ']' [2024-05-27T10:16:29.149Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T10:16:29.149Z] + case "${OS_FAMILY}" in [2024-05-27T10:16:29.149Z] + dpkg -l [2024-05-27T10:16:29.149Z] + grep '^ii' [2024-05-27T10:16:29.149Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T10:16:29.149Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T10:16:29.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T10:16:29.149Z] + '[' /w/workspace/foundry_device-onvif-camera_napa ']' [2024-05-27T10:16:29.149Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_napa/archives/ [2024-05-27T10:16:29.149Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_napa/archives/ [Pipeline] echo [2024-05-27T10:16:29.158Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-27T10:16:29.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T10:16:29.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T10:16:29.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T10:16:30.066Z] prd-ubuntu20.04-docker-8c-8g-847 does not seem to be running inside a container [2024-05-27T10:16:30.091Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_napa -v /w/workspace/foundry_device-onvif-camera_napa:/w/workspace/foundry_device-onvif-camera_napa:rw,z -v /w/workspace/foundry_device-onvif-camera_napa@tmp:/w/workspace/foundry_device-onvif-camera_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T10:16:30.287Z] $ docker top 0079c2fb020bab371f845d99eb82b566551677508f0b06af42e46e0883051466 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T10:16:30.645Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T10:16:30.930Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T10:16:31.213Z] + ls /var/log/sa-host [2024-05-27T10:16:31.214Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T10:16:31.283Z] provisioning config files... [2024-05-27T10:16:31.292Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_napa@tmp/config15937087111116827115tmp [Pipeline] { [Pipeline] echo [2024-05-27T10:16:31.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:31.597Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T10:16:31.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:31.940Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T10:16:31.948Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:32.232Z] ---> sudo-logs.sh [2024-05-27T10:16:32.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T10:16:32.262Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:32.542Z] ---> job-cost.sh [2024-05-27T10:16:32.542Z] lf-activate-venv: SKIPPING [2024-05-27T10:16:32.542Z] DEBUG: total: 0.2199999988079071 [2024-05-27T10:16:32.542Z] INFO: Retrieving Stack Cost... [2024-05-27T10:16:32.801Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T10:16:33.368Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T10:16:33.380Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T10:16:33.666Z] ---> logs-deploy.sh [2024-05-27T10:16:33.666Z] lf-activate-venv: SKIPPING [2024-05-27T10:16:33.666Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/napa/3 [2024-05-27T10:16:33.666Z] INFO: archiving workspace using pattern(s): [2024-05-27T10:16:34.604Z] Archives upload complete. [2024-05-27T10:16:34.604Z] INFO: archiving logs to Nexus