Pull request #357 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea rather than 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Obtained Jenkinsfile from 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 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-ssh5539905829039667246.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11479109716624044517.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/PR-357/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/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10614291390738228790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8516148316569370355.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/PR-357/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/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2728628088891007026.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15136 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Merge succeeded, producing 2efac9f858049441aca0a06e4b7bd0e9cdc0159d Checking out Revision 2efac9f858049441aca0a06e4b7bd0e9cdc0159d (PR-357) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 Commit message: "fix: update names of postman calls" > git rev-list --no-walk affb027a51f3c291c312a736204f79867cb0a5d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-11T00:55:03.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T00:55:03.482Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T00:55:03.499Z] ========================================================= [2023-05-11T00:55:03.500Z] EdgeX Global Pipelines Version Info [2023-05-11T00:55:03.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T00:55:04.215Z] ------------------- [2023-05-11T00:55:04.215Z] stable info: [2023-05-11T00:55:04.215Z] ------------------- [2023-05-11T00:55:04.215Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T00:55:04.215Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T00:55:04.215Z] Message: update stable to v1.0.249 [2023-05-11T00:55:04.785Z] ------------------- [2023-05-11T00:55:04.785Z] experimental info: [2023-05-11T00:55:04.785Z] ------------------- [2023-05-11T00:55:04.785Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T00:55:04.785Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T00:55:04.786Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T00:55:05.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-11T00:55:05.049Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-11T00:55:05.067Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T00:55:05.080Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T00:55:05.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T00:55:05.115Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T00:55:05.134Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T00:55:05.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T00:55:05.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T00:55:05.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T00:55:05.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T00:55:05.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-11T00:55:05.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T00:55:05.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T00:55:05.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T00:55:05.308Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T00:55:05.331Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T00:55:05.348Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T00:55:05.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T00:55:05.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T00:55:05.395Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-11T00:55:05.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-11T00:55:05.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T00:55:05.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T00:55:05.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T00:55:05.488Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T00:55:05.511Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T00:55:05.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2023-05-11T00:55:05.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2023-05-11T00:55:05.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2023-05-11T00:55:05.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo [2023-05-11T00:55:05.605Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2efac9f [Pipeline] echo [2023-05-11T00:55:05.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T00:55:05.685Z] provisioning config files... [2023-05-11T00:55:05.698Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config6258990068781713543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T00:55:06.050Z] ---> docker-login.sh [2023-05-11T00:55:06.050Z] nexus3.edgexfoundry.org:10001 [2023-05-11T00:55:06.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:06.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:06.311Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:06.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:06.311Z] [2023-05-11T00:55:06.311Z] Login Succeeded [2023-05-11T00:55:06.311Z] nexus3.edgexfoundry.org:10002 [2023-05-11T00:55:06.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:06.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:06.311Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:06.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:06.311Z] [2023-05-11T00:55:06.311Z] Login Succeeded [2023-05-11T00:55:06.311Z] nexus3.edgexfoundry.org:10003 [2023-05-11T00:55:06.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:06.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:06.571Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:06.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:06.571Z] [2023-05-11T00:55:06.571Z] Login Succeeded [2023-05-11T00:55:06.571Z] nexus3.edgexfoundry.org:10004 [2023-05-11T00:55:06.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:06.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:06.571Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:06.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:06.571Z] [2023-05-11T00:55:06.571Z] Login Succeeded [2023-05-11T00:55:06.571Z] docker.io [2023-05-11T00:55:06.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:06.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:06.832Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:06.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:06.832Z] [2023-05-11T00:55:06.832Z] Login Succeeded [2023-05-11T00:55:06.832Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T00:55:06.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T00:55:07.223Z] + git rev-list -1 --merges 2efac9f858049441aca0a06e4b7bd0e9cdc0159d~1..2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo [2023-05-11T00:55:07.281Z] -----------> git rev-list -1 --merges 2efac9f858049441aca0a06e4b7bd0e9cdc0159d~1..2efac9f858049441aca0a06e4b7bd0e9cdc0159d 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [false] [Pipeline] sh [2023-05-11T00:55:07.579Z] + git log --format=format:%s -1 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo [2023-05-11T00:55:07.600Z] ========================================================= [2023-05-11T00:55:07.600Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T00:55:07.600Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T00:55:07.948Z] + git log --format=format:%s -1 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [Pipeline] echo [2023-05-11T00:55:07.960Z] [semverPrep] GIT_COMMIT: 2efac9f858049441aca0a06e4b7bd0e9cdc0159d, Commit Message: fix: update names of postman calls [Pipeline] echo [2023-05-11T00:55:07.969Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T00:55:08.343Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T00:55:08.344Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T00:55:08.344Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T00:55:08.344Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T00:55:08.344Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-11T00:55:08.344Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-11T00:55:08.344Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:55:08.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T00:55:08.766Z] [2023-05-11T00:55:08.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:55:09.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T00:55:09.075Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T00:55:09.075Z] b85a868b505f: Pulling fs layer [2023-05-11T00:55:09.075Z] e2be974225ed: Pulling fs layer [2023-05-11T00:55:09.075Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T00:55:09.075Z] 988bab9f4d93: Pulling fs layer [2023-05-11T00:55:09.075Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T00:55:09.075Z] eaf3925da568: Pulling fs layer [2023-05-11T00:55:09.075Z] bab4dde63d76: Pulling fs layer [2023-05-11T00:55:09.075Z] bde34c3a00c8: Pulling fs layer [2023-05-11T00:55:09.075Z] b352a97aabf1: Pulling fs layer [2023-05-11T00:55:09.075Z] 4872d77fe225: Pulling fs layer [2023-05-11T00:55:09.075Z] 5851b861e8e6: Pulling fs layer [2023-05-11T00:55:09.075Z] 1469e6f7b9e6: Waiting [2023-05-11T00:55:09.075Z] eaf3925da568: Waiting [2023-05-11T00:55:09.075Z] bab4dde63d76: Waiting [2023-05-11T00:55:09.075Z] bde34c3a00c8: Waiting [2023-05-11T00:55:09.075Z] b352a97aabf1: Waiting [2023-05-11T00:55:09.075Z] 4872d77fe225: Waiting [2023-05-11T00:55:09.075Z] 5851b861e8e6: Waiting [2023-05-11T00:55:09.075Z] 988bab9f4d93: Waiting [2023-05-11T00:55:09.075Z] e2be974225ed: Verifying Checksum [2023-05-11T00:55:09.075Z] 988bab9f4d93: Verifying Checksum [2023-05-11T00:55:09.075Z] 988bab9f4d93: Download complete [2023-05-11T00:55:09.075Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T00:55:09.075Z] 1469e6f7b9e6: Download complete [2023-05-11T00:55:09.075Z] eaf3925da568: Verifying Checksum [2023-05-11T00:55:09.075Z] eaf3925da568: Download complete [2023-05-11T00:55:09.075Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T00:55:09.075Z] 339a4e72a1f5: Download complete [2023-05-11T00:55:09.339Z] bde34c3a00c8: Download complete [2023-05-11T00:55:09.339Z] b352a97aabf1: Verifying Checksum [2023-05-11T00:55:09.339Z] b352a97aabf1: Download complete [2023-05-11T00:55:09.339Z] 4872d77fe225: Verifying Checksum [2023-05-11T00:55:09.339Z] 4872d77fe225: Download complete [2023-05-11T00:55:09.339Z] 5851b861e8e6: Download complete [2023-05-11T00:55:09.339Z] b85a868b505f: Verifying Checksum [2023-05-11T00:55:09.339Z] b85a868b505f: Download complete [2023-05-11T00:55:09.600Z] bab4dde63d76: Verifying Checksum [2023-05-11T00:55:09.600Z] bab4dde63d76: Download complete [2023-05-11T00:55:10.536Z] b85a868b505f: Pull complete [2023-05-11T00:55:10.813Z] e2be974225ed: Pull complete [2023-05-11T00:55:11.073Z] 339a4e72a1f5: Pull complete [2023-05-11T00:55:11.333Z] 988bab9f4d93: Pull complete [2023-05-11T00:55:11.594Z] 1469e6f7b9e6: Pull complete [2023-05-11T00:55:11.594Z] eaf3925da568: Pull complete [2023-05-11T00:55:13.512Z] bab4dde63d76: Pull complete [2023-05-11T00:55:13.512Z] bde34c3a00c8: Pull complete [2023-05-11T00:55:13.512Z] b352a97aabf1: Pull complete [2023-05-11T00:55:13.512Z] 4872d77fe225: Pull complete [2023-05-11T00:55:13.771Z] 5851b861e8e6: Pull complete [2023-05-11T00:55:13.771Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T00:55:13.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T00:55:13.771Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T00:55:13.871Z] prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container [2023-05-11T00:55:13.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T00:55:16.357Z] $ docker top 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 -eo pid,comm [2023-05-11T00:55:16.398Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-11T00:55:16.398Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T00:55:16.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T00:55:16.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T00:55:16.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T00:55:16.558Z] $ docker exec 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent [2023-05-11T00:55:16.661Z] SSH_AUTH_SOCK=/tmp/ssh-jeBuUzeBeNMe/agent.32 [2023-05-11T00:55:16.661Z] SSH_AGENT_PID=38 [2023-05-11T00:55:16.669Z] Running ssh-add (command line suppressed) [2023-05-11T00:55:16.778Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_10404878872819955076.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_10404878872819955076.key) [2023-05-11T00:55:16.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T00:55:17.079Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T00:55:17.097Z] $ docker exec --env ******** --env ******** 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent -k [2023-05-11T00:55:17.198Z] unset SSH_AUTH_SOCK; [2023-05-11T00:55:17.198Z] unset SSH_AGENT_PID; [2023-05-11T00:55:17.199Z] echo Agent pid 38 killed; [2023-05-11T00:55:17.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T00:55:17.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T00:55:17.228Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T00:55:17.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T00:55:17.350Z] $ docker exec 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent [2023-05-11T00:55:17.455Z] SSH_AUTH_SOCK=/tmp/ssh-FYh5t5YILRPE/agent.71 [2023-05-11T00:55:17.455Z] SSH_AGENT_PID=77 [2023-05-11T00:55:17.460Z] Running ssh-add (command line suppressed) [2023-05-11T00:55:17.563Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16949991912918116274.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_16949991912918116274.key) [2023-05-11T00:55:17.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T00:55:17.866Z] + git semver init [2023-05-11T00:55:18.128Z] 2023-05-11 00:55:18,046 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T00:55:18.128Z] 2023-05-11 00:55:18,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-357/.semver [2023-05-11T00:55:18.128Z] 2023-05-11 00:55:18,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-357/.semver [2023-05-11T00:55:18.128Z] 2023-05-11 00:55:18,047 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-357/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-357, universal_newlines=False, shell=None, istream=None) [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,960 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-357/.git/info/exclude [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,961 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 with force:False [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,961 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,964 [execute] INFO git cat-file --batch-check [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,971 [execute] INFO git cat-file --batch [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T00:55:19.078Z] 2023-05-11 00:55:18,977 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 [2023-05-11T00:55:19.078Z] 0.0.0 [Pipeline] } [2023-05-11T00:55:19.093Z] $ docker exec --env ******** --env ******** 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 ssh-agent -k [2023-05-11T00:55:19.194Z] unset SSH_AUTH_SOCK; [2023-05-11T00:55:19.194Z] unset SSH_AGENT_PID; [2023-05-11T00:55:19.195Z] echo Agent pid 77 killed; [2023-05-11T00:55:19.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T00:55:19.515Z] + git semver [Pipeline] } [2023-05-11T00:55:19.793Z] $ docker stop --time=1 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 [2023-05-11T00:55:21.085Z] $ docker rm -f --volumes 2b632500fc2c611d9e2cba1ce754ec0a5710a5fdcba47b7b0774ec2943304c29 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T00:55:21.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T00:55:21.641Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T00:55:21.644Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T00:55:21.809Z] provisioning config files... [2023-05-11T00:55:21.819Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config7639782976177638244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T00:55:22.119Z] ---> docker-login.sh [2023-05-11T00:55:22.119Z] nexus3.edgexfoundry.org:10001 [2023-05-11T00:55:22.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:22.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:22.119Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:22.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:22.119Z] [2023-05-11T00:55:22.119Z] Login Succeeded [2023-05-11T00:55:22.119Z] nexus3.edgexfoundry.org:10002 [2023-05-11T00:55:22.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:22.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:22.119Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:22.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:22.119Z] [2023-05-11T00:55:22.119Z] Login Succeeded [2023-05-11T00:55:22.119Z] nexus3.edgexfoundry.org:10003 [2023-05-11T00:55:22.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:22.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:22.380Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:22.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:22.380Z] [2023-05-11T00:55:22.380Z] Login Succeeded [2023-05-11T00:55:22.380Z] nexus3.edgexfoundry.org:10004 [2023-05-11T00:55:22.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:22.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:22.380Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:22.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:22.380Z] [2023-05-11T00:55:22.380Z] Login Succeeded [2023-05-11T00:55:22.380Z] docker.io [2023-05-11T00:55:22.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:55:22.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:55:22.642Z] Configure a credential helper to remove this warning. See [2023-05-11T00:55:22.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:55:22.642Z] [2023-05-11T00:55:22.642Z] Login Succeeded [2023-05-11T00:55:22.642Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T00:55:22.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T00:55:22.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T00:55:22.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T00:55:22.751Z] ========================================================= [2023-05-11T00:55:22.751Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T00:55:22.751Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:55:23.085Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-11T00:55:23.086Z] Sending build context to Docker daemon 22.05MB [2023-05-11T00:55:23.086Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T00:55:23.086Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T00:55:23.345Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T00:55:23.345Z] f56be85fc22e: Pulling fs layer [2023-05-11T00:55:23.345Z] 85791d961cd3: Pulling fs layer [2023-05-11T00:55:23.345Z] d694b5ae8c79: Pulling fs layer [2023-05-11T00:55:23.345Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T00:55:23.345Z] 4d19c01a9841: Pulling fs layer [2023-05-11T00:55:23.345Z] 9325e15d5711: Pulling fs layer [2023-05-11T00:55:23.345Z] 556b6ee489ea: Pulling fs layer [2023-05-11T00:55:23.345Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T00:55:23.345Z] 9f32a84ed3da: Waiting [2023-05-11T00:55:23.345Z] 4d19c01a9841: Waiting [2023-05-11T00:55:23.345Z] 9325e15d5711: Waiting [2023-05-11T00:55:23.345Z] 556b6ee489ea: Waiting [2023-05-11T00:55:23.345Z] c5a4b2cf53e6: Waiting [2023-05-11T00:55:23.345Z] 85791d961cd3: Verifying Checksum [2023-05-11T00:55:23.345Z] 85791d961cd3: Download complete [2023-05-11T00:55:23.345Z] 9f32a84ed3da: Verifying Checksum [2023-05-11T00:55:23.345Z] 9f32a84ed3da: Download complete [2023-05-11T00:55:23.345Z] 4d19c01a9841: Verifying Checksum [2023-05-11T00:55:23.345Z] 4d19c01a9841: Download complete [2023-05-11T00:55:23.345Z] f56be85fc22e: Verifying Checksum [2023-05-11T00:55:23.345Z] f56be85fc22e: Download complete [2023-05-11T00:55:23.345Z] 9325e15d5711: Verifying Checksum [2023-05-11T00:55:23.345Z] 9325e15d5711: Download complete [2023-05-11T00:55:23.606Z] f56be85fc22e: Pull complete [2023-05-11T00:55:23.606Z] 85791d961cd3: Pull complete [2023-05-11T00:55:23.865Z] c5a4b2cf53e6: Download complete [2023-05-11T00:55:23.865Z] d694b5ae8c79: Verifying Checksum [2023-05-11T00:55:23.865Z] d694b5ae8c79: Download complete [2023-05-11T00:55:24.124Z] 556b6ee489ea: Verifying Checksum [2023-05-11T00:55:24.124Z] 556b6ee489ea: Download complete [2023-05-11T00:55:27.448Z] d694b5ae8c79: Pull complete [2023-05-11T00:55:27.448Z] 9f32a84ed3da: Pull complete [2023-05-11T00:55:27.448Z] 4d19c01a9841: Pull complete [2023-05-11T00:55:27.448Z] 9325e15d5711: Pull complete [2023-05-11T00:55:29.356Z] 556b6ee489ea: Pull complete [2023-05-11T00:55:30.290Z] c5a4b2cf53e6: Pull complete [2023-05-11T00:55:30.290Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T00:55:30.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T00:55:30.290Z] ---> c4be618373d6 [2023-05-11T00:55:30.290Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T00:55:33.579Z] ---> Running in a5ccd3283950 [2023-05-11T00:55:33.579Z] Removing intermediate container a5ccd3283950 [2023-05-11T00:55:33.579Z] ---> b281ded9ed6b [2023-05-11T00:55:33.579Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T00:55:33.579Z] ---> Running in c0765b4d957c [2023-05-11T00:55:33.838Z] Removing intermediate container c0765b4d957c [2023-05-11T00:55:33.838Z] ---> c6e94348e06a [2023-05-11T00:55:33.838Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T00:55:33.838Z] ---> Running in 74ec7c6d4174 [2023-05-11T00:55:33.838Z] Removing intermediate container 74ec7c6d4174 [2023-05-11T00:55:33.838Z] ---> 31910137e219 [2023-05-11T00:55:33.838Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T00:55:33.838Z] ---> Running in 69151a50dc8a [2023-05-11T00:55:33.838Z] Removing intermediate container 69151a50dc8a [2023-05-11T00:55:33.838Z] ---> 73982bc0dae1 [2023-05-11T00:55:33.838Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T00:55:34.099Z] ---> Running in 23b1f694ef63 [2023-05-11T00:55:34.099Z] Removing intermediate container 23b1f694ef63 [2023-05-11T00:55:34.099Z] ---> dd9282a9b14e [2023-05-11T00:55:34.099Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T00:55:34.099Z] ---> Running in b8e8c2f23003 [2023-05-11T00:55:34.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T00:55:34.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T00:55:34.619Z] OK: 265 MiB in 53 packages [2023-05-11T00:55:34.878Z] Removing intermediate container b8e8c2f23003 [2023-05-11T00:55:34.878Z] ---> c77bc3563272 [2023-05-11T00:55:34.878Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T00:55:35.136Z] ---> Running in 6dc87ab496a4 [2023-05-11T00:55:35.136Z] Removing intermediate container 6dc87ab496a4 [2023-05-11T00:55:35.136Z] ---> 3577f14d73f5 [2023-05-11T00:55:35.136Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T00:55:35.136Z] ---> 2649f23bbc91 [2023-05-11T00:55:35.136Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T00:55:35.136Z] ---> Running in a5a1d6cceb64 [2023-05-11T00:55:36.757Z] Still waiting to schedule task [2023-05-11T00:55:36.757Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15134’ [2023-05-11T00:56:03.288Z] Removing intermediate container a5a1d6cceb64 [2023-05-11T00:56:03.288Z] ---> 2ae6f83e5c4e [2023-05-11T00:56:03.288Z] Step 12/13 : COPY . . [2023-05-11T00:56:03.288Z] ---> ae155c3811d2 [2023-05-11T00:56:03.288Z] Step 13/13 : RUN ${MAKE} [2023-05-11T00:56:03.288Z] ---> Running in 68dcbb85587c [2023-05-11T00:56:03.288Z] noop [2023-05-11T00:56:03.288Z] Removing intermediate container 68dcbb85587c [2023-05-11T00:56:03.288Z] ---> 7f5ba5252e83 [2023-05-11T00:56:03.288Z] Successfully built 7f5ba5252e83 [2023-05-11T00:56:03.288Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:56:03.606Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T00:56:03.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T00:56:03.683Z] prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container [2023-05-11T00:56:03.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T00:56:04.063Z] $ docker top 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T00:56:04.395Z] + go version [2023-05-11T00:56:04.395Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T00:56:04.410Z] $ docker stop --time=1 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf [2023-05-11T00:56:05.718Z] $ docker rm -f --volumes 8b0e49ae12a435af85f5dbb6932c23f8243c1f6e4efecd62624875faf8fb92bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:56:06.142Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T00:56:06.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T00:56:06.210Z] prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container [2023-05-11T00:56:06.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T00:56:06.545Z] $ docker top 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T00:56:06.876Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] fileExists [Pipeline] sh [2023-05-11T00:56:07.171Z] + make test [2023-05-11T00:56:07.172Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T00:56:12.437Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T00:56:22.404Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T00:56:22.404Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T00:56:24.305Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.4% of statements [2023-05-11T00:56:24.305Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.138s coverage: 86.5% of statements [2023-05-11T00:56:30.865Z] go vet ./... [2023-05-11T00:56:35.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T00:56:35.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T00:56:35.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T00:56:35.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T00:56:35.074Z] $ docker stop --time=1 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 [2023-05-11T00:56:38.304Z] $ docker rm -f --volumes 58b7f275b1542b7d7fb5caabdeac4985f97231fe6a86b1443cc45886f1b9e1c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T00:56:38.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T00:56:38.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T00:56:39.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T00:56:39.592Z] + ls -al . [2023-05-11T00:56:39.592Z] total 232 [2023-05-11T00:56:39.592Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:56 . [2023-05-11T00:56:39.592Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 .. [2023-05-11T00:56:39.592Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:55 .git [2023-05-11T00:56:39.592Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 .github [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 496 May 11 00:54 .gitignore [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:54 .golangci.yml [2023-05-11T00:56:39.592Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:55 .semver [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 11 00:54 Attribution.txt [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 11 00:54 CHANGELOG.md [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 11 00:54 Dockerfile [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:54 GOVERNANCE.md [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 734 May 11 00:54 Jenkinsfile [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 11 00:54 LICENSE [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 11 00:54 Makefile [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 625 May 11 00:54 OWNERS.md [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 2690 May 11 00:54 README.md [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 00:55 VERSION [2023-05-11T00:56:39.592Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:54 bin [2023-05-11T00:56:39.592Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:54 cmd [2023-05-11T00:56:39.592Z] -rw-r--r-- 1 jenkins jenkins 78459 May 11 00:56 coverage.out [2023-05-11T00:56:39.592Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 doc [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 11 00:54 go.mod [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 11 00:54 go.sum [2023-05-11T00:56:39.592Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 internal [2023-05-11T00:56:39.592Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:54 snap [2023-05-11T00:56:39.592Z] -rw-rw-r-- 1 jenkins jenkins 236 May 11 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:56:40.020Z] + 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=2efac9f858049441aca0a06e4b7bd0e9cdc0159d --label arch=amd64 --label version=0.0.0 . [2023-05-11T00:56:40.020Z] Sending build context to Docker daemon 22.13MB [2023-05-11T00:56:40.020Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T00:56:40.020Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-11T00:56:40.020Z] ---> 7f5ba5252e83 [2023-05-11T00:56:40.020Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-11T00:56:40.278Z] ---> Running in efa2954e243e [2023-05-11T00:56:40.278Z] Removing intermediate container efa2954e243e [2023-05-11T00:56:40.278Z] ---> 68bccd0f6447 [2023-05-11T00:56:40.278Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T00:56:40.278Z] ---> Running in 3e2571cd99d1 [2023-05-11T00:56:40.278Z] Removing intermediate container 3e2571cd99d1 [2023-05-11T00:56:40.278Z] ---> 4236d0e3efbd [2023-05-11T00:56:40.278Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T00:56:40.278Z] ---> Running in 8cc090b4af99 [2023-05-11T00:56:40.564Z] Removing intermediate container 8cc090b4af99 [2023-05-11T00:56:40.564Z] ---> ca721156628d [2023-05-11T00:56:40.564Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T00:56:40.564Z] ---> Running in 41fd3b3a9109 [2023-05-11T00:56:40.564Z] Removing intermediate container 41fd3b3a9109 [2023-05-11T00:56:40.564Z] ---> e6f26bf0f41d [2023-05-11T00:56:40.564Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-11T00:56:40.564Z] ---> Running in 37d6d2ad97fb [2023-05-11T00:56:40.564Z] Removing intermediate container 37d6d2ad97fb [2023-05-11T00:56:40.564Z] ---> 84b7bdf64690 [2023-05-11T00:56:40.564Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T00:56:40.564Z] ---> Running in 2b378bd99ef7 [2023-05-11T00:56:40.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T00:56:41.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T00:56:41.083Z] OK: 265 MiB in 53 packages [2023-05-11T00:56:41.661Z] Removing intermediate container 2b378bd99ef7 [2023-05-11T00:56:41.661Z] ---> 0aae87808534 [2023-05-11T00:56:41.661Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-11T00:56:41.661Z] ---> Running in 1a7212294abb [2023-05-11T00:56:41.661Z] Removing intermediate container 1a7212294abb [2023-05-11T00:56:41.661Z] ---> 5e7cf0121fb0 [2023-05-11T00:56:41.661Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-11T00:56:41.661Z] ---> 2e6a8ffc4414 [2023-05-11T00:56:41.661Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T00:56:41.661Z] ---> Running in 64c1f4059301 [2023-05-11T00:56:42.597Z] Removing intermediate container 64c1f4059301 [2023-05-11T00:56:42.597Z] ---> 708fde7bba75 [2023-05-11T00:56:42.597Z] Step 12/26 : COPY . . [2023-05-11T00:56:43.165Z] ---> ae44158e062b [2023-05-11T00:56:43.165Z] Step 13/26 : RUN ${MAKE} [2023-05-11T00:56:43.165Z] ---> Running in d9d414b6d2fa [2023-05-11T00:56:43.733Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-11T00:57:05.743Z] Removing intermediate container d9d414b6d2fa [2023-05-11T00:57:05.743Z] ---> 0c446672166c [2023-05-11T00:57:05.743Z] Step 14/26 : FROM alpine:3.17 [2023-05-11T00:57:05.743Z] 3.17: Pulling from library/alpine [2023-05-11T00:57:05.743Z] f56be85fc22e: Already exists [2023-05-11T00:57:05.743Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T00:57:05.743Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T00:57:05.743Z] ---> 9ed4aefc74f6 [2023-05-11T00:57:05.743Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-11T00:57:05.743Z] ---> Running in 896d58ddf359 [2023-05-11T00:57:05.743Z] Removing intermediate container 896d58ddf359 [2023-05-11T00:57:05.743Z] ---> c2a39d070832 [2023-05-11T00:57:05.743Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-11T00:57:05.743Z] ---> Running in d58f000edcf8 [2023-05-11T00:57:05.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T00:57:05.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T00:57:05.743Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T00:57:05.743Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T00:57:05.743Z] OK: 7 MiB in 16 packages [2023-05-11T00:57:05.743Z] Removing intermediate container d58f000edcf8 [2023-05-11T00:57:05.743Z] ---> 4ad5adec3c43 [2023-05-11T00:57:05.743Z] Step 17/26 : WORKDIR / [2023-05-11T00:57:05.743Z] ---> Running in 53b901155a98 [2023-05-11T00:57:05.743Z] Removing intermediate container 53b901155a98 [2023-05-11T00:57:05.743Z] ---> 584cd1af9f96 [2023-05-11T00:57:05.743Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-11T00:57:05.743Z] ---> 0c129b5613e8 [2023-05-11T00:57:05.743Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-11T00:57:05.743Z] ---> f936be2678f8 [2023-05-11T00:57:05.743Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-11T00:57:05.743Z] ---> 7270aa0b5d6f [2023-05-11T00:57:05.743Z] Step 21/26 : EXPOSE 59984 [2023-05-11T00:57:05.743Z] ---> Running in c13b0dd0548f [2023-05-11T00:57:05.743Z] Removing intermediate container c13b0dd0548f [2023-05-11T00:57:05.743Z] ---> 491ad4b91014 [2023-05-11T00:57:05.743Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-11T00:57:05.743Z] ---> Running in 31307b9644d5 [2023-05-11T00:57:05.743Z] Removing intermediate container 31307b9644d5 [2023-05-11T00:57:05.743Z] ---> f8a75759aa58 [2023-05-11T00:57:05.743Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T00:57:05.743Z] ---> Running in dd63f9c1af72 [2023-05-11T00:57:05.743Z] Removing intermediate container dd63f9c1af72 [2023-05-11T00:57:05.743Z] ---> b0562d9bd502 [2023-05-11T00:57:05.743Z] Step 24/26 : LABEL arch=amd64 [2023-05-11T00:57:05.743Z] ---> Running in 5b5f0653c860 [2023-05-11T00:57:05.743Z] Removing intermediate container 5b5f0653c860 [2023-05-11T00:57:05.743Z] ---> 9a3a0e4ed445 [2023-05-11T00:57:05.743Z] Step 25/26 : LABEL git_sha=2efac9f858049441aca0a06e4b7bd0e9cdc0159d [2023-05-11T00:57:05.743Z] ---> Running in 8eb313d25555 [2023-05-11T00:57:05.743Z] Removing intermediate container 8eb313d25555 [2023-05-11T00:57:05.743Z] ---> b7cc518741f6 [2023-05-11T00:57:05.743Z] Step 26/26 : LABEL version=0.0.0 [2023-05-11T00:57:05.743Z] ---> Running in cf376e89dcc1 [2023-05-11T00:57:05.743Z] Removing intermediate container cf376e89dcc1 [2023-05-11T00:57:05.743Z] ---> 348a75c89fce [2023-05-11T00:57:05.743Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T00:57:05.743Z] Successfully built 348a75c89fce [2023-05-11T00:57:05.743Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:57:06.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T00:57:06.205Z] [2023-05-11T00:57:06.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:57:06.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T00:57:06.504Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T00:57:06.504Z] 5eb5b503b376: Pulling fs layer [2023-05-11T00:57:06.504Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T00:57:06.504Z] ec43610c2a17: Pulling fs layer [2023-05-11T00:57:06.504Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T00:57:06.504Z] 33b1e0a273af: Pulling fs layer [2023-05-11T00:57:06.504Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T00:57:06.504Z] 2f39f015ded8: Pulling fs layer [2023-05-11T00:57:06.504Z] 3a2ae6a8a46f: Waiting [2023-05-11T00:57:06.504Z] 33b1e0a273af: Waiting [2023-05-11T00:57:06.504Z] 5d3b04190fa2: Waiting [2023-05-11T00:57:06.504Z] 2f39f015ded8: Waiting [2023-05-11T00:57:06.504Z] 5c69ac0246d0: Download complete [2023-05-11T00:57:06.504Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T00:57:06.504Z] 3a2ae6a8a46f: Download complete [2023-05-11T00:57:06.504Z] ec43610c2a17: Verifying Checksum [2023-05-11T00:57:06.504Z] ec43610c2a17: Download complete [2023-05-11T00:57:06.504Z] 33b1e0a273af: Verifying Checksum [2023-05-11T00:57:06.504Z] 33b1e0a273af: Download complete [2023-05-11T00:57:06.504Z] 5d3b04190fa2: Verifying Checksum [2023-05-11T00:57:06.504Z] 5d3b04190fa2: Download complete [2023-05-11T00:57:06.762Z] 5eb5b503b376: Verifying Checksum [2023-05-11T00:57:06.762Z] 5eb5b503b376: Download complete [2023-05-11T00:57:07.333Z] 2f39f015ded8: Download complete [2023-05-11T00:57:07.898Z] 5eb5b503b376: Pull complete [2023-05-11T00:57:07.898Z] 5c69ac0246d0: Pull complete [2023-05-11T00:57:08.465Z] ec43610c2a17: Pull complete [2023-05-11T00:57:08.465Z] 3a2ae6a8a46f: Pull complete [2023-05-11T00:57:08.723Z] 33b1e0a273af: Pull complete [2023-05-11T00:57:08.723Z] 5d3b04190fa2: Pull complete [2023-05-11T00:57:12.907Z] 2f39f015ded8: Pull complete [2023-05-11T00:57:12.907Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T00:57:12.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T00:57:12.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T00:57:13.001Z] prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container [2023-05-11T00:57:13.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T00:57:18.001Z] $ docker top 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T00:57:18.381Z] ---> job-cost.sh [2023-05-11T00:57:18.381Z] lf-activate-venv: SKIPPING [2023-05-11T00:57:18.381Z] INFO: No Stack... [2023-05-11T00:57:18.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T00:57:19.210Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T00:57:19.497Z] + cat /w/workspace/undry_device-onvif-camera_PR-357/archives/cost.csv [2023-05-11T00:57:19.497Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T00:57:19.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [2023-05-11T00:57:19.519Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] did not exist. Created. [2023-05-11T00:57:19.519Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T00:57:19.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T00:57:19.857Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T00:57:19.864Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T00:57:19.887Z] $ docker stop --time=1 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 [2023-05-11T00:57:21.045Z] $ docker rm -f --volumes 5ad73f91ca22a97c6695174a6b54e97def8a169674efb0edf48cf7ef2ea3bda3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T00:58:38.760Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15138 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] ws [2023-05-11T00:58:38.774Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-05-11T00:58:38.814Z] The recommended git tool is: git [2023-05-11T00:58:45.584Z] using credential edgex-jenkins-ssh [2023-05-11T00:58:45.607Z] Cloning the remote Git repository [2023-05-11T00:58:45.677Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T00:58:45.810Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-05-11T00:58:46.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T00:58:46.029Z] > git --version # timeout=10 [2023-05-11T00:58:46.057Z] > git --version # 'git version 2.25.1' [2023-05-11T00:58:46.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T00:58:46.290Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T00:58:47.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T00:58:47.948Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T00:58:49.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-11T00:58:49.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-11T00:58:49.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T00:58:49.807Z] Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [2023-05-11T00:58:50.243Z] Merge succeeded, producing 2efac9f858049441aca0a06e4b7bd0e9cdc0159d [2023-05-11T00:58:50.243Z] Checking out Revision 2efac9f858049441aca0a06e4b7bd0e9cdc0159d (PR-357) [2023-05-11T00:58:49.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-11T00:58:49.842Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T00:58:49.932Z] > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 [2023-05-11T00:58:50.132Z] > git remote # timeout=10 [2023-05-11T00:58:50.155Z] > git config --get remote.origin.url # timeout=10 [2023-05-11T00:58:50.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T00:58:50.193Z] > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 [2023-05-11T00:58:50.222Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-11T00:58:50.254Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T00:58:50.272Z] > git checkout -f 2efac9f858049441aca0a06e4b7bd0e9cdc0159d # timeout=10 [2023-05-11T00:58:53.998Z] Commit message: "fix: update names of postman calls" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T00:58:54.940Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T00:58:54.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T00:58:54.940Z] Dload Upload Total Spent Left Speed [2023-05-11T00:58:54.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-05-11T00:58:55.696Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-11T00:58:56.026Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T00:58:56.026Z] + sudo tee /etc/docker/daemon.new [2023-05-11T00:58:56.026Z] { [2023-05-11T00:58:56.026Z] "registry-mirrors": [ [2023-05-11T00:58:56.026Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T00:58:56.026Z] ], [2023-05-11T00:58:56.026Z] "bip": "10.250.0.254/24", [2023-05-11T00:58:56.026Z] "hosts": [ [2023-05-11T00:58:56.026Z] "tcp://0.0.0.0:5555", [2023-05-11T00:58:56.026Z] "unix:///var/run/docker.sock" [2023-05-11T00:58:56.026Z] ], [2023-05-11T00:58:56.026Z] "mtu": 1458, [2023-05-11T00:58:56.026Z] "selinux-enabled": true, [2023-05-11T00:58:56.026Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T00:58:56.026Z] } [Pipeline] sh [2023-05-11T00:58:56.350Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T00:58:56.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T00:59:15.072Z] provisioning config files... [2023-05-11T00:59:15.099Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config4650312763222509619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T00:59:15.464Z] ---> docker-login.sh [2023-05-11T00:59:15.465Z] nexus3.edgexfoundry.org:10001 [2023-05-11T00:59:16.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:59:16.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:59:16.056Z] Configure a credential helper to remove this warning. See [2023-05-11T00:59:16.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:59:16.056Z] [2023-05-11T00:59:16.056Z] Login Succeeded [2023-05-11T00:59:16.056Z] nexus3.edgexfoundry.org:10002 [2023-05-11T00:59:16.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:59:16.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:59:16.600Z] Configure a credential helper to remove this warning. See [2023-05-11T00:59:16.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:59:16.600Z] [2023-05-11T00:59:16.600Z] Login Succeeded [2023-05-11T00:59:16.600Z] nexus3.edgexfoundry.org:10003 [2023-05-11T00:59:16.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:59:16.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:59:16.869Z] Configure a credential helper to remove this warning. See [2023-05-11T00:59:16.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:59:16.869Z] [2023-05-11T00:59:16.869Z] Login Succeeded [2023-05-11T00:59:16.869Z] nexus3.edgexfoundry.org:10004 [2023-05-11T00:59:17.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:59:17.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:59:17.411Z] Configure a credential helper to remove this warning. See [2023-05-11T00:59:17.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:59:17.411Z] [2023-05-11T00:59:17.411Z] Login Succeeded [2023-05-11T00:59:17.411Z] docker.io [2023-05-11T00:59:17.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T00:59:17.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T00:59:17.955Z] Configure a credential helper to remove this warning. See [2023-05-11T00:59:17.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T00:59:17.955Z] [2023-05-11T00:59:17.955Z] Login Succeeded [2023-05-11T00:59:17.955Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T00:59:17.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T00:59:18.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T00:59:18.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T00:59:18.297Z] ========================================================= [2023-05-11T00:59:18.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T00:59:18.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T00:59:18.660Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-11T00:59:19.256Z] Sending build context to Docker daemon 14.57MB [2023-05-11T00:59:19.256Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T00:59:19.256Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-11T00:59:19.256Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T00:59:19.256Z] c41833b44d91: Pulling fs layer [2023-05-11T00:59:19.256Z] ed15518f5707: Pulling fs layer [2023-05-11T00:59:19.256Z] feae8fd75edb: Pulling fs layer [2023-05-11T00:59:19.256Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T00:59:19.256Z] 3cdef696dda3: Pulling fs layer [2023-05-11T00:59:19.256Z] 2ced38df9373: Pulling fs layer [2023-05-11T00:59:19.256Z] 58f1dce35555: Pulling fs layer [2023-05-11T00:59:19.256Z] 3cdef696dda3: Waiting [2023-05-11T00:59:19.541Z] 2ced38df9373: Waiting [2023-05-11T00:59:19.541Z] 58f1dce35555: Waiting [2023-05-11T00:59:19.541Z] 242c74f7c9fa: Waiting [2023-05-11T00:59:19.541Z] ed15518f5707: Verifying Checksum [2023-05-11T00:59:19.541Z] ed15518f5707: Download complete [2023-05-11T00:59:19.541Z] 242c74f7c9fa: Download complete [2023-05-11T00:59:19.541Z] 3cdef696dda3: Download complete [2023-05-11T00:59:19.541Z] c41833b44d91: Verifying Checksum [2023-05-11T00:59:19.541Z] c41833b44d91: Download complete [2023-05-11T00:59:20.559Z] c41833b44d91: Pull complete [2023-05-11T00:59:21.148Z] 58f1dce35555: Verifying Checksum [2023-05-11T00:59:21.148Z] 58f1dce35555: Download complete [2023-05-11T00:59:21.148Z] ed15518f5707: Pull complete [2023-05-11T00:59:22.140Z] feae8fd75edb: Verifying Checksum [2023-05-11T00:59:22.140Z] feae8fd75edb: Download complete [2023-05-11T00:59:22.409Z] 2ced38df9373: Verifying Checksum [2023-05-11T00:59:22.409Z] 2ced38df9373: Download complete [2023-05-11T00:59:32.517Z] feae8fd75edb: Pull complete [2023-05-11T00:59:32.517Z] 242c74f7c9fa: Pull complete [2023-05-11T00:59:32.517Z] 3cdef696dda3: Pull complete [2023-05-11T00:59:39.176Z] 2ced38df9373: Pull complete [2023-05-11T00:59:40.592Z] 58f1dce35555: Pull complete [2023-05-11T00:59:40.592Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T00:59:40.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T00:59:40.592Z] ---> fadd8f120f05 [2023-05-11T00:59:40.592Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-11T00:59:42.564Z] ---> Running in 16f1452f9fcc [2023-05-11T00:59:42.832Z] Removing intermediate container 16f1452f9fcc [2023-05-11T00:59:42.832Z] ---> d7fdd9b53d54 [2023-05-11T00:59:42.832Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T00:59:42.832Z] ---> Running in 8b24f752bfb3 [2023-05-11T00:59:43.117Z] Removing intermediate container 8b24f752bfb3 [2023-05-11T00:59:43.117Z] ---> 10c7fabcc427 [2023-05-11T00:59:43.117Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-11T00:59:43.117Z] ---> Running in 22838599aebc [2023-05-11T00:59:43.396Z] Removing intermediate container 22838599aebc [2023-05-11T00:59:43.396Z] ---> 2c856eefbce5 [2023-05-11T00:59:43.396Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T00:59:43.664Z] ---> Running in 009b4a860c76 [2023-05-11T00:59:43.933Z] Removing intermediate container 009b4a860c76 [2023-05-11T00:59:43.933Z] ---> 39235b0c4cc9 [2023-05-11T00:59:43.933Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-11T00:59:43.933Z] ---> Running in 53306a4b98b8 [2023-05-11T00:59:44.203Z] Removing intermediate container 53306a4b98b8 [2023-05-11T00:59:44.203Z] ---> 632f8ec6cdfa [2023-05-11T00:59:44.203Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T00:59:44.481Z] ---> Running in 5c159e9adec5 [2023-05-11T00:59:45.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T00:59:46.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T00:59:47.380Z] OK: 263 MiB in 53 packages [2023-05-11T00:59:47.985Z] Removing intermediate container 5c159e9adec5 [2023-05-11T00:59:47.985Z] ---> 7c6e3bf8d316 [2023-05-11T00:59:47.985Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-11T00:59:48.255Z] ---> Running in 20555d6fa86b [2023-05-11T00:59:48.526Z] Removing intermediate container 20555d6fa86b [2023-05-11T00:59:48.526Z] ---> 4ca6a604c206 [2023-05-11T00:59:48.526Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-11T00:59:49.116Z] ---> 20e9de7034ab [2023-05-11T00:59:49.116Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T00:59:49.116Z] ---> Running in f0b592cd7142 [2023-05-11T01:00:57.047Z] Removing intermediate container f0b592cd7142 [2023-05-11T01:00:57.047Z] ---> 33919e1ec097 [2023-05-11T01:00:57.047Z] Step 12/13 : COPY . . [2023-05-11T01:00:57.047Z] ---> c3abd4df4fc5 [2023-05-11T01:00:57.047Z] Step 13/13 : RUN ${MAKE} [2023-05-11T01:00:57.047Z] ---> Running in b41b90f2461c [2023-05-11T01:00:57.047Z] noop [2023-05-11T01:00:57.047Z] Removing intermediate container b41b90f2461c [2023-05-11T01:00:57.047Z] ---> 267d0db9228f [2023-05-11T01:00:57.047Z] Successfully built 267d0db9228f [2023-05-11T01:00:57.047Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T01:00:57.405Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T01:00:57.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T01:00:57.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container [2023-05-11T01:00:57.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T01:00:59.030Z] $ docker top d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T01:00:59.915Z] + go version [2023-05-11T01:00:59.915Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T01:00:59.948Z] $ docker stop --time=1 d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 [2023-05-11T01:01:01.615Z] $ docker rm -f --volumes d45291b9584eb0ba165f2d45a2246c0c2f76f316672e7855eb652169b4e55bd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T01:01:02.182Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T01:01:02.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T01:01:02.382Z] prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container [2023-05-11T01:01:02.479Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-11T01:01:03.709Z] $ docker top a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T01:01:04.547Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-05-11T01:01:05.208Z] + make test [2023-05-11T01:01:05.208Z] go test ./... -coverprofile=coverage.out ./... [2023-05-11T01:01:44.250Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-11T01:04:21.051Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-11T01:04:21.051Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-11T01:04:22.032Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.4% of statements [2023-05-11T01:04:54.322Z] --- FAIL: TestIpGenerator (0.01s) [2023-05-11T01:04:54.322Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.19s) [2023-05-11T01:04:54.322Z] util_test.go:180: [2023-05-11T01:04:54.322Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 [2023-05-11T01:04:54.322Z] Error: Not equal: [2023-05-11T01:04:54.322Z] expected: 0xfffffe [2023-05-11T01:04:54.322Z] actual : 0xfbb579 [2023-05-11T01:04:54.322Z] Test: TestIpGenerator/basic_/8_subnet [2023-05-11T01:04:54.322Z] util_test.go:183: [2023-05-11T01:04:54.322Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 [2023-05-11T01:04:54.322Z] Error: Not equal: [2023-05-11T01:04:54.322Z] expected: "10.255.255.254" [2023-05-11T01:04:54.322Z] actual : "10.251.181.121" [2023-05-11T01:04:54.322Z] [2023-05-11T01:04:54.322Z] Diff: [2023-05-11T01:04:54.322Z] --- Expected [2023-05-11T01:04:54.322Z] +++ Actual [2023-05-11T01:04:54.322Z] @@ -1 +1 @@ [2023-05-11T01:04:54.322Z] -10.255.255.254 [2023-05-11T01:04:54.322Z] +10.251.181.121 [2023-05-11T01:04:54.322Z] Test: TestIpGenerator/basic_/8_subnet [2023-05-11T01:04:54.322Z] FAIL [2023-05-11T01:04:54.322Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-05-11T01:04:54.322Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.397s [2023-05-11T01:04:54.322Z] FAIL [2023-05-11T01:04:54.322Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-11T01:04:54.360Z] $ docker stop --time=1 a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee [2023-05-11T01:04:56.166Z] $ docker rm -f --volumes a17312c32b036da5311e3972610ca9eb48e45a9f0646d28031373464dc2a19ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T01:04:57.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T01:04:57.464Z] [2023-05-11T01:04:57.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T01:04:57.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T01:04:58.134Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T01:04:58.134Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T01:04:58.134Z] 04944245beec: Pulling fs layer [2023-05-11T01:04:58.134Z] 699f458cf7ca: Pulling fs layer [2023-05-11T01:04:58.134Z] 765212b225bb: Pulling fs layer [2023-05-11T01:04:58.134Z] f23df028b6ca: Pulling fs layer [2023-05-11T01:04:58.134Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T01:04:58.134Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T01:04:58.134Z] f23df028b6ca: Waiting [2023-05-11T01:04:58.134Z] d65c8cfc05b1: Waiting [2023-05-11T01:04:58.134Z] 2437ff75d9bd: Waiting [2023-05-11T01:04:58.134Z] 765212b225bb: Waiting [2023-05-11T01:04:58.134Z] 04944245beec: Verifying Checksum [2023-05-11T01:04:58.134Z] 04944245beec: Download complete [2023-05-11T01:04:58.134Z] 765212b225bb: Verifying Checksum [2023-05-11T01:04:58.134Z] 765212b225bb: Download complete [2023-05-11T01:04:58.405Z] f23df028b6ca: Download complete [2023-05-11T01:04:58.405Z] d65c8cfc05b1: Verifying Checksum [2023-05-11T01:04:58.405Z] d65c8cfc05b1: Download complete [2023-05-11T01:04:58.405Z] 699f458cf7ca: Verifying Checksum [2023-05-11T01:04:58.405Z] 699f458cf7ca: Download complete [2023-05-11T01:04:58.999Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T01:04:58.999Z] 8998bd30e6a1: Download complete [2023-05-11T01:05:00.946Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T01:05:00.946Z] 2437ff75d9bd: Download complete [2023-05-11T01:05:02.941Z] 8998bd30e6a1: Pull complete [2023-05-11T01:05:03.209Z] 04944245beec: Pull complete [2023-05-11T01:05:04.622Z] 699f458cf7ca: Pull complete [2023-05-11T01:05:04.622Z] 765212b225bb: Pull complete [2023-05-11T01:05:06.569Z] f23df028b6ca: Pull complete [2023-05-11T01:05:06.838Z] d65c8cfc05b1: Pull complete [2023-05-11T01:05:21.911Z] 2437ff75d9bd: Pull complete [2023-05-11T01:05:21.911Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T01:05:21.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T01:05:21.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T01:05:22.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-15138 does not seem to be running inside a container [2023-05-11T01:05:22.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-11T01:05:25.344Z] $ docker top ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:26.222Z] ---> job-cost.sh [2023-05-11T01:05:26.222Z] lf-activate-venv: SKIPPING [2023-05-11T01:05:26.222Z] INFO: No Stack... [2023-05-11T01:05:26.829Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T01:05:27.804Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T01:05:28.469Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-05-11T01:05:28.469Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T01:05:28.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [2023-05-11T01:05:28.551Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] did not exist. Created. [2023-05-11T01:05:28.552Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T01:05:29.223Z] /w/workspace/device-onvif-camera/2@tmp/durable-0a6067dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T01:05:29.890Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T01:05:29.916Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T01:05:30.437Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T01:05:30.448Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T01:05:30.486Z] $ docker stop --time=1 ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb [2023-05-11T01:05:32.085Z] $ docker rm -f --volumes ca8995c274e928f752c26a8b3f112f94a7c55b2963acee7a527d0eefbcdd00bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T01:05:32.357Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-11T01:05:33.212Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-357/archives ] [2023-05-11T01:05:33.212Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives [2023-05-11T01:05:33.212Z] total 16 [2023-05-11T01:05:33.212Z] drwxr-xr-x 3 root root 4096 May 11 00:57 . [2023-05-11T01:05:33.212Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. [2023-05-11T01:05:33.212Z] drwxr-xr-x 2 root root 4096 May 11 00:57 cost [2023-05-11T01:05:33.212Z] -rw-r--r-- 1 root root 91 May 11 00:57 cost.csv [2023-05-11T01:05:33.212Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-357/archives [2023-05-11T01:05:33.212Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives [2023-05-11T01:05:33.212Z] total 16 [2023-05-11T01:05:33.212Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:57 . [2023-05-11T01:05:33.212Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:57 .. [2023-05-11T01:05:33.212Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 00:57 cost [2023-05-11T01:05:33.212Z] -rw-r--r-- 1 jenkins jenkins 91 May 11 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:33.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:34.364Z] ---> package-listing.sh [2023-05-11T01:05:34.364Z] ++ facter osfamily [2023-05-11T01:05:34.364Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T01:05:34.624Z] + OS_FAMILY=debian [2023-05-11T01:05:34.624Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-357 [2023-05-11T01:05:34.624Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T01:05:34.624Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T01:05:34.624Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T01:05:34.624Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T01:05:34.624Z] + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' [2023-05-11T01:05:34.624Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T01:05:34.624Z] + case "${OS_FAMILY}" in [2023-05-11T01:05:34.624Z] + dpkg -l [2023-05-11T01:05:34.624Z] + grep '^ii' [2023-05-11T01:05:34.624Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T01:05:34.624Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T01:05:34.624Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T01:05:34.624Z] + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' [2023-05-11T01:05:34.624Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-357/archives/ [2023-05-11T01:05:34.624Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-357/archives/ [Pipeline] echo [2023-05-11T01:05:34.633Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-11T01:05:34.912Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T01:05:35.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T01:05:35.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T01:05:35.538Z] prd-ubuntu20.04-docker-8c-8g-15136 does not seem to be running inside a container [2023-05-11T01:05:35.575Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T01:05:35.794Z] $ docker top 25c82619bb03c805bfa0628cd7c80f1ca1e8e335924851e358072a51c761bc05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T01:05:36.131Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T01:05:36.416Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T01:05:36.705Z] + ls /var/log/sa-host [2023-05-11T01:05:36.705Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T01:05:36.905Z] provisioning config files... [2023-05-11T01:05:36.913Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config2760602717690692883tmp [Pipeline] { [Pipeline] echo [2023-05-11T01:05:36.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:37.212Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T01:05:37.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:37.565Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T01:05:37.573Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:37.859Z] ---> sudo-logs.sh [2023-05-11T01:05:37.859Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T01:05:37.879Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:38.162Z] ---> job-cost.sh [2023-05-11T01:05:38.162Z] lf-activate-venv: SKIPPING [2023-05-11T01:05:38.162Z] DEBUG: total: 0.2199999988079071 [2023-05-11T01:05:38.162Z] INFO: Retrieving Stack Cost... [2023-05-11T01:05:38.730Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T01:05:38.990Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T01:05:39.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T01:05:39.281Z] ---> logs-deploy.sh [2023-05-11T01:05:39.281Z] lf-activate-venv: SKIPPING [2023-05-11T01:05:39.281Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-357/2 [2023-05-11T01:05:39.281Z] INFO: archiving workspace using pattern(s): [2023-05-11T01:05:40.215Z] Archives upload complete. [2023-05-11T01:05:40.215Z] INFO: archiving logs to Nexus