【问题标题】:Error while parsing TeamCity service message解析 TeamCity 服务消息时出错
【发布时间】:2022-10-21 16:27:50
【问题描述】:

当使用 playwright 测试运行 TC 构建时,测试确实通过了,但是在步骤 dotnet test 结束时,我不断收到以下错误:

Tests passed: 102, ignored: 1; failed to publish artifacts: Failed to upload artifact, error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect (new)

当挖掘构建日志时,它看起来像下面的 sn-p(一些数据已被删除),但是完全限定名不知何故缺少结束撇号,我怀疑这会导致错误。

Publishing artifacts
  Collecting files to publish: [E:\BuildAgent\work\...] => .teamcity/VSTest/Autom
  ##teamcity[testFinished name='TestName' duration='44' ...
  fullyQualifiedName='AutomationTestService...]
  Error while parsing TeamCity service message: 
  Value should end with "'". 
  Valid service message has a form of "##teamcity[messageName name1='escaped_value' name2='escaped_value']" where escaped_value uses substitutions: '->|', [->|[, ]->|], |->||, newline->|n

在构建配置中,我使用简单:跑步者类型:.Net 命令:测试

我已经检查了配置参数和这个完全限定名没有在那里列出。知道问题的根源是什么吗?我怎样才能改变它?

【问题讨论】:

    标签: .net testing teamcity


    【解决方案1】:

    你找到导致这个问题的原因了吗?因为我遇到了同样的错误,我仍在寻找解决方案。 提前致谢

    【讨论】:

      猜你喜欢
      • 2019-09-20
      • 1970-01-01
      • 1970-01-01
      • 2022-01-19
      • 1970-01-01
      • 2017-01-19
      • 2011-10-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多