Closed jhidding closed 7 years ago
Could you try again with HEAD from master? I add many tests and solved a bunch of nullpointerexceptions.
Also this job is not going to work with
bash -c echo hello world
this only prints a newline
What you want is
bash -c "echo hello world"
or
echo hello world
See https://github.com/NLeSC/xenon-grpc/blob/master/src/test/java/nl/esciencecenter/xenon/grpc/jobs/LocalJobsServiceTest.java#L154-L178 for the Java version or your script.
Now the server exits with
[err] usage: xenon-grpc-server [-h] [--port PORT]
[err] [--server-cert-chain SERVER_CERT_CHAIN]
[err] [--server-private-key SERVER_PRIVATE_KEY]
[err] [--client-cert-chain CLIENT_CERT_CHAIN]
[err] xenon-grpc-server: error: Unable to enable mutual TLS. mutual TLS requires
[err] --server-cert-chain, --server-private-key and --client-cert-chain
[err] arguments set
Doh, I added TLS support, which broke the insecure mode. Please try again.
I started building a Python wrapper for the Xenon-grpc client. Trying to run a simple job on the 'local' adapter creates a severe exception.
The script I'm running:
ouput: