This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248167 - Build of LexYacc fails (if old LexYacc project exists on remote host)
Summary: Build of LexYacc fails (if old LexYacc project exists on remote host)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 08:51 UTC by soldatov
Modified: 2015-06-18 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log when running with -J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0 -J-Dcnd.rfs.controller.trace=1 -J-Dcnd.rfs.controller.log=/tmp (107.81 KB, text/plain)
2015-06-17 12:29 UTC, Vladimir Kvashin
Details
results of grep y.tab.h /tmp/konsole.log (2.14 KB, text/x-log)
2015-06-17 12:31 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-10-24 08:51:20 UTC
I see absolutely stable test failure on our and your test machines.

Scenario:
- Sparc's host should be added ('automatic copying' mode)
- Start IDE
- Press 'Connection Status' button in order to connect host
- Create LexYacc_1 sample ('automatic copying' mode)
- Press Build Project button
==> ok
- Delete project
- Create LexYacc_1 sample again
- Press Build Project button
==>
Copying project files to /export/hudson/home/.netbeans/remote/.../ at ...@....com
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
if [ `uname` = SunOS ]; then T=`mktemp`; dos2unix token.l $T; mv $T token.l; dos2unix token.y $T; mv $T token.y; fi
if [ `uname` = SunOS ]; then T=`mktemp`; dos2unix token.l $T; mv $T token.l; dos2unix token.y $T; mv $T token.y; fi
could not open /dev/kbd to get keyboard type US keyboard assumed
could not get keyboard type US keyboard assumed
could not open /dev/kbd to get keyboard type US keyboard assumed
could not get keyboard type US keyboard assumed
"/opt/solarisstudio12.4/bin/dmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/opt/solarisstudio12.4/bin/dmake"  -f nbproject/Makefile-Debug.mk dist/Debug/OracleSolarisStudio-Solaris-Sparc/lexyacc_1
Running yacc...
yacc -d token.y
command line: fatal: cannot open y.tab.h
*** Error code 1
dmake: Fatal error: Command failed for target `y.tab.h'
Current working directory /export/hudson/home/.netbeans/remote/..../export/files/NB/LexYacc_1
*** Error code 1
dmake: Fatal error: Command failed for target `.build-conf'
Current working directory /export/hudson/home/.netbeans/remote/..../export/files/NB/LexYacc_1
*** Error code 1
dmake: Fatal error: Command failed for target `.build-impl'

BUILD FAILED (exit value 1, total time: 856ms)
Comment 1 Vladimir Kvashin 2015-06-17 12:29:28 UTC
Created attachment 154266 [details]
message log when running with -J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0  -J-Dcnd.rfs.controller.trace=1 -J-Dcnd.rfs.controller.log=/tmp
Comment 2 Vladimir Kvashin 2015-06-17 12:31:29 UTC
Created attachment 154267 [details]
results of grep y.tab.h /tmp/konsole.log
Comment 3 Vladimir Kvashin 2015-06-17 12:38:38 UTC
The key thing here is the message

FINE [cnd.remote.logger]: 1538186717 #RFS_C[14992]: File /home/vkvashin/.netbeans/remote/svarog/vk-laptop-Linux-x86_64/home/vkvashin/NetBeansProjects/LexYacc_4/y.tab.h state n (0x6e)- unexpected state, replying 0  

It seems that rfs_controller (remote one) reaction on INEXISTENT state is not correct.
Comment 5 Quality Engineering 2015-06-18 02:42:06 UTC
Integrated into 'main-silver', will be available in build *201506180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ae8cce541dca
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #248167 - Build of LexYacc fails (if old LexYacc project exists on remote host) - source part