Add torture test for AsyncStartPagePrinter method in MS-PAR

Rajendra Prajapat raj.code.pra at gmail.com
Thu Apr 2 04:45:44 UTC 2020


Hello everyone
This is Rajendra Prajapat. I have written a torture test for
MS-PAR(iremotewinspool.c) here
<https://gitlab.com/Rajpra786/samba/-/commit/17a2b16656af5997a8f8a5c56eef91a978e578ac>,
please verify and provide some suggestions.
Day before yesterday I have written a same test(same code) which passed all
pipelines on Gitlab but in that branch I had too many commits for a single
test and was't according to Samba guidelines so I created a new branch and
commit with same code. But for this commit  samba-admem
<https://gitlab.com/Rajpra786/samba/-/jobs/494918258> pipeline failed.
Previous pipeline which passed all pipelines:
https://gitlab.com/Rajpra786/samba/pipelines/131551644
New pipeline which failed at samba-admem:
https://gitlab.com/Rajpra786/samba/pipelines/131826696
Here is the error, at which the pipeline samba-admem failed
------------------------------------------------------------
--------------------------------------

[137(1000)/140 at 10m24s] samba.tests.auth_log_winbind(ad_member:local)
WARNING: The "lanman auth" option is deprecated
WARNING: The "lanman auth" option is deprecated
WARNING: The "server schannel" option is deprecated
INFO: Received PING message from server 788.1975188783 []
{"timestamp": "2020-04-01T20:09:31.216552+0000", "type":
"Authentication", "Authentication": {"version": {"major": 1, "minor":
2}, "eventId": 4624, "logonId": "eb69f769e71fc5fa", "logonType": 8,
"status": "NT_STATUS_OK", "localAddress": "unix:", "remoteAddress":
"unix:", "serviceDescription": "winbind", "authDescription":
"PAM_AUTH, ntlm_auth, 763", "clientDomain": "ADDOMAIN",
"clientAccount": "Administrator", "workstation": null,
"becameAccount": "", "becameDomain": "", "becameSid": null,
"mappedAccount": null, "mappedDomain": null, "netlogonComputer": null,
"netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000",
"netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null,
"passwordType": "Plaintext", "duration": 221924}}
UNEXPECTED(error):
samba.tests.auth_log_winbind.samba.tests.auth_log_winbind.AuthLogTestsWinbind.test_ntlm_auth(ad_member:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "bin/python/samba/tests/auth_log_winbind.py", line 253, in test_ntlm_auth
    self.check_domain_server_authentication(pipe, logon_id, "interactive")
  File "bin/python/samba/tests/auth_log_winbind.py", line 182, in
check_domain_server_authentication
    msg = json.loads(get_string(message))
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)

-------------------------------------------------------------------------------------------------------------------------------------------------------------

samba-admem: [test] failed 'make test FAIL_IMMEDIATELY=1
TESTS='--include-env=ad_member --include-env=ad_member_idmap_rid
--include-env=ad_member_idmap_ad --include-env=ad_member_rfc2307''
with status 2

Please give some suggestions on how can I remove this error, why this error
is occurring and also review this new test.

regards,
Rajendra Prajapat


More information about the samba-technical mailing list