Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » TestPort.PIPEasp
TestPort.PIPEasp [message #1834546] Thu, 12 November 2020 09:07 Go to next message
Evelina Ivanova is currently offline Evelina IvanovaFriend
Messages: 7
Registered: November 2020
Junior Member
Hello.

I am trying to run this demo test https://github.com/eclipse/titan.TestPorts.PIPEasp/tree/master/demo but I receive an error
The executable file does not exist


Can you help me with the config file?

This is the given PIPE.cfg in the demo.

/******************************************************************************
* Copyright (c) 2000-2019 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*  Jozsef Gyurusi - initial implementation and initial documentation
*  Adam Delic
*  Antal Wuh.Hen.Chang
*  Attila Balasko
*  Gabor Szalai
*  Istvan Sandor
*  Peter Kremer
*  Zoltan Jasz
******************************************************************************/
[MODULE_PARAMETERS]
#ModuleName.SampleParameter := SampleValue

[TESTPORT_PARAMETERS]
#ComponentID.PortName.ParameterName := "ParameterValue"

[EXTERNAL_COMMANDS]
#BeginControlPart := "begin_control_part_command"
#EndControlPart := "end_control_part_command"
#BeginTestCase := "begin_testcase_command"
#EndTestCase := "end_testcase_command"

[LOGGING]
FileMask := LOG_ALL | DEBUG
ConsoleMask := LOG_ALL | MATCHING | DEBUG
TimeStampFormat := DateTime
LogEventTypes := No
LogSourceInfo := Yes

[GROUPS]
#Group := host1, host2, host3

[COMPONENTS]
#ComponentName := Group

[MAIN_CONTROLLER]
TCPPort := 1025
NumHCs := 1
KillTimer := 11
Re: TestPort.PIPEasp [message #1834567 is a reply to message #1834546] Thu, 12 November 2020 13:32 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Evelina,

here's a .cfg file you can use:
/******************************************************************************
* Copyright (c) 2000-2019 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*  Jozsef Gyurusi - initial implementation and initial documentation
*  Adam Delic
*  Antal Wuh.Hen.Chang
*  Attila Balasko
*  Gabor Szalai
*  Istvan Sandor
*  Peter Kremer
*  Zoltan Jasz
******************************************************************************/
[MODULE_PARAMETERS]
#ModuleName.SampleParameter := SampleValue

[TESTPORT_PARAMETERS]
#ComponentID.PortName.ParameterName := "ParameterValue"

[EXTERNAL_COMMANDS]
#BeginControlPart := "begin_control_part_command"
#EndControlPart := "end_control_part_command"
#BeginTestCase := "begin_testcase_command"
#EndTestCase := "end_testcase_command"

[LOGGING]
FileMask := LOG_ALL | DEBUG
ConsoleMask := LOG_ALL | MATCHING | DEBUG
TimeStampFormat := DateTime
LogEventTypes := No
LogSourceInfo := Yes

[GROUPS]
#Group := host1, host2, host3

[COMPONENTS]
#ComponentName := Group

[EXECUTE]
PipeTest.TC_TrySomeWindows
PipeTest.TC_simple
PipeTest.TC_unmap
PipeTest.TC_basic
PipeTest.TC_executeSomeUnixCommands


[MAIN_CONTROLLER]
TCPPort := 1025
#NumHCs := 1
KillTimer := 11


the following is displayed:
  ttcn3_start ./PIPEtest PIPE.cfg
ttcn3_start: Starting the test suite
spawn /home/ethlel/titan.core/Install/bin/mctr_cli PIPE.cfg

*************************************************************************
* TTCN-3 Test Executor - Main Controller 2                              *
* Version: 7/CAX 105 7730 R2A                                           *
* Copyright (c) 2000-2020 Ericsson Telecom AB                           *
* All rights reserved. This program and the accompanying materials      *
* are made available under the terms of the Eclipse Public License v2.0 *
* which accompanies this distribution, and is available at              *
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html            *
*************************************************************************

Using configuration file: PIPE.cfg
MC@HU-00001378: Unix server socket created successfully.
MC@HU-00001378: Listening on TCP port 1025.
MC2> HU-00001378.ericsson.se is the default
spawn ././PIPEtest HU-00001378.ericsson.se 1025
TTCN-3 Host Controller (parallel mode), version 7/CAX 105 7730 R2A
MC@HU-00001378: New HC connected from localhost [127.0.0.1]. HU-00001378: Linux 4.4.0-17763-Microsoft on x86_64.
cmtc
MC@HU-00001378: Downloading configuration file to all HCs.
HC@HU-00001378: TTCN-3 Host Controller started on HU-00001378. Version: 7/CAX 105 7730 R2A.
HC@HU-00001378: TTCN Logger v2.2 options: TimeStampFormat:=DateTime; LogEntityName:=No; LogEventTypes:=No; SourceInfoFormat:=Single; *.FileMask:=LOG_ALL | DEBUG; *.ConsoleMask:=LOG_ALL | MATCHING | DEBUG; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error
HC@HU-00001378: The address of MC was set to HU-00001378.ericsson.se[127.0.1.1]:0.
HC@HU-00001378: The local IP address of the control connection to MC is 127.0.0.1.
HC@HU-00001378: Connected to MC.
HC@HU-00001378: This host supports UNIX domain sockets for local communication.
HC@HU-00001378: Processing configuration data received from MC.
HC@HU-00001378: Initializing module PIPEasp_PortType.
HC@HU-00001378: Initializing module PIPEasp_Types.
HC@HU-00001378: Initialization of module PIPEasp_Types finished.
HC@HU-00001378: Initialization of module PIPEasp_PortType finished.
HC@HU-00001378: Initializing module PIPEasp_Templates.
HC@HU-00001378: Initialization of module PIPEasp_Templates finished.
HC@HU-00001378: Initializing module PipeTest.
HC@HU-00001378: Initialization of module PipeTest finished.
HC@HU-00001378: Initializing module PreGenRecordOf.
HC@HU-00001378: Initialization of module PreGenRecordOf finished.
HC@HU-00001378: Initializing module TitanLoggerApi.
HC@HU-00001378: Initialization of module TitanLoggerApi finished.
MC@HU-00001378: Configuration file was processed on all HCs.
MC@HU-00001378: Creating MTC on host localhost.
HC@HU-00001378: Configuration data was processed successfully.
HC@HU-00001378: MTC was created. Process id: 19466.
MC@HU-00001378: MTC is created.
MC2> smtc
Executing all items of [EXECUTE] section.
MC2> MTC@HU-00001378: Executing test case TC_TrySomeWindows in module PipeTest.
MTC@HU-00001378: Test case TC_TrySomeWindows started.
MTC@HU-00001378: Initializing variables, timers and ports of component type PipeTest.PIPE_CT inside testcase TC_TrySomeWindows.
MTC@HU-00001378: Port PIPE_PCO was started.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was initialized.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "sh", stdin := "echo $ShellTestDir/ShellNotice.sh; exit" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "/ShellNotice.sh", stderr := "", code := 0 } id 1
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult : { stdout := "/ShellNotice.sh", stderr := "", code := 0 } id 1
MTC@HU-00001378: Message with id 1 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "/ShellNotice.sh", stdin := "This is the first notice!" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "", stderr := "Executing command failed (retval=-1) /ShellNotice.sh (2): No such file or directory\r", code := 512 } id 2
MTC@HU-00001378: Matching on port PIPE_PCO .code := 512 with 0 unmatched: First message in the queue does not match the template:
MTC@HU-00001378: Matching on port PIPE_PCO succeeded.
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult: { stdout := "", stderr := "Executing command failed (retval=-1) /ShellNotice.sh (2): No such file or directory\r", code := 512 } id 2
MTC@HU-00001378: Message with id 2 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: setverdict(fail): none -> fail
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "sh", stdin := "echo $ShellTestDir/ShellQuestionString.sh; exit" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "/ShellQuestionString.sh", stderr := "", code := 0 } id 3
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult : { stdout := "/ShellQuestionString.sh", stderr := "", code := 0 } id 3
MTC@HU-00001378: Message with id 3 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "/ShellQuestionString.sh", stdin := "This is the first question" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "", stderr := "Executing command failed (retval=-1) /ShellQuestionString.sh (2): No such file or directory\r", code := 512 } id 4
MTC@HU-00001378: Matching on port PIPE_PCO .code := 512 with 0 unmatched: First message in the queue does not match the template:
MTC@HU-00001378: Matching on port PIPE_PCO succeeded.
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult: { stdout := "", stderr := "Executing command failed (retval=-1) /ShellQuestionString.sh (2): No such file or directory\r", code := 512 } id 4
MTC@HU-00001378: Message with id 4 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: setverdict(fail): fail -> fail, component reason not changed
MTC@HU-00001378: Answer is: <unbound>
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "sh", stdin := "echo $ShellTestDir/ShellQuestionYesNo.sh; exit" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "/ShellQuestionYesNo.sh", stderr := "", code := 0 } id 5
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult : { stdout := "/ShellQuestionYesNo.sh", stderr := "", code := 0 } id 5
MTC@HU-00001378: Message with id 5 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "/ShellQuestionYesNo.sh", stdin := "Shall we repeat this again?" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "", stderr := "Executing command failed (retval=-1) /ShellQuestionYesNo.sh (2): No such file or directory\r", code := 512 } id 6
MTC@HU-00001378: Matching on port PIPE_PCO .stdout := "" with "Yes" unmatched.code := 512 with 0 unmatched: First message in the queue does not match the template:
MTC@HU-00001378: Matching on port PIPE_PCO .stdout := "" with "No" unmatched.code := 512 with 0 unmatched: First message in the queue does not match the template:
MTC@HU-00001378: Matching on port PIPE_PCO succeeded.
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult: { stdout := "", stderr := "Executing command failed (retval=-1) /ShellQuestionYesNo.sh (2): No such file or directory\r", code := 512 } id 6
MTC@HU-00001378: Message with id 6 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: setverdict(fail): fail -> fail, component reason not changed
MTC@HU-00001378: Continue? :<unbound>
MTC@HU-00001378: Dynamic test case error: Using the value of an unbound boolean variable.
MTC@HU-00001378: setverdict(error): fail -> error
MTC@HU-00001378: Performing error recovery.
MTC@HU-00001378: Terminating component type PipeTest.PIPE_CT.
MTC@HU-00001378: Removing unterminated mapping between port PIPE_PCO and system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was stopped.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was shut down inside testcase TC_TrySomeWindows.
MTC@HU-00001378: Waiting for PTCs to finish.
MTC@HU-00001378: Setting final verdict of the test case.
MTC@HU-00001378: Local verdict of MTC: error
MTC@HU-00001378: No PTCs were created.
MTC@HU-00001378: Test case TC_TrySomeWindows finished. Verdict: error
MC@HU-00001378: Test execution finished.
MTC@HU-00001378: Executing test case TC_simple in module PipeTest.
MTC@HU-00001378: Test case TC_simple started.
MTC@HU-00001378: Initializing variables, timers and ports of component type PipeTest.PIPE_CT inside testcase TC_simple.
MTC@HU-00001378: Port PIPE_PCO was started.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was initialized.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "/bin/ls -l PipeTest.ttcn", stdin := "" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "-rw-rw-rw- 1 ethlel ethlel 10043 Nov 12 14:16 PipeTest.ttcn", stderr := "", code := 0 } id 1
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult : { stdout := "-rw-rw-rw- 1 ethlel ethlel 10043 Nov 12 14:16 PipeTest.ttcn", stderr := "", code := 0 } id 1
MTC@HU-00001378: Message with id 1 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Unmapping port mtc:PIPE_PCO from system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Unmap operation of mtc:PIPE_PCO from system:PIPE_PCO finished.
MTC@HU-00001378: setverdict(pass): none -> pass
MTC@HU-00001378: Terminating component type PipeTest.PIPE_CT.
MTC@HU-00001378: Port PIPE_PCO was stopped.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was shut down inside testcase TC_simple.
MTC@HU-00001378: Waiting for PTCs to finish.
MTC@HU-00001378: Setting final verdict of the test case.
MTC@HU-00001378: Local verdict of MTC: pass
MTC@HU-00001378: No PTCs were created.
MTC@HU-00001378: Test case TC_simple finished. Verdict: pass
MC@HU-00001378: Test execution finished.
MTC@HU-00001378: Executing test case TC_unmap in module PipeTest.
MTC@HU-00001378: Test case TC_unmap started.
MTC@HU-00001378: Initializing variables, timers and ports of component type PipeTest.PIPE_CT inside testcase TC_unmap.
MTC@HU-00001378: Port PIPE_PCO was started.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was initialized.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "xclock", stdin := "" }
MTC@HU-00001378: Unmapping port mtc:PIPE_PCO from system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Unmap operation of mtc:PIPE_PCO from system:PIPE_PCO finished.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "ksh", stdin := "pwd;exit" }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PResult : { stdout := "", stderr := "Executing command failed (retval=-1) ksh (2): No such file or directory\r", code := 512 } id 1
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PResult : { stdout := "", stderr := "Executing command failed (retval=-1) ksh (2): No such file or directory\r", code := 512 } id 1
MTC@HU-00001378: Message with id 1 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Unmapping port mtc:PIPE_PCO from system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Unmap operation of mtc:PIPE_PCO from system:PIPE_PCO finished.
MTC@HU-00001378: setverdict(pass): none -> pass
MTC@HU-00001378: Terminating component type PipeTest.PIPE_CT.
MTC@HU-00001378: Port PIPE_PCO was stopped.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was shut down inside testcase TC_unmap.
MTC@HU-00001378: Waiting for PTCs to finish.
MTC@HU-00001378: Setting final verdict of the test case.
MTC@HU-00001378: Local verdict of MTC: pass
MTC@HU-00001378: No PTCs were created.
MTC@HU-00001378: Test case TC_unmap finished. Verdict: pass
MC@HU-00001378: Test execution finished.
MTC@HU-00001378: Executing test case TC_basic in module PipeTest.
MTC@HU-00001378: Test case TC_basic started.
MTC@HU-00001378: Initializing variables, timers and ports of component type PipeTest.PIPE_CT inside testcase TC_basic.
MTC@HU-00001378: Port PIPE_PCO was started.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was initialized.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Altstep handle_default was activated as default, id 1
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PKill : { signal := -10 }
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PError : { errorMessage := "Pipe Test Port: No command executing" } id 1
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PLineMode : { lineMode := false }
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PLineMode : { lineMode := true }
MTC@HU-00001378: Start timer t_guard: 5 s
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PError : { errorMessage := "Pipe Test Port: No command executing" } id 1
MTC@HU-00001378: Message with id 1 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Error msg received: { errorMessage := "Pipe Test Port: No command executing" }
MTC@HU-00001378: Default with id 1 (altstep handle_default) has reached a break statement. Skipping current alt statement or receiving operation.
MTC@HU-00001378: Timeout t_guard: 5 s
MTC@HU-00001378: Timer expired, continue...
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecuteBackground : { command := "neditxxx" }
MTC@HU-00001378: Start timer t_guard: 5 s
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PStderr : { stderr := "Executing command failed (retval=-1) neditxxx (2): No such file or directory\r" } id 2
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PError.
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PExit.
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PStdout.
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PStderr : { stderr := "Executing command failed (retval=-1) neditxxx (2): No such file or directory\r" } id 2
MTC@HU-00001378: Message with id 2 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Stderr msg received: { stderr := "Executing command failed (retval=-1) neditxxx (2): No such file or directory\r" }
MTC@HU-00001378: Default with id 1 (altstep handle_default) has reached a break statement. Skipping current alt statement or receiving operation.
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PExit : { code := 512 } id 3
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PError.
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PExit : { code := 512 } id 3
MTC@HU-00001378: Message with id 3 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: setverdict(fail): none -> fail
MTC@HU-00001378: Default with id 1 (altstep handle_default) has reached a break statement. Skipping current alt statement or receiving operation.
MTC@HU-00001378: Timeout t_guard: 5 s
MTC@HU-00001378: Timer expired, continue...
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecuteBackground : { command := "nedit -v" }
MTC@HU-00001378: Start timer t_guard: 5 s
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PStderr : { stderr := "Executing command failed (retval=-1) nedit (2): No such file or directory\r" } id 4
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PError.
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PExit.
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PStdout.
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PStderr : { stderr := "Executing command failed (retval=-1) nedit (2): No such file or directory\r" } id 4
MTC@HU-00001378: Message with id 4 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Stderr msg received: { stderr := "Executing command failed (retval=-1) nedit (2): No such file or directory\r" }
MTC@HU-00001378: Default with id 1 (altstep handle_default) has reached a break statement. Skipping current alt statement or receiving operation.
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PExit : { code := 512 } id 5
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PError.
MTC@HU-00001378: Matching on port PIPE_PCO succeeded:  matched
MTC@HU-00001378: Receive operation on port PIPE_PCO succeeded, message from system(): @PIPEasp_Types.ASP_PExit : { code := 512 } id 5
MTC@HU-00001378: Message with id 5 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: setverdict(fail): fail -> fail, component reason not changed
MTC@HU-00001378: Default with id 1 (altstep handle_default) has reached a break statement. Skipping current alt statement or receiving operation.
MTC@HU-00001378: Timeout t_guard: 5 s
MTC@HU-00001378: Timer expired, continue...
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecuteBackground : { command := "nedit xxx" }
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PStdinBinary : { stdin := 'ABCD'O }
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PStdin : { stdin := "abcd" }
MTC@HU-00001378: Start timer t_guard: 5 s
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PStderr : <unbound> id 6
MTC@HU-00001378: Dynamic test case error: Copying an unbound value of type @PIPEasp_Types.ASP_PStderr.
MTC@HU-00001378: setverdict(error): fail -> error
MTC@HU-00001378: Performing error recovery.
MTC@HU-00001378: Terminating component type PipeTest.PIPE_CT.
MTC@HU-00001378: Default with id 1 (altstep handle_default) was deactivated.
MTC@HU-00001378: Removing unterminated mapping between port PIPE_PCO and system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was stopped.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was shut down inside testcase TC_basic.
MTC@HU-00001378: Waiting for PTCs to finish.
MTC@HU-00001378: Setting final verdict of the test case.
MTC@HU-00001378: Local verdict of MTC: error
MTC@HU-00001378: No PTCs were created.
MTC@HU-00001378: Test case TC_basic finished. Verdict: error
MC@HU-00001378: Test execution finished.
MTC@HU-00001378: Executing test case TC_executeSomeUnixCommands in module PipeTest.
MTC@HU-00001378: Test case TC_executeSomeUnixCommands started.
MTC@HU-00001378: Initializing variables, timers and ports of component type PipeTest.PIPE_CT inside testcase TC_executeSomeUnixCommands.
MTC@HU-00001378: Port PIPE_PCO was started.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was initialized.
MTC@HU-00001378: Mapping port mtc:PIPE_PCO to system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was mapped to system:PIPE_PCO.
MTC@HU-00001378: Message enqueued on PIPE_PCO from system @PIPEasp_Types.ASP_PExit : { code := 512 } id 1
MTC@HU-00001378: Map operation of mtc:PIPE_PCO to system:PIPE_PCO finished.
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PLineMode : { lineMode := false }
MTC@HU-00001378: Sent on PIPE_PCO to system @PIPEasp_Types.ASP_PExecute : { command := "echo shaap", stdin := "" }
MTC@HU-00001378: Matching on port PIPE_PCO failed: Type of the first message in the queue is not @PIPEasp_Types.ASP_PResult.
MTC@HU-00001378: Dynamic test case error: Stand-alone receive statement failed in file PipeTest.ttcn, line 225.
MTC@HU-00001378: setverdict(error): none -> error
MTC@HU-00001378: Performing error recovery.
MTC@HU-00001378: Terminating component type PipeTest.PIPE_CT.
MTC@HU-00001378: Removing unterminated mapping between port PIPE_PCO and system:PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was unmapped from system:PIPE_PCO.
MTC@HU-00001378: Message with id 1 was extracted from the queue of PIPE_PCO.
MTC@HU-00001378: Port PIPE_PCO was stopped.
MTC@HU-00001378: Component type PipeTest.PIPE_CT was shut down inside testcase TC_executeSomeUnixCommands.
MTC@HU-00001378: Waiting for PTCs to finish.
MTC@HU-00001378: Setting final verdict of the test case.
MTC@HU-00001378: Local verdict of MTC: error
MTC@HU-00001378: No PTCs were created.
MTC@HU-00001378: Test case TC_executeSomeUnixCommands finished. Verdict: error
MC@HU-00001378: Test execution finished.
Execution of [EXECUTE] section finished.
emtc
MC@HU-00001378: Terminating MTC.
MTC@HU-00001378: Verdict statistics: 0 none (0.00 %), 2 pass (40.00 %), 0 inconc (0.00 %), 0 fail (0.00 %), 3 error (60.00 %).
MTC@HU-00001378: Test execution summary: 5 test cases were executed. Overall verdict: error
MTC@HU-00001378: Exit was requested from MC. Terminating MTC.
MC@HU-00001378: MTC terminated.
MC2> exit
MC@HU-00001378: Shutting down session.
HC@HU-00001378: MTC finished. Process statistics: { process id: 19466, terminated normally, exit status: 0, user time: 0.000000 s, system time: 0.296875 s, maximum resident set size: 2640, integral resident set size: 0, page faults not requiring physical I/O: 4385, page faults requiring physical I/O: 0, swaps: 0, block input operations: 0, block output operations: 0, messages sent: 0, messages received: 0, signals received: 0, voluntary context switches: 0, involuntary context switches: 0 }
HC@HU-00001378: Exit was requested from MC. Terminating HC.
MC@HU-00001378: Shutdown complete.


I have attached a working archive.

I hope this helps.

Best regards
Elemer

[Updated on: Thu, 12 November 2020 13:42]

Report message to a moderator

Re: TestPort.PIPEasp [message #1834611 is a reply to message #1834567] Fri, 13 November 2020 14:20 Go to previous messageGo to next message
Evelina Ivanova is currently offline Evelina IvanovaFriend
Messages: 7
Registered: November 2020
Junior Member
Hello,

It is still giving an error

The executable file does not exist
Re: TestPort.PIPEasp [message #1834622 is a reply to message #1834611] Fri, 13 November 2020 16:20 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Evelina,

have you tried the content of the archive I've attached?

Can you add more detail to your claim? What exactly is giving you the above error and in what circumstances?

How about copying the console output or attaching a log file or anything?

BR
Elemer



Previous Topic:OpenApi 3 support- generator script
Next Topic:Internal error: Setting the verdict in invalid state.
Goto Forum:
  


Current Time: Tue Apr 23 07:02:53 GMT 2024

Powered by FUDForum. Page generated in 0.03678 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top