Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Issue with SVN externals checkout since QB 5.1.0? #2631

Productivity ·
Hello,

one of our teams has noticed an issue that seems to occur when doing an SVN checkout of a project (with path: https://svn.xxxxx.com/svn/packages/my_project/trunk) that contains multiple externals. This issue's appearance seems to coincide with the date when we did the update to 5.1.0, which improved the support of SVN externals. Here is the issue:

09:23:46,534 DEBUG - Executing command: svn log https://svn.xxxxx.com/svn/teamlib/external/allegro/trunk/ --non-interactive --trust-server-cert --username xxxx --password ****** -v --xml -r 14006:14003
09:23:46,534 DEBUG - Command working directory: C:\Work\buildagent\bin
09:23:46,944 WARN - svn: E160013: '/svn/teamlib/!svn/bc/15823/external/allegro/trunk' path not found


The weird thing is that the SVN path above does not exist! However, our project has an SVN external property that points to something that resembles the above path (https://svn.xxxxx.com/svn/teamlib/external/allegro/tags/4.1.16-xxx.4) which does exist, but there are NO "trunk" folder underneath the "https://svn.xxxxx.com/svn/teamlib/external/allegro" folder. So I don't know how or why QB constructed this SVN path...

However, this error does not occur all the time, only when the "svn log" commands attempts to be ran on some of the svn externals path which are weirdly constructed for some reason. When QB only does 1 svn log command on the main project (svn log https://svn.xxxxx.com/svn/packages/my_project/trunk), then the checkout step is successful.

Can you look into this issue? It is pretty major for us right now.

Thanks in advance!
  • replies 3
  • views 3374
  • stars 0
robinshen ADMIN ·
QB tries to construct the trunk url for external when encounter a tags (since it is the convention in subversion for trunk/branches/tags) in order to detect changes between different tags reliably. In 5.1.2, we check if the trunk url exists, and if not, ignore change detection for relevant external tags. You may now upgrade to 5.1.2 to get the fix.
Productivity ·
Hello,

I've updated to QB 5.1.2 but I have another problem.

I'm guessing you now check if a trunk exists with "svn info"? Because I get a new issue surrounding a call to this command where the build freezes indefinitely like so:

00:28:52,633 DEBUG - Executing command: svn info https://svn.xxxxx.com/svn/teamlib/tools/linuxtools-new/create-script-android/trunk/0/1
00:28:52,633 DEBUG - Command working directory: /var/quickbuild/buildagent/bin
00:28:52,957 WARN - Authentication realm: <https://svn.xxxxx.com:443> teamlib


As you can see, this "svn info" command does not pass in the SVN credentials with the "--non-interactive" and "--trust-server-cert" options, so it expects someone to manually type in a username/password for authentication, which QuickBuild cannot do, therefore the build gets stuck because it cannot proceed further.

So can we ensure that the "svn info" command (and all other SVN commands that require authentication) uses these options, as described previously (http://forum.pmease.com/viewtopic.php?f=1&t=2661)?
robinshen ADMIN ·
A new build is available to fix this: https://build.pmease.com/build/2557/overview