repo:http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP1/Alpha_openeuler-2022-11-23-19-40-46
Installed:
glibc-all-langpacks-2.34-100.oe2203sp1.x86_64
glibc-locale-archive-2.34-100.oe2203sp1.x86_64
Complete!
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mONpGG
==> /tmp/stderr <==
==> /tmp/stdout <==
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RN6LmY
==> /tmp/stderr <==
==> /tmp/stdout <==
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IWGEWw
==> /tmp/stderr <==
==> /tmp/stdout <==
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.89jFAA
==> /tmp/stderr <==
AssertionError [ERR_ASSERTION]: 'string' == '\u001b[1mstring\u001b[22m'
at Object. (/root/rpmbuild/BUILD/colors.js-1.4.0/tests/basic-test.js:28:8)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'string',
expected: '\u001b[1mstring\u001b[22m',
operator: '=='
}
==> /tmp/stdout <==
RPM build errors:
failed to build rpms by root with nodejs-colors.spec
Hi dongjie110, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-nodejs, and any of the maintainers: @ZhengyuhangHans , @卢华歆 , @solarhu , @mdche
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题原因:该包的两个用例为测试颜色,ebs构建时拉起进程进行构建软件包,进程里并无颜色区分,导致用例失败
解决方法:在执行测试用例时判断是否开启颜色
!8:修复用例失败问题
登录 后才可以发表评论