Re: [PATCH v3] Implement switch to separate SYSCALL call stack

2018-04-23 Thread Waldek Kozaczuk
This patch should is required to make golang-httpserver app work. On Sunday, April 8, 2018 at 12:05:48 AM UTC-4, Waldek Kozaczuk wrote: > > This is the patch makes golang httpserver work. > > On Thursday, March 15, 2018 at 10:56:26 PM UTC-4, Waldek Kozaczuk wrote: >> >> This patch implements separ

[PATCH] Added golang-httpserver app and modified golang-example

2018-04-23 Thread Waldemar Kozaczuk
This patch adds new Golang app to demonstrate simple httpserver in Golang. It also modifies existing golang-example app to be bootstrapped by tiny golang front-end. Signed-off-by: Waldemar Kozaczuk --- golang-example/.gitignore | 3 +++ golang-example/Makefile | 10 +- gol

[PATCH v2] Add tiny golang front-end module

2018-04-23 Thread Waldemar Kozaczuk
This patch adds new golang module in order to bootstrap Golang applications on OSv. Its role is to pass golang shared object specific main function name - GoMain - and terminate all lingering Golang application threads once main thread completes. To that end two new arguments with default values h

Build failed in Jenkins: osv-build-nightly #1451

2018-04-23 Thread jenkins
See Changes: [geraldonetto] add encrypt (3) functions (fix #945) [geraldonetto] add crypt (3) tests -- [...truncated 149.75 KB...] Adding /tests/tst-excep

Re: scripts/build check failing

2018-04-23 Thread Waldek Kozaczuk
I will try to come up with something reasonable. On Monday, April 23, 2018 at 12:40:01 PM UTC-4, Nadav Har'El wrote: > > > On Mon, Apr 23, 2018 at 7:36 PM, Nadav Har'El > wrote: > >> >> On Thu, Apr 5, 2018 at 12:40 AM, Waldek Kozaczuk > > wrote: >> >>> Which version of Java is being used by build

Build failed in Jenkins: osv-build #1352

2018-04-23 Thread jenkins
See Changes: [geraldonetto] add encrypt (3) functions (fix #945) [geraldonetto] add crypt (3) tests -- [...truncated 151.83 KB...] Adding /tests/tst-sleep.so... A

Re: scripts/build check failing

2018-04-23 Thread Nadav Har'El
On Mon, Apr 23, 2018 at 7:36 PM, Nadav Har'El wrote: > > On Thu, Apr 5, 2018 at 12:40 AM, Waldek Kozaczuk > wrote: > >> Which version of Java is being used by build process? I have a feeling it >> is higher than java 8. >> > > If require Java 7 or 8 for the build, I wonder if we shouldn't make a

Re: scripts/build check failing

2018-04-23 Thread Nadav Har'El
On Thu, Apr 5, 2018 at 12:40 AM, Waldek Kozaczuk wrote: > Which version of Java is being used by build process? I have a feeling it > is higher than java 8. > If require Java 7 or 8 for the build, I wonder if we shouldn't make an effort to find the appropriate executable on the system - or maybe

[COMMIT osv master] add encrypt (3) functions (fix #945)

2018-04-23 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master add encrypt (3) functions (fix #945) the implementation is based on musl libc version 1.1.19: https://git.musl-libc.org/cgit/musl/plain/src/crypt/encrypt.c https://git.musl-libc.org/cgit/musl/plain/src/crypt/crypt_des.c Signed-off-by:

[COMMIT osv master] add crypt (3) tests

2018-04-23 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master add crypt (3) tests this unit test covers the following algorithms on crypt.c [1] [2]: 1 - MD5 5 - SHA256 (glibc >= 2.7, musl >= 0.9.8) 6 - SHA512 (glibc >= 2.7, musl >= 0.9.8) the following algorithms are not tested [1] [2]: 2 - blo

Re: [PATCH v3 2/2] add crypt (3) tests

2018-04-23 Thread Nadav Har'El
Thanks. I'm committing this, but it would be preferable if the test also prints a failure message (as in the other tests) but I think it should work this way too (the test will print a message about exiting with a non-zero exit code). -- Nadav Har'El n...@scylladb.com On Fri, Apr 6, 2018 at 11:0

[COMMIT osv-apps master] the exe name is now libhttpserver-api.so

2018-04-23 Thread Commit Bot
From: François Guerraz Committer: GitHub Branch: master the exe name is now libhttpserver-api.so Fix https://github.com/cloudius-systems/osv-apps/issues/59 --- diff --git a/httpserver-html5-cli/module.py b/httpserver-html5-cli/module.py --- a/httpserver-html5-cli/module.py +++ b/httpserver-ht

[COMMIT osv-apps master] Merge pull request #60 from kubrickfr/feature/fix-#59

2018-04-23 Thread Commit Bot
From: Nadav Har'El Committer: GitHub Branch: master Merge pull request #60 from kubrickfr/feature/fix-#59 the exe name is now libhttpserver-api.so --- diff --git a/httpserver-html5-cli/module.py b/httpserver-html5-cli/module.py --- a/httpserver-html5-cli/module.py +++ b/httpserver-html5-cli/m

Re: [PATCH] Add tiny golang front-end module

2018-04-23 Thread Nadav Har'El
On Thu, Apr 19, 2018 at 2:50 PM, Waldek Kozaczuk wrote: > Nadav, > > Thanks for reviewing the patch. Please see my responses below. > > On Sunday, April 15, 2018 at 12:36:31 PM UTC-4, Nadav Har'El wrote: >> >> I'm not sure I understood why post_main() is needed. Why can't the user >> wait for the

Re: about mysqlslap can not connect the mysql on osv

2018-04-23 Thread Nadav Har'El
On Mon, Apr 23, 2018 at 10:52 AM, wang Yu wrote: > 1、scripts/build image=mysql > 2、scripts/run.py -nv to start mysql server on osv > OSv v0.24-511-ge60339d eth0: 192.168.122.76 > 3、on host i use mysqlslap to test the benchmark > mysqlslap -h 192.168.122.76 -P 3306 --concurrency=100--iteratio

about mysqlslap can not connect the mysql on osv

2018-04-23 Thread wang Yu
1、scripts/build image=mysql 2、scripts/run.py -nv to start mysql server on osv OSv v0.24-511-ge60339d eth0: 192.168.122.76 3、on host i use mysqlslap to test the benchmark mysqlslap -h 192.168.122.76 -P 3306 --concurrency=100--iterations=1 --create-schema='mysql' --query='select * from user;' --