[opensuse-factory] Error while building Nodejs (5.4.1)
I am trying to build nodejs (5.4.1) via OBS on SUSE_SLE-12-SP1_GA. I am able to build it correctly without test suite , but when I try to build it with test by adding "make check" in the spec file , I get below error : === release test-net-connect-options-ipv6 === [ 416s] Path: parallel/test-net-connect-options-ipv6 [ 416s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js:54 [ 416s] throw err; [ 416s] ^ [ 416s] [ 416s] Error: getaddrinfo EAI_AGAIN ip6-localhost:12746 [ 416s] at Object.exports._errnoException (util.js:856:11) [ 416s] at errnoException (dns.js:31:15) [ 416s] at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26) [ 416s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js [ 421s] === release test-stdout-close-unref === [ 421s] Path: parallel/test-stdout-close-unref [ 421s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8 [ 421s] process.stdin._handle.close(); [ 421s] ^ [ 421s] [ 421s] TypeError: Cannot read property 'close' of undefined [ 421s] at Object.<anonymous> (/home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8:22) [ 421s] at Module._compile (module.js:397:26) [ 421s] at Object.Module._extensions..js (module.js:404:10) [ 421s] at Module.load (module.js:343:32) [ 421s] at Function.Module._load (module.js:300:12) [ 421s] at Function.Module.runMain (module.js:429:10) [ 421s] at startup (node.js:139:18) [ 421s] at node.js:999:3 [ 421s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js [ 456s] Can someone please help me regarding the same. Regards Zaid Golwala -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
The build VM has no access to the network 发自我的 iPhone
在 2016年2月3日,07:21,Zaid Golwala
写道: I am trying to build nodejs (5.4.1) via OBS on SUSE_SLE-12-SP1_GA.
I am able to build it correctly without test suite , but when I try to build it with test by adding "make check" in the spec file , I get below error :
=== release test-net-connect-options-ipv6 === [ 416s] Path: parallel/test-net-connect-options-ipv6 [ 416s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js:54 [ 416s] throw err; [ 416s] ^ [ 416s] [ 416s] Error: getaddrinfo EAI_AGAIN ip6-localhost:12746 [ 416s] at Object.exports._errnoException (util.js:856:11) [ 416s] at errnoException (dns.js:31:15) [ 416s] at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26) [ 416s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js [ 421s]
=== release test-stdout-close-unref === [ 421s] Path: parallel/test-stdout-close-unref [ 421s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8 [ 421s] process.stdin._handle.close(); [ 421s] ^ [ 421s] [ 421s] TypeError: Cannot read property 'close' of undefined [ 421s] at Object.<anonymous> (/home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8:22) [ 421s] at Module._compile (module.js:397:26) [ 421s] at Object.Module._extensions..js (module.js:404:10) [ 421s] at Module.load (module.js:343:32) [ 421s] at Function.Module._load (module.js:300:12) [ 421s] at Function.Module.runMain (module.js:429:10) [ 421s] at startup (node.js:139:18) [ 421s] at node.js:999:3 [ 421s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js [ 456s]
Can someone please help me regarding the same.
Regards Zaid Golwala -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Thanks for the help, how do I know to which network does it requires the access. Also can you let me know how do I change the settings for build VM on OBS. Regards Zaid Golwala On 3 February 2016 at 05:47, marguerite wrote:
The build VM has no access to the network
发自我的 iPhone
在 2016年2月3日,07:21,Zaid Golwala
写道: I am trying to build nodejs (5.4.1) via OBS on SUSE_SLE-12-SP1_GA.
I am able to build it correctly without test suite , but when I try to build it with test by adding "make check" in the spec file , I get below error :
=== release test-net-connect-options-ipv6 === [ 416s] Path: parallel/test-net-connect-options-ipv6 [ 416s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js:54 [ 416s] throw err; [ 416s] ^ [ 416s] [ 416s] Error: getaddrinfo EAI_AGAIN ip6-localhost:12746 [ 416s] at Object.exports._errnoException (util.js:856:11) [ 416s] at errnoException (dns.js:31:15) [ 416s] at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26) [ 416s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-net-connect-options-ipv6.js [ 421s]
=== release test-stdout-close-unref === [ 421s] Path: parallel/test-stdout-close-unref [ 421s] /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8 [ 421s] process.stdin._handle.close(); [ 421s] ^ [ 421s] [ 421s] TypeError: Cannot read property 'close' of undefined [ 421s] at Object.<anonymous> (/home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js:8:22) [ 421s] at Module._compile (module.js:397:26) [ 421s] at Object.Module._extensions..js (module.js:404:10) [ 421s] at Module.load (module.js:343:32) [ 421s] at Function.Module._load (module.js:300:12) [ 421s] at Function.Module.runMain (module.js:429:10) [ 421s] at startup (node.js:139:18) [ 421s] at node.js:999:3 [ 421s] Command: out/Release/node /home/abuild/rpmbuild/BUILD/node-v5.4.1/test/parallel/test-stdout-close-unref.js [ 456s]
Can someone please help me regarding the same.
Regards Zaid Golwala -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Zaid,
On Thu, Feb 4, 2016 at 3:50 AM, Zaid Golwala
The build VM has no access to the network Thanks for the help, how do I know to which network does it requires the access. Also can you let me know how do I change the settings for build VM on OBS.
Well, it's not configurable. the virtual machine is created dynamically and just have no network. (or we can just use npm to package nodejs modules, right? ) you can either strip the tests require network and run the network, or just disable all tests like the nodejs in factory does. Marguerite -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Feb 4, 2016 at 5:33 PM, Marguerite Su wrote:
you can either strip the tests require network and run the network, or just disable all tests like the nodejs in factory does.
s/run the network/run the rest of the tests/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Thanks for the help , Just to be clear, is there no other way to run the test on the automatically generated build VMs? Also does this means any package which has test cases which involve internet access are disabled in OBS? Regards Zaid Golwala On 4 February 2016 at 15:04, Marguerite Su wrote:
On Thu, Feb 4, 2016 at 5:33 PM, Marguerite Su wrote:
you can either strip the tests require network and run the network, or just disable all tests like the nodejs in factory does.
s/run the network/run the rest of the tests/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 08/02/2016 08:48, Zaid Golwala wrote:
Hi,
Thanks for the help , Just to be clear, is there no other way to run the test on the automatically generated build VMs? Also does this means any package which has test cases which involve internet access are disabled in OBS?
I guess so. You should add a patch in your spec to disable tests that need external network access. AND work with upstream to have same test coverage using only localhost network access.
Regards Zaid Golwala
On 4 February 2016 at 15:04, Marguerite Su wrote:
On Thu, Feb 4, 2016 at 5:33 PM, Marguerite Su wrote:
you can either strip the tests require network and run the network, or just disable all tests like the nodejs in factory does.
s/run the network/run the rest of the tests/
-- Michel Normand -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
marguerite
-
Marguerite Su
-
Normand
-
Zaid Golwala