Jenkins在执行JUnit报告时报错Test reports were found but none of them are new. Did leafNodes run? 问题解决
问题背景
Jenkins增加了构建后生成测试报告的配置,构建失败,报错。
ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did leafNodes run?
For example, /var/lib/jenkins/workspace/skin_dubbo_pre/pre_result.xml is 35 分 old
问题原因
在stackoverflow搜索,看到一个回答
There is a timestamp check but looks like it works on file timestamps (last modified) and uses a jitter of 3000 (presumably milliseconds). The JUnit plugin is ignoring test XML output that is older than the buildtime of the current build minus 3 seconds. If the test run and the JUnit plugin run are more than 3 seconds apart, the plugin will ignore the files.
谷歌翻译:
有一个时间戳检查但看起来它适用于文件时间戳(最后修改)并使用3000的抖动(可能是毫秒)。 JUnit插件忽略了比当前构建的构建时间减去3秒的测试XML输出。 如果测试运行和JUnit插件运行间隔超过3秒,则插件将忽略这些文件。
问题解决
使用touch命令更新这个文件的时间
cd path/to/test/reports
touch *.xml
Jenkins在执行JUnit报告时报错Test reports were found but none of them are new. Did leafNodes run? 问题解决相关推荐
- 【Cmake】执行cmake命令时报错:No XSLT processor found
一.问题描述 在ubuntu中,在生成Doc(文档)中,执行cmake命令时报错:No XSLT processor found 二.原因查找 google该错误信息,原因是确实ubuntu中没有安装 ...
- 执行ldapadd 命令时报错:ldap_bind: Invalid credentials (49)
转载自:http://www.linuxfly.org/post/671/ 某项目,需要在Asianux 4.0上配置LDAP服务.参考以前的[原]操作ldap 数据库一文,在执行ldapadd 命令 ...
- 驱动谷歌浏览器执行用例时报错java.lang.IllegalStateException
驱动谷歌浏览器执行用例时报错信息:java.lang.IllegalStateException Exception in thread "main" java.lang.Ille ...
- Qt在手动执行xxx.exe时报错:由于找不到Qt5xxx.dll,无法继续执行代码。重新安装程序可能解决此问题。
一.问题描述. Qt在手动执行xxx.exe时报错:"由于找不到Qt5xxx.dll,无法继续执行代码.重新安装程序可能解决此问题.". 二.问题分析. 执行程序依赖库文件Qt5x ...
- mysql grant reload,MySQL执行GRANT命令时报错ERROR 1045解决办法
摘要 腾兴网为您分享:MySQL执行GRANT命令时报错ERROR 1045解决办法,杂志迷,云闪付,一直播,小象优品等软件知识,以及592美剧,乐天网络电视,吃鸡无后座,易语言宝盒,语音转文字软件, ...
- 执行wsl 命令时报错 nsenter: failed to execute 564: No such file or directory
问题 在cmd命令框中执行wsl命令时报错 nsenter: failed to execute 564: No such file or directory无法进入Ubuntu子系统中 C:\Use ...
- Junit测试时报错No tests found matching
Junit测试时报错No tests found matching 错误提示: 错误原因及解决方法: 其它原因: 错误提示: java.lang.Exception: No tests found m ...
- python3.x执行post请求时报错“POST data should be bytes or an iterable of bytes...”的解决方法...
使用python3.5.1执行post请求时,一直报错"POST data should be bytes or an iterable of bytes. It cannot be of ...
- 达梦数据库执行sql语句时报错:表【xxx】中不能同时包含聚集KEY和大字段
最近在部署测试搭配达梦数据库的应用,使用sql语句创建表并插入数据时,有出现如下错误:表[xxx]中不能同时包含聚集KEY和大字段,如下图所示: 问题原因:达梦数据库建表时默认将主键设置为聚集索引,而 ...
- Dolphinscheduler执行MySQL任务时报错execute sql error java.lang.RuntimeException: send mail failed!
本次测试Mysql脚本的执行情况报错如下图 解决步骤 前往github官网寻找解决方案 https://github.com/apache/incubator-dolphinscheduler/iss ...
最新文章
- 一文读懂PID控制算法
- 20160522--20160526----mybatis入门基础
- flv文件转换,完美解决
- 牛气!GitHub 标星 119K+!这些神器仅需一行代码即可下载全网视频!
- ubuntu14测试mysql_在ubuntu14.04中安装Hammerora-2.10——测试mysql、oracle性能够的工具...
- Java:批量插入、修改数据到数据库中的用法
- xmp文件格式怎么导入ps?ACR预设安装方法
- 关于strict-origin-when-cross-origin404请求的问题
- 计算机硬盘应该什么格式化,硬盘应该格式化成哪种格式为好?
- Revit 2019注册机
- 【聚沙成塔系列】之《UML九种图
- 蛇形字符串、驼峰字符串转换
- kali linux 虚拟机iso 下载,Kali Linux 2016.2发布提供虚拟机以及系统镜像下载
- 工业工程跨考计算机难吗,工业工程硕士跨考 难度大不大?
- 日服人物一览(按实装版本倒序)
- Linux内核中的算法和数据结构
- 2009-2019:卢松松博客10周年
- Nginx配置本地绝对路径下的静态资源
- 湖南文旅数据中心:湖南文旅数据早知道(9月1日)
- 海天味业股票可以长期投资吗
热门文章
- echar柱状图调整柱的高低
- 深度学习(四十六)——StarGAN, InfoGAN, ProGAN, StyleGAN, BigGAN, FUNIT, CVAE
- 利用昆仑通态触摸屏实现数据采集和逻辑判断的例子
- python视频培训班
- php获取qq音乐的api类,利用QQ音乐api集成的php歌曲搜索
- 【信号与系统实验】实验三 连续时间LTI系统的时域分析
- ioccc_konno
- 2022阿里巴巴全球数学竞赛 第4题 虎虎生威(盲盒问题、集卡问题)解决思路
- msfvenom 生成php木马,利用msfvenom生成木马程序
- 搭建 LimeSurvey投票调查问卷系统