Some tasks return no results

Issue #3 new
Mark de Bont created an issue

When requesting data: no results are returned even though there is data on the agent. This happens on Windows and Linux Agents

![2016-11-11_07h52_26.png](https://bitbucket.org/repo/EbRj5G/images/3427539985-2016-11-11_07h52_26.png)

Atlassian-Bamboo.log returns the following (Note : I've installed the latest plugin 2.8.9)

2016-11-11 07:53:52,132 INFO [http-apr-8085-exec-4] [AccessLogFilter] mb81ein GET http://einz6318:8085/build/generateAgentBrowser.action?workingFolder=%2Fhome%2Fbu62ein%2Fbamboo-agent-home%2Fxml-data%2Fbuild-dir%2FIPIPE-FBM-LS1&path=%2F&planName=&planKey=IPIPE-FBM-LS1&buildKey=IPIPE-FBM-LS1&buildNumber=278&baseUrl=http%3A%2F%2F10.120.24.67%3A8085&save=Submit&atl_token=9f4e0e7322423c66c00e6ab81d8559cc1f00a4f3 407546kb
2016-11-11 07:53:52,212 WARN [http-apr-8085-exec-4] [AgentBrowserAction] Verify security complete path: C:\home\bu62ein\bamboo-agent-home\xml-data\build-dir\IPIPE-FBM-LS1 against working folder C:\home\bu62ein\bamboo-agent-home\xml-data\build-dir\IPIPE-FBM-LS1
2016-11-11 07:53:52,212 WARN [http-apr-8085-exec-4] [AgentBrowserAction] Allowing ...
2016-11-11 07:53:52,212 INFO [http-apr-8085-exec-4] [AgentBrowserAction] sending command to remote agent
2016-11-11 07:53:52,574 WARN [http-apr-8085-exec-4] [XsrfUtils] XSRF: A mutative operation was attempted on BandanaItem within a non-mutative HTTP request: http://einz6318:8085/build/generateAgentBrowser.action?workingFolder=%2Fhome%2Fbu62ein%2Fbamboo-agent-home%2Fxml-data%2Fbuild-dir%2FIPIPE-FBM-LS1&path=%2F&planName=&planKey=IPIPE-FBM-LS1&buildKey=IPIPE-FBM-LS1&buildNumber=278&baseUrl=http%3A%2F%2F10.120.24.67%3A8085&save=Submit&atl_token=9f4e0e7322423c66c00e6ab81d8559cc1f00a4f3 : [null]->
->[[0, system.bamboo.repository.ReplyMessage:1478680199725, <list>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>.git</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>.gitattributes</name>
    <type>FILE</type>
    <attributes>626</attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>.gitignore</name>
    <type>FILE</type>
    <attributes>9007</attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Baseline.txt</name>
    <type>FILE</type>
    <attributes>29</attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Build</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>FESW_AmbarellaHD</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>FirmwareVersion.txt</name>
    <type>FILE</type>
    <attributes>60</attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Imagepipe</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>PreStudy</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>sonar-project.properties</name>
    <type>FILE</type>
    <attributes>801</attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>SW_uBlaze_Common</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Targets</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Test</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
  <com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
    <name>Tools</name>
    <type>DIR</type>
    <attributes></attributes>
  </com.valens.bamboo.tools.entities.BasicFileInfo-pluginKey-com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3>
</list>]]

Comments (7)

  1. Hutuleac Iulius repo owner

    Hi Mark,

    can you have a quick look in the agent log for exceptions ? If there is nothing means I have to enhance a bit the logging and we try, I suspect the agent is having some exception while getting file lists but is not displayed.

    Julius

  2. Mark de Bont reporter

    This is the only logging on the agent after I did several requests. Workspace is there and filled

    INFO   | jvm 5    | 2016/11/11 11:43:12 | 2016-11-11 11:43:12,419 INFO [0-BAM::HOSTNAME:Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 20578305 checking build queue for executables...
    INFO   | jvm 5    | 2016/11/11 11:47:26 | 2016-11-11 11:47:26,613 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1262-IS/
    INFO   | jvm 5    | 2016/11/11 11:47:54 | 2016-11-11 11:47:54,510 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1262-IS/
    INFO   | jvm 5    | 2016/11/11 11:47:56 | 2016-11-11 11:47:56,153 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1262-IS/
    INFO   | jvm 5    | 2016/11/11 11:48:12 | 2016-11-11 11:48:12,460 INFO [0-BAM::HOSTNAME::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 20578305 checking build queue for executables...
    INFO   | jvm 5    | 2016/11/11 11:48:22 | 2016-11-11 11:48:22,285 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1262-IS/
    INFO   | jvm 5    | 2016/11/11 11:49:01 | 2016-11-11 11:49:01,243 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1262-IS/
    
  3. Hutuleac Iulius repo owner

    Hi Mark,

    I still cannot find any issue on my side. I notice something on the other hand: com.valens.bamboo.tools.bamboo-powertools-plugin-pluginVersion-2.8.3 which is the old version. The plugin is using the bandanaContext to talk to the agents so to me this looks like some environment specific issue only.

    I will publish another version of the plugin with a bit more logging but at the moment this looks quite strange. If you notice any consistency like, it cannot handle a particular scenario maybe we can sort it. There are also some timeouts in which the Agent must reply, I can try to increase those also. Those would result in a blank page also.

    Julius

  4. Hutuleac Iulius repo owner

    Published a version Mark with a bit more logging on the reply side, hopefully we can spot the issue.

    Julius

  5. Mark de Bont reporter

    See logging below from the Agent.

    Some task are responding okay, but it's not yet clear to me why some tasks work fine and other don't s (will continue to investigate)

    INFO   | jvm 5    | 2016/11/14 08:23:03 | 2016-11-14 08:23:03,529 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Received content: e:\gitb\b\IPIPE-VBMST1207-IPS2L/
    INFO   | jvm 5    | 2016/11/14 08:23:03 | 2016-11-14 08:23:03,529 INFO [agentMessageListenerConnector-1] [GetFileListMessage] Reply content: system.bamboo.repository.ReplyMessage:1479108183384 : [BasicFileInfo{name=.git, type=DIR, attributes=, content=null}, BasicFileInfo{name=.gitattributes, type=FILE, attributes=608, content=null}, BasicFileInfo{name=.gitignore, type=FILE, attributes=9134, content=null}, BasicFileInfo{name=Baseline.txt, type=FILE, attributes=29, content=null}, BasicFileInfo{name=Build, type=DIR, attributes=, content=null}, BasicFileInfo{name=FESW_AmbarellaHD, type=DIR, attributes=, content=null}, BasicFileInfo{name=FirmwareVersion.txt, type=FILE, attributes=60, content=null}, BasicFileInfo{name=Imagepipe, type=DIR, attributes=, content=null}, BasicFileInfo{name=PreStudy, type=DIR, attributes=, content=null}, BasicFileInfo{name=sonar-project.properties, type=FILE, attributes=801, content=null}, BasicFileInfo{name=SW_uBlaze_Common, type=DIR, attributes=, content=null}, BasicFileInfo{name=Targets, type=DIR, attributes=, content=null}, BasicFileInfo{name=Test, type=DIR, attributes=, content=null}, BasicFileInfo{name=Thirdparty, type=DIR, attributes=, content=null}, BasicFileInfo{name=Tools, type=DIR, attributes=, content=null}]
    
  6. Log in to comment