6 Star 0 Fork 6

src-openEuler / nodejs-colors

 / 详情

nodejs-colors build problem in openEuler-22.03-LTS-SP1

已验收
缺陷
创建于  
2022-11-24 22:03

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 <==

  • umask 022
  • cd /root/rpmbuild/BUILD
  • cd /root/rpmbuild/BUILD
  • rm -rf colors.js-1.4.0
  • /usr/bin/gzip -dc /root/rpmbuild/SOURCES/v1.4.0.tar.gz
  • /usr/bin/tar -xof -
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd colors.js-1.4.0
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • RPM_EC=0
    ++ jobs -p
  • exit 0

==> /tmp/stdout <==
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RN6LmY

==> /tmp/stderr <==

  • umask 022
  • cd /root/rpmbuild/BUILD
  • cd colors.js-1.4.0
  • RPM_EC=0
    ++ jobs -p
  • exit 0

==> /tmp/stdout <==
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IWGEWw

==> /tmp/stderr <==

  • umask 022
  • cd /root/rpmbuild/BUILD
  • '[' /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64 '!=' / ']'
  • rm -rf /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64
    ++ dirname /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64
  • mkdir -p /root/rpmbuild/BUILDROOT
  • mkdir /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64
  • cd colors.js-1.4.0
  • mkdir -p /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64/usr/lib/node_modules/colors
  • cp -pr package.json safe.js lib themes/ /root/rpmbuild/BUILDROOT/nodejs-colors-1.4.0-1.oe2203sp1.x86_64/usr/lib/node_modules/colors
  • /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules
  • /usr/bin/find-debuginfo -j64 --strict-build-id -i --build-id-seed 1.4.0-1.oe2203sp1 --unique-debug-suffix -1.4.0-1.oe2203sp1.x86_64 --unique-debug-src-base nodejs-colors-1.4.0-1.oe2203sp1.x86_64 -S debugsourcefiles.list /root/rpmbuild/BUILD/colors.js-1.4.0
    find: 'debug': No such file or directory
  • '[' '%{buildarch}' = noarch ']'
  • QA_CHECK_RPATHS=1
  • case "${QA_CHECK_RPATHS:-}" in
  • /usr/lib/rpm/check-rpaths
  • /usr/lib/rpm/check-buildroot
  • /usr/lib/rpm/brp-ldconfig
  • /usr/lib/rpm/brp-compress
  • /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
  • /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1
  • /usr/lib/rpm/brp-python-hardlink

==> /tmp/stdout <==
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.89jFAA

==> /tmp/stderr <==

  • umask 022
  • cd /root/rpmbuild/BUILD
  • cd colors.js-1.4.0
  • /usr/bin/node tests/basic-test.js
    assert.js:101
    throw new AssertionError(obj);
    ^

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: '=='
}

  • RPM_EC=1
    ++ jobs -p
  • exit 1
    error: Bad exit status from /var/tmp/rpm-tmp.89jFAA (%check)
    Bad exit status from /var/tmp/rpm-tmp.89jFAA (%check)

==> /tmp/stdout <==

RPM build errors:
failed to build rpms by root with nodejs-colors.spec

评论 (2)

dongjie110 创建了缺陷

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

openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
dongjie110 上传了附件cbs.243834-nodejs-colors-x86_64.txt
dongjie110 负责人设置为caodongxia
dongjie110 计划开始日期设置为2022-11-25
dongjie110 计划截止日期2022-11-26 修改为2022-11-29
dongjie110 修改了描述

问题原因:该包的两个用例为测试颜色,ebs构建时拉起进程进行构建软件包,进程里并无颜色区分,导致用例失败
解决方法:在执行测试用例时判断是否开启颜色
!8:修复用例失败问题

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/nodejs-colors.git
git@gitee.com:src-openeuler/nodejs-colors.git
src-openeuler
nodejs-colors
nodejs-colors

搜索帮助