Age | Commit message (Collapse) | Author | Files | Lines |
|
- fixtures for user ssh server (authorized_keys, ssh, sshd_config,
ssh_host_rsa_key, ssh.pub)
- exec following cmd
$ /usr/bin/sshd
- D
-f sshd_config
-h ssh_host_rsa_key
-o AuthorizedKeysFile=authorized_keys
-p port
- uncomment former terminal tests for open/close
Change-Id: If1765c4860ef3a95f7a92f1f9652427828b98083
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
By default, if the test executable and command line match a previous run
and the files and environment variables consulted by that run have not
changed either, go test will not really run tests but just print the
previous test output.
For more info, see https://golang.org/doc/go1.10#test
Change-Id: Id37e1a8f7bdcb10584cc9c0f09f0558b319b793a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Idc200f10e217119df9edfebbaf839c5fd45b19a4
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I355f9a55e9641ce60c787b8b02f84f35bccc8e67
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I26e3e03f914b390cc84ba29160ec6e8cee07162f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: If28b332c51318ff264f247c7f52a5dc253c20a0f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
disable open/close and using terminals for now
there is issues with ssh connections
Change-Id: I90828896af60c5ffc0541cd0e5b34b5225c50ea7
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
logs are printable with VERBOSE != ""
Change-Id: I170aed2e73db673ba6276410b1dddd3389239457
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
before opening all terminals, open just one to check there is
no ssh connection problems
Change-Id: I700a00264a96480ac4656be6338e2d728f509627
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I31ef0fa20a74f76b696ac9cb768fac18e2197ea5
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
source sdk before building helloworld project
fix sdks misconfiguration and multiple sdk installs
Change-Id: I019e6b6e2704737774e93f08fb79d2f4a84a12b9
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
replace it by fixtures in test/helloworld and copying repo to
XDS_SERVER_ROOT_CFG_DIR and cloning app-templates repo into it
Change-Id: I4f3d9cfae0f1b81bd7994e172235b1fbc25fd383
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: Ie03d2ae8be30180c1471ea4dfe7bc4cea4d01492
|
|
Change-Id: Idbd8509b946b96b39d76bc0aede921c14a3481eb
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I21026ea34566239a23c3d8bac39b888618169a4b
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: Ibab87254b1ef39ff8bb6166a5ff160233b6533e0
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I4caf0dd3e59f920f602131638c58e11beb9f3e08
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: Iffc7370c52457e6d90e88e30c95b37ae3c60bce3
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I3761debe4ffe8971a7e94a55136b5dc34a8c65c2
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: I505496ca3a8641c401b802faea7a467986a819c9
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Change-Id: Ie8eb5b66ecffa7cdb87a79a1543d7b303332f190
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
install a fake sdk and waiting for event to end the test
Change-Id: I5c2125f32a1fb4a80f9b251174d15117eef26f9a
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
add tests for testing sdk - draft
Change-Id: I81f2f4ff75d6256fd092afd5213ea4f3370fcc68
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
separate tests into files
each file represent a entry in the XDS-SERVER API
the created files are:
- version
- config
- folders
Change-Id: I32d24f5b277ab853f6c190a96433aca5b4fda1d5
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
- TestFolders: update
- TestFoldersEmptyValues
- TestFoldersPathMapConfig
Change-Id: I04dcbcbe6d8fc80ed3ef2cabbcf5dfd2952d1635
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Launch xds-server process and run test based on xds REST APIs.
list of tests
- version
- config
- folders(in progress)
Change-Id: I4312c9ab067b2d6e157f8828c2fbe467ef187733
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
When xds-server service in startup in a VM (like Virtualbox Debian9 VM),
the first start may fails with "Cannot determined local IP" error even if
"After=network-online.target" statement is set in service file.
So do both, set After and Restart on-failure statements.
Change-Id: I27705dc8fbb0ac5547a1100e126392d372078e12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
fix sdk Install when force boolean is true
Install function was returning when sdk was already installed
Change-Id: Ie8530ebe697bb66b17ac051804b42e367531134b
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
status in return TerminalConfig is still opened when a term is closed
Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Workaround about issue with the particular GPG keyserver:
trying several explicit keyservers until the command succeeds
Change-Id: I7410c07e25d25006c9252b97036c3b33ca183ae6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I80e79fc350a1905cb3c4a98ef0a7cf0659a18c88
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I32892a8ad64ed05a93aedf413a81b6e8c50c26f7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
By default xds-server uses $HOME/xds-workspace directory to access to
user shared workspace directory. This root directory may be
changed by defining XDS_SERVER_WORKSPACE_DIR environment variable.
Change-Id: Ib786ba9a954b0b093216295d37236a80f78f2f2c
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I8404ee2dd1eff5c20924e841c0a37ea16c85cc17
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
By default xds-server uses $HOME/.xds/server directory to save all
config. This changes allows user to change this root directory by
defining XDS_SERVER_ROOT_CFG_DIR environment variable.
Change-Id: Iebde8dcf2d27b77671c7332bac04295d31659e24
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I3f75faef18305dca2c848af64dd6feb4ea68c23d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Don't know exactly which tool create this directory (I suspect
npm install process) but 'usr' directory should not be part of XDS
zip package.
Change-Id: Id6f4659f16b707ca5eb9a621947dce8cf2a5b674
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
_service.in is a template so file extention must be .in
Change-Id: Ia93058b5c505a118fd00208c1ce7654f4b2d3daf
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I24d971fb254afccb1ed65d412729b32ca53d251e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- fix packaging to be compliant with latest subprojects hierarchy
(Master, Master-Next, ElectricEel, ...)
- fix rpmlint warnings/error
Change-Id: Ib8c2014624542d3dfb81818ed605dc7a2dedf2c5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I9d66707880f15e8966f4bcbe93d6edc126c483f5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Rework sdk uuid management because previous code prevented to install
local sdk using following command:
xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh
Change-Id: I20bac8a76d32b005a6775e936756c96048651766
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I239b052f2d2bf4caf6fe4e756ee372e4ae6060ec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
* it's easier to manage native build package.
Change-Id: I358a07f2569ac52c792443345244d3294a1c3b8b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Default SDK directory is $HOME/xds-workspace/.sdks expect if /xdt/sdk
exists (backward compatibility).
Default SDK directory can be set by defining XDT_SDK variable in
/etc/xdtrc file
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|