Skip to content

2023-05-01 dx_snapshot_db gives return code -1 #231

@jonasjoer

Description

@jonasjoer

** Expected Behavior**
I expect the return codes to be > 0
I expect an error message (text)

** Actual Behavior**
I received a return code of -1 and no error text

Steps To Reproduce the Problem
This code was executed:
D:
D:\dxtoolkit2-4-26-2\dx_snapshot_db.exe -d pfanpdpxen02 -name CS3
@set retcode=%errorlevel%
@if NOT %ERRORLEVEL% == 0 goto :retcode

This was reported:
c:>D:
D:>D:\dxtoolkit2-4-26-2\dx_snapshot_db.exe -d pfanpdpxen02 -name CS3
D:>D:\AWA\prod\Agents\Windows\bin\UCXJWX6M.EXE JNR=0231696955 MNR=1000 PNR=2301 IPA=10.225.13.167 TYP=E RET=-1 TXT=" Job ended with retcode" LOCAL=1

I don't know why I got a -1. I don't see any faults, events or traces of a job on the engine. Looks like a connectivity issue, but I'm guessing.
I'm not able to reproduce. Tried to specify an unknown vdb and/or unknown engine (updated also the config to have the unknown engine specified)

Screenshots
No screenshots

Version
Delphix Engine: 6.0.17.2
DXtoolkit: 2.4.16.2

Additional Context
The code was run with AWA/UC4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions