Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 349d2554d6fca97c817ada98ee99106d95f3ebb2 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-ssh11532227341674606133.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-ssh103562807774739628.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9359815203428213469.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-ssh9861445717573700614.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5255926799124142893.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-13342 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Avoid second fetch Checking out Revision 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" > git config core.sparsecheckout # timeout=10 > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 > git rev-list --no-walk c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T01:49:21.089Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T01:49:21.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T01:49:21.163Z] ========================================================= [2023-05-05T01:49:21.163Z] EdgeX Global Pipelines Version Info [2023-05-05T01:49:21.163Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:49:21.867Z] ------------------- [2023-05-05T01:49:21.867Z] stable info: [2023-05-05T01:49:21.867Z] ------------------- [2023-05-05T01:49:21.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T01:49:21.867Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T01:49:21.867Z] Message: update stable to v1.0.249 [2023-05-05T01:49:22.437Z] ------------------- [2023-05-05T01:49:22.437Z] experimental info: [2023-05-05T01:49:22.437Z] ------------------- [2023-05-05T01:49:22.437Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T01:49:22.437Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T01:49:22.437Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T01:49:22.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-05-05T01:49:22.624Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-05-05T01:49:22.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T01:49:22.643Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T01:49:22.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T01:49:22.661Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T01:49:22.669Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T01:49:22.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T01:49:22.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T01:49:22.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T01:49:22.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T01:49:22.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-05-05T01:49:22.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T01:49:22.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T01:49:22.766Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T01:49:22.773Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T01:49:22.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T01:49:22.789Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T01:49:22.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T01:49:22.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T01:49:22.813Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-05T01:49:22.821Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-05-05T01:49:22.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T01:49:22.837Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T01:49:22.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T01:49:22.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T01:49:22.870Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T01:49:22.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T01:49:22.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T01:49:22.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T01:49:22.924Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo [2023-05-05T01:49:22.937Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 349d255 [Pipeline] echo [2023-05-05T01:49:22.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:49:22.987Z] provisioning config files... [2023-05-05T01:49:23.002Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2944182937004556372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:49:23.306Z] ---> docker-login.sh [2023-05-05T01:49:23.306Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:49:23.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:23.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:23.567Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:23.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:23.567Z] [2023-05-05T01:49:23.567Z] Login Succeeded [2023-05-05T01:49:23.567Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:49:23.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:23.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:23.826Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:23.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:23.826Z] [2023-05-05T01:49:23.826Z] Login Succeeded [2023-05-05T01:49:23.826Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:49:23.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:23.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:23.826Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:23.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:23.826Z] [2023-05-05T01:49:23.826Z] Login Succeeded [2023-05-05T01:49:23.826Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:49:23.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:23.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:23.826Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:23.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:23.827Z] [2023-05-05T01:49:23.827Z] Login Succeeded [2023-05-05T01:49:23.827Z] docker.io [2023-05-05T01:49:24.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:24.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:24.088Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:24.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:24.088Z] [2023-05-05T01:49:24.088Z] Login Succeeded [2023-05-05T01:49:24.088Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:49:24.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T01:49:24.450Z] + git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo [2023-05-05T01:49:24.503Z] -----------> git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 349d2554d6fca97c817ada98ee99106d95f3ebb2 [false] [Pipeline] sh [2023-05-05T01:49:24.793Z] + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo [2023-05-05T01:49:24.807Z] ========================================================= [2023-05-05T01:49:24.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T01:49:24.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T01:49:25.147Z] + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo [2023-05-05T01:49:25.158Z] [semverPrep] GIT_COMMIT: 349d2554d6fca97c817ada98ee99106d95f3ebb2, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337) [Pipeline] echo [2023-05-05T01:49:25.168Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T01:49:25.515Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T01:49:25.515Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T01:49:25.515Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T01:49:25.515Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T01:49:25.515Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T01:49:25.515Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T01:49:25.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:49:25.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:49:25.877Z] [2023-05-05T01:49:25.877Z] 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-05T01:49:26.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:49:26.178Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T01:49:26.178Z] b85a868b505f: Pulling fs layer [2023-05-05T01:49:26.178Z] e2be974225ed: Pulling fs layer [2023-05-05T01:49:26.178Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T01:49:26.178Z] 988bab9f4d93: Pulling fs layer [2023-05-05T01:49:26.178Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T01:49:26.178Z] eaf3925da568: Pulling fs layer [2023-05-05T01:49:26.178Z] bab4dde63d76: Pulling fs layer [2023-05-05T01:49:26.178Z] 988bab9f4d93: Waiting [2023-05-05T01:49:26.178Z] eaf3925da568: Waiting [2023-05-05T01:49:26.178Z] 1469e6f7b9e6: Waiting [2023-05-05T01:49:26.178Z] bde34c3a00c8: Pulling fs layer [2023-05-05T01:49:26.178Z] b352a97aabf1: Pulling fs layer [2023-05-05T01:49:26.178Z] 4872d77fe225: Pulling fs layer [2023-05-05T01:49:26.178Z] 5851b861e8e6: Pulling fs layer [2023-05-05T01:49:26.178Z] b352a97aabf1: Waiting [2023-05-05T01:49:26.178Z] bde34c3a00c8: Waiting [2023-05-05T01:49:26.178Z] 4872d77fe225: Waiting [2023-05-05T01:49:26.178Z] 5851b861e8e6: Waiting [2023-05-05T01:49:26.179Z] e2be974225ed: Verifying Checksum [2023-05-05T01:49:26.179Z] e2be974225ed: Download complete [2023-05-05T01:49:26.179Z] 988bab9f4d93: Verifying Checksum [2023-05-05T01:49:26.179Z] 988bab9f4d93: Download complete [2023-05-05T01:49:26.179Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T01:49:26.179Z] 1469e6f7b9e6: Download complete [2023-05-05T01:49:26.179Z] eaf3925da568: Download complete [2023-05-05T01:49:26.438Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T01:49:26.438Z] 339a4e72a1f5: Download complete [2023-05-05T01:49:26.438Z] bde34c3a00c8: Verifying Checksum [2023-05-05T01:49:26.438Z] bde34c3a00c8: Download complete [2023-05-05T01:49:26.438Z] b352a97aabf1: Verifying Checksum [2023-05-05T01:49:26.438Z] b352a97aabf1: Download complete [2023-05-05T01:49:26.438Z] 4872d77fe225: Download complete [2023-05-05T01:49:26.438Z] 5851b861e8e6: Verifying Checksum [2023-05-05T01:49:26.438Z] 5851b861e8e6: Download complete [2023-05-05T01:49:26.438Z] b85a868b505f: Verifying Checksum [2023-05-05T01:49:26.438Z] b85a868b505f: Download complete [2023-05-05T01:49:26.700Z] bab4dde63d76: Verifying Checksum [2023-05-05T01:49:26.700Z] bab4dde63d76: Download complete [2023-05-05T01:49:27.649Z] b85a868b505f: Pull complete [2023-05-05T01:49:27.649Z] e2be974225ed: Pull complete [2023-05-05T01:49:28.224Z] 339a4e72a1f5: Pull complete [2023-05-05T01:49:28.224Z] 988bab9f4d93: Pull complete [2023-05-05T01:49:28.487Z] 1469e6f7b9e6: Pull complete [2023-05-05T01:49:28.487Z] eaf3925da568: Pull complete [2023-05-05T01:49:30.397Z] bab4dde63d76: Pull complete [2023-05-05T01:49:30.397Z] bde34c3a00c8: Pull complete [2023-05-05T01:49:30.397Z] b352a97aabf1: Pull complete [2023-05-05T01:49:30.659Z] 4872d77fe225: Pull complete [2023-05-05T01:49:30.659Z] 5851b861e8e6: Pull complete [2023-05-05T01:49:30.659Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T01:49:30.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:49:30.659Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:49:30.759Z] prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container [2023-05-05T01:49:30.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T01:49:32.003Z] $ docker top f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 -eo pid,comm [2023-05-05T01:49:32.054Z] 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-05T01:49:32.055Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T01:49:32.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T01:49:32.100Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T01:49:32.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T01:49:32.218Z] $ docker exec f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent [2023-05-05T01:49:32.318Z] SSH_AUTH_SOCK=/tmp/ssh-DlVCowkNSoR1/agent.32 [2023-05-05T01:49:32.319Z] SSH_AGENT_PID=38 [2023-05-05T01:49:32.325Z] Running ssh-add (command line suppressed) [2023-05-05T01:49:32.432Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16672132937773970153.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16672132937773970153.key) [2023-05-05T01:49:32.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T01:49:32.737Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T01:49:32.752Z] $ docker exec --env ******** --env ******** f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent -k [2023-05-05T01:49:32.855Z] unset SSH_AUTH_SOCK; [2023-05-05T01:49:32.856Z] unset SSH_AGENT_PID; [2023-05-05T01:49:32.856Z] echo Agent pid 38 killed; [2023-05-05T01:49:32.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T01:49:32.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T01:49:32.892Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T01:49:33.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T01:49:33.012Z] $ docker exec f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent [2023-05-05T01:49:33.121Z] SSH_AUTH_SOCK=/tmp/ssh-50nSlW8BQXzu/agent.70 [2023-05-05T01:49:33.121Z] SSH_AGENT_PID=76 [2023-05-05T01:49:33.126Z] Running ssh-add (command line suppressed) [2023-05-05T01:49:33.225Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15079509609029815552.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15079509609029815552.key) [2023-05-05T01:49:33.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T01:49:33.529Z] + git semver init [2023-05-05T01:49:33.787Z] 2023-05-05 01:49:33,693 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T01:49:33.787Z] 2023-05-05 01:49:33,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-05-05T01:49:33.787Z] 2023-05-05 01:49:33,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-05-05T01:49:33.788Z] 2023-05-05 01:49:33,695 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T01:49:34.723Z] 2023-05-05 01:49:34,549 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-05-05T01:49:34.723Z] 2023-05-05 01:49:34,549 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-05-05T01:49:34.723Z] 2023-05-05 01:49:34,550 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-05-05T01:49:34.723Z] 2023-05-05 01:49:34,550 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-05-05T01:49:34.723Z] 3.0.0-dev.38 [Pipeline] } [2023-05-05T01:49:34.744Z] $ docker exec --env ******** --env ******** f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent -k [2023-05-05T01:49:34.840Z] unset SSH_AUTH_SOCK; [2023-05-05T01:49:34.841Z] unset SSH_AGENT_PID; [2023-05-05T01:49:34.841Z] echo Agent pid 76 killed; [2023-05-05T01:49:34.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T01:49:35.155Z] + git semver [Pipeline] } [2023-05-05T01:49:35.430Z] $ docker stop --time=1 f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 [2023-05-05T01:49:36.705Z] $ docker rm -f --volumes f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T01:49:37.041Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T01:49:37.244Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T01:49:37.247Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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-05T01:49:37.404Z] provisioning config files... [2023-05-05T01:49:37.414Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7997745639046969057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:49:37.709Z] ---> docker-login.sh [2023-05-05T01:49:37.709Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:49:37.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:37.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:37.709Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:37.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:37.709Z] [2023-05-05T01:49:37.709Z] Login Succeeded [2023-05-05T01:49:37.709Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:49:37.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:37.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:37.709Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:37.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:37.709Z] [2023-05-05T01:49:37.709Z] Login Succeeded [2023-05-05T01:49:37.709Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:49:37.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:37.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:37.976Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:37.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:37.976Z] [2023-05-05T01:49:37.976Z] Login Succeeded [2023-05-05T01:49:37.976Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:49:37.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:37.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:37.976Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:37.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:37.976Z] [2023-05-05T01:49:37.976Z] Login Succeeded [2023-05-05T01:49:37.976Z] docker.io [2023-05-05T01:49:37.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:49:38.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:49:38.236Z] Configure a credential helper to remove this warning. See [2023-05-05T01:49:38.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:49:38.236Z] [2023-05-05T01:49:38.236Z] Login Succeeded [2023-05-05T01:49:38.236Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:49:38.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T01:49:38.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:49:38.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:49:38.312Z] ========================================================= [2023-05-05T01:49:38.312Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T01:49:38.312Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:49:38.629Z] + 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-05T01:49:38.629Z] Sending build context to Docker daemon 21.51MB [2023-05-05T01:49:38.629Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:49:38.630Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-05T01:49:38.630Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T01:49:38.630Z] f56be85fc22e: Pulling fs layer [2023-05-05T01:49:38.630Z] 85791d961cd3: Pulling fs layer [2023-05-05T01:49:38.630Z] d694b5ae8c79: Pulling fs layer [2023-05-05T01:49:38.630Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T01:49:38.630Z] 4d19c01a9841: Pulling fs layer [2023-05-05T01:49:38.630Z] 9325e15d5711: Pulling fs layer [2023-05-05T01:49:38.630Z] 556b6ee489ea: Pulling fs layer [2023-05-05T01:49:38.630Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T01:49:38.630Z] 4d19c01a9841: Waiting [2023-05-05T01:49:38.630Z] 9325e15d5711: Waiting [2023-05-05T01:49:38.630Z] 9f32a84ed3da: Waiting [2023-05-05T01:49:38.630Z] 556b6ee489ea: Waiting [2023-05-05T01:49:38.889Z] 85791d961cd3: Download complete [2023-05-05T01:49:38.889Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T01:49:38.889Z] 9f32a84ed3da: Download complete [2023-05-05T01:49:38.889Z] 4d19c01a9841: Verifying Checksum [2023-05-05T01:49:38.889Z] 4d19c01a9841: Download complete [2023-05-05T01:49:38.889Z] f56be85fc22e: Download complete [2023-05-05T01:49:38.889Z] 9325e15d5711: Verifying Checksum [2023-05-05T01:49:38.889Z] 9325e15d5711: Download complete [2023-05-05T01:49:38.889Z] f56be85fc22e: Pull complete [2023-05-05T01:49:39.149Z] 85791d961cd3: Pull complete [2023-05-05T01:49:39.408Z] d694b5ae8c79: Download complete [2023-05-05T01:49:39.408Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T01:49:39.408Z] c5a4b2cf53e6: Download complete [2023-05-05T01:49:39.667Z] 556b6ee489ea: Verifying Checksum [2023-05-05T01:49:39.667Z] 556b6ee489ea: Download complete [2023-05-05T01:49:42.954Z] d694b5ae8c79: Pull complete [2023-05-05T01:49:42.954Z] 9f32a84ed3da: Pull complete [2023-05-05T01:49:42.954Z] 4d19c01a9841: Pull complete [2023-05-05T01:49:42.954Z] 9325e15d5711: Pull complete [2023-05-05T01:49:45.485Z] 556b6ee489ea: Pull complete [2023-05-05T01:49:46.419Z] c5a4b2cf53e6: Pull complete [2023-05-05T01:49:46.419Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T01:49:46.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T01:49:46.419Z] ---> c4be618373d6 [2023-05-05T01:49:46.419Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:49:47.804Z] ---> Running in 4f8caf3b92e0 [2023-05-05T01:49:47.804Z] Removing intermediate container 4f8caf3b92e0 [2023-05-05T01:49:47.804Z] ---> aba8ce396780 [2023-05-05T01:49:47.804Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:49:47.804Z] ---> Running in ce23477c80ec [2023-05-05T01:49:48.064Z] Removing intermediate container ce23477c80ec [2023-05-05T01:49:48.064Z] ---> 92af28bbef49 [2023-05-05T01:49:48.064Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-05T01:49:48.064Z] ---> Running in bec879796346 [2023-05-05T01:49:48.064Z] Removing intermediate container bec879796346 [2023-05-05T01:49:48.064Z] ---> ef1c98bec591 [2023-05-05T01:49:48.064Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:49:48.064Z] ---> Running in 6bb1ef0f745d [2023-05-05T01:49:48.325Z] Removing intermediate container 6bb1ef0f745d [2023-05-05T01:49:48.325Z] ---> a1400b72d7d7 [2023-05-05T01:49:48.325Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-05T01:49:48.325Z] ---> Running in 5c2faef75406 [2023-05-05T01:49:48.325Z] Removing intermediate container 5c2faef75406 [2023-05-05T01:49:48.325Z] ---> 530acc411520 [2023-05-05T01:49:48.325Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:49:48.325Z] ---> Running in 917cea70c95b [2023-05-05T01:49:48.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:49:48.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:49:49.102Z] OK: 265 MiB in 53 packages [2023-05-05T01:49:49.360Z] Removing intermediate container 917cea70c95b [2023-05-05T01:49:49.360Z] ---> 7df249032ede [2023-05-05T01:49:49.360Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-05T01:49:49.360Z] ---> Running in e8440ae52454 [2023-05-05T01:49:49.360Z] Removing intermediate container e8440ae52454 [2023-05-05T01:49:49.360Z] ---> 9776c944616e [2023-05-05T01:49:49.360Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-05T01:49:49.619Z] ---> 831a83dcd88b [2023-05-05T01:49:49.619Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:49:49.619Z] ---> Running in 7e118785ec16 [2023-05-05T01:49:52.366Z] Still waiting to schedule task [2023-05-05T01:49:52.366Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13339’ [2023-05-05T01:50:11.554Z] Removing intermediate container 7e118785ec16 [2023-05-05T01:50:11.554Z] ---> 312c64329d1d [2023-05-05T01:50:11.554Z] Step 12/13 : COPY . . [2023-05-05T01:50:11.554Z] ---> 0bf5c82eab41 [2023-05-05T01:50:11.554Z] Step 13/13 : RUN ${MAKE} [2023-05-05T01:50:11.554Z] ---> Running in 08220e18e786 [2023-05-05T01:50:11.554Z] noop [2023-05-05T01:50:11.554Z] Removing intermediate container 08220e18e786 [2023-05-05T01:50:11.554Z] ---> 97d156105a45 [2023-05-05T01:50:11.554Z] Successfully built 97d156105a45 [2023-05-05T01:50:11.554Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:50:11.862Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T01:50:11.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:50:11.937Z] prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container [2023-05-05T01:50:11.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T01:50:12.321Z] $ docker top e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:50:12.656Z] + go version [2023-05-05T01:50:12.657Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T01:50:12.671Z] $ docker stop --time=1 e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 [2023-05-05T01:50:13.976Z] $ docker rm -f --volumes e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:50:14.385Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T01:50:14.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:50:14.462Z] prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container [2023-05-05T01:50:14.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T01:50:14.888Z] $ docker top 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:50:15.229Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T01:50:15.521Z] + make test [2023-05-05T01:50:15.521Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T01:50:20.799Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-05T01:50:33.000Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-05T01:50:33.000Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-05T01:50:34.381Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.1% of statements [2023-05-05T01:50:35.757Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.220s coverage: 86.5% of statements [2023-05-05T01:50:44.665Z] go vet ./... [2023-05-05T01:50:50.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T01:50:50.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T01:50:50.241Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T01:50:50.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T01:50:50.267Z] $ docker stop --time=1 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f [2023-05-05T01:50:51.948Z] $ docker rm -f --volumes 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T01:50:52.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T01:50:52.505Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T01:50:52.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T01:50:53.291Z] + ls -al . [2023-05-05T01:50:53.291Z] total 232 [2023-05-05T01:50:53.291Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:50 . [2023-05-05T01:50:53.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 .. [2023-05-05T01:50:53.291Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:49 .git [2023-05-05T01:50:53.291Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:49 .github [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 496 May 5 01:49 .gitignore [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 42 May 5 01:49 .golangci.yml [2023-05-05T01:50:53.291Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:49 .semver [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 10087 May 5 01:49 Attribution.txt [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 6312 May 5 01:49 CHANGELOG.md [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 1574 May 5 01:49 Dockerfile [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:49 GOVERNANCE.md [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 734 May 5 01:49 Jenkinsfile [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 5 01:49 LICENSE [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 2751 May 5 01:49 Makefile [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 625 May 5 01:49 OWNERS.md [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 2591 May 5 01:49 README.md [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:49 VERSION [2023-05-05T01:50:53.291Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:49 bin [2023-05-05T01:50:53.291Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:49 cmd [2023-05-05T01:50:53.291Z] -rw-r--r-- 1 jenkins jenkins 79191 May 5 01:50 coverage.out [2023-05-05T01:50:53.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 doc [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 3642 May 5 01:49 go.mod [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 33491 May 5 01:49 go.sum [2023-05-05T01:50:53.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 internal [2023-05-05T01:50:53.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 snap [2023-05-05T01:50:53.291Z] -rw-rw-r-- 1 jenkins jenkins 236 May 5 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:50:53.683Z] + 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=349d2554d6fca97c817ada98ee99106d95f3ebb2 --label arch=amd64 --label version=3.0.0-dev.38 . [2023-05-05T01:50:53.684Z] Sending build context to Docker daemon 21.59MB [2023-05-05T01:50:53.684Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:50:53.684Z] Step 2/26 : FROM ${BASE} AS builder [2023-05-05T01:50:53.684Z] ---> 97d156105a45 [2023-05-05T01:50:53.684Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:50:53.684Z] ---> Running in d6e16b435e14 [2023-05-05T01:50:53.971Z] Removing intermediate container d6e16b435e14 [2023-05-05T01:50:53.971Z] ---> 810ef1969318 [2023-05-05T01:50:53.971Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:50:53.971Z] ---> Running in e98800d1bcb9 [2023-05-05T01:50:53.971Z] Removing intermediate container e98800d1bcb9 [2023-05-05T01:50:53.971Z] ---> 0fe6e6dd9893 [2023-05-05T01:50:53.971Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-05-05T01:50:53.971Z] ---> Running in c67ddb8df50a [2023-05-05T01:50:53.971Z] Removing intermediate container c67ddb8df50a [2023-05-05T01:50:53.971Z] ---> 514e14175a0b [2023-05-05T01:50:53.971Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:50:53.971Z] ---> Running in b9a3fe99bd74 [2023-05-05T01:50:54.249Z] Removing intermediate container b9a3fe99bd74 [2023-05-05T01:50:54.249Z] ---> b747aa95faae [2023-05-05T01:50:54.249Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-05-05T01:50:54.249Z] ---> Running in 4b6399ca22b8 [2023-05-05T01:50:54.249Z] Removing intermediate container 4b6399ca22b8 [2023-05-05T01:50:54.249Z] ---> 81bae153e8ca [2023-05-05T01:50:54.249Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:50:54.249Z] ---> Running in 8e77060f018d [2023-05-05T01:50:54.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:50:54.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:50:54.775Z] OK: 265 MiB in 53 packages [2023-05-05T01:50:55.033Z] Removing intermediate container 8e77060f018d [2023-05-05T01:50:55.033Z] ---> 152539d4bc28 [2023-05-05T01:50:55.033Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-05-05T01:50:55.033Z] ---> Running in 99b25ca663a4 [2023-05-05T01:50:55.292Z] Removing intermediate container 99b25ca663a4 [2023-05-05T01:50:55.292Z] ---> bb161e6940dc [2023-05-05T01:50:55.292Z] Step 10/26 : COPY go.mod vendor* ./ [2023-05-05T01:50:55.292Z] ---> 4d022268d475 [2023-05-05T01:50:55.292Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:50:55.292Z] ---> Running in 27848abb3ecc [2023-05-05T01:50:56.227Z] Removing intermediate container 27848abb3ecc [2023-05-05T01:50:56.227Z] ---> 4af5f3f156bb [2023-05-05T01:50:56.227Z] Step 12/26 : COPY . . [2023-05-05T01:50:56.796Z] ---> 078459095ad6 [2023-05-05T01:50:56.796Z] Step 13/26 : RUN ${MAKE} [2023-05-05T01:50:56.796Z] ---> Running in a88b54c2b285 [2023-05-05T01:50:57.055Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-05-05T01:51:18.978Z] Removing intermediate container a88b54c2b285 [2023-05-05T01:51:18.979Z] ---> 21e2bd5a21ac [2023-05-05T01:51:18.979Z] Step 14/26 : FROM alpine:3.17 [2023-05-05T01:51:18.979Z] 3.17: Pulling from library/alpine [2023-05-05T01:51:18.979Z] f56be85fc22e: Already exists [2023-05-05T01:51:18.979Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T01:51:18.979Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T01:51:18.979Z] ---> 9ed4aefc74f6 [2023-05-05T01:51:18.979Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-05T01:51:18.979Z] ---> Running in 6f77988efe8d [2023-05-05T01:51:18.979Z] Removing intermediate container 6f77988efe8d [2023-05-05T01:51:18.979Z] ---> d30d9c7ce8f6 [2023-05-05T01:51:18.979Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-05-05T01:51:18.979Z] ---> Running in 3ef44ff02925 [2023-05-05T01:51:18.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:51:18.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:51:18.979Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T01:51:18.979Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T01:51:18.979Z] OK: 7 MiB in 16 packages [2023-05-05T01:51:18.979Z] Removing intermediate container 3ef44ff02925 [2023-05-05T01:51:18.979Z] ---> 5571f9428a38 [2023-05-05T01:51:18.979Z] Step 17/26 : WORKDIR / [2023-05-05T01:51:18.979Z] ---> Running in c63e9c41b1d7 [2023-05-05T01:51:18.979Z] Removing intermediate container c63e9c41b1d7 [2023-05-05T01:51:18.979Z] ---> d6fa2ba8dd63 [2023-05-05T01:51:18.979Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-05-05T01:51:18.979Z] ---> 43e44590dff3 [2023-05-05T01:51:18.979Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-05-05T01:51:18.979Z] ---> 16f5b34eba9d [2023-05-05T01:51:18.979Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-05-05T01:51:18.979Z] ---> 285c6d5d8c0e [2023-05-05T01:51:18.979Z] Step 21/26 : EXPOSE 59984 [2023-05-05T01:51:18.979Z] ---> Running in c46ad674e67e [2023-05-05T01:51:18.979Z] Removing intermediate container c46ad674e67e [2023-05-05T01:51:18.979Z] ---> efb4822345d4 [2023-05-05T01:51:18.979Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-05-05T01:51:18.979Z] ---> Running in 22071d9bf952 [2023-05-05T01:51:18.979Z] Removing intermediate container 22071d9bf952 [2023-05-05T01:51:18.979Z] ---> 056efa723691 [2023-05-05T01:51:18.979Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T01:51:18.979Z] ---> Running in ebc4e1bb6d37 [2023-05-05T01:51:18.979Z] Removing intermediate container ebc4e1bb6d37 [2023-05-05T01:51:18.979Z] ---> 65c881e2388c [2023-05-05T01:51:18.979Z] Step 24/26 : LABEL arch=amd64 [2023-05-05T01:51:18.979Z] ---> Running in fedc09c4b12e [2023-05-05T01:51:18.979Z] Removing intermediate container fedc09c4b12e [2023-05-05T01:51:18.979Z] ---> d31d6bc4b5d2 [2023-05-05T01:51:18.979Z] Step 25/26 : LABEL git_sha=349d2554d6fca97c817ada98ee99106d95f3ebb2 [2023-05-05T01:51:18.979Z] ---> Running in bcdb8e482d06 [2023-05-05T01:51:18.979Z] Removing intermediate container bcdb8e482d06 [2023-05-05T01:51:18.979Z] ---> 1985ea38a5e6 [2023-05-05T01:51:18.979Z] Step 26/26 : LABEL version=3.0.0-dev.38 [2023-05-05T01:51:18.979Z] ---> Running in 2775def378b3 [2023-05-05T01:51:18.979Z] Removing intermediate container 2775def378b3 [2023-05-05T01:51:18.979Z] ---> 4992de4b030f [2023-05-05T01:51:18.979Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T01:51:18.979Z] Successfully built 4992de4b030f [2023-05-05T01:51:18.979Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:51:19.085Z] provisioning config files... [2023-05-05T01:51:19.093Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4016261241760890837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:51:19.391Z] ---> docker-login.sh [2023-05-05T01:51:19.391Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:51:19.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:51:19.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:51:19.391Z] Configure a credential helper to remove this warning. See [2023-05-05T01:51:19.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:51:19.391Z] [2023-05-05T01:51:19.391Z] Login Succeeded [2023-05-05T01:51:19.391Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:51:19.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:51:19.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:51:19.391Z] Configure a credential helper to remove this warning. See [2023-05-05T01:51:19.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:51:19.391Z] [2023-05-05T01:51:19.391Z] Login Succeeded [2023-05-05T01:51:19.391Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:51:19.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:51:19.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:51:19.648Z] Configure a credential helper to remove this warning. See [2023-05-05T01:51:19.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:51:19.648Z] [2023-05-05T01:51:19.648Z] Login Succeeded [2023-05-05T01:51:19.648Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:51:19.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:51:19.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:51:19.648Z] Configure a credential helper to remove this warning. See [2023-05-05T01:51:19.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:51:19.648Z] [2023-05-05T01:51:19.648Z] Login Succeeded [2023-05-05T01:51:19.648Z] docker.io [2023-05-05T01:51:19.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:51:19.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:51:19.908Z] Configure a credential helper to remove this warning. See [2023-05-05T01:51:19.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:51:19.908Z] [2023-05-05T01:51:19.908Z] Login Succeeded [2023-05-05T01:51:19.908Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:51:19.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T01:51:19.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:51:19.954Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-05-05T01:51:19.955Z] 349d2554d6fca97c817ada98ee99106d95f3ebb2 [2023-05-05T01:51:19.955Z] latest [2023-05-05T01:51:19.955Z] 3.0.0-dev.38 [2023-05-05T01:51:19.955Z] 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [2023-05-05T01:51:19.955Z] main [2023-05-05T01:51:19.955Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:20.267Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:20.572Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 [2023-05-05T01:51:20.572Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-05-05T01:51:20.572Z] 6ee5407be64b: Preparing [2023-05-05T01:51:20.572Z] a43f9494bbf3: Preparing [2023-05-05T01:51:20.572Z] acfbb8d690b1: Preparing [2023-05-05T01:51:20.572Z] 13e74a588451: Preparing [2023-05-05T01:51:20.572Z] f1417ff83b31: Preparing [2023-05-05T01:51:20.572Z] f1417ff83b31: Layer already exists [2023-05-05T01:51:20.572Z] a43f9494bbf3: Pushed [2023-05-05T01:51:20.572Z] 6ee5407be64b: Pushed [2023-05-05T01:51:20.572Z] 13e74a588451: Pushed [2023-05-05T01:51:23.865Z] acfbb8d690b1: Pushed [2023-05-05T01:51:23.865Z] 349d2554d6fca97c817ada98ee99106d95f3ebb2: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:24.185Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:24.505Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-05-05T01:51:24.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-05-05T01:51:24.505Z] 6ee5407be64b: Preparing [2023-05-05T01:51:24.505Z] a43f9494bbf3: Preparing [2023-05-05T01:51:24.505Z] acfbb8d690b1: Preparing [2023-05-05T01:51:24.505Z] 13e74a588451: Preparing [2023-05-05T01:51:24.505Z] f1417ff83b31: Preparing [2023-05-05T01:51:24.505Z] f1417ff83b31: Layer already exists [2023-05-05T01:51:24.505Z] 6ee5407be64b: Layer already exists [2023-05-05T01:51:24.505Z] a43f9494bbf3: Layer already exists [2023-05-05T01:51:24.505Z] 13e74a588451: Layer already exists [2023-05-05T01:51:24.505Z] acfbb8d690b1: Layer already exists [2023-05-05T01:51:24.505Z] latest: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:24.828Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:25.129Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 [2023-05-05T01:51:25.129Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-05-05T01:51:25.129Z] 6ee5407be64b: Preparing [2023-05-05T01:51:25.129Z] a43f9494bbf3: Preparing [2023-05-05T01:51:25.129Z] acfbb8d690b1: Preparing [2023-05-05T01:51:25.129Z] 13e74a588451: Preparing [2023-05-05T01:51:25.129Z] f1417ff83b31: Preparing [2023-05-05T01:51:25.129Z] f1417ff83b31: Layer already exists [2023-05-05T01:51:25.129Z] a43f9494bbf3: Layer already exists [2023-05-05T01:51:25.129Z] 6ee5407be64b: Layer already exists [2023-05-05T01:51:25.129Z] acfbb8d690b1: Layer already exists [2023-05-05T01:51:25.129Z] 13e74a588451: Layer already exists [2023-05-05T01:51:25.129Z] 3.0.0-dev.38: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:25.445Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:25.748Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [2023-05-05T01:51:25.748Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-05-05T01:51:25.748Z] 6ee5407be64b: Preparing [2023-05-05T01:51:25.748Z] a43f9494bbf3: Preparing [2023-05-05T01:51:25.748Z] acfbb8d690b1: Preparing [2023-05-05T01:51:25.748Z] 13e74a588451: Preparing [2023-05-05T01:51:25.748Z] f1417ff83b31: Preparing [2023-05-05T01:51:25.748Z] a43f9494bbf3: Layer already exists [2023-05-05T01:51:25.748Z] 6ee5407be64b: Layer already exists [2023-05-05T01:51:25.748Z] acfbb8d690b1: Layer already exists [2023-05-05T01:51:25.748Z] f1417ff83b31: Layer already exists [2023-05-05T01:51:25.748Z] 13e74a588451: Layer already exists [2023-05-05T01:51:25.748Z] 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:26.056Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:26.356Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-05-05T01:51:26.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-05-05T01:51:26.357Z] 6ee5407be64b: Preparing [2023-05-05T01:51:26.357Z] a43f9494bbf3: Preparing [2023-05-05T01:51:26.357Z] acfbb8d690b1: Preparing [2023-05-05T01:51:26.357Z] 13e74a588451: Preparing [2023-05-05T01:51:26.357Z] f1417ff83b31: Preparing [2023-05-05T01:51:26.357Z] f1417ff83b31: Layer already exists [2023-05-05T01:51:26.357Z] a43f9494bbf3: Layer already exists [2023-05-05T01:51:26.357Z] 6ee5407be64b: Layer already exists [2023-05-05T01:51:26.357Z] 13e74a588451: Layer already exists [2023-05-05T01:51:26.357Z] acfbb8d690b1: Layer already exists [2023-05-05T01:51:26.357Z] main: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T01:51:26.393Z] ===================================================== [Pipeline] echo [2023-05-05T01:51:26.399Z] taggedImages: [2023-05-05T01:51:26.399Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 [2023-05-05T01:51:26.399Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-05-05T01:51:26.399Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 [2023-05-05T01:51:26.399Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [2023-05-05T01:51:26.399Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:26.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:51:26.738Z] [2023-05-05T01:51:26.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:51:27.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:51:27.030Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T01:51:27.030Z] 5eb5b503b376: Pulling fs layer [2023-05-05T01:51:27.030Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T01:51:27.030Z] ec43610c2a17: Pulling fs layer [2023-05-05T01:51:27.030Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T01:51:27.030Z] 33b1e0a273af: Pulling fs layer [2023-05-05T01:51:27.030Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T01:51:27.030Z] 2f39f015ded8: Pulling fs layer [2023-05-05T01:51:27.030Z] 3a2ae6a8a46f: Waiting [2023-05-05T01:51:27.030Z] 33b1e0a273af: Waiting [2023-05-05T01:51:27.030Z] 5d3b04190fa2: Waiting [2023-05-05T01:51:27.030Z] 2f39f015ded8: Waiting [2023-05-05T01:51:27.030Z] 5c69ac0246d0: Verifying Checksum [2023-05-05T01:51:27.030Z] 5c69ac0246d0: Download complete [2023-05-05T01:51:27.030Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T01:51:27.030Z] 3a2ae6a8a46f: Download complete [2023-05-05T01:51:27.030Z] 33b1e0a273af: Verifying Checksum [2023-05-05T01:51:27.030Z] 33b1e0a273af: Download complete [2023-05-05T01:51:27.292Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T01:51:27.292Z] 5d3b04190fa2: Download complete [2023-05-05T01:51:27.292Z] ec43610c2a17: Verifying Checksum [2023-05-05T01:51:27.292Z] ec43610c2a17: Download complete [2023-05-05T01:51:27.292Z] 5eb5b503b376: Verifying Checksum [2023-05-05T01:51:27.292Z] 5eb5b503b376: Download complete [2023-05-05T01:51:27.860Z] 2f39f015ded8: Verifying Checksum [2023-05-05T01:51:27.860Z] 2f39f015ded8: Download complete [2023-05-05T01:51:28.794Z] 5eb5b503b376: Pull complete [2023-05-05T01:51:28.794Z] 5c69ac0246d0: Pull complete [2023-05-05T01:51:29.052Z] ec43610c2a17: Pull complete [2023-05-05T01:51:29.310Z] 3a2ae6a8a46f: Pull complete [2023-05-05T01:51:29.569Z] 33b1e0a273af: Pull complete [2023-05-05T01:51:29.569Z] 5d3b04190fa2: Pull complete [2023-05-05T01:51:33.755Z] 2f39f015ded8: Pull complete [2023-05-05T01:51:34.012Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T01:51:34.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:51:34.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:51:34.179Z] prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container [2023-05-05T01:51:34.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T01:51:35.274Z] $ docker top 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:51:35.649Z] ---> job-cost.sh [2023-05-05T01:51:35.649Z] lf-activate-venv: SKIPPING [2023-05-05T01:51:35.649Z] INFO: No Stack... [2023-05-05T01:51:36.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T01:51:36.487Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T01:51:36.780Z] + cat+ /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-05-05T01:51:36.780Z] cut -d, -f6 [Pipeline] lock [2023-05-05T01:51:36.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [2023-05-05T01:51:36.800Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] did not exist. Created. [2023-05-05T01:51:36.800Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T01:51:37.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T01:51:37.133Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T01:51:37.140Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T01:51:37.162Z] $ docker stop --time=1 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 [2023-05-05T01:51:38.342Z] $ docker rm -f --volumes 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T01:52:53.461Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13345 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-05-05T01:52:53.478Z] Running in /w/workspace/device-onvif-camera/133 [Pipeline] { [Pipeline] checkout [2023-05-05T01:52:53.517Z] The recommended git tool is: git [2023-05-05T01:52:59.125Z] using credential edgex-jenkins-ssh [2023-05-05T01:52:59.143Z] Cloning the remote Git repository [2023-05-05T01:52:59.207Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-05T01:52:59.322Z] > git init /w/workspace/device-onvif-camera/133 # timeout=10 [2023-05-05T01:52:59.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-05-05T01:52:59.503Z] > git --version # timeout=10 [2023-05-05T01:52:59.530Z] > git --version # 'git version 2.25.1' [2023-05-05T01:52:59.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T01:52:59.729Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T01:53:01.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-05-05T01:53:01.251Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T01:53:02.436Z] Avoid second fetch [2023-05-05T01:53:02.437Z] Checking out Revision 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) [2023-05-05T01:53:03.270Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T01:53:02.464Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T01:53:02.570Z] > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 [2023-05-05T01:53:04.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T01:53:04.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T01:53:04.172Z] Dload Upload Total Spent Left Speed [2023-05-05T01:53:04.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-05-05T01:53:04.868Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T01:53:05.213Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T01:53:05.213Z] + sudo tee /etc/docker/daemon.new [2023-05-05T01:53:05.213Z] { [2023-05-05T01:53:05.213Z] "registry-mirrors": [ [2023-05-05T01:53:05.213Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T01:53:05.213Z] ], [2023-05-05T01:53:05.213Z] "bip": "10.250.0.254/24", [2023-05-05T01:53:05.213Z] "hosts": [ [2023-05-05T01:53:05.213Z] "tcp://0.0.0.0:5555", [2023-05-05T01:53:05.213Z] "unix:///var/run/docker.sock" [2023-05-05T01:53:05.213Z] ], [2023-05-05T01:53:05.213Z] "mtu": 1458, [2023-05-05T01:53:05.213Z] "selinux-enabled": true, [2023-05-05T01:53:05.213Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T01:53:05.213Z] } [Pipeline] sh [2023-05-05T01:53:05.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T01:53:05.912Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:53:24.191Z] provisioning config files... [2023-05-05T01:53:24.218Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/133@tmp/config16483942792239849981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:53:24.571Z] ---> docker-login.sh [2023-05-05T01:53:24.571Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:53:25.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:53:25.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:53:25.160Z] Configure a credential helper to remove this warning. See [2023-05-05T01:53:25.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:53:25.160Z] [2023-05-05T01:53:25.160Z] Login Succeeded [2023-05-05T01:53:25.160Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:53:25.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:53:25.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:53:25.428Z] Configure a credential helper to remove this warning. See [2023-05-05T01:53:25.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:53:25.428Z] [2023-05-05T01:53:25.428Z] Login Succeeded [2023-05-05T01:53:25.698Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:53:25.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:53:25.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:53:25.971Z] Configure a credential helper to remove this warning. See [2023-05-05T01:53:25.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:53:25.971Z] [2023-05-05T01:53:25.971Z] Login Succeeded [2023-05-05T01:53:25.971Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:53:26.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:53:26.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:53:26.240Z] Configure a credential helper to remove this warning. See [2023-05-05T01:53:26.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:53:26.240Z] [2023-05-05T01:53:26.240Z] Login Succeeded [2023-05-05T01:53:26.240Z] docker.io [2023-05-05T01:53:26.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:53:26.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:53:26.780Z] Configure a credential helper to remove this warning. See [2023-05-05T01:53:26.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:53:26.780Z] [2023-05-05T01:53:26.780Z] Login Succeeded [2023-05-05T01:53:26.780Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:53:26.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T01:53:27.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:53:27.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:53:27.102Z] ========================================================= [2023-05-05T01:53:27.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T01:53:27.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:53:27.446Z] + 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-05T01:53:28.035Z] Sending build context to Docker daemon 14.17MB [2023-05-05T01:53:28.035Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:53:28.035Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-05T01:53:28.035Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T01:53:28.035Z] c41833b44d91: Pulling fs layer [2023-05-05T01:53:28.035Z] ed15518f5707: Pulling fs layer [2023-05-05T01:53:28.035Z] feae8fd75edb: Pulling fs layer [2023-05-05T01:53:28.035Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T01:53:28.035Z] 3cdef696dda3: Pulling fs layer [2023-05-05T01:53:28.035Z] 2ced38df9373: Pulling fs layer [2023-05-05T01:53:28.035Z] 58f1dce35555: Pulling fs layer [2023-05-05T01:53:28.035Z] 242c74f7c9fa: Waiting [2023-05-05T01:53:28.035Z] 3cdef696dda3: Waiting [2023-05-05T01:53:28.035Z] 2ced38df9373: Waiting [2023-05-05T01:53:28.035Z] 58f1dce35555: Waiting [2023-05-05T01:53:28.035Z] ed15518f5707: Verifying Checksum [2023-05-05T01:53:28.035Z] ed15518f5707: Download complete [2023-05-05T01:53:28.035Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T01:53:28.035Z] 242c74f7c9fa: Download complete [2023-05-05T01:53:28.308Z] 3cdef696dda3: Verifying Checksum [2023-05-05T01:53:28.308Z] 3cdef696dda3: Download complete [2023-05-05T01:53:28.308Z] c41833b44d91: Verifying Checksum [2023-05-05T01:53:28.308Z] c41833b44d91: Download complete [2023-05-05T01:53:29.736Z] 58f1dce35555: Verifying Checksum [2023-05-05T01:53:29.736Z] 58f1dce35555: Download complete [2023-05-05T01:53:30.711Z] 2ced38df9373: Verifying Checksum [2023-05-05T01:53:30.711Z] 2ced38df9373: Download complete [2023-05-05T01:53:30.711Z] feae8fd75edb: Download complete [2023-05-05T01:53:32.128Z] c41833b44d91: Pull complete [2023-05-05T01:53:32.717Z] ed15518f5707: Pull complete [2023-05-05T01:53:45.966Z] feae8fd75edb: Pull complete [2023-05-05T01:53:45.966Z] 242c74f7c9fa: Pull complete [2023-05-05T01:53:45.966Z] 3cdef696dda3: Pull complete [2023-05-05T01:53:49.326Z] 2ced38df9373: Pull complete [2023-05-05T01:53:51.934Z] 58f1dce35555: Pull complete [2023-05-05T01:53:51.934Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T01:53:51.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T01:53:51.934Z] ---> fadd8f120f05 [2023-05-05T01:53:51.934Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:53:53.893Z] ---> Running in d4c64a4fe49d [2023-05-05T01:53:54.160Z] Removing intermediate container d4c64a4fe49d [2023-05-05T01:53:54.160Z] ---> 455071e53093 [2023-05-05T01:53:54.160Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:53:54.160Z] ---> Running in cd11ea07e269 [2023-05-05T01:53:54.429Z] Removing intermediate container cd11ea07e269 [2023-05-05T01:53:54.429Z] ---> a2e786c41b19 [2023-05-05T01:53:54.429Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-05-05T01:53:54.699Z] ---> Running in 232eb925affb [2023-05-05T01:53:54.967Z] Removing intermediate container 232eb925affb [2023-05-05T01:53:54.967Z] ---> ba9620468624 [2023-05-05T01:53:54.967Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:53:54.967Z] ---> Running in 69d78b2a6f78 [2023-05-05T01:53:55.235Z] Removing intermediate container 69d78b2a6f78 [2023-05-05T01:53:55.235Z] ---> 3d74d3a7197b [2023-05-05T01:53:55.235Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-05-05T01:53:55.504Z] ---> Running in 0946e3e426ba [2023-05-05T01:53:55.777Z] Removing intermediate container 0946e3e426ba [2023-05-05T01:53:55.777Z] ---> fbb5463aa468 [2023-05-05T01:53:55.777Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:53:55.777Z] ---> Running in 8e4c09233141 [2023-05-05T01:54:00.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T01:54:00.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T01:54:02.572Z] OK: 263 MiB in 53 packages [2023-05-05T01:54:02.840Z] Removing intermediate container 8e4c09233141 [2023-05-05T01:54:02.840Z] ---> aa6d67837c00 [2023-05-05T01:54:02.840Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-05-05T01:54:02.840Z] ---> Running in 6b565ca5fc96 [2023-05-05T01:54:03.119Z] Removing intermediate container 6b565ca5fc96 [2023-05-05T01:54:03.119Z] ---> 3b05f8805765 [2023-05-05T01:54:03.119Z] Step 10/13 : COPY go.mod vendor* ./ [2023-05-05T01:54:03.712Z] ---> fb285bebebd4 [2023-05-05T01:54:03.712Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:54:03.712Z] ---> Running in 8514f455b7aa [2023-05-05T01:55:11.652Z] Removing intermediate container 8514f455b7aa [2023-05-05T01:55:11.652Z] ---> 84359e564aee [2023-05-05T01:55:11.652Z] Step 12/13 : COPY . . [2023-05-05T01:55:11.652Z] ---> 763e7186a030 [2023-05-05T01:55:11.652Z] Step 13/13 : RUN ${MAKE} [2023-05-05T01:55:11.652Z] ---> Running in 99117e2488ae [2023-05-05T01:55:11.652Z] noop [2023-05-05T01:55:11.652Z] Removing intermediate container 99117e2488ae [2023-05-05T01:55:11.652Z] ---> f76edaef99b9 [2023-05-05T01:55:11.652Z] Successfully built f76edaef99b9 [2023-05-05T01:55:11.652Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:55:12.035Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T01:55:12.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:55:12.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container [2023-05-05T01:55:12.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T01:55:13.714Z] $ docker top e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:55:14.531Z] + go version [2023-05-05T01:55:14.531Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T01:55:14.581Z] $ docker stop --time=1 e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 [2023-05-05T01:55:16.215Z] $ docker rm -f --volumes e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:55:16.740Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T01:55:16.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:55:16.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container [2023-05-05T01:55:16.995Z] $ 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/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T01:55:18.113Z] $ docker top eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:55:18.626Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/133 [Pipeline] fileExists [Pipeline] sh [2023-05-05T01:55:18.967Z] + make test [2023-05-05T01:55:19.235Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T01:55:51.943Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-05-05T01:58:29.134Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-05-05T01:58:29.134Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-05-05T01:58:29.134Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 31.1% of statements [2023-05-05T01:59:01.432Z] --- FAIL: TestIpGenerator (0.00s) [2023-05-05T01:59:01.432Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.22s) [2023-05-05T01:59:01.432Z] util_test.go:180: [2023-05-05T01:59:01.432Z] Error Trace: /w/workspace/device-onvif-camera/133/internal/netscan/util_test.go:180 [2023-05-05T01:59:01.432Z] Error: Not equal: [2023-05-05T01:59:01.432Z] expected: 0xfffffe [2023-05-05T01:59:01.432Z] actual : 0xff034a [2023-05-05T01:59:01.432Z] Test: TestIpGenerator/basic_/8_subnet [2023-05-05T01:59:01.432Z] util_test.go:183: [2023-05-05T01:59:01.432Z] Error Trace: /w/workspace/device-onvif-camera/133/internal/netscan/util_test.go:183 [2023-05-05T01:59:01.432Z] Error: Not equal: [2023-05-05T01:59:01.432Z] expected: "10.255.255.254" [2023-05-05T01:59:01.432Z] actual : "10.255.3.74" [2023-05-05T01:59:01.432Z] [2023-05-05T01:59:01.432Z] Diff: [2023-05-05T01:59:01.432Z] --- Expected [2023-05-05T01:59:01.432Z] +++ Actual [2023-05-05T01:59:01.432Z] @@ -1 +1 @@ [2023-05-05T01:59:01.432Z] -10.255.255.254 [2023-05-05T01:59:01.432Z] +10.255.3.74 [2023-05-05T01:59:01.432Z] Test: TestIpGenerator/basic_/8_subnet [2023-05-05T01:59:01.432Z] FAIL [2023-05-05T01:59:01.432Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-05-05T01:59:01.432Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.447s [2023-05-05T01:59:01.432Z] FAIL [2023-05-05T01:59:01.432Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-05-05T01:59:01.458Z] $ docker stop --time=1 eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 [2023-05-05T01:59:03.340Z] $ docker rm -f --volumes eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 [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-05T01:59:04.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T01:59:04.697Z] [2023-05-05T01:59:04.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:59:05.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T01:59:05.310Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T01:59:05.310Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T01:59:05.310Z] 04944245beec: Pulling fs layer [2023-05-05T01:59:05.310Z] 699f458cf7ca: Pulling fs layer [2023-05-05T01:59:05.310Z] 765212b225bb: Pulling fs layer [2023-05-05T01:59:05.310Z] f23df028b6ca: Pulling fs layer [2023-05-05T01:59:05.310Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T01:59:05.310Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T01:59:05.310Z] f23df028b6ca: Waiting [2023-05-05T01:59:05.310Z] d65c8cfc05b1: Waiting [2023-05-05T01:59:05.310Z] 2437ff75d9bd: Waiting [2023-05-05T01:59:05.310Z] 765212b225bb: Waiting [2023-05-05T01:59:05.310Z] 04944245beec: Verifying Checksum [2023-05-05T01:59:05.310Z] 04944245beec: Download complete [2023-05-05T01:59:05.310Z] 765212b225bb: Verifying Checksum [2023-05-05T01:59:05.310Z] 765212b225bb: Download complete [2023-05-05T01:59:05.310Z] f23df028b6ca: Verifying Checksum [2023-05-05T01:59:05.310Z] f23df028b6ca: Download complete [2023-05-05T01:59:05.310Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T01:59:05.311Z] d65c8cfc05b1: Download complete [2023-05-05T01:59:05.581Z] 699f458cf7ca: Verifying Checksum [2023-05-05T01:59:05.581Z] 699f458cf7ca: Download complete [2023-05-05T01:59:05.850Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T01:59:05.850Z] 8998bd30e6a1: Download complete [2023-05-05T01:59:08.447Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T01:59:08.447Z] 2437ff75d9bd: Download complete [2023-05-05T01:59:10.400Z] 8998bd30e6a1: Pull complete [2023-05-05T01:59:10.671Z] 04944245beec: Pull complete [2023-05-05T01:59:12.090Z] 699f458cf7ca: Pull complete [2023-05-05T01:59:12.358Z] 765212b225bb: Pull complete [2023-05-05T01:59:12.943Z] f23df028b6ca: Pull complete [2023-05-05T01:59:13.531Z] d65c8cfc05b1: Pull complete [2023-05-05T01:59:28.571Z] 2437ff75d9bd: Pull complete [2023-05-05T01:59:28.571Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T01:59:28.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T01:59:28.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:59:28.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container [2023-05-05T01:59:28.897Z] $ 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/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-05T01:59:32.006Z] $ docker top 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:32.978Z] ---> job-cost.sh [2023-05-05T01:59:32.978Z] lf-activate-venv: SKIPPING [2023-05-05T01:59:32.978Z] INFO: No Stack... [2023-05-05T01:59:33.259Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T01:59:34.247Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T01:59:34.919Z] + cat /w/workspace/device-onvif-camera/133/archives/cost.csv [2023-05-05T01:59:34.919Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T01:59:34.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [2023-05-05T01:59:34.966Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] did not exist. Created. [2023-05-05T01:59:34.966Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T01:59:35.643Z] /w/workspace/device-onvif-camera/133@tmp/durable-fc8547aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T01:59:36.320Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T01:59:36.346Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T01:59:36.847Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T01:59:36.856Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T01:59:36.874Z] $ docker stop --time=1 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa [2023-05-05T01:59:38.484Z] $ docker rm -f --volumes 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T01:59:38.769Z] 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-05T01:59:39.442Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-05-05T01:59:39.442Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-05-05T01:59:39.442Z] total 16 [2023-05-05T01:59:39.442Z] drwxr-xr-x 3 root root 4096 May 5 01:51 . [2023-05-05T01:59:39.442Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 01:51 .. [2023-05-05T01:59:39.442Z] drwxr-xr-x 2 root root 4096 May 5 01:51 cost [2023-05-05T01:59:39.442Z] -rw-r--r-- 1 root root 91 May 5 01:51 cost.csv [2023-05-05T01:59:39.442Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-05-05T01:59:39.442Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-05-05T01:59:39.442Z] total 16 [2023-05-05T01:59:39.442Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:51 . [2023-05-05T01:59:39.442Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 01:51 .. [2023-05-05T01:59:39.442Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:51 cost [2023-05-05T01:59:39.442Z] -rw-r--r-- 1 jenkins jenkins 91 May 5 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:39.735Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:40.598Z] ---> package-listing.sh [2023-05-05T01:59:40.598Z] ++ facter osfamily [2023-05-05T01:59:40.598Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T01:59:40.857Z] + OS_FAMILY=debian [2023-05-05T01:59:40.857Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-05-05T01:59:40.857Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T01:59:40.857Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T01:59:40.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T01:59:40.857Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T01:59:40.857Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-05-05T01:59:40.857Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T01:59:40.857Z] + case "${OS_FAMILY}" in [2023-05-05T01:59:40.857Z] + dpkg -l [2023-05-05T01:59:40.857Z] + grep '^ii' [2023-05-05T01:59:40.857Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T01:59:40.857Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T01:59:40.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T01:59:40.857Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-05-05T01:59:40.857Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-05-05T01:59:40.857Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-05-05T01:59:40.871Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-05T01:59:41.144Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:59:41.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:59:41.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:59:41.763Z] prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container [2023-05-05T01:59:41.796Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T01:59:42.006Z] $ docker top b429d7b511baf4507587ff0e9af30001c8898219769171531fedeafeb40c5264 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:59:42.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T01:59:42.645Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T01:59:42.932Z] + ls /var/log/sa-host [2023-05-05T01:59:42.932Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:59:43.110Z] provisioning config files... [2023-05-05T01:59:43.119Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5582389673741596556tmp [Pipeline] { [Pipeline] echo [2023-05-05T01:59:43.133Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:43.421Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T01:59:43.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:43.775Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T01:59:43.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:44.071Z] ---> sudo-logs.sh [2023-05-05T01:59:44.071Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T01:59:44.101Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:44.387Z] ---> job-cost.sh [2023-05-05T01:59:44.387Z] lf-activate-venv: SKIPPING [2023-05-05T01:59:44.387Z] DEBUG: total: 0.2199999988079071 [2023-05-05T01:59:44.387Z] INFO: Retrieving Stack Cost... [2023-05-05T01:59:44.655Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T01:59:45.223Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T01:59:45.237Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:59:45.523Z] ---> logs-deploy.sh [2023-05-05T01:59:45.523Z] lf-activate-venv: SKIPPING [2023-05-05T01:59:45.523Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/133 [2023-05-05T01:59:45.523Z] INFO: archiving workspace using pattern(s): [2023-05-05T01:59:46.461Z] Archives upload complete. [2023-05-05T01:59:46.461Z] INFO: archiving logs to Nexus