Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef142f1785f99da59701c150e494ac3597606f3a+607f731e4853ec4e2d85133e839d4b6333ba41f7 (e8fdd4fa691e6cb7e4ed7502b924a83487bbdbfc) 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-ssh9732493310103202107.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh497555780094596289.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14927920915655579080.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5602795548131066555.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3200334682870963607.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6617960142874437189.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-296 in /w/workspace/foundry_device-usb-camera_PR-186 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 607f731e4853ec4e2d85133e839d4b6333ba41f7 into PR head commit ef142f1785f99da59701c150e494ac3597606f3a Merge succeeded, producing ef142f1785f99da59701c150e494ac3597606f3a Checking out Revision ef142f1785f99da59701c150e494ac3597606f3a (PR-186) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef142f1785f99da59701c150e494ac3597606f3a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 607f731e4853ec4e2d85133e839d4b6333ba41f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef142f1785f99da59701c150e494ac3597606f3a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T00:09:02.446Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T00:09:02.617Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T00:09:02.707Z] ========================================================= [2023-03-15T00:09:02.707Z] EdgeX Global Pipelines Version Info [2023-03-15T00:09:02.707Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:09:03.454Z] ------------------- [2023-03-15T00:09:03.454Z] stable info: [2023-03-15T00:09:03.454Z] ------------------- [2023-03-15T00:09:03.454Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T00:09:03.454Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T00:09:03.454Z] Message: update stable to v1.0.245 [2023-03-15T00:09:04.024Z] ------------------- [2023-03-15T00:09:04.024Z] experimental info: [2023-03-15T00:09:04.024Z] ------------------- [2023-03-15T00:09:04.024Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T00:09:04.024Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T00:09:04.024Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T00:09:04.318Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-15T00:09:04.362Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-15T00:09:04.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T00:09:04.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T00:09:04.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T00:09:04.534Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T00:09:04.570Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T00:09:04.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T00:09:04.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T00:09:04.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T00:09:04.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T00:09:04.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-15T00:09:04.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T00:09:04.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T00:09:04.878Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T00:09:04.922Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T00:09:04.964Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T00:09:05.003Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T00:09:05.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T00:09:05.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T00:09:05.129Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T00:09:05.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T00:09:05.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T00:09:05.253Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T00:09:05.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T00:09:05.333Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T00:09:05.373Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T00:09:05.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2023-03-15T00:09:05.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2023-03-15T00:09:05.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2023-03-15T00:09:05.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef142f1785f99da59701c150e494ac3597606f3a [Pipeline] echo [2023-03-15T00:09:05.576Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef142f1 [Pipeline] echo [2023-03-15T00:09:05.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T00:09:05.723Z] provisioning config files... [2023-03-15T00:09:05.738Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-186@tmp/config12815295751860971616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:09:06.078Z] ---> docker-login.sh [2023-03-15T00:09:06.078Z] nexus3.edgexfoundry.org:10001 [2023-03-15T00:09:06.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:06.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:06.337Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:06.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:06.337Z] [2023-03-15T00:09:06.337Z] Login Succeeded [2023-03-15T00:09:06.337Z] nexus3.edgexfoundry.org:10002 [2023-03-15T00:09:06.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:06.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:06.337Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:06.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:06.337Z] [2023-03-15T00:09:06.337Z] Login Succeeded [2023-03-15T00:09:06.337Z] nexus3.edgexfoundry.org:10003 [2023-03-15T00:09:06.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:06.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:06.597Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:06.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:06.597Z] [2023-03-15T00:09:06.597Z] Login Succeeded [2023-03-15T00:09:06.597Z] nexus3.edgexfoundry.org:10004 [2023-03-15T00:09:06.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:06.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:06.597Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:06.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:06.597Z] [2023-03-15T00:09:06.597Z] Login Succeeded [2023-03-15T00:09:06.597Z] docker.io [2023-03-15T00:09:06.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:06.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:06.857Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:06.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:06.857Z] [2023-03-15T00:09:06.857Z] Login Succeeded [2023-03-15T00:09:06.857Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T00:09:06.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T00:09:07.502Z] + git rev-list -1 --merges ef142f1785f99da59701c150e494ac3597606f3a~1..ef142f1785f99da59701c150e494ac3597606f3a [Pipeline] echo [2023-03-15T00:09:07.570Z] -----------> git rev-list -1 --merges ef142f1785f99da59701c150e494ac3597606f3a~1..ef142f1785f99da59701c150e494ac3597606f3a ef142f1785f99da59701c150e494ac3597606f3a [false] [Pipeline] sh [2023-03-15T00:09:07.881Z] + git log --format=format:%s -1 ef142f1785f99da59701c150e494ac3597606f3a [Pipeline] echo [2023-03-15T00:09:07.920Z] ========================================================= [2023-03-15T00:09:07.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T00:09:07.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T00:09:08.345Z] + git log --format=format:%s -1 ef142f1785f99da59701c150e494ac3597606f3a [Pipeline] echo [2023-03-15T00:09:08.381Z] [semverPrep] GIT_COMMIT: ef142f1785f99da59701c150e494ac3597606f3a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-15T00:09:08.423Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T00:09:08.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T00:09:08.867Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T00:09:08.867Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T00:09:08.867Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T00:09:08.867Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T00:09:08.867Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T00:09:08.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:09:09.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T00:09:09.306Z] [2023-03-15T00:09:09.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:09:09.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T00:09:09.676Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T00:09:09.676Z] b85a868b505f: Pulling fs layer [2023-03-15T00:09:09.676Z] e2be974225ed: Pulling fs layer [2023-03-15T00:09:09.676Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T00:09:09.676Z] 988bab9f4d93: Pulling fs layer [2023-03-15T00:09:09.676Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T00:09:09.676Z] eaf3925da568: Pulling fs layer [2023-03-15T00:09:09.676Z] bab4dde63d76: Pulling fs layer [2023-03-15T00:09:09.676Z] bde34c3a00c8: Pulling fs layer [2023-03-15T00:09:09.676Z] b352a97aabf1: Pulling fs layer [2023-03-15T00:09:09.676Z] 4872d77fe225: Pulling fs layer [2023-03-15T00:09:09.676Z] 5851b861e8e6: Pulling fs layer [2023-03-15T00:09:09.676Z] bde34c3a00c8: Waiting [2023-03-15T00:09:09.676Z] b352a97aabf1: Waiting [2023-03-15T00:09:09.676Z] 4872d77fe225: Waiting [2023-03-15T00:09:09.676Z] 5851b861e8e6: Waiting [2023-03-15T00:09:09.676Z] 1469e6f7b9e6: Waiting [2023-03-15T00:09:09.676Z] 988bab9f4d93: Waiting [2023-03-15T00:09:09.676Z] e2be974225ed: Download complete [2023-03-15T00:09:09.676Z] 988bab9f4d93: Verifying Checksum [2023-03-15T00:09:09.676Z] 988bab9f4d93: Download complete [2023-03-15T00:09:09.937Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T00:09:09.937Z] 1469e6f7b9e6: Download complete [2023-03-15T00:09:09.937Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T00:09:09.937Z] 339a4e72a1f5: Download complete [2023-03-15T00:09:09.937Z] eaf3925da568: Verifying Checksum [2023-03-15T00:09:09.937Z] eaf3925da568: Download complete [2023-03-15T00:09:09.937Z] bde34c3a00c8: Download complete [2023-03-15T00:09:09.937Z] b352a97aabf1: Download complete [2023-03-15T00:09:09.937Z] 4872d77fe225: Download complete [2023-03-15T00:09:09.937Z] 5851b861e8e6: Verifying Checksum [2023-03-15T00:09:09.937Z] 5851b861e8e6: Download complete [2023-03-15T00:09:09.937Z] b85a868b505f: Verifying Checksum [2023-03-15T00:09:09.937Z] b85a868b505f: Download complete [2023-03-15T00:09:10.197Z] bab4dde63d76: Verifying Checksum [2023-03-15T00:09:10.197Z] bab4dde63d76: Download complete [2023-03-15T00:09:11.574Z] b85a868b505f: Pull complete [2023-03-15T00:09:11.574Z] e2be974225ed: Pull complete [2023-03-15T00:09:12.177Z] 339a4e72a1f5: Pull complete [2023-03-15T00:09:12.177Z] 988bab9f4d93: Pull complete [2023-03-15T00:09:13.166Z] 1469e6f7b9e6: Pull complete [2023-03-15T00:09:13.166Z] eaf3925da568: Pull complete [2023-03-15T00:09:15.072Z] bab4dde63d76: Pull complete [2023-03-15T00:09:15.072Z] bde34c3a00c8: Pull complete [2023-03-15T00:09:15.072Z] b352a97aabf1: Pull complete [2023-03-15T00:09:15.334Z] 4872d77fe225: Pull complete [2023-03-15T00:09:15.334Z] 5851b861e8e6: Pull complete [2023-03-15T00:09:15.334Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T00:09:15.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T00:09:15.334Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:09:15.577Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2023-03-15T00:09:15.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-186 -v /w/workspace/foundry_device-usb-camera_PR-186:/w/workspace/foundry_device-usb-camera_PR-186:rw,z -v /w/workspace/foundry_device-usb-camera_PR-186@tmp:/w/workspace/foundry_device-usb-camera_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T00:09:18.679Z] $ docker top 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a -eo pid,comm [2023-03-15T00:09:18.730Z] 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-03-15T00:09:18.730Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T00:09:18.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T00:09:18.854Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T00:09:18.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T00:09:18.977Z] $ docker exec 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a ssh-agent [2023-03-15T00:09:19.101Z] SSH_AUTH_SOCK=/tmp/ssh-c5tK9qDMTIai/agent.33 [2023-03-15T00:09:19.101Z] SSH_AGENT_PID=39 [2023-03-15T00:09:19.108Z] Running ssh-add (command line suppressed) [2023-03-15T00:09:19.209Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-186@tmp/private_key_8442023577770085235.key (/w/workspace/foundry_device-usb-camera_PR-186@tmp/private_key_8442023577770085235.key) [2023-03-15T00:09:19.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T00:09:19.590Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T00:09:19.619Z] $ docker exec --env ******** --env ******** 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a ssh-agent -k [2023-03-15T00:09:19.726Z] unset SSH_AUTH_SOCK; [2023-03-15T00:09:19.727Z] unset SSH_AGENT_PID; [2023-03-15T00:09:19.727Z] echo Agent pid 39 killed; [2023-03-15T00:09:19.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T00:09:19.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T00:09:19.836Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T00:09:19.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T00:09:19.953Z] $ docker exec 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a ssh-agent [2023-03-15T00:09:20.060Z] SSH_AUTH_SOCK=/tmp/ssh-IzOCu6Iq4QRF/agent.71 [2023-03-15T00:09:20.060Z] SSH_AGENT_PID=77 [2023-03-15T00:09:20.065Z] Running ssh-add (command line suppressed) [2023-03-15T00:09:20.181Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-186@tmp/private_key_6299425767707954308.key (/w/workspace/foundry_device-usb-camera_PR-186@tmp/private_key_6299425767707954308.key) [2023-03-15T00:09:20.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T00:09:20.526Z] + git semver init [2023-03-15T00:09:20.786Z] 2023-03-15 00:09:20,707 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T00:09:20.786Z] 2023-03-15 00:09:20,708 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-186/.semver [2023-03-15T00:09:20.786Z] 2023-03-15 00:09:20,708 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-186/.semver [2023-03-15T00:09:20.786Z] 2023-03-15 00:09:20,709 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-186/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-186, universal_newlines=False, shell=None, istream=None) [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,452 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-186/.git/info/exclude [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,453 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-186/.semver/PR-186 with force:False [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,453 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-186/.semver/PR-186 [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,458 [execute] INFO git cat-file --batch-check [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,464 [execute] INFO git cat-file --batch [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T00:09:21.725Z] 2023-03-15 00:09:21,470 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-186/.semver/PR-186 [2023-03-15T00:09:21.725Z] 0.0.0 [Pipeline] } [2023-03-15T00:09:21.755Z] $ docker exec --env ******** --env ******** 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a ssh-agent -k [2023-03-15T00:09:21.853Z] unset SSH_AUTH_SOCK; [2023-03-15T00:09:21.853Z] unset SSH_AGENT_PID; [2023-03-15T00:09:21.854Z] echo Agent pid 77 killed; [2023-03-15T00:09:21.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T00:09:22.280Z] + git semver [Pipeline] } [2023-03-15T00:09:22.566Z] $ docker stop --time=1 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a [2023-03-15T00:09:23.845Z] $ docker rm -f --volumes 559b8e5e8d17050de6fce0236b6e688e72131daac0e672a6d1948229d9e94b3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T00:09:24.246Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T00:09:24.492Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T00:09:24.509Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T00:09:25.082Z] provisioning config files... [2023-03-15T00:09:25.093Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-186@tmp/config14629629152608873309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:09:25.440Z] ---> docker-login.sh [2023-03-15T00:09:25.440Z] nexus3.edgexfoundry.org:10001 [2023-03-15T00:09:25.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:25.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:25.440Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:25.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:25.440Z] [2023-03-15T00:09:25.440Z] Login Succeeded [2023-03-15T00:09:25.440Z] nexus3.edgexfoundry.org:10002 [2023-03-15T00:09:25.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:25.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:25.440Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:25.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:25.440Z] [2023-03-15T00:09:25.440Z] Login Succeeded [2023-03-15T00:09:25.440Z] nexus3.edgexfoundry.org:10003 [2023-03-15T00:09:25.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:25.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:25.703Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:25.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:25.703Z] [2023-03-15T00:09:25.703Z] Login Succeeded [2023-03-15T00:09:25.703Z] nexus3.edgexfoundry.org:10004 [2023-03-15T00:09:25.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:25.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:25.703Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:25.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:25.703Z] [2023-03-15T00:09:25.703Z] Login Succeeded [2023-03-15T00:09:25.703Z] docker.io [2023-03-15T00:09:25.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:09:25.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:09:25.962Z] Configure a credential helper to remove this warning. See [2023-03-15T00:09:25.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:09:25.962Z] [2023-03-15T00:09:25.962Z] Login Succeeded [2023-03-15T00:09:25.962Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T00:09:25.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T00:09:26.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T00:09:26.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T00:09:26.253Z] ========================================================= [2023-03-15T00:09:26.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T00:09:26.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:09:26.722Z] + 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-03-15T00:09:26.722Z] Sending build context to Docker daemon 1.811MB [2023-03-15T00:09:26.722Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T00:09:26.722Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T00:09:26.722Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T00:09:26.722Z] 63b65145d645: Pulling fs layer [2023-03-15T00:09:26.722Z] a2d21d5440eb: Pulling fs layer [2023-03-15T00:09:26.722Z] 935e6c44a52c: Pulling fs layer [2023-03-15T00:09:26.722Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T00:09:26.722Z] 30dea6a524f1: Pulling fs layer [2023-03-15T00:09:26.722Z] a2aff8979fd8: Pulling fs layer [2023-03-15T00:09:26.722Z] 6808be2612f2: Pulling fs layer [2023-03-15T00:09:26.722Z] f25807f1079a: Pulling fs layer [2023-03-15T00:09:26.722Z] 30dea6a524f1: Waiting [2023-03-15T00:09:26.722Z] a2aff8979fd8: Waiting [2023-03-15T00:09:26.722Z] 6808be2612f2: Waiting [2023-03-15T00:09:26.722Z] 94cc34f8dd06: Waiting [2023-03-15T00:09:26.722Z] f25807f1079a: Waiting [2023-03-15T00:09:26.722Z] a2d21d5440eb: Download complete [2023-03-15T00:09:26.722Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T00:09:26.722Z] 94cc34f8dd06: Download complete [2023-03-15T00:09:26.722Z] 30dea6a524f1: Verifying Checksum [2023-03-15T00:09:26.722Z] 30dea6a524f1: Download complete [2023-03-15T00:09:26.986Z] 63b65145d645: Verifying Checksum [2023-03-15T00:09:26.987Z] 63b65145d645: Download complete [2023-03-15T00:09:26.987Z] a2aff8979fd8: Verifying Checksum [2023-03-15T00:09:26.987Z] a2aff8979fd8: Download complete [2023-03-15T00:09:27.261Z] 63b65145d645: Pull complete [2023-03-15T00:09:27.261Z] a2d21d5440eb: Pull complete [2023-03-15T00:09:27.520Z] f25807f1079a: Download complete [2023-03-15T00:09:27.778Z] 935e6c44a52c: Download complete [2023-03-15T00:09:27.778Z] 6808be2612f2: Verifying Checksum [2023-03-15T00:09:31.988Z] 935e6c44a52c: Pull complete [2023-03-15T00:09:31.988Z] 94cc34f8dd06: Pull complete [2023-03-15T00:09:31.988Z] 30dea6a524f1: Pull complete [2023-03-15T00:09:31.988Z] a2aff8979fd8: Pull complete [2023-03-15T00:09:33.891Z] 6808be2612f2: Pull complete [2023-03-15T00:09:34.826Z] f25807f1079a: Pull complete [2023-03-15T00:09:34.826Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T00:09:34.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T00:09:34.826Z] ---> 3b553350e43f [2023-03-15T00:09:34.826Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T00:09:39.913Z] Still waiting to schedule task [2023-03-15T00:09:39.913Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T00:09:40.112Z] ---> Running in 240d34eba46f [2023-03-15T00:09:40.112Z] Removing intermediate container 240d34eba46f [2023-03-15T00:09:40.112Z] ---> b45364ebc496 [2023-03-15T00:09:40.112Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T00:09:40.371Z] ---> Running in b981d48cef24 [2023-03-15T00:09:40.371Z] Removing intermediate container b981d48cef24 [2023-03-15T00:09:40.371Z] ---> 197b06521471 [2023-03-15T00:09:40.371Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-15T00:09:40.371Z] ---> Running in 6dd4412e4fac [2023-03-15T00:09:40.371Z] Removing intermediate container 6dd4412e4fac [2023-03-15T00:09:40.371Z] ---> 04628d3c23f2 [2023-03-15T00:09:40.371Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-15T00:09:40.628Z] ---> Running in ea54d7049060 [2023-03-15T00:09:40.628Z] Removing intermediate container ea54d7049060 [2023-03-15T00:09:40.628Z] ---> 6be156e19624 [2023-03-15T00:09:40.628Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T00:09:40.628Z] ---> Running in 88d753f276a4 [2023-03-15T00:09:40.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T00:09:41.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T00:09:41.406Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-15T00:09:41.406Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-15T00:09:41.406Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-15T00:09:41.406Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-15T00:09:41.406Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-15T00:09:41.406Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-15T00:09:41.406Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-15T00:09:41.406Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-15T00:09:41.406Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-15T00:09:41.406Z] (10/14) Installing kmod-libs (30-r1) [2023-03-15T00:09:41.406Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-15T00:09:41.666Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-15T00:09:41.666Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-15T00:09:41.666Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-15T00:09:41.666Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T00:09:41.666Z] Executing eudev-3.2.11-r4.trigger [2023-03-15T00:09:41.666Z] OK: 272 MiB in 67 packages [2023-03-15T00:09:42.233Z] Removing intermediate container 88d753f276a4 [2023-03-15T00:09:42.233Z] ---> d13769d9c9af [2023-03-15T00:09:42.233Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-15T00:09:42.233Z] ---> Running in 8fbf2e41b41c [2023-03-15T00:09:42.233Z] Removing intermediate container 8fbf2e41b41c [2023-03-15T00:09:42.233Z] ---> a9ac8796ad1f [2023-03-15T00:09:42.233Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-15T00:09:42.491Z] ---> e7f616851801 [2023-03-15T00:09:42.491Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T00:09:42.491Z] ---> Running in 44cbb8a45542 [2023-03-15T00:10:14.601Z] Removing intermediate container 44cbb8a45542 [2023-03-15T00:10:14.601Z] ---> 7cf3032d7a3d [2023-03-15T00:10:14.601Z] Step 11/13 : COPY . . [2023-03-15T00:10:14.601Z] ---> 5416935c6722 [2023-03-15T00:10:14.601Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-15T00:10:14.601Z] ---> Running in 48a5aac5a473 [2023-03-15T00:10:14.601Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-03-15T00:10:14.601Z]   Dload Upload Total Spent Left Speed [2023-03-15T00:10:14.601Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18246 0 --:--:-- --:--:-- --:--:-- 18631 [2023-03-15T00:10:14.601Z] Removing intermediate container 48a5aac5a473 [2023-03-15T00:10:14.601Z] ---> 109de62a4ecb [2023-03-15T00:10:14.601Z] Step 13/13 : RUN ${MAKE} [2023-03-15T00:10:14.601Z] ---> Running in a6f6a592ee54 [2023-03-15T00:10:14.601Z] noop [2023-03-15T00:10:14.601Z] Removing intermediate container a6f6a592ee54 [2023-03-15T00:10:14.601Z] ---> 1a6e737d0f31 [2023-03-15T00:10:14.601Z] Successfully built 1a6e737d0f31 [2023-03-15T00:10:14.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:10:15.029Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T00:10:15.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:10:15.178Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2023-03-15T00:10:15.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-186 -v /w/workspace/foundry_device-usb-camera_PR-186:/w/workspace/foundry_device-usb-camera_PR-186:rw,z -v /w/workspace/foundry_device-usb-camera_PR-186@tmp:/w/workspace/foundry_device-usb-camera_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T00:10:15.561Z] $ docker top bf87a6fa75d4e9c033941b4314344c552299ee8e2294d1421b238c303af3e2eb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:10:15.973Z] + go version [2023-03-15T00:10:15.973Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T00:10:16.008Z] $ docker stop --time=1 bf87a6fa75d4e9c033941b4314344c552299ee8e2294d1421b238c303af3e2eb [2023-03-15T00:10:17.284Z] $ docker rm -f --volumes bf87a6fa75d4e9c033941b4314344c552299ee8e2294d1421b238c303af3e2eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:10:18.071Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T00:10:18.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:10:18.215Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2023-03-15T00:10:18.249Z] $ 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-usb-camera_PR-186 -v /w/workspace/foundry_device-usb-camera_PR-186:/w/workspace/foundry_device-usb-camera_PR-186:rw,z -v /w/workspace/foundry_device-usb-camera_PR-186@tmp:/w/workspace/foundry_device-usb-camera_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T00:10:18.585Z] $ docker top 3368db111234324c599719e84decde865d3951bd506ad8951f0b5034bb7f6cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:10:18.965Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-186 [Pipeline] fileExists [Pipeline] sh [2023-03-15T00:10:19.326Z] + make test [2023-03-15T00:10:19.326Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T00:10:24.590Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-15T00:10:32.692Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-15T00:10:32.692Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-15T00:10:32.692Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-15T00:10:32.692Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-15T00:10:32.692Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-15T00:10:32.692Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-15T00:10:32.692Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-15T00:10:32.692Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-15T00:10:33.260Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-15T00:10:33.260Z] FAIL [2023-03-15T00:10:33.260Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-15T00:10:33.309Z] $ docker stop --time=1 3368db111234324c599719e84decde865d3951bd506ad8951f0b5034bb7f6cd6 [2023-03-15T00:10:37.067Z] $ docker rm -f --volumes 3368db111234324c599719e84decde865d3951bd506ad8951f0b5034bb7f6cd6 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:10:38.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T00:10:38.439Z] [2023-03-15T00:10:38.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:10:38.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T00:10:38.805Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T00:10:38.805Z] 5eb5b503b376: Pulling fs layer [2023-03-15T00:10:38.805Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T00:10:38.805Z] ec43610c2a17: Pulling fs layer [2023-03-15T00:10:38.805Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T00:10:38.805Z] 33b1e0a273af: Pulling fs layer [2023-03-15T00:10:38.805Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T00:10:38.805Z] 2f39f015ded8: Pulling fs layer [2023-03-15T00:10:38.805Z] 3a2ae6a8a46f: Waiting [2023-03-15T00:10:38.805Z] 33b1e0a273af: Waiting [2023-03-15T00:10:38.805Z] 5d3b04190fa2: Waiting [2023-03-15T00:10:38.805Z] 2f39f015ded8: Waiting [2023-03-15T00:10:38.805Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T00:10:38.805Z] 5c69ac0246d0: Download complete [2023-03-15T00:10:38.805Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T00:10:38.805Z] 3a2ae6a8a46f: Download complete [2023-03-15T00:10:39.067Z] 33b1e0a273af: Verifying Checksum [2023-03-15T00:10:39.067Z] 33b1e0a273af: Download complete [2023-03-15T00:10:39.067Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T00:10:39.067Z] 5d3b04190fa2: Download complete [2023-03-15T00:10:39.067Z] ec43610c2a17: Download complete [2023-03-15T00:10:39.326Z] 5eb5b503b376: Verifying Checksum [2023-03-15T00:10:39.326Z] 5eb5b503b376: Download complete [2023-03-15T00:10:39.894Z] 2f39f015ded8: Download complete [2023-03-15T00:10:40.461Z] 5eb5b503b376: Pull complete [2023-03-15T00:10:40.462Z] 5c69ac0246d0: Pull complete [2023-03-15T00:10:41.029Z] ec43610c2a17: Pull complete [2023-03-15T00:10:41.029Z] 3a2ae6a8a46f: Pull complete [2023-03-15T00:10:41.029Z] 33b1e0a273af: Pull complete [2023-03-15T00:10:41.287Z] 5d3b04190fa2: Pull complete [2023-03-15T00:10:45.486Z] 2f39f015ded8: Pull complete [2023-03-15T00:10:45.486Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T00:10:45.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T00:10:45.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:10:45.697Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2023-03-15T00:10:45.736Z] $ 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-usb-camera_PR-186 -v /w/workspace/foundry_device-usb-camera_PR-186:/w/workspace/foundry_device-usb-camera_PR-186:rw,z -v /w/workspace/foundry_device-usb-camera_PR-186@tmp:/w/workspace/foundry_device-usb-camera_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T00:10:50.604Z] $ docker top 8eb7d482f9f3ef5a88c5b794edf85793de19af3afb00b3fd5382a613ec5a4e6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:10:51.050Z] ---> job-cost.sh [2023-03-15T00:10:51.050Z] lf-activate-venv: SKIPPING [2023-03-15T00:10:51.050Z] INFO: No Stack... [2023-03-15T00:10:51.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T00:10:51.569Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T00:10:51.878Z] + cat /w/workspace/foundry_device-usb-camera_PR-186/archives/cost.csv [2023-03-15T00:10:51.878Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T00:10:51.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [2023-03-15T00:10:51.922Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] did not exist. Created. [2023-03-15T00:10:51.922Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T00:10:52.313Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T00:10:52.371Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T00:10:52.392Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T00:10:52.466Z] $ docker stop --time=1 8eb7d482f9f3ef5a88c5b794edf85793de19af3afb00b3fd5382a613ec5a4e6c [2023-03-15T00:10:53.604Z] $ docker rm -f --volumes 8eb7d482f9f3ef5a88c5b794edf85793de19af3afb00b3fd5382a613ec5a4e6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T00:10:53.943Z] Failed in branch amd64 [2023-03-15T00:12:26.212Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-297 in /w/workspace/foundry_device-usb-camera_PR-186 [Pipeline] { [Pipeline] ws [2023-03-15T00:12:26.272Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-15T00:12:26.345Z] Selected Git installation does not exist. Using Default [2023-03-15T00:12:26.345Z] The recommended git tool is: NONE [2023-03-15T00:12:32.541Z] using credential edgex-jenkins-ssh [2023-03-15T00:12:32.561Z] Cloning the remote Git repository [2023-03-15T00:12:32.620Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T00:12:32.741Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-15T00:12:32.918Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T00:12:32.919Z] > git --version # timeout=10 [2023-03-15T00:12:32.953Z] > git --version # 'git version 2.25.1' [2023-03-15T00:12:32.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T00:12:33.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T00:12:33.894Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-15T00:12:33.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T00:12:35.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-15T00:12:35.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T00:12:35.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T00:12:35.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T00:12:35.693Z] Merging remotes/origin/main commit 607f731e4853ec4e2d85133e839d4b6333ba41f7 into PR head commit ef142f1785f99da59701c150e494ac3597606f3a [2023-03-15T00:12:36.040Z] Merge succeeded, producing ef142f1785f99da59701c150e494ac3597606f3a [2023-03-15T00:12:36.041Z] Checking out Revision ef142f1785f99da59701c150e494ac3597606f3a (PR-186) [2023-03-15T00:12:35.720Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T00:12:35.815Z] > git checkout -f ef142f1785f99da59701c150e494ac3597606f3a # timeout=10 [2023-03-15T00:12:35.920Z] > git remote # timeout=10 [2023-03-15T00:12:35.946Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T00:12:35.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T00:12:35.995Z] > git merge 607f731e4853ec4e2d85133e839d4b6333ba41f7 # timeout=10 [2023-03-15T00:12:36.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T00:12:36.052Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T00:12:36.071Z] > git checkout -f ef142f1785f99da59701c150e494ac3597606f3a # timeout=10 [2023-03-15T00:12:36.668Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-15T00:12:36.735Z] > git --version # timeout=10 [2023-03-15T00:12:36.749Z] > git --version # 'git version 2.25.1' [2023-03-15T00:12:36.765Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T00:12:38.054Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T00:12:38.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T00:12:38.054Z] Dload Upload Total Spent Left Speed [2023-03-15T00:12:38.054Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-03-15T00:12:38.753Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T00:12:39.111Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T00:12:39.111Z] sudo tee /etc/docker/daemon.new [2023-03-15T00:12:39.111Z] { [2023-03-15T00:12:39.111Z] "registry-mirrors": [ [2023-03-15T00:12:39.111Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T00:12:39.111Z] ], [2023-03-15T00:12:39.111Z] "bip": "10.250.0.254/24", [2023-03-15T00:12:39.111Z] "hosts": [ [2023-03-15T00:12:39.111Z] "tcp://0.0.0.0:5555", [2023-03-15T00:12:39.111Z] "unix:///var/run/docker.sock" [2023-03-15T00:12:39.111Z] ], [2023-03-15T00:12:39.111Z] "mtu": 1458, [2023-03-15T00:12:39.111Z] "selinux-enabled": true, [2023-03-15T00:12:39.111Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T00:12:39.111Z] } [Pipeline] sh [2023-03-15T00:12:39.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T00:12:39.839Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T00:12:58.210Z] provisioning config files... [2023-03-15T00:12:58.244Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config573598762657771438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:12:58.666Z] ---> docker-login.sh [2023-03-15T00:12:58.666Z] nexus3.edgexfoundry.org:10001 [2023-03-15T00:12:59.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:12:59.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:12:59.530Z] Configure a credential helper to remove this warning. See [2023-03-15T00:12:59.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:12:59.530Z] [2023-03-15T00:12:59.530Z] Login Succeeded [2023-03-15T00:12:59.530Z] nexus3.edgexfoundry.org:10002 [2023-03-15T00:12:59.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:12:59.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:12:59.800Z] Configure a credential helper to remove this warning. See [2023-03-15T00:12:59.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:12:59.800Z] [2023-03-15T00:12:59.800Z] Login Succeeded [2023-03-15T00:12:59.800Z] nexus3.edgexfoundry.org:10003 [2023-03-15T00:13:00.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:13:00.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:13:00.457Z] Configure a credential helper to remove this warning. See [2023-03-15T00:13:00.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:13:00.457Z] [2023-03-15T00:13:00.457Z] Login Succeeded [2023-03-15T00:13:00.457Z] nexus3.edgexfoundry.org:10004 [2023-03-15T00:13:00.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:13:00.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:13:00.742Z] Configure a credential helper to remove this warning. See [2023-03-15T00:13:00.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:13:00.742Z] [2023-03-15T00:13:00.742Z] Login Succeeded [2023-03-15T00:13:00.742Z] docker.io [2023-03-15T00:13:01.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T00:13:01.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T00:13:01.632Z] Configure a credential helper to remove this warning. See [2023-03-15T00:13:01.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T00:13:01.632Z] [2023-03-15T00:13:01.632Z] Login Succeeded [2023-03-15T00:13:01.632Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T00:13:01.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T00:13:02.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T00:13:02.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T00:13:02.102Z] ========================================================= [2023-03-15T00:13:02.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T00:13:02.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:13:02.614Z] + 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-03-15T00:13:05.357Z] Sending build context to Docker daemon 1.167MB [2023-03-15T00:13:05.357Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T00:13:05.357Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T00:13:05.639Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T00:13:05.639Z] af6eaf76a39c: Pulling fs layer [2023-03-15T00:13:05.639Z] 55522c791124: Pulling fs layer [2023-03-15T00:13:05.639Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T00:13:05.639Z] 169dfbe0d373: Pulling fs layer [2023-03-15T00:13:05.639Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T00:13:05.639Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T00:13:05.639Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T00:13:05.639Z] 169dfbe0d373: Waiting [2023-03-15T00:13:05.639Z] 52ebb69f0ebf: Waiting [2023-03-15T00:13:05.639Z] 5abe8eddf0d5: Waiting [2023-03-15T00:13:05.639Z] 55522c791124: Verifying Checksum [2023-03-15T00:13:05.639Z] 55522c791124: Download complete [2023-03-15T00:13:05.639Z] 169dfbe0d373: Verifying Checksum [2023-03-15T00:13:05.639Z] 169dfbe0d373: Download complete [2023-03-15T00:13:05.639Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T00:13:05.639Z] e1ff8fa3b103: Download complete [2023-03-15T00:13:05.912Z] af6eaf76a39c: Verifying Checksum [2023-03-15T00:13:05.912Z] af6eaf76a39c: Download complete [2023-03-15T00:13:07.673Z] af6eaf76a39c: Pull complete [2023-03-15T00:13:07.673Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T00:13:07.673Z] 5abe8eddf0d5: Download complete [2023-03-15T00:13:08.265Z] 55522c791124: Pull complete [2023-03-15T00:13:09.231Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T00:13:09.231Z] ce5c4a1c91eb: Download complete [2023-03-15T00:13:09.231Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T00:13:09.231Z] 52ebb69f0ebf: Download complete [2023-03-15T00:13:21.592Z] ce5c4a1c91eb: Pull complete [2023-03-15T00:13:21.592Z] 169dfbe0d373: Pull complete [2023-03-15T00:13:21.592Z] e1ff8fa3b103: Pull complete [2023-03-15T00:13:28.273Z] 52ebb69f0ebf: Pull complete [2023-03-15T00:13:31.646Z] 5abe8eddf0d5: Pull complete [2023-03-15T00:13:31.646Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T00:13:31.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T00:13:31.646Z] ---> 6cb57ee374ae [2023-03-15T00:13:31.646Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T00:13:33.612Z] ---> Running in 82612ebb2e6d [2023-03-15T00:13:33.884Z] Removing intermediate container 82612ebb2e6d [2023-03-15T00:13:33.884Z] ---> d4a8a972f9ac [2023-03-15T00:13:33.884Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T00:13:33.884Z] ---> Running in cee684d9a5da [2023-03-15T00:13:34.155Z] Removing intermediate container cee684d9a5da [2023-03-15T00:13:34.155Z] ---> 8055a82d9a0f [2023-03-15T00:13:34.155Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-15T00:13:34.425Z] ---> Running in e63a22f0a759 [2023-03-15T00:13:34.692Z] Removing intermediate container e63a22f0a759 [2023-03-15T00:13:34.692Z] ---> 0ba77744a0e4 [2023-03-15T00:13:34.692Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-15T00:13:34.692Z] ---> Running in 190df8442873 [2023-03-15T00:13:34.960Z] Removing intermediate container 190df8442873 [2023-03-15T00:13:34.960Z] ---> 02da896133bb [2023-03-15T00:13:34.960Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T00:13:35.231Z] ---> Running in 4fb723b9f692 [2023-03-15T00:13:36.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T00:13:36.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T00:13:37.891Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-15T00:13:37.891Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-15T00:13:37.891Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-15T00:13:37.891Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-15T00:13:37.891Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-15T00:13:38.159Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-15T00:13:38.159Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-15T00:13:38.159Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-15T00:13:38.159Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-15T00:13:38.159Z] (10/14) Installing kmod-libs (30-r1) [2023-03-15T00:13:38.431Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-15T00:13:38.431Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-15T00:13:38.431Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-15T00:13:38.431Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-15T00:13:38.431Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T00:13:38.431Z] Executing eudev-3.2.11-r4.trigger [2023-03-15T00:13:38.431Z] OK: 271 MiB in 67 packages [2023-03-15T00:13:39.848Z] Removing intermediate container 4fb723b9f692 [2023-03-15T00:13:39.848Z] ---> 89a882ea3cf0 [2023-03-15T00:13:39.848Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-15T00:13:39.848Z] ---> Running in a5e6c2f6db5c [2023-03-15T00:13:40.117Z] Removing intermediate container a5e6c2f6db5c [2023-03-15T00:13:40.117Z] ---> 2371760b6b0c [2023-03-15T00:13:40.117Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-15T00:13:40.718Z] ---> f030b9be4194 [2023-03-15T00:13:40.718Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T00:13:40.718Z] ---> Running in 755fff985aad [2023-03-15T00:14:48.645Z] Removing intermediate container 755fff985aad [2023-03-15T00:14:48.645Z] ---> c3cc35b979ae [2023-03-15T00:14:48.645Z] Step 11/13 : COPY . . [2023-03-15T00:14:48.645Z] ---> a891dde9aadb [2023-03-15T00:14:48.645Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-15T00:14:48.645Z] ---> Running in 76cc3d8001c9 [2023-03-15T00:14:48.645Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T00:14:48.645Z] Dload Upload Total Spent Left Speed [2023-03-15T00:14:48.645Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3694 0 --:--:-- --:--:-- --:--:-- 3700 [2023-03-15T00:14:48.645Z] Removing intermediate container 76cc3d8001c9 [2023-03-15T00:14:48.645Z] ---> 9e2c7e985d29 [2023-03-15T00:14:48.645Z] Step 13/13 : RUN ${MAKE} [2023-03-15T00:14:48.645Z] ---> Running in 5e41054233b7 [2023-03-15T00:14:48.645Z] noop [2023-03-15T00:14:48.645Z] Removing intermediate container 5e41054233b7 [2023-03-15T00:14:48.645Z] ---> 68ac19f6b9eb [2023-03-15T00:14:48.645Z] Successfully built 68ac19f6b9eb [2023-03-15T00:14:48.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:14:49.124Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T00:14:49.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:14:49.431Z] prd-ubuntu20.04-docker-arm64-4c-16g-297 does not seem to be running inside a container [2023-03-15T00:14:49.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T00:14:52.866Z] $ docker top 2b60287f6bd1ba2495c98b631e34dd61035e99316309851bcede487d2a0a6035 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:14:54.231Z] + go version [2023-03-15T00:14:54.231Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T00:14:54.269Z] $ docker stop --time=1 2b60287f6bd1ba2495c98b631e34dd61035e99316309851bcede487d2a0a6035 [2023-03-15T00:14:55.936Z] $ docker rm -f --volumes 2b60287f6bd1ba2495c98b631e34dd61035e99316309851bcede487d2a0a6035 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:14:56.788Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T00:14:56.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:14:57.050Z] prd-ubuntu20.04-docker-arm64-4c-16g-297 does not seem to be running inside a container [2023-03-15T00:14:57.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T00:14:58.329Z] $ docker top 50f536843255c03585ead5451896941f0244a35beadf26878a29fc2f06d93ad7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:14:59.227Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T00:14:59.925Z] + make test [2023-03-15T00:14:59.925Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T00:15:38.824Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-15T00:17:30.508Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-15T00:17:30.508Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-15T00:17:30.508Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-15T00:17:30.508Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-15T00:17:30.508Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-15T00:17:30.508Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-15T00:17:30.508Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-15T00:17:30.508Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-15T00:17:52.605Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-15T00:17:52.605Z] FAIL [2023-03-15T00:17:52.870Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-15T00:17:52.920Z] $ docker stop --time=1 50f536843255c03585ead5451896941f0244a35beadf26878a29fc2f06d93ad7 [2023-03-15T00:17:57.280Z] $ docker rm -f --volumes 50f536843255c03585ead5451896941f0244a35beadf26878a29fc2f06d93ad7 [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-03-15T00:17:59.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:17:59.008Z] [2023-03-15T00:17:59.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:17:59.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:17:59.676Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T00:17:59.676Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T00:17:59.676Z] 04944245beec: Pulling fs layer [2023-03-15T00:17:59.676Z] 699f458cf7ca: Pulling fs layer [2023-03-15T00:17:59.676Z] 765212b225bb: Pulling fs layer [2023-03-15T00:17:59.676Z] f23df028b6ca: Pulling fs layer [2023-03-15T00:17:59.676Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T00:17:59.676Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T00:17:59.676Z] f23df028b6ca: Waiting [2023-03-15T00:17:59.676Z] d65c8cfc05b1: Waiting [2023-03-15T00:17:59.676Z] 765212b225bb: Waiting [2023-03-15T00:17:59.676Z] 2437ff75d9bd: Waiting [2023-03-15T00:17:59.676Z] 04944245beec: Verifying Checksum [2023-03-15T00:17:59.676Z] 04944245beec: Download complete [2023-03-15T00:17:59.676Z] f23df028b6ca: Verifying Checksum [2023-03-15T00:17:59.676Z] f23df028b6ca: Download complete [2023-03-15T00:17:59.947Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T00:17:59.947Z] d65c8cfc05b1: Download complete [2023-03-15T00:17:59.947Z] 699f458cf7ca: Verifying Checksum [2023-03-15T00:17:59.947Z] 699f458cf7ca: Download complete [2023-03-15T00:18:00.536Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T00:18:00.536Z] 8998bd30e6a1: Download complete [2023-03-15T00:18:02.477Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T00:18:02.477Z] 2437ff75d9bd: Download complete [2023-03-15T00:18:04.425Z] 8998bd30e6a1: Pull complete [2023-03-15T00:18:04.696Z] 04944245beec: Pull complete [2023-03-15T00:18:06.106Z] 699f458cf7ca: Pull complete [2023-03-15T00:18:06.373Z] 765212b225bb: Pull complete [2023-03-15T00:18:07.333Z] f23df028b6ca: Pull complete [2023-03-15T00:18:07.333Z] d65c8cfc05b1: Pull complete [2023-03-15T00:18:22.338Z] 2437ff75d9bd: Pull complete [2023-03-15T00:18:22.338Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T00:18:22.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T00:18:22.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:18:22.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-297 does not seem to be running inside a container [2023-03-15T00:18:22.727Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T00:18:25.326Z] $ docker top 5230ec5ff5a5d994088e56bdc317066dfe9f807c39c65c2d3a7e99db56f0574f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:26.300Z] ---> job-cost.sh [2023-03-15T00:18:26.300Z] lf-activate-venv: SKIPPING [2023-03-15T00:18:26.300Z] INFO: No Stack... [2023-03-15T00:18:26.573Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T00:18:27.544Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T00:18:28.233Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-15T00:18:28.234Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T00:18:28.288Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [2023-03-15T00:18:28.293Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] did not exist. Created. [2023-03-15T00:18:28.293Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T00:18:29.023Z] /w/workspace/device-usb-camera/1@tmp/durable-745d2d97/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T00:18:29.694Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T00:18:29.728Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T00:18:30.168Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T00:18:30.182Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T00:18:30.258Z] $ docker stop --time=1 5230ec5ff5a5d994088e56bdc317066dfe9f807c39c65c2d3a7e99db56f0574f [2023-03-15T00:18:31.717Z] $ docker rm -f --volumes 5230ec5ff5a5d994088e56bdc317066dfe9f807c39c65c2d3a7e99db56f0574f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T00:18:32.379Z] 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-03-15T00:18:34.265Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-186/archives ] [2023-03-15T00:18:34.265Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-186/archives [2023-03-15T00:18:34.265Z] total 16 [2023-03-15T00:18:34.265Z] drwxr-xr-x 3 root root 4096 Mar 15 00:10 . [2023-03-15T00:18:34.265Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 00:10 .. [2023-03-15T00:18:34.265Z] drwxr-xr-x 2 root root 4096 Mar 15 00:10 cost [2023-03-15T00:18:34.265Z] -rw-r--r-- 1 root root 89 Mar 15 00:10 cost.csv [2023-03-15T00:18:34.265Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-186/archives [2023-03-15T00:18:34.265Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-186/archives [2023-03-15T00:18:34.265Z] total 16 [2023-03-15T00:18:34.265Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 00:10 . [2023-03-15T00:18:34.265Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 00:10 .. [2023-03-15T00:18:34.265Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 00:10 cost [2023-03-15T00:18:34.265Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 15 00:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:34.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:35.484Z] ---> package-listing.sh [2023-03-15T00:18:35.484Z] ++ facter osfamily [2023-03-15T00:18:35.484Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T00:18:35.743Z] + OS_FAMILY=debian [2023-03-15T00:18:35.743Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-186 [2023-03-15T00:18:35.743Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T00:18:35.743Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T00:18:35.743Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T00:18:35.743Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T00:18:35.743Z] + '[' /w/workspace/foundry_device-usb-camera_PR-186 ']' [2023-03-15T00:18:35.743Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T00:18:35.743Z] + case "${OS_FAMILY}" in [2023-03-15T00:18:35.743Z] + dpkg -l [2023-03-15T00:18:35.743Z] + grep '^ii' [2023-03-15T00:18:35.743Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T00:18:35.743Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T00:18:35.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T00:18:35.743Z] + '[' /w/workspace/foundry_device-usb-camera_PR-186 ']' [2023-03-15T00:18:35.743Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-186/archives/ [2023-03-15T00:18:35.743Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-186/archives/ [Pipeline] echo [2023-03-15T00:18:35.775Z] 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-usb-camera_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T00:18:36.072Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T00:18:36.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T00:18:36.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T00:18:36.829Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2023-03-15T00:18:36.860Z] $ 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-usb-camera_PR-186/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-usb-camera_PR-186 -v /w/workspace/foundry_device-usb-camera_PR-186:/w/workspace/foundry_device-usb-camera_PR-186:rw,z -v /w/workspace/foundry_device-usb-camera_PR-186@tmp:/w/workspace/foundry_device-usb-camera_PR-186@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-03-15T00:18:37.044Z] $ docker top 3333a622103642967b7439c8d1f3b784662043dfe6a5ec48faa12c1ce9d7717e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T00:18:37.430Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T00:18:37.737Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T00:18:38.045Z] + ls /var/log/sa-host [2023-03-15T00:18:38.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T00:18:38.185Z] provisioning config files... [2023-03-15T00:18:38.195Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-186@tmp/config7172886354806539638tmp [Pipeline] { [Pipeline] echo [2023-03-15T00:18:38.245Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:38.555Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T00:18:38.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:38.968Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T00:18:38.999Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:39.314Z] ---> sudo-logs.sh [2023-03-15T00:18:39.314Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T00:18:39.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:39.715Z] ---> job-cost.sh [2023-03-15T00:18:39.715Z] lf-activate-venv: SKIPPING [2023-03-15T00:18:39.715Z] DEBUG: total: 0.2199999988079071 [2023-03-15T00:18:39.715Z] INFO: Retrieving Stack Cost... [2023-03-15T00:18:39.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T00:18:40.237Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T00:18:40.283Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T00:18:40.604Z] ---> logs-deploy.sh [2023-03-15T00:18:40.604Z] lf-activate-venv: SKIPPING [2023-03-15T00:18:40.604Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-186/1 [2023-03-15T00:18:40.604Z] INFO: archiving workspace using pattern(s): [2023-03-15T00:18:41.548Z] Archives upload complete. [2023-03-15T00:18:41.548Z] INFO: archiving logs to Nexus