Re: [naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1
I installed nsf 2.1.0 from source, and that fixed the failing hotp-1 and totp-1 tests. -- Andrew Piskorski -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1
Am 15.08.17 um 2:52 AM schrieb Andrew Piskorski: I have nsf and nsf-shells version 2.0.0-2 installed via the Ubuntu 16.04.2 package manager, no other versions of nsf/XOTcl anywhere. I also just installed nsf-dev now (which made no difference to the tests): $ dpkg -l 'nsf*' | grep nsf ii nsf2.0.0-2 amd64Next Scripting Framework (NSF): Object orientation for Tcl - shared library ii nsf-dev2.0.0-2 amd64Next Scripting Framework (NSF): Object orientation for Tcl - development files ii nsf-shells 2.0.0-2 all Next Scripting Framework (NSF): Object orientation for Tcl - shells Would I be better off installing nsf 2.1.0 from source? Installing from source will work. There is nsf 2.1 available for ubuntu, but i am not sure, how this translates to Ubuntu version numbers: https://launchpad.net/ubuntu/+source/nsf In the 'make test' output, I see a bunch of lines like these: [14/Aug/2017:20:20:57][32189.7f32ee0a3700][-main-] Notice: Using ns_cache based on NX 2.0.0 [14/Aug/2017:20:20:57][32189.7f32ee0a3700][-main-] Notice: NX/XOTcl extension not loaded; will not copy objects (error: invalid command name "::Serializer"; invalid command name "::Serializer" while executing "::Serializer all"). the message says, that the serializer is not working (i remember a debian version, were it was not included), without that, XOTcl/NX Classes are not preserved in the blueprint. I've improved the message in the tip branch, and made it a warning. all the best -g -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1
On Mon, Aug 14, 2017 at 10:13:46PM +0200, Gustaf Neumann wrote: > > The first issue should be handled by [1]. > [1] > https://bitbucket.org/naviserver/naviserver/commits/6a1cc7d7a5c3e345673d4825582e5673aa95ef88 Yep, that fixed the ns_cache-12.1 test failure, thanks. > The *otp issue does not show up on my Ubuntu 14.04.5 LTS, maybe the > guards of the test have to made more restrictive. Do you have nsf installed > manually or via the package manager? Which version of nsf do you have? I have nsf and nsf-shells version 2.0.0-2 installed via the Ubuntu 16.04.2 package manager, no other versions of nsf/XOTcl anywhere. I also just installed nsf-dev now (which made no difference to the tests): $ dpkg -l 'nsf*' | grep nsf ii nsf2.0.0-2 amd64Next Scripting Framework (NSF): Object orientation for Tcl - shared library ii nsf-dev2.0.0-2 amd64Next Scripting Framework (NSF): Object orientation for Tcl - development files ii nsf-shells 2.0.0-2 all Next Scripting Framework (NSF): Object orientation for Tcl - shells Would I be better off installing nsf 2.1.0 from source? In the 'make test' output, I see a bunch of lines like these: [14/Aug/2017:20:20:57][32189.7f32ee0a3700][-main-] Notice: Using ns_cache based on NX 2.0.0 [14/Aug/2017:20:20:57][32189.7f32ee0a3700][-main-] Notice: NX/XOTcl extension not loaded; will not copy objects (error: invalid command name "::Serializer"; invalid command name "::Serializer" while executing "::Serializer all"). [14/Aug/2017:20:22:26][32189.7f32c4ff9700][-ns_eval_q:test:0] Notice: NX/XOTcl extension not loaded; will not copy objects (error: invalid command name "::Serializer"; invalid command name "::Serializer" while executing "::Serializer all"). So ns_cache is using nsf/NX/XOTcl successfully, but some other piece of code is not? Is that supposed to happen? -- Andrew Piskorski -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
Re: [naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1
The first issue should be handled by [1]. The *otp issue does not show up on my Ubuntu 14.04.5 LTS, maybe the guards of the test have to made more restrictive. Do you have nsf installed manually or via the package manager? Which version of nsf do you have? -g [1] https://bitbucket.org/naviserver/naviserver/commits/6a1cc7d7a5c3e345673d4825582e5673aa95ef88 Am 14.08.17 um 8:17 PM schrieb Andrew Piskorski: On the NaviServer head, (on Ubuntu 16.04.2 LTS, Linux 4.4.0-31, x86_64), "make test" gives me the three errors below. Should I be worried about these? Are these known problems, or is something broken with my build? Thanks! ns_cache-12.1 transaction rollback FAILED Result was: content-length 3 content-length 4 1 1 2 2 3 k2 {k1 k2 k3 k4} 1 2 2 k1 1 Result should have been (exact matching): 1 1 2 2 3 k2 {k1 k2 k3 k4} 1 2 2 k1 1 ns_cache-12.1 FAILED hotp-1 Test for HOTP based on testvector in Appendix D from RFC 4226 https://www.ietf.org/rfc/rfc4226.txt FAILED Test generated error; Return code was: 1 Return code should have been one of: 0 2 hotp-1 FAILED totp-1 Test for HOTP based on testvector from Appendix B of RFC 6238 https://tools.ietf.org/html/rfc6238 FAILED Test generated error; Return code was: 1 Return code should have been one of: 0 2 totp-1 FAILED -- Univ.Prof. Dr. Gustaf Neumann WU Vienna Institute of Information Systems and New Media Welthandelsplatz 1, A-1020 Vienna, Austria -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel
[naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1
On the NaviServer head, (on Ubuntu 16.04.2 LTS, Linux 4.4.0-31, x86_64), "make test" gives me the three errors below. Should I be worried about these? Are these known problems, or is something broken with my build? Thanks! ns_cache-12.1 transaction rollback FAILED Result was: content-length 3 content-length 4 1 1 2 2 3 k2 {k1 k2 k3 k4} 1 2 2 k1 1 Result should have been (exact matching): 1 1 2 2 3 k2 {k1 k2 k3 k4} 1 2 2 k1 1 ns_cache-12.1 FAILED hotp-1 Test for HOTP based on testvector in Appendix D from RFC 4226 https://www.ietf.org/rfc/rfc4226.txt FAILED Test generated error; Return code was: 1 Return code should have been one of: 0 2 hotp-1 FAILED totp-1 Test for HOTP based on testvector from Appendix B of RFC 6238 https://tools.ietf.org/html/rfc6238 FAILED Test generated error; Return code was: 1 Return code should have been one of: 0 2 totp-1 FAILED -- Andrew Piskorski -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel