Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Jenkins - Unity Build issue

Discussion in 'Cache Server' started by matt-firstlight, Aug 2, 2019.

  1. matt-firstlight

    matt-firstlight

    Joined:
    Oct 3, 2018
    Posts:
    1
    Hello,

    I'm get an Error invoking the unity command line,
    Unity Package Manager
    Error: no such package available : com.unity.timeline
    ... (see below)


    Any help really appreciated?



    Running as SYSTEM
    Building in workspace /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master
    [WS-CLEANUP] Deleting project workspace...
    [WS-CLEANUP] Deferred wipeout is used...
    [WS-CLEANUP] Done
    using credential f3d81daf-73f4-4f74-979b-21a2be2ebf6b
    Cloning the remote Git repository
    Cloning repository https://github.com/firstlightgames/ShootAndLoot.git
    > git init /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master # timeout=10
    Fetching upstream changes from https://github.com/firstlightgames/ShootAndLoot.git
    > git --version # timeout=10
    using GIT_ASKPASS to set credentials
    > git fetch --tags --force --progress https://github.com/firstlightgames/ShootAndLoot.git +refs/heads/*:refs/remotes/origin/* # timeout=20
    > git config remote.origin.url https://github.com/firstlightgames/ShootAndLoot.git # timeout=10
    > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
    > git config remote.origin.url https://github.com/firstlightgames/ShootAndLoot.git # timeout=10
    Fetching upstream changes from https://github.com/firstlightgames/ShootAndLoot.git
    using GIT_ASKPASS to set credentials
    > git fetch --tags --force --progress https://github.com/firstlightgames/ShootAndLoot.git +refs/heads/*:refs/remotes/origin/* # timeout=20
    > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
    > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
    Checking out Revision 006614a820fa8af6c6687d5d253e36b1774df908 (refs/remotes/origin/master)
    > git config core.sparsecheckout # timeout=10
    > git checkout -f 006614a820fa8af6c6687d5d253e36b1774df908 # timeout=20
    Commit message: "Merge branch 'master' of https://github.com/firstlightgames/ShootAndLoot"
    > git rev-list --no-walk 006614a820fa8af6c6687d5d253e36b1774df908 # timeout=10
    Piping unity Editor.log from /dev/stdout
    [ShootAndLoot-Android-Master] $ /Applications/Unity/Unity.app/Contents/MacOS/Unity -projectPath /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master -quit -batchmode -nographics -serial SC-Z2ZB-Z8EG-K4M8-4QAD-4VP4 -username matt@firstlight.games -password First989%^7 executeMethod Builder.AndroidTestBuild -logFile /dev/stdout
    [Package Manager] Server::Start -- Port 57176 was selected
    Launching external process: /Applications/Unity/Unity.app/Contents/Resources/PackageManager/Server/upm-macos
    LICENSE SYSTEM [201982 16:9:11] Next license update check is after 2019-06-07T08:50:03
    COMMAND LINE ARGUMENTS:
    /Applications/Unity/Unity.app/Contents/MacOS/Unity
    -projectPath
    /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master
    -quit
    -batchmode
    -nographics
    -serial
    (hidden)
    -username
    matt@firstlight.games
    -password
    (hidden)
    executeMethod
    Builder.AndroidTestBuild
    -logFile
    /dev/stdout
    Successfully changed project path to: /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master
    /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master
    Rebuilding Library because the asset database could not be found!

    (Filename: /Users/builduser/buildslave/unity/build/Modules/AssetDatabase/Editor/Shared/AssetDatabaseInitialization.cpp Line: 108)
    Audio: FMOD Profiler initialized on port 54900
    Loading GUID <-> Path mappings...0.000046 seconds
    Loading Asset Database...0.000004 seconds
    AssetDatabase consistency checks...0.000105 seconds
    Refreshing native plugins compatible for Editor in 0.01 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    DisplayProgressbar: Unity Package Manager
    Error: no such package available : com.unity.timeline
    at makeError (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:12)
    at CachingRegistryClient.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:292:14)
    at Request._callback (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:212:14)
    at Request.init.self.callback (/snapshot/upm/node_modules/npm/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1081:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1001:12)
    Error: no such package available : com.unity.ugui
    at makeError (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:12)
    at CachingRegistryClient.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:292:14)
    at Request._callback (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:212:14)
    at Request.init.self.callback (/snapshot/upm/node_modules/npm/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1081:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1001:12)
    Error: no such package available : com.unity.ugui
    at makeError (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:12)
    at CachingRegistryClient.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:292:14)
    at Request._callback (/snapshot/upm/node_modules/npm/node_modules/npm-registry-client/lib/request.js:212:14)
    at Request.init.self.callback (/snapshot/upm/node_modules/npm/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1081:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/snapshot/upm/node_modules/npm/node_modules/request/request.js:1001:12)
    [Package Manager] Done resolving packages in 1.31s seconds
    [Package Manager] An error occurred while resolving packages:
    Project has invalid dependencies:
    com.unity.package-manager-ui: Package [com.unity.package-manager-ui@2.1.2] cannot be found
    com.unity.timeline: no such package available : com.unity.timeline
    Package com.unity.analytics@3.3.2 has invalid dependencies:
    com.unity.ugui: no such package available : com.unity.ugui
    Package com.unity.textmeshpro@2.0.1 has invalid dependencies:
    com.unity.ugui: no such package available : com.unity.ugui
    A re-import of the project may be required to fix the issue or a manual modification of /Users/firstlight/.jenkins/workspace/ShootAndLoot-Android-Master/Packages/manifest.json file.
    [Package Manager] Server::Kill -- Server was shutdown
    FATAL: Unity3d command line execution failed with status 1
    Build step 'Invoke Unity3d Editor' marked build as failure
    Finished: FAILURE