HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1673 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1673.


Report 1673 Actions


    Problem Report Number 1673
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0477
    Raised 2001-02-14 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.1.1
    Test Identification CAPI.os/sockets/bind 21
    Problem Summary PG4U.00180 These tests give an unresolved result if the VSX_NOSPC_DEV file system does not have space available for normal users (only reserved space).
    Problem Text

    The reason for the test failures is the tests are attempting to
    use VSX_NOSPC_DEV which has been filled by filldisk.sh. Since the
    disk is full, the test does not have room to create its setup files.

    If VSX_NOSPC_DEV is changed in tetexec.cfg to be a filesystem where
    filldisk.sh has not been run, the tests execute normally.


    Test Output
    ************************************************************************
    /tset/CAPI.os/sockets/bind/T.bind 21 Unresolved

    Test Description:
    Base Conditional Conformance
    If the implementation supports the AF_UNIX communications domain and a
    socket type:
    EROFS in errno and return -1 on a call to int bind(int socket, const
    struct sockaddr *address, socklen_t address_len) when the address
    family of the socket is AF_UNIX and address would reside on a read-
    only filesystem.

    Test Information:
    PREP: Create test sockaddr_un: path = ../tmp/unix.7AayAi
    TEST: AF_UNIX SOCK_STREAM
    PREP: Create socket
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/utimes/T.utimes 13 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int utimes(const char *path,
    const struct timeval times[2]) when the file system containing the
    file is mounted read-only.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/truncate/T.truncate 20 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno, return -1, not set the st_ctime and st_mtime fields of
    the regular file named by path for update, and not clear S_ISUID and
    S_ISGID bits of the file on a call to int truncate(const char *path,
    off_t length) when the named regular file resides on a read-only file
    system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/symlink/T.symlink 5 Unresolved

    Test Description:
    Base Required Conformance
    On a call to int symlink(const char *path1, const char *path2) path1
    and path2 need not be on the same file system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Open file on the mounted file system
    PREP: Write data into this file
    ERROR: write failed, errno = 28(ENOSPC - No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/symlink/T.symlink 16 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int symlink(const char
    *path1, const char *path2) when the file path2 resides on a read-only
    file system.

    Test Information:
    PREP: Create a regular file.
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/symlink/T.symlink 17 Unresolved

    Test Description:
    Base Required Deviance
    ENOSPC in errno and return -1 on a call to int symlink(const char
    *path1, const char *path2) when the directory in which the entry for
    the new symbolic link is being placed cannot be extended because no
    space is left on the file system containing the directory.

    Test Information:
    PREP: Create a regular file.
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Fill up the file system
    PREP: Make a directory
    ERROR: mkdir failed, errno = 28(ENOSPC - No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/symlink/T.symlink 18 Unresolved
    Test Description:
    Base Required Deviance
    ENOSPC in errno and return -1 on a call to int symlink(const char
    *path1, const char *path2) when the new symbolic link cannot be
    created because no space is left on the file system to contain the
    link.

    Test Information:
    PREP: Create a regular file.
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Fill up the file system
    PREP: Make a directory
    ERROR: mkdir failed, errno = 28(ENOSPC - No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/statvfs/T.statvfs 10 Unresolved

    Test Description:
    Base Required Conformance
    A successful call to int statvfs(const char *path, struct statvfs
    *buf) when the mounted file system containing the file referenced by
    path is a read-only file system shall set the ST_RDONLY flag in the
    f_flag member of the statvfs structure pointed to by buf.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/mknod/T.mknod 19 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int mknod(const char *path,
    mode_t mode, dev_t dev) when the file specified by path resides on a
    read-only file system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/mknod/T.mknod 27 Unresolved

    Test Description:
    Base Required Deviance
    ENOSPC in errno and return -1 on a call to int mknod(const char *path,
    mode_t mode, dev_t dev) when the directory which would contain the new
    file specified by path cannot be extended.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Fill up the file system
    PREP: Make a directory
    ERROR: mkdir failed, errno = 28(ENOSPC - No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/lchown/T.lchown 18 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int lchown(const char *path,
    uid_t owner, gid_t group) when the file resides on a read only file
    system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/ftruncate/T.ftruncate 19 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int ftruncate(int fildes,
    off_t length) when the file resides on a read-only file system.

    Test Information:
    PREP: Set to catch the SIGXFSZ signal
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/fstatvfs/T.fstatvfs 10 Unresolved

    Test Description:
    Base Required Conformance
    A successful call to int fstatvfs(int fildes, struct statvfs *buf)
    when the mounted file system containing the file referenced by fildes
    is a read-only file system shall set the ST_RDONLY flag in the f_flag
    member of the statvfs structure pointed to by buf.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/fchown/T.fchown 8 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int fchown(int fildes, uid_t
    owner, gid_t group) when the file resides on a read-only file system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************

    ************************************************************************
    /tset/CAPI.os/files/fchmod/T.fchmod 9 Unresolved

    Test Description:
    Base Required Deviance
    EROFS in errno and return -1 on a call to int fchmod(int fildes,
    mode_t mode) when the file referenced by fildes resides on a read-only
    file system.

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Create files and directories
    ERROR: mkdir for ../tmp/mpoint/rofs_testdir failed, errno = 28(ENOSPC -
    No space left on device)

    ************************************************************************


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The filldisc.sh script leaves the NOSPC_DEV file system in a nearly-full
    state. However, on a file system which has a percentage of the total
    size reserved for use by privileged users, there may be no space
    available to the user vsx0, and this is believed to be the cause of the
    failures seen here.

    In view of the number of test failures, it would be preferable for the
    system configuration to be changed to avoid the failures, rather than
    granting a Test Suite Deficiency. For example, the percentage of
    reserved space could be set to zero, or if that is not possible then
    setting it to 1% should also work, provided the total size of the
    NOSPC_DEV file system is below 2900 Kbytes. If these suggestions do
    not cure the failures, and no alternative work-around can be found,
    then a VSU patch should be issued to correct the affected tests.

    It is recommended that this request is refused.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority