enum te_errno_codes
Overview
Type to store TE error numbers
Add a new error to the end of the related errors group only: in RAW log errors are saved as numeric values, so changing the existing values by inserting some new value in the middle of the group will break conversion of the old RAW logs to HTML/TXT. More…
#include <te_errno.h> enum te_errno_codes { TE_EPERM = TE_MIN_ERRNO + 1, TE_ENOENT, TE_ESRCH, TE_EINTR, TE_EIO, TE_ENXIO, TE_E2BIG, TE_ENOEXEC, TE_EBADF, TE_ECHILD, TE_EAGAIN, TE_ENOMEM, TE_EACCES, TE_EFAULT, TE_ENOTBLK, TE_EBUSY, TE_EEXIST, TE_EXDEV, TE_ENODEV, TE_ENOTDIR, TE_EISDIR, TE_EINVAL, TE_ENFILE, TE_EMFILE, TE_ENOTTY, TE_ETXTBSY, TE_EFBIG, TE_ENOSPC, TE_ESPIPE, TE_EROFS, TE_EMLINK, TE_EPIPE, TE_EDOM, TE_ERANGE, TE_EDEADLK, TE_ENAMETOOLONG, TE_ENOLCK, TE_ENOSYS, TE_ENOTEMPTY, TE_ELOOP, TE_EWOULDBLOCK, TE_ENOMSG, TE_EIDRM, TE_ECHRNG, TE_EL2NSYNC, TE_EL3HLT, TE_EL3RST, TE_ELNRNG, TE_EUNATCH, TE_ENOCSI, TE_EL2HLT, TE_EBADE, TE_EBADR, TE_EXFULL, TE_ENOANO, TE_EBADRQC, TE_EBADSLT, TE_EDEADLOCK, TE_EBFONT, TE_ENOSTR, TE_ENODATA, TE_ETIME, TE_ENOSR, TE_ENONET, TE_ENOPKG, TE_EREMOTE, TE_ENOLINK, TE_EADV, TE_ESRMNT, TE_ECOMM, TE_EPROTO, TE_EMULTIHOP, TE_EDOTDOT, TE_EBADMSG, TE_EOVERFLOW, TE_ENOTUNIQ, TE_EBADFD, TE_EREMCHG, TE_ELIBACC, TE_ELIBBAD, TE_ELIBSCN, TE_ELIBMAX, TE_ELIBEXEC, TE_EILSEQ, TE_ERESTART, TE_ESTRPIPE, TE_EUSERS, TE_ENOTSOCK, TE_EDESTADDRREQ, TE_EMSGSIZE, TE_EPROTOTYPE, TE_ENOPROTOOPT, TE_EPROTONOSUPPORT, TE_ESOCKTNOSUPPORT, TE_EOPNOTSUPP, TE_EPFNOSUPPORT, TE_EAFNOSUPPORT, TE_EADDRINUSE, TE_EADDRNOTAVAIL, TE_ENETDOWN, TE_ENETUNREACH, TE_ENETRESET, TE_ECONNABORTED, TE_ECONNRESET, TE_ENOBUFS, TE_EISCONN, TE_ENOTCONN, TE_ESHUTDOWN, TE_ETOOMANYREFS, TE_ETIMEDOUT, TE_ECONNREFUSED, TE_EHOSTDOWN, TE_EHOSTUNREACH, TE_EALREADY, TE_EINPROGRESS, TE_ESTALE, TE_EUCLEAN, TE_ENOTNAM, TE_ENAVAIL, TE_EISNAM, TE_EREMOTEIO, TE_EDQUOT, TE_ENOMEDIUM, TE_EMEDIUMTYPE, TE_ECANCELED, TE_ENOIOCTLCMD, TE_E_NETNAME_DELETED, TE_E_UNEXP_NET_ERR, TE_E_WAIT_TIMEOUT, TE_E_OPERATION_ABORTED, TE_E_IO_INCOMPLETE, TE_E_IO_PENDING, TE_E_GEN_FAILURE, TE_E_LOG_FILE_FULL, TE_E_PORT_UNREACHABLE, TE_WSANOTINITIALISED, TE_E_SHARING_VIOLATION, TE_E_INVALID_NAME, TE_E_BAD_PATHNAME, TE_E_ROOT_FULL, TE_EUNSPEC, TE_EUNKNOWN, TE_EOK = TE_MIN_ERRNO + 500, TE_EFAIL, TE_ESKIP, TE_ESMALLBUF, TE_EPENDING, TE_EIPC, TE_ESHCMD, TE_EWRONGPTR, TE_ETOOMANY, TE_EFMT, TE_EENV, TE_EWIN, TE_ENORCF = TE_MIN_ERRNO + 600, TE_EACK, TE_ETALOCAL, TE_ETADEAD, TE_ETAREBOOTED, TE_ESUNRPC, TE_ECORRUPTED, TE_ERPCTIMEOUT, TE_ERPCDEAD, TE_ERPCKILLED, TE_ETAFATAL, TE_ETAREBOOTING, TE_EASNGENERAL = TE_MIN_ERRNO + 700, TE_EASNWRONGLABEL, TE_EASNTXTPARSE, TE_EASNDERPARSE, TE_EASNINCOMPLVAL, TE_EASNOTHERCHOICE, TE_EASNWRONGTYPE, TE_EASNWRONGSIZE, TE_EASNNOTLEAF, TE_EASNTXTNOTINT, TE_EASNTXTNOTCHSTR, TE_EASNTXTNOTOCTSTR, TE_EASNTXTVALNAME, TE_EASNTXTSEPAR, TE_EASNDIFF, TE_ETADCSAPNOTEX = TE_MIN_ERRNO + 800, TE_ETADLOWER, TE_ETADCSAPSTATE, TE_ETADNOTMATCH, TE_ETADLESSDATA, TE_ETADMISSNDS, TE_ETADWRONGNDS, TE_ETADCSAPDB, TE_ETADENDOFDATA, TE_ETADEXPRPARSE, TE_ETADNOINIT, TE_EBACKUP = TE_MIN_ERRNO + 900, TE_EISROOT, TE_EHASSON, TE_ENOCONF, TE_EBADTYPE, TE_ERPC2H = TE_MIN_ERRNO + 1100, TE_EH2RPC, TE_ERPCNOTSUPP, TE_ESYNCFAILED = TE_MIN_ERRNO + 1200, TE_MAX_ERRNO, };
Detailed Documentation
Type to store TE error numbers
Add a new error to the end of the related errors group only: in RAW log errors are saved as numeric values, so changing the existing values by inserting some new value in the middle of the group will break conversion of the old RAW logs to HTML/TXT.
Every group is started like TE_MIN_ERRNO + N to allow editing these groups independently.
Enum Values
TE_EPERM
Operation not permitted
TE_ENOENT
No such file or directory
TE_ESRCH
No such process
TE_EINTR
Interrupted system call
TE_EIO
I/O error
TE_ENXIO
No such device or address
TE_E2BIG
Arg list too long
TE_ENOEXEC
Exec error
TE_EBADF
Bad file number
TE_ECHILD
No child processes
TE_EAGAIN
Try again
TE_ENOMEM
Out of memory
TE_EACCES
Permission denied
TE_EFAULT
Bad address
TE_ENOTBLK
Block device required
TE_EBUSY
Device or resource busy
TE_EEXIST
File exists
TE_EXDEV
Cross-device link
TE_ENODEV
No such device
TE_ENOTDIR
Not a directory
TE_EISDIR
Is a directory
TE_EINVAL
Invalid argument
TE_ENFILE
File table overflow
TE_EMFILE
Too many open files
TE_ENOTTY
Not a typewriter
TE_ETXTBSY
Text file busy
TE_EFBIG
File too large
TE_ENOSPC
No space left on device
TE_ESPIPE
Illegal seek
TE_EROFS
Read-only file system
TE_EMLINK
Too many links
TE_EPIPE
Broken pipe
TE_EDOM
Math argument out of domain of func
TE_ERANGE
Math result not representable
TE_EDEADLK
Resource deadlock would occur
TE_ENAMETOOLONG
File name too long
TE_ENOLCK
No record locks available
TE_ENOSYS
Function not implemented
TE_ENOTEMPTY
Directory not empty
TE_ELOOP
Too many symbolic links encountered
TE_EWOULDBLOCK
Synonym of EAGAIN
TE_ENOMSG
No message of desired type
TE_EIDRM
Identifier removed
TE_ECHRNG
Channel number out of range
TE_EL2NSYNC
Level 2 not synchronized
TE_EL3HLT
Level 3 halted
TE_EL3RST
Level 3 reset
TE_ELNRNG
Link number out of range
TE_EUNATCH
Protocol driver not attached
TE_ENOCSI
No CSI structure available
TE_EL2HLT
Level 2 halted
TE_EBADE
Invalid exchange
TE_EBADR
Invalid request descriptor
TE_EXFULL
Exchange full
TE_ENOANO
No anode
TE_EBADRQC
Invalid request code
TE_EBADSLT
Invalid slot
TE_EDEADLOCK
Synonym of EDEADLK
TE_EBFONT
Bad font file
TE_ENOSTR
Device not a stream
TE_ENODATA
No data available
TE_ETIME
Timer expired
TE_ENOSR
Out of streams resources
TE_ENONET
Machine is not on the network
TE_ENOPKG
Package not installed
TE_EREMOTE
Object is remote
TE_ENOLINK
Link has been severed
TE_EADV
Advertise error
TE_ESRMNT
Srmount error
TE_ECOMM
Communication error on send
TE_EPROTO
Protocol error
TE_EMULTIHOP
Multihop attempted
TE_EDOTDOT
RFS specific error
TE_EBADMSG
Not a data message
TE_EOVERFLOW
Value too large for defined data type
TE_ENOTUNIQ
Name not unique on network
TE_EBADFD
File descriptor in bad state
TE_EREMCHG
Remote address changed
TE_ELIBACC
Can not access a needed shared library
TE_ELIBBAD
Accessing a corrupted shared library
TE_ELIBSCN
.lib section in a.out corrupted
TE_ELIBMAX
Attempting to link in too many shared libraries
TE_ELIBEXEC
Cannot exec a shared library directly
TE_EILSEQ
Illegal byte sequence
TE_ERESTART
Interrupted system call should be restarted
TE_ESTRPIPE
Streams pipe error
TE_EUSERS
Too many users
TE_ENOTSOCK
Socket operation on non-socket
TE_EDESTADDRREQ
Destination address required
TE_EMSGSIZE
Message too long
TE_EPROTOTYPE
Protocol wrong type for socket
TE_ENOPROTOOPT
Protocol not available
TE_EPROTONOSUPPORT
Protocol not supported
TE_ESOCKTNOSUPPORT
Socket type not supported
TE_EOPNOTSUPP
Operation not supported on transport endpoint
TE_EPFNOSUPPORT
Protocol family not supported
TE_EAFNOSUPPORT
Address family not supported by protocol
TE_EADDRINUSE
Address already in use
TE_EADDRNOTAVAIL
Cannot assign requested address
TE_ENETDOWN
Network is down
TE_ENETUNREACH
Network is unreachable
TE_ENETRESET
Network dropped connection because of reset
TE_ECONNABORTED
Software caused connection abort
TE_ECONNRESET
Connection reset by peer
TE_ENOBUFS
No buffer space available
TE_EISCONN
Transport endpoint is already connected
TE_ENOTCONN
Transport endpoint is not connected
TE_ESHUTDOWN
Cannot send after transport endpoint shutdown
TE_ETOOMANYREFS
Too many references: cannot splice
TE_ETIMEDOUT
Connection timed out
TE_ECONNREFUSED
Connection refused
TE_EHOSTDOWN
Host is down
TE_EHOSTUNREACH
No route to host
TE_EALREADY
Operation already in progress
TE_EINPROGRESS
Operation now in progress
TE_ESTALE
Stale NFS file handle
TE_EUCLEAN
Structure needs cleaning
TE_ENOTNAM
Not a XENIX named type file
TE_ENAVAIL
No XENIX semaphores available
TE_EISNAM
Is a named type file
TE_EREMOTEIO
Remote I/O error
TE_EDQUOT
Quota exceeded
TE_ENOMEDIUM
No medium found
TE_EMEDIUMTYPE
Wrong medium type
TE_ECANCELED
Operation is cancelled
TE_ENOIOCTLCMD
No ioctl() command
TE_E_NETNAME_DELETED
The specified network name is no longer available
TE_E_UNEXP_NET_ERR
Unexpected network error
TE_E_WAIT_TIMEOUT
The wait operation timed out
TE_E_OPERATION_ABORTED
Operation aborted
TE_E_IO_INCOMPLETE
Overlapped I/O event is not in a signaled state
TE_E_IO_PENDING
Overlapped I/O operation is in progress
TE_E_GEN_FAILURE
General failure
TE_E_LOG_FILE_FULL
Log file is full
TE_E_PORT_UNREACHABLE
Port is unreachable
TE_WSANOTINITIALISED
WSAStartup() not called
TE_E_SHARING_VIOLATION
Problem with share attributes while opening a file
TE_E_INVALID_NAME
The file name, directory name or volume label syntax is incorrect
TE_E_BAD_PATHNAME
Invalid pathname
TE_E_ROOT_FULL
It is impossible to add a new entry to ROOT directory
TE_EUNSPEC
Undefined OS errno (is not updated by the function)
TE_EUNKNOWN
Unknown OS errno
TE_EOK
Success when 0 can’t be used
TE_EFAIL
Generic failure
TE_ESKIP
Test should be skipped
TE_ESMALLBUF
Too small buffer is provided
TE_EPENDING
Pending data retain on connection
TE_EIPC
Could not interact with RCF
TE_ESHCMD
Shell command returned non-zero exit status
TE_EWRONGPTR
Wrong pointer was passed to function
TE_ETOOMANY
Too many objects have been already allocated, so that the resource is not available
TE_EFMT
Invalid format
TE_EENV
Inappropriate environment
TE_EWIN
Windows API function failed, see log for the description
TE_ENORCF
RCF initialization failed
TE_EACK
The request is accepted for processing
TE_ETALOCAL
TA runs on the same station with TEN and cannot be rebooted
TE_ETADEAD
Test Agent is dead
TE_ETAREBOOTED
Test Agent is rebooted
TE_ESUNRPC
SUN RPC failed
TE_ECORRUPTED
Data are corrupted by the software under test
TE_ERPCTIMEOUT
Timeout ocurred during RPC call
TE_ERPCDEAD
RPC server is dead
TE_ERPCKILLED
RPC server is killed
TE_ETAFATAL
Test Agent is dead and cannot be recovered
TE_ETAREBOOTING
Test Agent is being rebooted
TE_EASNGENERAL
Generic error
TE_EASNWRONGLABEL
Wrong ASN label or out-of-range index
TE_EASNTXTPARSE
General ASN.1 text parse error
TE_EASNDERPARSE
DER decode error
TE_EASNINCOMPLVAL
Incomplete ASN.1 value
TE_EASNOTHERCHOICE
CHOICE in type is differ then asked
TE_EASNWRONGTYPE
Passed value has wrong type
TE_EASNWRONGSIZE
Passed value has wrong size
TE_EASNNOTLEAF
Passed labels of subvalue does not respond to plain-syntax leaf
TE_EASNTXTNOTINT
int expected but not found
TE_EASNTXTNOTCHSTR
Character string expected
TE_EASNTXTNOTOCTSTR
Octet string expected
TE_EASNTXTVALNAME
Wrong subvalue name in constraint value with named fields
TE_EASNTXTSEPAR
Wrong separator between elements in const value
TE_EASNDIFF
ASN values are different
TE_ETADCSAPNOTEX
CSAP not exist.
TE_ETADLOWER
Lower layer error, usually from some external library or OS resources, which is used for implementation of CSAP
TE_ETADCSAPSTATE
Command is not appropriate to CSAP state
TE_ETADNOTMATCH
Data do not match to the specified pattern
TE_ETADLESSDATA
Read data matches to the begin of pattern, but it is not enough for all one, or not enough data for generate
TE_ETADMISSNDS
Missing NDS
TE_ETADWRONGNDS
Wrong NDS passed
TE_ETADCSAPDB
CSAP DB internal error
TE_ETADENDOFDATA
End of incoming data in CSAP
TE_ETADEXPRPARSE
Expression parse error
TE_ETADNOINIT
TAD is not initialized
TE_EBACKUP
Backup verification failed
TE_EISROOT
Attempt to delete the root
TE_EHASSON
Attempt to delete the node with children
TE_ENOCONF
Configurator initialization failed
TE_EBADTYPE
Type specified by the user is incorrect
TE_ERPC2H
RPC to host conv failed
TE_EH2RPC
Host to RPC conv failed
TE_ERPCNOTSUPP
RPC is not supported (it does not have host analogue)
TE_ESYNCFAILED
IPC synchronisation is broken
TE_MAX_ERRNO
Auxiliary value. It must be the last in the enum.